[Ns-bugs] [Bug 502] New: bzr fetch of pybindgen complains about python ssl on OS X
code@nsnam.ece.gatech.edu
code at nsnam.ece.gatech.edu
Wed Feb 18 12:27:07 PST 2009
http://www.nsnam.org/bugzilla/show_bug.cgi?id=502
Summary: bzr fetch of pybindgen complains about python ssl on OS
X
Product: ns-3
Version: ns-3-dev
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: build system
AssignedTo: ns-bugs at isi.edu
ReportedBy: raj.b at gatech.edu
Estimated Hours: 0.0
I installed bzr using the Fink ports project. Using download.py, I get this
error:
Required pybindgen version: 0.9.0.605
Trying to fetch pybindgen; this will fail if no network connection is
available. Hit Ctrl-C to skip.
=> bzr checkout -rrevno:605 https://launchpad.net/pybindgen pybindgen
bzr: ERROR: exceptions.AttributeError: 'module' object has no attribute 'ssl'
Traceback (most recent call last):
File "/sw/lib/python2.4/site-packages/bzrlib/commands.py", line 893, in
run_bzr_catch_errors
return run_bzr(argv)
File "/sw/lib/python2.4/site-packages/bzrlib/commands.py", line 839, in
run_bzr
ret = run(*run_argv)
File "/sw/lib/python2.4/site-packages/bzrlib/commands.py", line 539, in
run_argv_aliases
return self.run(**all_cmd_args)
File "/sw/lib/python2.4/site-packages/bzrlib/builtins.py", line 1050, in run
accelerator_tree, source = bzrdir.BzrDir.open_tree_or_branch(
File "/sw/lib/python2.4/site-packages/bzrlib/bzrdir.py", line 888, in
open_tree_or_branch
bzrdir = klass.open(location)
File "/sw/lib/python2.4/site-packages/bzrlib/bzrdir.py", line 766, in open
return BzrDir.open_from_transport(t, _unsupported=_unsupported)
File "/sw/lib/python2.4/site-packages/bzrlib/bzrdir.py", line 803, in
open_from_transport
redirected)
File "/sw/lib/python2.4/site-packages/bzrlib/lazy_import.py", line 125, in
__call__
return obj(*args, **kwargs)
File "/sw/lib/python2.4/site-packages/bzrlib/transport/__init__.py", line
1634, in do_catching_redirections
return action(transport)
File "/sw/lib/python2.4/site-packages/bzrlib/bzrdir.py", line 779, in
find_format
return transport, BzrDirFormat.find_format(
File "/sw/lib/python2.4/site-packages/bzrlib/bzrdir.py", line 1634, in
find_format
return format.probe_transport(transport)
File "/sw/lib/python2.4/site-packages/bzrlib/bzrdir.py", line 2617, in
probe_transport
server_version = medium.protocol_version()
File "/sw/lib/python2.4/site-packages/bzrlib/smart/medium.py", line 593, in
protocol_version
client_protocol.query_version()
File "/sw/lib/python2.4/site-packages/bzrlib/smart/protocol.py", line 769, in
query_version
self.call('hello')
File "/sw/lib/python2.4/site-packages/bzrlib/smart/protocol.py", line 617, in
call
self._request.finished_writing()
File "/sw/lib/python2.4/site-packages/bzrlib/smart/medium.py", line 421, in
finished_writing
self._finished_writing()
File "/sw/lib/python2.4/site-packages/bzrlib/transport/http/__init__.py",
line 575, in _finished_writing
data = self._medium.send_http_smart_request(self._buffer)
File "/sw/lib/python2.4/site-packages/bzrlib/transport/http/__init__.py",
line 552, in send_http_smart_request
code, body_filelike = t._post(bytes)
File "/sw/lib/python2.4/site-packages/bzrlib/transport/http/_urllib.py", line
138, in _post
accepted_errors=[200, 403]))
File "/sw/lib/python2.4/site-packages/bzrlib/transport/http/_urllib.py", line
78, in _perform
response = self._opener.open(request)
File "/sw/lib/python2.4/urllib2.py", line 358, in open
response = self._open(req, data)
File "/sw/lib/python2.4/urllib2.py", line 376, in _open
'_open', req)
File "/sw/lib/python2.4/urllib2.py", line 337, in _call_chain
result = func(*args)
File
"/sw/lib/python2.4/site-packages/bzrlib/transport/http/_urllib2_wrappers.py",
line 642, in https_open
return self.do_open(HTTPSConnection, request)
File
"/sw/lib/python2.4/site-packages/bzrlib/transport/http/_urllib2_wrappers.py",
line 536, in do_open
headers)
File "/sw/lib/python2.4/httplib.py", line 827, in _send_request
self.endheaders()
File "/sw/lib/python2.4/httplib.py", line 798, in endheaders
self._send_output()
File "/sw/lib/python2.4/httplib.py", line 679, in _send_output
self.send(msg)
File "/sw/lib/python2.4/httplib.py", line 646, in send
self.connect()
File
"/sw/lib/python2.4/site-packages/bzrlib/transport/http/_urllib2_wrappers.py",
line 260, in connect
self.connect_to_origin()
File
"/sw/lib/python2.4/site-packages/bzrlib/transport/http/_urllib2_wrappers.py",
line 263, in connect_to_origin
self.sock = _ssl_wrap_socket(self.sock, self.key_file, self.cert_file)
File
"/sw/lib/python2.4/site-packages/bzrlib/transport/http/_urllib2_wrappers.py",
line 241, in _ssl_wrap_socket
ssl_sock = socket.ssl(sock, key_file, cert_file)
AttributeError: 'module' object has no attribute 'ssl'
bzr 1.9 on python 2.4.4 (darwin)
arguments: ['/sw/bin/bzr', 'checkout', '-rrevno:605',
'https://launchpad.net/pybindgen', 'pybindgen']
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
plugins:
launchpad /sw/lib/python2.4/site-packages/bzrlib/plugins/launchpad
[unknown]
*** Bazaar has encountered an internal error.
Please report a bug at https://bugs.launchpad.net/bzr/+filebug
including this traceback, and a description of what you
were doing when the error occurred.
*** Problem fetching pybindgen; python bindings will not work.
Does this mean that this version of python doesn't have ssl support?
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Ns-bugs
mailing list