hg push gives "abort: Error"
Steve Borho
steve at borho.org
Wed Dec 2 09:43:22 CST 2009
On Wed, Dec 2, 2009 at 5:26 AM, bd satish <bdsatish at gmail.com> wrote:
> Hello Dennis,
>
> I use Ubuntu at home. So I feel comfortable to use cygwin command line
> because the commands will be the same as I use in Linux. The locations
> of .hgrc or hgrc and such configuration files are confusing me in
> Windows. I'm anyways downloading TortoiseHg.
I've been seeing push errors to bitbucket with the tip of hg-main. I
filed a bug report there, but neglected to mention it here. It looks
very similar to what your error looks like.
http://bitbucket.org/jespern/bitbucket/issue/1609
> Attaching the output with --traceback and --debug:
>
> $ hg push --debug
> using https://bitbucket.org/bdsatish/sigproc/
> proxying through http://10.144.1.10:8080
> sending between command
> pushing to https://bitbucket.org/bdsatish/sigproc/
> sending capabilities command
> capabilities: unbundle=HG10GZ,HG10BZ,HG10UN branchmap lookup changegroupsubset
> sending heads command
> searching for changes
> common changesets up to 000000000000
> 1 changesets found
> list of changesets:
> 2c7b0b8733fceb36e29f3f04f8147248cceac519
> sending unbundle command
> sending 311365 bytes
> http authorization required
> realm: Bitbucket.org HTTP
> user: bdsatish
> password:
> http auth: user bdsatish, password ************
> abort: Error
>
> ================================================================
> The following is the output with --traceback
>
> $ hg push --traceback
> pushing to https://bitbucket.org/bdsatish/sigproc/
> searching for changes
> http authorization required
> realm: Bitbucket.org HTTP
> user: bdsatish
> password:
> Traceback (most recent call last):
> File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line
> 43, in _runcatch
> return _dispatch(ui, args)
> File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line
> 449, in _dispatch
> return runcommand(lui, repo, cmd, fullargs, ui, options, d)
> File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line
> 317, in runcommand
> ret = _runcommand(ui, options, cmd, d)
> File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line
> 501, in _runcommand
> return checkargs()
> File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line
> 454, in checkargs
> return cmdfunc()
> File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line
> 448, in <lambda>
> d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
> File "/usr/lib/python2.5/site-packages/mercurial/util.py", line 402, in check
> return func(*args, **kwargs)
> File "/usr/lib/python2.5/site-packages/mercurial/commands.py", line
> 2333, in push
> r = repo.push(other, opts.get('force'), revs=revs)
> File "/usr/lib/python2.5/site-packages/mercurial/localrepo.py", line
> 1480, in push
> return self.push_unbundle(remote, force, revs)
> File "/usr/lib/python2.5/site-packages/mercurial/localrepo.py", line
> 1616, in push_unbundle
> return remote.unbundle(cg, remote_heads, 'push')
> File "/usr/lib/python2.5/site-packages/mercurial/httprepo.py", line
> 219, in unbundle
> heads=' '.join(map(hex, heads)))
> File "/usr/lib/python2.5/site-packages/mercurial/httprepo.py", line
> 126, in do_read
> fp = self.do_cmd(cmd, **args)
> File "/usr/lib/python2.5/site-packages/mercurial/httprepo.py", line
> 79, in do_cmd
> resp = self.urlopener.open(urllib2.Request(cu, data, headers))
> File "/usr/lib/python2.5/urllib2.py", line 381, in open
> response = self._open(req, data)
> File "/usr/lib/python2.5/urllib2.py", line 399, in _open
> '_open', req)
> File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
> result = func(*args)
> File "/usr/lib/python2.5/urllib2.py", line 675, in <lambda>
> meth(r, proxy, type))
> File "/usr/lib/python2.5/site-packages/mercurial/url.py", line 232,
> in proxy_open
> return urllib2.ProxyHandler.proxy_open(self, req, proxy, type_)
> File "/usr/lib/python2.5/urllib2.py", line 698, in proxy_open
> 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 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 999, in http_error_401
> host, req, headers)
> File "/usr/lib/python2.5/site-packages/mercurial/url.py", line 458,
> in http_error_auth_reqed
> self, auth_header, host, req, headers)
> File "/usr/lib/python2.5/urllib2.py", line 891, in http_error_auth_reqed
> return self.retry_http_digest_auth(req, authreq)
> File "/usr/lib/python2.5/urllib2.py", line 896, in retry_http_digest_auth
> auth = self.get_authorization(req, chal)
> File "/usr/lib/python2.5/urllib2.py", line 948, in get_authorization
> cnonce = self.get_cnonce(nonce)
> File "/usr/lib/python2.5/urllib2.py", line 912, in get_cnonce
> randombytes(8))).hexdigest()
> File "/usr/lib/python2.5/urllib2.py", line 848, in randombytes
> f.close()
> IOError: [Errno 0] Error
> abort: Error
>
>
> Thanks for your help.
>
>
> -- Satish.BD
>
>
>
> On Wed, Dec 2, 2009 at 10:33 AM, Dennis Brakhane
> <brakhane at googlemail.com> wrote:
>> On Tue, Dec 1, 2009 at 8:54 AM, bd satish <bdsatish at gmail.com> wrote:
>>> Hi,
>>>
>>> I'm a beginner with Hg. Running mercurial (1.3.1) on Cygwin. I created
>>
>> Is there any particular reason you need to use hg on Cygwin? Under
>> Windows, and especially for beginners, TortoiseHg should be much
>> better.
>>
>> http://bitbucket.org/tortoisehg/stable/wiki/Home
>>
>> Besides that, your error message is not meaningful enough. Try running
>> clone with --traceback and/or --debug.
>>
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>
More information about the Mercurial
mailing list