Issue #59 invalid

traceback on push where auto-packing occurs

Anonymous created an issue

I've run into this only once so far, but creating a ticket so I don't lose track of the traceback. I was running "next" (4d9e2d2a2c19) when this occurred. I've obscured the repository path, but included the rest of the output as-is.

pushing to git+ssh://git@SOMEHOST:SOMEREPO.git/ searching for changes ["git-receive-pack 'marketplace.git'"] Auto packing the repository for optimum performance. Unknown exception encountered with possibly-broken third-party extension mercurial_keyring which supports versions unknown of Mercurial. Please disable mercurial_keyring and try your action again. If that fixes the bug please report it to the extension author. Python 2.7.3 (default, Jul 10 2012, 15:03:16) [GCC 4.2.1 Compatible Apple Clang 3.1 (tags/Apple/clang-318.0.61)] Mercurial Distributed SCM (version 2.4) Extensions loaded: extdiff, mercurial_keyring, purge, hggit, eol, mq, pager Traceback (most recent call last): File "/usr/local/share/python/hg", line 38, in <module> mercurial.dispatch.run() File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line 28, in run sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255) File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line 65, in dispatch return _runcatch(req) File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line 88, in _runcatch return _dispatch(req) File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line 741, in _dispatch cmdpats, cmdoptions) File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line 514, in runcommand ret = _runcommand(ui, options, cmd, d) File "/usr/local/lib/python2.7/site-packages/mercurial/extensions.py", line 189, in wrap return wrapper(origfn, *args, kwargs) File "/usr/local/lib/python2.7/site-packages/hgext/pager.py", line 130, in pagecmd return orig(ui, options, cmd, cmdfunc) File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line 831, in _runcommand return checkargs() File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line 802, in checkargs return cmdfunc() File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line 738, in <lambda> d = lambda: util.checksignature(func)(ui, args, cmdoptions) File "/usr/local/lib/python2.7/site-packages/mercurial/util.py", line 472, in check return func(*args, kwargs) File "/usr/local/lib/python2.7/site-packages/mercurial/extensions.py", line 144, in wrap util.checksignature(origfn), args, kwargs) File "/usr/local/lib/python2.7/site-packages/mercurial/util.py", line 472, in check return func(*args, kwargs) File "/usr/local/lib/python2.7/site-packages/hgext/mq.py", line 3546, in mqcommand return orig(ui, repo, *args, kwargs) File "/usr/local/lib/python2.7/site-packages/mercurial/util.py", line 472, in check return func(*args, kwargs) File "/usr/local/lib/python2.7/site-packages/mercurial/commands.py", line 4750, in push newbranch=opts.get('new_branch')) File "/Users/dcarr/hg-repos/hg-git-queue/hggit/hgrepo.py", line 22, in push return git.push(remote.path, revs, force) File "/Users/dcarr/hg-repos/hg-git-queue/hggit/git_handler.py", line 276, in push old_refs, new_refs = self.upload_pack(remote, revs, force) File "/Users/dcarr/hg-repos/hg-git-queue/hggit/git_handler.py", line 883, in upload_pack new_refs = client.send_pack(path, changed, genpack) File "/usr/local/lib/python2.7/site-packages/dulwich-0.8.6-py2.7-macosx-10.7-x86_64.egg/dulwich/client.py", line 458, in send_pack progress) File "/usr/local/lib/python2.7/site-packages/dulwich-0.8.6-py2.7-macosx-10.7-x86_64.egg/dulwich/client.py", line 324, in _handle_receive_pack_tail self._read_side_band64k_data(proto, channel_callbacks) File "/usr/local/lib/python2.7/site-packages/dulwich-0.8.6-py2.7-macosx-10.7-x86_64.egg/dulwich/client.py", line 266, in _read_side_band64k_data for pkt in proto.read_pkt_seq(): File "/usr/local/lib/python2.7/site-packages/dulwich-0.8.6-py2.7-macosx-10.7-x86_64.egg/dulwich/protocol.py", line 150, in read_pkt_seq pkt = self.read_pkt_line() File "/usr/local/lib/python2.7/site-packages/dulwich-0.8.6-py2.7-macosx-10.7-x86_64.egg/dulwich/protocol.py", line 104, in read_pkt_line size = int(sizestr, 16) ValueError: invalid literal for int() with base 16: 'Remo'

Comments (3)

  1. David Carr

    Sorry, forgot to log in. This ticket was me. I'd edit it to clean up the formatting on the traceback, but apparently I can't do that for anonymous issues.

  2. Log in to comment