I'm relatively certain I didn't cause this, it looks like a problem with urllib2. Anyone have an idea if there's anywhere ese I should look ? ( It seems only the one user is affected, since the same workspace & machine work for someone else )
-JohnS Begin forwarded message: > From: Strony Zhang <Strony.Zhang at Sun.COM> > Date: March 26, 2009 3:19:54 AM PDT (CA) > To: John.Sonnenschein at Sun.COM > Subject: 'hg pbchk' error > > Hi John, > > I met the following problem when I run hg pbchk. I noticed that > 6773896 was fixed in snv_104. But I am not sure whether I met the > same problem with 6773896. > In the same workspace, I run the 'hg pbchk' by my account and then > meet the following error. When another guy runs 'hg pbchk' in the > same workspace on the same machine, he can pass the 'hg pbchk' > without error. After comparing my .hgrc with his, there is not > difference. What is wrong? What do I miss? > > > seadog# hg pbchk > Not trusting file /builds/zl227052/onnv-6673333/.hg/hgrc from > untrusted user zl227052, group staff > Not trusting file /builds/zl227052/onnv-6673333/.hg/hgrc from > untrusted user zl227052, group staff > CDDL block check: > > Copyright check: > > C style check: > > Header format check: > > Java style check: > > Mapfile comment check: > > File permission check: > > Keywords check: > > ** 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.2) > Traceback (most recent call last): > File "/usr/bin/hg", line 20, in ? > mercurial.dispatch.run() > File "build/proto/lib/python/mercurial/dispatch.py", line 20, in run > File "build/proto/lib/python/mercurial/dispatch.py", line 29, in > dispatch > File "build/proto/lib/python/mercurial/dispatch.py", line 45, in > _runcatch > File "build/proto/lib/python/mercurial/dispatch.py", line 364, in > _dispatch > File "build/proto/lib/python/mercurial/dispatch.py", line 417, in > _runcommand > File "build/proto/lib/python/mercurial/dispatch.py", line 373, in > checkargs > File "build/proto/lib/python/mercurial/dispatch.py", line 356, in > <lambda> > File "cdm.py", line 737, in cdm_pbchk > File "cdm.py", line 683, in run_checks > File "cdm.py", line 296, in cdm_comchk > File "Comments.py", line 150, in comchk > File "DbLookups.py", line 237, in ARC > File "/usr/lib/python2.4/urllib2.py", line 130, in urlopen > return _opener.open(url, data) > File "/usr/lib/python2.4/urllib2.py", line 358, in open > response = self._open(req, data) > File "/usr/lib/python2.4/urllib2.py", line 376, in _open > '_open', req) > File "/usr/lib/python2.4/urllib2.py", line 337, in _call_chain > result = func(*args) > File "/usr/lib/python2.4/urllib2.py", line 573, in <lambda> > lambda r, proxy=url, type=type, meth=self.proxy_open: \ > File "/usr/lib/python2.4/urllib2.py", line 580, in proxy_open > if '@' in host: > TypeError: iterable argument required > > > My .hgrc is created by hgsetup: > ---------- > [extensions] > hgext.cdm=/opt/onbld/lib/python/onbld/hgext/cdm.py > > [email] > from=Strony.Zhang at Sun.COM > > [paths] > onnv-gate=ssh://onnv.sfbay.sun.com//export/onnv-gate > onnv-clone=ssh://onnv.sfbay.sun.com//export/onnv-clone > onnv-closed=ssh://onnv.sfbay.sun.com//export/onnv-gate/usr/closed > onnv-closed-clone=ssh://onnv.sfbay.sun.com//export/onnv-clone/usr/closed > > [merge-tools] > filemerge.gui=True > filemerge.args=-a $base $local $other $output > filemerge.priority=1 > filemerge.premerge=False > > meld.gui=True > meld.priority=0 > meld.premerge=False > > gpyfm.gui=True > gpyfm.priority=0 > gpyfm.premerge=False > > [ui] > username=Strony Zhang - Solaris China Team <Strony.Zhang at Sun.COM> > style=/opt/onbld/etc/hgstyle > > Thanks, > Strony > >