[Bug 6210] New: ValueError: need more than 0 values to unpack
mercurial-bugs at mercurial-scm.org
mercurial-bugs at mercurial-scm.org
Sun Oct 27 09:51:45 UTC 2019
https://bz.mercurial-scm.org/show_bug.cgi?id=6210
Bug ID: 6210
Summary: ValueError: need more than 0 values to unpack
Product: Mercurial
Version: 5.2rc0
Hardware: PC
OS: Linux
Status: UNCONFIRMED
Severity: bug
Priority: wish
Component: Mercurial
Assignee: bugzilla at mercurial-scm.org
Reporter: iwcom at icloud.com
CC: mercurial-devel at mercurial-scm.org
Python Version: 2.7
Hello. I installed Phabricator and Mercurial in ubuntu server 18.04. I created
an empty repository and when I execute hg clone and hg push, I get HTTP Error
500 errors. I note that if I create a git repository, then there are no errors
with https, there are no errors either if I do hg clone and hg push by ssh. The
error is with hg and https.
I tried to install Mercurial 5.2rc0 from the official site and through apt
install mercurial - the error did not disappear.
hg clone https://test.example.com/diffusion/1/test/
http authorization required for https://test.example.com/diffusion/1/test/
realm: Phabricator Repositories
user: test
password:
destination directory: test
abort: HTTP Error 500: Error 1: ** unknown exception encountered, please report
by visiting
hg push https://test.example.com/diffusion/1/test/
pushing to https://test.example.com/diffusion/1/test/
http authorization required for https://test.example.com/diffusion/1/test/
realm: Phabricator Repositories
user: test
password:
abort: HTTP Error 500: Internal Server Error
I also performed a re-installation on another system in VirtualBox and received
a similar error.
Successful SSH connection:
hg clone ssh://vcs-user@test.example.com/diffusion/1/test/
destination directory: test
no changes found
updating to branch default
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
hg push ssh://vcs-user@test.example.com/diffusion/1/test/
pushing to ssh://vcs-user@test.example.com/diffusion/1/test/
no changes found
If I execute the command:
echo listkeys | /usr/local/bin/hg -R /var/repo/4/ serve --stdio
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 2.7.15+ (default, Oct 7 2019, 17:39:04) [GCC 7.4.0]
** Mercurial Distributed SCM (version 5.2rc0+10-4565a0afc289)
** Extensions loaded:
Traceback (most recent call last):
File "/usr/local/bin/hg", line 36, in <module>
dispatch.run()
File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line
111, in run
status = dispatch(req)
File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line
250, in dispatch
ret = _runcatch(req) or 0
File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line
424, in _runcatch
return _callcatch(ui, _runcatchfunc)
File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line
433, in _callcatch
return scmutil.callcatch(ui, func)
File "/usr/local/lib/python2.7/dist-packages/mercurial/scmutil.py", line 177,
in callcatch
return func()
File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line
414, in _runcatchfunc
return _dispatch(req)
File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line
1174, in _dispatch
lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line
862, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line
1185, in _runcommand
return cmdfunc()
File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line
1171, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
File "/usr/local/lib/python2.7/dist-packages/mercurial/util.py", line 1843,
in check
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/mercurial/commands.py", line
6486, in serve
s.serve_forever()
File "/usr/local/lib/python2.7/dist-packages/mercurial/wireprotoserver.py",
line 852, in serve_forever
self.serveuntil(threading.Event())
File "/usr/local/lib/python2.7/dist-packages/mercurial/wireprotoserver.py",
line 858, in serveuntil
_runsshserver(self._ui, self._repo, self._fin, self._fout, ev)
File "/usr/local/lib/python2.7/dist-packages/mercurial/wireprotoserver.py",
line 700, in _runsshserver
rsp = wireprotov1server.dispatch(repo, proto, request)
File "/usr/local/lib/python2.7/dist-packages/mercurial/wireprotov1server.py",
line 80, in dispatch
args = proto.getargs(spec)
File "/usr/local/lib/python2.7/dist-packages/mercurial/wireprotoserver.py",
line 544, in getargs
arg, l = argline.split()
ValueError: need more than 0 values to unpack
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list