Push Python Error on new setup

Tony Zakula tonyzakula at gmail.com
Fri May 28 14:49:17 UTC 2010


Hi,

I am brand new to Mercurial.

I have a fresh Debian install with a base Mercurial setup (no extensions),
python 2.5 and cherokee web server.
I am using hgwebdir.cgi to server multiple repos.
 I am using I only have one repo with one file in it.
The web interface works fine and I pushed that one file into it locally.
I am using an .htaccess file in the root of the repo directory with an
htpass file.
There is only one user, and the auth works fine in the web interface.

 I then wanted to push my main project to that repo.

hg push --debug -v --traceback https://user:pass@192.168.1.110/hg/repo

It outputs the list, then at the end, I get the following error listed
below.

Any ideas?  I have doubled checked my permissions.

Thanks,

TonyZ

sending unbundle command
sending 55146113 bytes
http auth: user user, pass *************
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.5/mercurial/dispatch.py", line 50, in
_runcatch
    return _dispatch(ui, args)
  File "/usr/lib/pymodules/python2.5/mercurial/dispatch.py", line 470, in
_dispatch
    return runcommand(lui, repo, cmd, fullargs, ui, options, d)
  File "/usr/lib/pymodules/python2.5/mercurial/dispatch.py", line 340, in
runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/lib/pymodules/python2.5/mercurial/dispatch.py", line 521, in
_runcommand
    return checkargs()
  File "/usr/lib/pymodules/python2.5/mercurial/dispatch.py", line 475, in
checkargs
    return cmdfunc()
  File "/usr/lib/pymodules/python2.5/mercurial/dispatch.py", line 469, in
<lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/usr/lib/pymodules/python2.5/mercurial/util.py", line 401, in check
    return func(*args, **kwargs)
  File "/usr/lib/pymodules/python2.5/mercurial/commands.py", line 2459, in
push
    r = repo.push(other, opts.get('force'), revs=revs)
  File "/usr/lib/pymodules/python2.5/mercurial/localrepo.py", line 1489, in
push
    return self.push_unbundle(remote, force, revs)
  File "/usr/lib/pymodules/python2.5/mercurial/localrepo.py", line 1634, in
push_unbundle
    return remote.unbundle(cg, remote_heads, 'push')
  File "/usr/lib/pymodules/python2.5/mercurial/httprepo.py", line 235, in
unbundle
    heads=' '.join(map(hex, heads)))
  File "/usr/lib/pymodules/python2.5/mercurial/httprepo.py", line 134, in
do_read
    fp = self.do_cmd(cmd, **args)
  File "/usr/lib/pymodules/python2.5/mercurial/httprepo.py", line 85, in
do_cmd
    resp = self.urlopener.open(req)
  File "/usr/lib/python2.5/urllib2.py", line 387, in open
    response = meth(req, response)
  File "/usr/lib/python2.5/urllib2.py", line 498, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.5/urllib2.py", line 419, in error
    result = self._call_chain(*args)
  File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.5/urllib2.py", line 823, in http_error_401
    url, req, headers)
  File "/usr/lib/python2.5/urllib2.py", line 801, in http_error_auth_reqed
    return self.retry_http_basic_auth(host, req, realm)
  File "/usr/lib/python2.5/urllib2.py", line 811, in retry_http_basic_auth
    return self.parent.open(req)
  File "/usr/lib/python2.5/urllib2.py", line 387, in open
    response = meth(req, response)
  File "/usr/lib/python2.5/urllib2.py", line 498, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.5/urllib2.py", line 425, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.5/urllib2.py", line 506, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 500: Internal Server Error
abort: HTTP Error 500: Internal Server Error
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20100528/eeb953a1/attachment.html>


More information about the Mercurial mailing list