[MacPorts] #30199: Mercurial 1.9 broken, cannot import readauthforuri
MacPorts
noreply at macports.org
Fri Jul 15 01:05:11 PDT 2011
#30199: Mercurial 1.9 broken, cannot import readauthforuri
-------------------------------------------------------+--------------------
Reporter: m@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: mercurial push pull import readauthforuri | Port: mercurial @1.9 (devel, python)
-------------------------------------------------------+--------------------
Comment(by m@…):
Maybe related to py26-mercurial_keyring?
{{{
Traceback (most recent call last):
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial/dispatch.py", line 87, in _runcatch
return _dispatch(req)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial/dispatch.py", line 675, in _dispatch
cmdpats, cmdoptions)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial/dispatch.py", line 454, in runcommand
ret = _runcommand(ui, options, cmd, d)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial/dispatch.py", line 729, in _runcommand
return checkargs()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial/dispatch.py", line 683, in checkargs
return cmdfunc()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial/dispatch.py", line 672, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial/util.py", line 385, in check
return func(*args, **kwargs)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial/extensions.py", line 137, in wrap
util.checksignature(origfn), *args, **kwargs)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial/util.py", line 385, in check
return func(*args, **kwargs)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/hgext/rebase.py", line 577, in pullrebase
orig(ui, repo, *args, **opts)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial/util.py", line 385, in check
return func(*args, **kwargs)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial/extensions.py", line 137, in wrap
util.checksignature(origfn), *args, **kwargs)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial/util.py", line 385, in check
return func(*args, **kwargs)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/hgext/mq.py", line 3218, in mqcommand
return orig(ui, repo, *args, **kwargs)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial/util.py", line 385, in check
return func(*args, **kwargs)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial/commands.py", line 3772, in pull
other = hg.peer(repo, opts, source)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial/hg.py", line 104, in peer
return repository(rui, path, create)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/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.6/lib/python2.6
/site-packages/mercurial/httprepo.py", line 230, in instance
inst._fetchcaps()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/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.6/lib/python2.6
/site-packages/mercurial/httprepo.py", line 163, in _call
fp = self._callstream(cmd, **args)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial/httprepo.py", line 113, in _callstream
resp = self.urlopener.open(req)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py",
line 397, in open
response = meth(req, response)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py",
line 510, in http_response
'http', request, response, code, msg, hdrs)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py",
line 429, in error
result = self._call_chain(*args)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py",
line 369, in _call_chain
result = func(*args)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py",
line 875, in http_error_401
url, req, headers)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial/url.py", line 419, in http_error_auth_reqed
self, auth_header, host, req, headers)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py",
line 853, in http_error_auth_reqed
return self.retry_http_basic_auth(host, req, realm)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py",
line 856, 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 294, 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 237, in load_hgrc_auth
from mercurial.url import readauthforuri
ImportError: cannot import name readauthforuri
abort: cannot import name readauthforuri!
}}}
--
Ticket URL: <https://trac.macports.org/ticket/30199#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list