[MacPorts] #31935: py26-mercurial_keyring @0.4.5 not compatible with mercurial @1.9.3
MacPorts
noreply at macports.org
Sun Nov 6 14:07:52 PST 2011
#31935: py26-mercurial_keyring @0.4.5 not compatible with mercurial @1.9.3
------------------------------+---------------------------------------------
Reporter: m@… | Owner: and.damore@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port: py26-mercurial_keyring
------------------------------+---------------------------------------------
Comment(by m@…):
The ports:
{{{
$ port installed py26-mercurial_keyring mercurial
The following ports are currently installed:
mercurial @1.9.3_0 (active)
py26-mercurial_keyring @0.4.5_0 (active)
}}}
Full stacktrace:
{{{
$ hg pull
** unknown exception encountered, please report by visiting
** http://mercurial.selenic.com/wiki/BugTracker
** Python 2.7.2 (default, Nov 6 2011, 19:00:13) [GCC 4.2.1 Compatible
Apple Clang 3.0 (tags/Apple/clang-211.10.1)]
** Mercurial Distributed SCM (version 1.9.3)
** Extensions loaded: graphlog, convert, mercurial_keyring, progress,
info, mq, rebase, hggit
Traceback (most recent call last):
File "/opt/local/bin/hg", line 38, in <module>
mercurial.dispatch.run()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/mercurial/dispatch.py", line 27, in run
sys.exit(dispatch(request(sys.argv[1:])))
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/mercurial/dispatch.py", line 64, in dispatch
return _runcatch(req)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/mercurial/dispatch.py", line 87, in _runcatch
return _dispatch(req)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/mercurial/dispatch.py", line 688, in _dispatch
cmdpats, cmdoptions)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/mercurial/dispatch.py", line 463, in runcommand
ret = _runcommand(ui, options, cmd, d)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/mercurial/dispatch.py", line 742, in _runcommand
return checkargs()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/mercurial/dispatch.py", line 696, in checkargs
return cmdfunc()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/mercurial/dispatch.py", line 685, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/mercurial/util.py", line 389, in check
return func(*args, **kwargs)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/mercurial/extensions.py", line 137, in wrap
util.checksignature(origfn), *args, **kwargs)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/mercurial/util.py", line 389, in check
return func(*args, **kwargs)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/hgext/rebase.py", line 610, in pullrebase
orig(ui, repo, *args, **opts)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/mercurial/util.py", line 389, in check
return func(*args, **kwargs)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/mercurial/extensions.py", line 137, in wrap
util.checksignature(origfn), *args, **kwargs)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/mercurial/util.py", line 389, in check
return func(*args, **kwargs)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/hgext/mq.py", line 3218, in mqcommand
return orig(ui, repo, *args, **kwargs)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/mercurial/util.py", line 389, in check
return func(*args, **kwargs)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/mercurial/commands.py", line 3774, in pull
other = hg.peer(repo, opts, source)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/mercurial/hg.py", line 104, in peer
return repository(rui, path, create)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/mercurial/hg.py", line 93, in repository
repo = _peerlookup(path).instance(ui, path, create)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/mercurial/httprepo.py", line 233, in instance
inst._fetchcaps()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/mercurial/httprepo.py", line 56, in _fetchcaps
self.caps = set(self._call('capabilities').split())
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/mercurial/httprepo.py", line 166, in _call
fp = self._callstream(cmd, **args)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/mercurial/httprepo.py", line 116, in _callstream
resp = self.urlopener.open(req)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py",
line 400, in open
response = meth(req, response)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py",
line 513, in http_response
'http', request, response, code, msg, hdrs)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py",
line 432, in error
result = self._call_chain(*args)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py",
line 372, in _call_chain
result = func(*args)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py",
line 884, in http_error_401
url, req, headers)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/mercurial/url.py", line 429, in http_error_auth_reqed
self, auth_header, host, req, headers)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py",
line 859, in http_error_auth_reqed
response = self.retry_http_basic_auth(host, req, realm)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py",
line 865, in retry_http_basic_auth
user, pw = self.passwd.find_user_password(realm, host)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial_keyring.py", line 298, in find_user_password
return self._pwd_handler.find_auth(self, realm, authuri)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial_keyring.py", line 123, in find_auth
auth_user, pwd, prefix_url = self.load_hgrc_auth(ui, base_url)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial_keyring.py", line 242, in load_hgrc_auth
res = readauthforuri(local_ui, base_url)
TypeError: readauthforuri() takes exactly 3 arguments (2 given)
}}}
I just noticed that both Python 2.6 and 2.7 occur in the trace, I'll
investigate this...
--
Ticket URL: <https://trac.macports.org/ticket/31935#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list