[Bug 4586] New: Cloning fails with error "invalid literal for int() with base 16"

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Thu Apr 2 20:59:31 UTC 2015


http://bz.selenic.com/show_bug.cgi?id=4586

          Priority: normal
            Bug ID: 4586
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: Cloning fails with error "invalid literal for int()
                    with base 16"
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: elifarley at gmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.5.1
         Component: Mercurial
           Product: Mercurial

Client: Mercurial 3.3.2 on Windows
Server: Mercurial 2.5.1 on Linux

Cloning a specific repo via SSH hangs every time.

Cloning the same repo via HTTP produces the same error every time.

hg clone via SSH:


[...]
add changeset db1a9d769638
changesets: 181 chunks
add changeset 80ce09e272ce
changesets: 182 chunks
add changeset 43732c71fc6c
changesets: 183 chunks
(client hangs here)

Server's strace output (Mercurial 2.5.1):
write(1, "os/to/DominioValorAliquotaTO.jav"..., 4096
(and nothing else)

------------------------

hg clone via HTTP:

[...]
DEBUG:mercurial.httpclient._readers:205:chunked reader trying to finish block
from leftover data
DEBUG:mercurial.httpclient:174:response read 6944 data during _select
DEBUG:mercurial.httpclient._readers:201:chunked read an additional 6944 data
DEBUG:mercurial.httpclient._readers:205:chunked reader trying to finish block
from leftover data
transaction abort!
rollback completed
** unknown exception encountered, please report by visiting
** http://mercurial.selenic.com/wiki/BugTracker
** Python 2.7.9 (default, Dec 10 2014, 12:28:03) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 3.3.2)
** Extensions loaded: fetch, purge, transplant, strip, mq, record, graphlog,
con
vert, patchbomb, children, churn, rebase, hggit, progress, shelve
Traceback (most recent call last):
  File "hg", line 42, in <module>
  File "mercurial\dispatch.pyo", line 28, in run
  File "mercurial\dispatch.pyo", line 71, in dispatch
  File "mercurial\dispatch.pyo", line 140, in _runcatch
  File "mercurial\dispatch.pyo", line 863, in _dispatch
  File "mercurial\dispatch.pyo", line 624, in runcommand
  File "mercurial\dispatch.pyo", line 954, in _runcommand
  File "mercurial\dispatch.pyo", line 925, in checkargs
  File "mercurial\dispatch.pyo", line 860, in <lambda>
  File "mercurial\util.pyo", line 711, in check
  File "mercurial\commands.pyo", line 1374, in clone
  File "mercurial\hg.pyo", line 434, in clone
  File "mercurial\localrepo.pyo", line 1792, in clone
  File "mercurial\extensions.pyo", line 194, in wrap
  File "hggit\util.pyo", line 42, in inner
  File "hggit\__init__.pyo", line 246, in exchangepull
  File "mercurial\exchange.pyo", line 882, in pull
  File "mercurial\exchange.pyo", line 1046, in _pullchangeset
  File "mercurial\changegroup.pyo", line 791, in addchangegroup
  File "mercurial\changegroup.pyo", line 662, in addchangegroupfiles
  File "mercurial\revlog.pyo", line 1376, in addgroup
  File "mercurial\changegroup.pyo", line 218, in deltachunk
  File "mercurial\changegroup.pyo", line 20, in readexactly
  File "mercurial\util.pyo", line 1206, in read
  File "mercurial\util.pyo", line 1182, in splitbig
  File "mercurial\httppeer.pyo", line 19, in zgenerator
  File "mercurial\util.pyo", line 1239, in filechunkiter
  File "mercurial\httpclient\__init__.pyo", line 150, in read
  File "mercurial\httpclient\__init__.pyo", line 185, in _select
  File "mercurial\httpclient\_readers.pyo", line 218, in _load
ValueError: invalid literal for int() with base 16:
'\r\xbb\x8f$\xd2,\xf1\x9d\xf5:\xff\xf3\xcd\x9b\x0f\xff\xd7\xf3\xc4\x16 [...lots
of data...]

INFO:mercurial.httpclient:444:closed connection to my.server.com on 80

------------------------

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list