2.1.0: Cygwin - bzr: ERROR: exceptions.AttributeError: 'module' object has no attribute 'ssl'
Jari Aalto
jari.aalto at cante.net
Sat Mar 13 15:14:18 GMT 2010
Let me know how can I help. The pre-release of Cygwin package is
available at:
http://cante.net/~jaalto/tmp/cygwin/bzr/
Install under Cygwin:
tar -C / -xf *.bz2
------------------------------------------------------------------------
ENVIRONMENT
------------------------------------------------------------------------
$ uname -a
CYGWIN_NT-5.1 host 1.7.1(0.218/5/3) 2009-12-07 11:48 i686 Cygwin
$ type -a python
python is /usr/bin/python
$ env | grep -i python
<nothing>
$ bzr --version
Bazaar (bzr) 2.1.0
Python interpreter: /usr/bin/python 2.5.2
Python standard library: /usr/lib/python2.5
Platform: CYGWIN_NT-5.1-1.7.1-0.218-5-3-i686-32bit
bzrlib: /usr/lib/python2.5/site-packages/bzrlib
Bazaar configuration: /home/jaalto/.bazaar
Bazaar log file: /home/jaalto/.bzr.log
-----------------------------------------------------------------------
ERROR
------------------------------------------------------------------------
$ bzr branch lp:bzr-service $HOME/.bazaar/plugins/service
bzr: ERROR: exceptions.AttributeError: 'module' object has no attribute 'ssl'
$ bzr branch lp:bzr-diffstat $HOME/.bazaar/plugins/diffstat
bzr: ERROR: exceptions.AttributeError: 'module' object has no attribute 'ssl'
<...likewise>
Traceback (most recent call last):
File "commands.py", line 853, in exception_to_return_code
File "commands.py", line 1055, in run_bzr
File "commands.py", line 661, in run_argv_aliases
File "commands.py", line 665, in run_direct
File "cleanup.py", line 122, in run_simple
File "cleanup.py", line 156, in _do_with_cleanups
File "builtins.py", line 1194, in run
File "bzrdir.py", line 958, in open_tree_or_branch
File "bzrdir.py", line 842, in open
File "lazy_import.py", line 125, in __call__
File "__init__.py", line 1555, in get_transport
File "directory_service.py", line 58, in dereference
File "lp_directory.py", line 60, in look_up
File "lp_directory.py", line 70, in _resolve
File "lp_registration.py", line 275, in submit
File "lp_registration.py", line 198, in send_request
File "/usr/lib/python2.5/xmlrpclib.py", line 1147, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.5/xmlrpclib.py", line 1437, in __request
verbose=self.__verbose
File "lp_registration.py", line 74, in request
File "/usr/lib/python2.5/urllib2.py", line 381, in open
response = self._open(req, data)
File "/usr/lib/python2.5/urllib2.py", line 399, in _open
'_open', req)
File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
result = func(*args)
File "_urllib2_wrappers.py", line 722, in https_open
File "_urllib2_wrappers.py", line 616, in do_open
File "/usr/lib/python2.5/httplib.py", line 889, in _send_request
self.endheaders()
File "/usr/lib/python2.5/httplib.py", line 860, in endheaders
self._send_output()
File "/usr/lib/python2.5/httplib.py", line 732, in _send_output
self.send(msg)
File "/usr/lib/python2.5/httplib.py", line 699, in send
self.connect()
File "_urllib2_wrappers.py", line 321, in connect
File "_urllib2_wrappers.py", line 324, in connect_to_origin
File "_urllib2_wrappers.py", line 300, in _ssl_wrap_socket
AttributeError: 'module' object has no attribute 'ssl'
bzr 2.1.0 on python 2.5.2 (CYGWIN_NT-5.1-1.7.1-0.218-5-3-i686-32bit)
arguments: ['/usr/bin/bzr', 'branch', 'lp:service', '/home/jaalto/.bazaar/plugins/service']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [2.1.0]
netrc_credential_store /usr/lib/python2.5/site-packages/bzrlib/plugins/netrc_credential_store [2.1.0]
news_merge /usr/lib/python2.5/site-packages/bzrlib/plugins/news_merge [2.1.0]
*** 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.
More information about the bazaar
mailing list