[issue2336] ValueError: Invalid literal for int() with base 10: '' checking in oddly named file

Steve Steiner bugs at mercurial.selenic.com
Wed Aug 18 01:46:42 UTC 2010


New submission from Steve Steiner <ssteinerX at gmail.com>:

A file I'm removing has the odd name:

server-conf/tbp_regsrvr-nginx.conf (steve-steiners-mac-pro-2's conflicted 
copy 2010-08-11).jinja

I'm not sure if that's the "cause" but this is the only strange thing about 
the repo that I know 
of.  Has been working fine 'till now and now it's jammed and I'm not sure 
how to unjam it.

S

tbp_regsrvr_deploy
removing server-conf/tbp_regsrvr-nginx.conf (steve-steiners-mac-pro-2's 
conflicted copy 2010-08-
11).jinja
pushing to ssh://hg@host64.idcwebservices.com/ssteiner/tbp_regsrvr_deploy
searching for changes
remote: ** unknown exception encountered, details follow
remote: ** report bug details to http://mercurial.selenic.com/bts/
remote: ** or mercurial at selenic.com
remote: ** Mercurial Distributed SCM (version 1.5)
remote: ** Extensions loaded: 
remote: Traceback (most recent call last):
remote:   File "/usr/local/share/mercurial-server/hg-ssh", line 86, in 
<module>
remote:     dispatch.dispatch(['-R', repo, 'serve', '--stdio'])
remote:   File "/usr/local/lib/python2.6/site-packages/mercurial-1.5-py2.6-
linux-
x86_64.egg/mercurial/dispatch.py", line 30, in dispatch
remote:     return _runcatch(u, args)
remote:   File "/usr/local/lib/python2.6/site-packages/mercurial-1.5-py2.6-
linux-
x86_64.egg/mercurial/dispatch.py", line 47, in _runcatch
remote:     return _dispatch(ui, args)
remote:   File "/usr/local/lib/python2.6/site-packages/mercurial-1.5-py2.6-
linux-
x86_64.egg/mercurial/dispatch.py", line 466, in _dispatch
remote:     return runcommand(lui, repo, cmd, fullargs, ui, options, d)
remote:   File "/usr/local/lib/python2.6/site-packages/mercurial-1.5-py2.6-
linux-
x86_64.egg/mercurial/dispatch.py", line 336, in runcommand
remote:     ret = _runcommand(ui, options, cmd, d)
remote:   File "/usr/local/lib/python2.6/site-packages/mercurial-1.5-py2.6-
linux-
x86_64.egg/mercurial/dispatch.py", line 517, in _runcommand
remote:     return checkargs()
remote:   File "/usr/local/lib/python2.6/site-packages/mercurial-1.5-py2.6-
linux-
x86_64.egg/mercurial/dispatch.py", line 471, in checkargs
remote:     return cmdfunc()
remote:   File "/usr/local/lib/python2.6/site-packages/mercurial-1.5-py2.6-
linux-
x86_64.egg/mercurial/dispatch.py", line 465, in <lambda>
remote:     d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
remote:   File "/usr/local/lib/python2.6/site-packages/mercurial-1.5-py2.6-
linux-
x86_64.egg/mercurial/util.py", line 401, in check
remote:     return func(*args, **kwargs)
remote:   File "/usr/local/lib/python2.6/site-packages/mercurial-1.5-py2.6-
linux-
x86_64.egg/mercurial/commands.py", line 2874, in serve
remote:     s.serve_forever()
remote:   File "/usr/local/lib/python2.6/site-packages/mercurial-1.5-py2.6-
linux-
x86_64.egg/mercurial/sshserver.py", line 45, in serve_forever
remote:     while self.serve_one():
remote:   File "/usr/local/lib/python2.6/site-packages/mercurial-1.5-py2.6-
linux-
x86_64.egg/mercurial/sshserver.py", line 57, in serve_one
remote:     impl()
remote:   File "/usr/local/lib/python2.6/site-packages/mercurial-1.5-py2.6-
linux-
x86_64.egg/mercurial/sshserver.py", line 189, in do_unbundle
remote:     count = int(self.fin.readline())
remote: ValueError: invalid literal for int() with base 10: ''

----------
messages: 13377
nosy: ssteinerX
priority: critical
status: unread
title: ValueError: Invalid literal for int() with base 10: '' checking in oddly named file

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2336>
____________________________________________________


More information about the Mercurial-devel mailing list