[prev in list] [next in list] [prev in thread] [next in thread]
List: mercurial
Subject: Re: hg pull \ ... \ TypeError: Odd-length string
From: Ben Abbott <Ben.Abbott () Qorvo ! com>
Date: 2017-06-20 12:57:23
Message-ID: F514F7D9-C33A-4E55-BC34-78D4C81291BB () qorvo ! com
[Download RAW message or body]
[Attachment #2 (text/plain)]
On Jun 19, 2017, at 11:37 PM, Ben Abbott \
<Ben.Abbott@Qorvo.com<mailto:Ben.Abbott@Qorvo.com>> wrote:
On Jun 19, 2017, at 4:00 PM, Ben Abbott \
<Ben.Abbott@Qorvo.com<mailto:Ben.Abbott@Qorvo.com>> wrote:
On Jun 19, 2017, at 12:58 PM, Sean Farley <sean@farley.io<mailto:sean@farley.io>> \
wrote:
Ben Abbott <Ben.Abbott@Qorvo.com<mailto:Ben.Abbott@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
[Attachment #3 (text/html)]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: \
after-white-space;" class=""> <div>
<blockquote type="cite" class="">
<div class="">On Jun 19, 2017, at 11:37 PM, Ben Abbott <<a \
href="mailto:Ben.Abbott@Qorvo.com" class="">Ben.Abbott@Qorvo.com</a>> wrote:</div> \
<div class=""> <div style="word-wrap: break-word; -webkit-nbsp-mode: space; \
-webkit-line-break: after-white-space;" class=""> <br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On Jun 19, 2017, at 4:00 PM, Ben Abbott <<a \
href="mailto:Ben.Abbott@Qorvo.com" class="">Ben.Abbott@Qorvo.com</a>> wrote:</div> \
<div class=""> <div style="word-wrap: break-word; -webkit-nbsp-mode: space; \
-webkit-line-break: after-white-space;" class=""> <br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On Jun 19, 2017, at 12:58 PM, Sean Farley <<a \
href="mailto:sean@farley.io" class="">sean@farley.io</a>> wrote:</div> <br \
class="Apple-interchange-newline"> <div class="">
<div class="">Ben Abbott <<a href="mailto:Ben.Abbott@Qorvo.com" \
class="">Ben.Abbott@Qorvo.com</a>> writes:<br class=""> <br class="">
<blockquote type="cite" class="">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.<br \
class=""> <br class="">
Ben<br class="">
<br class="">
hg pull<br class="">
pulling from <a href="http://www.octave.org/hg/octave" \
class="">http://www.octave.org/hg/octave</a><br class=""> real URL is <a \
href="http://hg.savannah.gnu.org/hgweb/octave" \
class="">http://hg.savannah.gnu.org/hgweb/octave</a><br class=""> searching for \
changes<br class=""> adding changesets<br class="">
adding manifests<br class="">
adding file changes<br class="">
added 23 changesets with 156 changes to 128 files<br class="">
transaction abort!<br class="">
rollback completed<br class="">
** unknown exception encountered, please report by visiting<br class="">
** <a href="https://mercurial-scm.org/wiki/BugTracker" \
class="">https://mercurial-scm.org/wiki/BugTracker</a><br class="">
** 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)]<br class="">
** Mercurial Distributed SCM (version 4.1.2)<br class="">
** Extensions loaded: gpg, purge, hgk, strip, mq, patchbomb, rebase, transplant<br \
class=""> Traceback (most recent call last):<br class="">
File "/sw/bin/hg", line 45, in <module><br class="">
mercurial.dispatch.run()<br class="">
File "/sw/lib/python2.7/site-packages/mercurial/dispatch.py", line \
63, in run<br class=""> \
sys.exit((dispatch(request(pycompat.sysargv[1:])) or 0) & \
255)<br class=""> File \
"/sw/lib/python2.7/site-packages/mercurial/dispatch.py", line 129, in \
dispatch<br class=""> ret = _runcatch(req)<br class="">
File "/sw/lib/python2.7/site-packages/mercurial/dispatch.py", line \
219, in _runcatch<br class=""> return callcatch(ui, \
_runcatchfunc)<br class=""> File \
"/sw/lib/python2.7/site-packages/mercurial/dispatch.py", line 227, in \
callcatch<br class=""> return scmutil.callcatch(ui, func)<br \
class=""> File \
"/sw/lib/python2.7/site-packages/mercurial/scmutil.py", line 152, in \
callcatch<br class=""> return func()<br class="">
File "/sw/lib/python2.7/site-packages/mercurial/dispatch.py", line \
208, in _runcatchfunc<br class=""> return _dispatch(req)<br \
class=""> File \
"/sw/lib/python2.7/site-packages/mercurial/dispatch.py", line 811, in \
_dispatch<br class=""> cmdpats, cmdoptions)<br class="">
File "/sw/lib/python2.7/site-packages/mercurial/dispatch.py", line \
563, in runcommand<br class=""> ret = _runcommand(ui, options, cmd, \
d)<br class=""> File \
"/sw/lib/python2.7/site-packages/mercurial/dispatch.py", line 819, in \
_runcommand<br class=""> return cmdfunc()<br class="">
File "/sw/lib/python2.7/site-packages/mercurial/dispatch.py", line \
808, in <lambda><br class=""> d = lambda: \
util.checksignature(func)(ui, *args, **strcmdopt)<br class=""> File \
"/sw/lib/python2.7/site-packages/mercurial/util.py", line 1051, in check<br \
class=""> return func(*args, **kwargs)<br class="">
File "/sw/lib/python2.7/site-packages/mercurial/extensions.py", line \
223, in closure<br class=""> return func(*(args + a), **kw)<br \
class=""> File "/sw/lib/python2.7/site-packages/mercurial/util.py", \
line 1051, in check<br class=""> return func(*args, **kwargs)<br \
class=""> File "/sw/lib/python2.7/site-packages/hgext/mq.py", line \
3541, in mqcommand<br class=""> return orig(ui, repo, *args, \
**kwargs)<br class=""> File \
"/sw/lib/python2.7/site-packages/mercurial/util.py", line 1051, in check<br \
class=""> return func(*args, **kwargs)<br class="">
File "/sw/lib/python2.7/site-packages/mercurial/extensions.py", line \
223, in closure<br class=""> return func(*(args + a), **kw)<br \
class=""> File "/sw/lib/python2.7/site-packages/mercurial/util.py", \
line 1051, in check<br class=""> return func(*args, **kwargs)<br \
class=""> File "/sw/lib/python2.7/site-packages/hgext/rebase.py", \
line 1362, in pullrebase<br class=""> ret = orig(ui, repo, *args, \
**opts)<br class=""> File \
"/sw/lib/python2.7/site-packages/mercurial/util.py", line 1051, in check<br \
class=""> return func(*args, **kwargs)<br class="">
File "/sw/lib/python2.7/site-packages/mercurial/commands.py", line \
5161, in pull<br class=""> opargs=pullopargs).cgresult<br class="">
File "/sw/lib/python2.7/site-packages/mercurial/exchange.py", line \
1240, in pull<br class=""> _pullphase(pullop)<br class="">
File "/sw/lib/python2.7/site-packages/mercurial/exchange.py", line \
1445, in _pullphase<br class=""> _pullapplyphases(pullop, \
remotephases)<br class=""> File \
"/sw/lib/python2.7/site-packages/mercurial/exchange.py", line 1457, in \
_pullapplyphases<br class=""> remotephases)<br class="">
File "/sw/lib/python2.7/site-packages/mercurial/phases.py", line 436, \
in analyzeremotephases<br class=""> node = bin(nhex)<br class="">
TypeError: Odd-length string<br class="">
</blockquote>
<br class="">
It might be a bad proxy:<br class="">
<br class="">
<a href="https://www.mercurial-scm.org/pipermail/mercurial/2015-March/048195.html" \
class="">https://www.mercurial-scm.org/pipermail/mercurial/2015-March/048195.html</a><br \
class=""> </div>
</div>
</blockquote>
<br class="">
</div>
<div class="">Forgive the naive question, but could squid be used to overcome the \
problem?</div> <div class=""><br class="">
</div>
<div class="">Or do I need to circumvent the proxy?</div>
<div class=""><br class="">
</div>
<div class="">Ben</div>
</div>
</div>
</blockquote>
<div class=""><br class="">
</div>
I check <a href="http://www.whatismyproxy.com/" \
class="">http://www.whatismyproxy.com</a></div> <div class=""><br class="">
</div>
<div class="">No proxies were detected..</div>
<div class=""><br class="">
</div>
<div class="">Ben</div>
</div>
</div>
</blockquote>
<br class="">
</div>
<div>I had a successful pull today.</div>
<div><br class="">
</div>
<div>Ben</div>
<br class="">
</body>
</html>
[Attachment #4 (unknown)]
_______________________________________________
Mercurial mailing list
Mercurial@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic