hg pull \ ... \ TypeError: Odd-length string
Ben Abbott
Ben.Abbott at Qorvo.com
Tue Jun 20 12:57:23 UTC 2017
On Jun 19, 2017, at 11:37 PM, Ben Abbott <Ben.Abbott at Qorvo.com<mailto:Ben.Abbott at Qorvo.com>> wrote:
On Jun 19, 2017, at 4:00 PM, Ben Abbott <Ben.Abbott at Qorvo.com<mailto:Ben.Abbott at Qorvo.com>> wrote:
On Jun 19, 2017, at 12:58 PM, Sean Farley <sean at farley.io<mailto:sean at farley.io>> wrote:
Ben Abbott <Ben.Abbott at Qorvo.com<mailto:Ben.Abbott at Qorvo.com>> writes:
I usually pull from the US, and have no trouble. Since traveling to Singapore, my pull requests usually fail (see below).I’ve tried different WLANs, but that didn’t improve the problem. Some days are better than others, but its now been several days since I was able to make a successful pull.
Ben
hg pull
pulling from http://www.octave.org/hg/octave
real URL is http://hg.savannah.gnu.org/hgweb/octave
searching for changes
adding changesets
adding manifests
adding file changes
added 23 changesets with 156 changes to 128 files
transaction abort!
rollback completed
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 2.7.13 (default, Jan 19 2017, 19:07:24) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)]
** Mercurial Distributed SCM (version 4.1.2)
** Extensions loaded: gpg, purge, hgk, strip, mq, patchbomb, rebase, transplant
Traceback (most recent call last):
File "/sw/bin/hg", line 45, in <module>
mercurial.dispatch.run()
File "/sw/lib/python2.7/site-packages/mercurial/dispatch.py", line 63, in run
sys.exit((dispatch(request(pycompat.sysargv[1:])) or 0) & 255)
File "/sw/lib/python2.7/site-packages/mercurial/dispatch.py", line 129, in dispatch
ret = _runcatch(req)
File "/sw/lib/python2.7/site-packages/mercurial/dispatch.py", line 219, in _runcatch
return callcatch(ui, _runcatchfunc)
File "/sw/lib/python2.7/site-packages/mercurial/dispatch.py", line 227, in callcatch
return scmutil.callcatch(ui, func)
File "/sw/lib/python2.7/site-packages/mercurial/scmutil.py", line 152, in callcatch
return func()
File "/sw/lib/python2.7/site-packages/mercurial/dispatch.py", line 208, in _runcatchfunc
return _dispatch(req)
File "/sw/lib/python2.7/site-packages/mercurial/dispatch.py", line 811, in _dispatch
cmdpats, cmdoptions)
File "/sw/lib/python2.7/site-packages/mercurial/dispatch.py", line 563, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/sw/lib/python2.7/site-packages/mercurial/dispatch.py", line 819, in _runcommand
return cmdfunc()
File "/sw/lib/python2.7/site-packages/mercurial/dispatch.py", line 808, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
File "/sw/lib/python2.7/site-packages/mercurial/util.py", line 1051, in check
return func(*args, **kwargs)
File "/sw/lib/python2.7/site-packages/mercurial/extensions.py", line 223, in closure
return func(*(args + a), **kw)
File "/sw/lib/python2.7/site-packages/mercurial/util.py", line 1051, in check
return func(*args, **kwargs)
File "/sw/lib/python2.7/site-packages/hgext/mq.py", line 3541, in mqcommand
return orig(ui, repo, *args, **kwargs)
File "/sw/lib/python2.7/site-packages/mercurial/util.py", line 1051, in check
return func(*args, **kwargs)
File "/sw/lib/python2.7/site-packages/mercurial/extensions.py", line 223, in closure
return func(*(args + a), **kw)
File "/sw/lib/python2.7/site-packages/mercurial/util.py", line 1051, in check
return func(*args, **kwargs)
File "/sw/lib/python2.7/site-packages/hgext/rebase.py", line 1362, in pullrebase
ret = orig(ui, repo, *args, **opts)
File "/sw/lib/python2.7/site-packages/mercurial/util.py", line 1051, in check
return func(*args, **kwargs)
File "/sw/lib/python2.7/site-packages/mercurial/commands.py", line 5161, in pull
opargs=pullopargs).cgresult
File "/sw/lib/python2.7/site-packages/mercurial/exchange.py", line 1240, in pull
_pullphase(pullop)
File "/sw/lib/python2.7/site-packages/mercurial/exchange.py", line 1445, in _pullphase
_pullapplyphases(pullop, remotephases)
File "/sw/lib/python2.7/site-packages/mercurial/exchange.py", line 1457, in _pullapplyphases
remotephases)
File "/sw/lib/python2.7/site-packages/mercurial/phases.py", line 436, in analyzeremotephases
node = bin(nhex)
TypeError: Odd-length string
It might be a bad proxy:
https://www.mercurial-scm.org/pipermail/mercurial/2015-March/048195.html
Forgive the naive question, but could squid be used to overcome the problem?
Or do I need to circumvent the proxy?
Ben
I check http://www.whatismyproxy.com<http://www.whatismyproxy.com/>
No proxies were detected..
Ben
I had a successful pull today.
Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20170620/ace343bd/attachment-0002.html>
More information about the Mercurial
mailing list