AttributeError: 'module' object has no attribute 'HTTPSConnection'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned |
Bug Description
After failing to raise explorer on Python 2.4, I've installed Python 2.7 with the latest Qt, PyQt and bazaar versions (on CentOS).
Now I'm getting the following exception:
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 "/home/
window = explorer.
File "/usr/local/
obj = _replace()
File "/usr/local/
obj = factory(self, scope, name)
File "/usr/local/
module = __import_
File "/home/
from bzrlib.
File "/home/
from bzrlib.
File "/usr/local/
from bzrlib.
File "/usr/local/
class HTTPSConnection
AttributeError: 'module' object has no attribute 'HTTPSConnection'
bzr 2.2.1 on python 2.7.0 (Linux-
arguments: ['/usr/
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
bash_completion /usr/local/
explorer /home/ronenm/
launchpad /usr/local/
netrc_
news_merge /usr/local/
qbzr /usr/local/
*** 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:/
including this traceback and a description of the problem.
Exit 4
summary: |
- exception when trying to use Bazaar Explorer + AttributeError: 'module' object has no attribute 'HTTPSConnection' |
affects: | bzr-explorer → bzr |
Right, this should be fixed in bzr, but I note that's it's a dupe and the root cause is, AFAIK, a custom python which doesn't include the ssl module (standard for python >= 2.6) which is a *bad* thing.