[issue1178] Push over HTTP: ValueError: invalid literal for int()

specmurt mercurial-bugs at selenic.com
Thu Jun 12 18:02:53 CDT 2008


New submission from specmurt <egor.pervuninski at gmail.com>:

I am running hgwebdir.cgi from the same version of HG as a Windows client. When
I try to push the simple change set I get this error.
==================================
C:\Projects\project1>hg --version
Mercurial Distributed SCM (version 1.0.1+20080525)

Copyright (C) 2005-2008 Matt Mackall <mpm at selenic.com> and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
==================================
C:\Projects\project1>hg push --traceback
pushing to http://hg.eneset.com/private/projects/project1
http authorization required
realm: Eneset Technology Pty Ltd Private HG Repository
user: username
password:
real URL is http://hg.eneset.com/private/projects/project1/
searching for changes
Traceback (most recent call last):
  File "mercurial\dispatch.pyc", line 45, in _runcatch
  File "mercurial\dispatch.pyc", line 364, in _dispatch
  File "mercurial\dispatch.pyc", line 417, in _runcommand
  File "mercurial\dispatch.pyc", line 373, in checkargs
  File "mercurial\dispatch.pyc", line 356, in <lambda>
  File "mercurial\commands.pyc", line 2098, in push
  File "mercurial\localrepo.pyc", line 1498, in push
  File "mercurial\localrepo.pyc", line 1578, in push_unbundle
  File "mercurial\httprepo.pyc", line 429, in unbundle
ValueError: invalid literal for int() with base 10: '<?xml version="1.0" encodin
g="ANSI_X3.4-1968"?>\n'
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 1.0.1+20080525)
Traceback (most recent call last):
  File "hg", line 20, in <module>
  File "mercurial\dispatch.pyc", line 20, in run
  File "mercurial\dispatch.pyc", line 29, in dispatch
  File "mercurial\dispatch.pyc", line 45, in _runcatch
  File "mercurial\dispatch.pyc", line 364, in _dispatch
  File "mercurial\dispatch.pyc", line 417, in _runcommand
  File "mercurial\dispatch.pyc", line 373, in checkargs
  File "mercurial\dispatch.pyc", line 356, in <lambda>
  File "mercurial\commands.pyc", line 2098, in push
  File "mercurial\localrepo.pyc", line 1498, in push
  File "mercurial\localrepo.pyc", line 1578, in push_unbundle
  File "mercurial\httprepo.pyc", line 429, in unbundle
ValueError: invalid literal for int() with base 10: '<?xml version="1.0" encodin
g="ANSI_X3.4-1968"?>\n'

----------
messages: 6270
nosy: specmurt
priority: bug
status: unread
title: Push over HTTP: ValueError: invalid literal for int()

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



More information about the Mercurial-devel mailing list