Can't push (Kubuntu 17.04)

Issue #4853 closed
Stefano Cazzola
created an issue

Hi all, I can't push my commits to the remote repository. same thing happens from TortoiseHg and from the command line.

Hg version: 3.9.1-1 (latest available) Tortoise version: 4.0 Python: 2.7.13

Error trace: remote: abort: stream ended unexpectedly (got 0 bytes, expected 4) remote: unknown exception encountered, please report by visiting remote: remote: Python 2.7.5 (default, Aug 2 2016, 04:20:16) [GCC 4.8.5 20150623 (Red Hat 4.8.5-4)] remote: Mercurial Distributed SCM (version 4.0) remote: Extensions loaded: remote: Traceback (most recent call last): remote: File "/bin/hg", line 45, in <module> remote: remote: File "/usr/lib64/python2.7/site-packages/mercurial/", line 60, in run remote: sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255) remote: File "/usr/lib64/python2.7/site-packages/mercurial/", line 126, in dispatch remote: ret = _runcatch(req) remote: File "/usr/lib64/python2.7/site-packages/mercurial/", line 216, in _runcatch remote: return callcatch(ui, _runcatchfunc) remote: File "/usr/lib64/python2.7/site-packages/mercurial/", line 225, in callcatch remote: return func() remote: File "/usr/lib64/python2.7/site-packages/mercurial/", line 205, in _runcatchfunc remote: return _dispatch(req) remote: File "/usr/lib64/python2.7/site-packages/mercurial/", line 901, in _dispatch remote: cmdpats, cmdoptions) remote: File "/usr/lib64/python2.7/site-packages/mercurial/", line 650, in runcommand remote: ret = _runcommand(ui, options, cmd, d) remote: File "/usr/lib64/python2.7/site-packages/mercurial/", line 909, in _runcommand remote: return cmdfunc() remote: File "/usr/lib64/python2.7/site-packages/mercurial/", line 898, in <lambda> remote: d = lambda: util.checksignature(func)(ui, *args, cmdoptions) remote: File "/usr/lib64/python2.7/site-packages/mercurial/", line 1037, in check remote: return func(args, *kwargs) remote: File "/usr/lib64/python2.7/site-packages/mercurial/", line 6575, in serve remote: s.serve_forever() remote: File "/usr/lib64/python2.7/site-packages/mercurial/", line 104, in serve_forever remote: while self.serve_one(): remote: File "/usr/lib64/python2.7/site-packages/mercurial/", line 122, in serve_one remote: rsp = wireproto.dispatch(self.repo, self, cmd) remote: File "/usr/lib64/python2.7/site-packages/mercurial/", line 574, in dispatch remote: args = proto.getargs(spec) remote: File "/usr/lib64/python2.7/site-packages/mercurial/", line 42, in getargs remote: arg, l = argline.split() remote: ValueError: need more than 1 value to unpack