~/Desktop> bzr clone lp:txprotobuf bzr: ERROR: exceptions.AttributeError: addinfourl instance has no attribute 'getheader' Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/bzrlib/commands.py", line 912, in exception_to_return_code return the_callable(*args, **kwargs) File "/usr/lib/python2.7/site-packages/bzrlib/commands.py", line 1112, in run_bzr ret = run(*run_argv) File "/usr/lib/python2.7/site-packages/bzrlib/commands.py", line 690, in run_argv_aliases return self.run(**all_cmd_args) File "/usr/lib/python2.7/site-packages/bzrlib/commands.py", line 705, in run return self._operation.run_simple(*args, **kwargs) File "/usr/lib/python2.7/site-packages/bzrlib/cleanup.py", line 135, in run_simple self.cleanups, self.func, *args, **kwargs) File "/usr/lib/python2.7/site-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups result = func(*args, **kwargs) File "/usr/lib/python2.7/site-packages/bzrlib/builtins.py", line 1209, in run from_location) File "/usr/lib/python2.7/site-packages/bzrlib/bzrdir.py", line 1032, in open_tree_or_branch bzrdir = klass.open(location) File "/usr/lib/python2.7/site-packages/bzrlib/bzrdir.py", line 910, in open t = get_transport(base, possible_transports=possible_transports) File "/usr/lib/python2.7/site-packages/bzrlib/lazy_import.py", line 125, in __call__ return obj(*args, **kwargs) File "/usr/lib/python2.7/site-packages/bzrlib/transport/__init__.py", line 1569, in get_transport base = directories.dereference(base) File "/usr/lib/python2.7/site-packages/bzrlib/directory_service.py", line 58, in dereference return service().look_up(name, url) File "/usr/lib/python2.7/site-packages/bzrlib/plugins/launchpad/lp_directory.py", line 59, in look_up return self._resolve(url) File "/usr/lib/python2.7/site-packages/bzrlib/plugins/launchpad/lp_directory.py", line 69, in _resolve result = resolve.submit(service) File "/usr/lib/python2.7/site-packages/bzrlib/plugins/launchpad/lp_registration.py", line 272, in submit self._authenticated) File "/usr/lib/python2.7/site-packages/bzrlib/plugins/launchpad/lp_registration.py", line 195, in send_request result = method(*method_params) File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__ return self.__send(self.__name, args) File "/usr/lib/python2.7/xmlrpclib.py", line 1570, in __request verbose=self.__verbose File "/usr/lib/python2.7/site-packages/bzrlib/plugins/launchpad/lp_registration.py", line 78, in request return self.parse_response(response) File "/usr/lib/python2.7/xmlrpclib.py", line 1449, in parse_response if response.getheader("Content-Encoding", "") == "gzip": AttributeError: addinfourl instance has no attribute 'getheader' bzr 2.2.2 on python 2.7.1 (Linux-2.6.37-rc4-i686-Intel-R-_Pentium-R-_M_processor_1.86GHz-with-gentoo-2.0.1) arguments: ['/usr/bin/bzr', 'clone', 'lp:txprotobuf'] encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_IT.utf8' plugins: bash_completion /usr/lib/python2.7/site-packages/bzrlib/plugins/bash_completion [2.2.2] launchpad /usr/lib/python2.7/site-packages/bzrlib/plugins/launchpad [2.2.2] netrc_credential_store /usr/lib/python2.7/site-packages/bzrlib/plugins/netrc_credential_store [2.2.2] news_merge /usr/lib/python2.7/site-packages/bzrlib/plugins/news_merge [2.2.2] *** Bazaar has encountered an internal error. This probably indicates a bug in Bazaar. You can help us fix it by filing a bug report at https://bugs.launchpad.net/bzr/+filebug including this traceback and a description of the problem. Reproducible: Always Steps to Reproduce:
Please, see the upstream bug in the URL field of this report. Thanks
Python has http://psf.upfronthosting.co.za/roundup/tracker/issue8194, which describes it as a regression in Python. So we either Python 2.7 to revert that incompatible API change or fix Bazaar with https://i55640973.restricted.launchpadlibrarian.net/55640973/0ede2650-c073-11df-a559-001e0bc3957e.txt?token=379c3d74b041e159133b74d97e5c5915
Please apply that fix/workaround in dev-vcs/bzr, until Python upstream developers decide what to do.
(In reply to comment #3) > Please apply that fix/workaround in dev-vcs/bzr, until Python upstream > developers decide what to do. Could you nag them a bit please so they decide faster? Bazaar has been fixed. Thanks for the report, Alessandro.
(In reply to comment #4) > Bazaar has been fixed. The fix affects runtime behaviour, yet there was no revision bump. As a consequence, people might miss the fact that they should remerge bzr.
Thank you Martin. I've bumped revision.