lp-registration is not compatible with python-2.7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned |
Bug Description
the problem is potentially linked to my instalation (with python2.7) I've install bzr from source and it compiles perfectly.
but then it fails to load a branch.
It's maybe smtg stupid, sorry in advance if it is,
Olivier
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/local/
return the_callable(*args, **kwargs)
File "/usr/local/
ret = run(*run_argv)
File "/usr/local/
return self.run_
File "/usr/local/
return self._operation
File "/usr/local/
self.cleanups, self.func, *args, **kwargs)
File "/usr/local/
result = func(*args, **kwargs)
File "/usr/local/
from_location)
File "/usr/local/
bzrdir = klass.open(
File "/usr/local/
t = get_transport(base, possible_
File "/usr/local/
return obj(*args, **kwargs)
File "/usr/local/
base = directories.
File "/usr/local/
return service(
File "/usr/local/
return self._resolve(url)
File "/usr/local/
result = resolve.
File "/usr/local/
self.
File "/usr/local/
result = method(
File "/usr/local/
return self.__
File "/usr/local/
verbose=
File "/usr/local/
return self.parse_
File "/usr/local/
if response.
AttributeError: addinfourl instance has no attribute 'getheader'
bzr 2.1.2 on python 2.7.0 (Darwin-
arguments: ['/usr/
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
plugins:
launchpad /usr/local/
netrc_
news_merge /usr/local/
summary: |
- impossible to branch from web + lp-registration is not compatible with python-2.7 |
tags: |
added: python-2.7 removed: py27 |
Ouch, it's clearly a bug in bzr but we haven't tried supporting python-2.7 so far.
We'll gladly accept patches fixing bugs like this one as long as they don't break supporting python-2.4 -> python-2.6.
In the mean time you may prefer to use the system installed python (fixing the #! line in the bzr script should be enough for that).