You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
in xmlrpclib.py: NameError: global name 'HTTPSConnection' is not defined #51018
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/kristjanvalur'closed_at=<Date2010-01-13.17:57:30.369>created_at=<Date2009-08-23.22:20:11.969>labels= ['type-bug', 'library']
title="in xmlrpclib.py: NameError: global name 'HTTPSConnection' is not defined"updated_at=<Date2010-01-13.17:57:30.368>user='https://bugs.python.org/ivank'
File
"/opt/Python-latest/lib/python2.7/site-packages/bzrlib/plugins/launchpad/lp_registration.py",
line 166, in send_request
result = method(*method_params)
File "/opt/Python-latest/lib/python2.7/xmlrpclib.py", line 1224, in
__call__
return self.__send(self.__name, args)
File "/opt/Python-latest/lib/python2.7/xmlrpclib.py", line 1570, in
__request
verbose=self.__verbose
File "/opt/Python-latest/lib/python2.7/xmlrpclib.py", line 1264, in
request
return self.single_request(host, handler, request_body, verbose)
File "/opt/Python-latest/lib/python2.7/xmlrpclib.py", line 1284, in
single_request
h = self.make_connection(host)
File "/opt/Python-latest/lib/python2.7/xmlrpclib.py", line 1491, in
make_connection
self._connection = host, HTTPSConnection(chost, None, **(x509 or {}))
NameError: global name 'HTTPSConnection' is not defined
bzr 1.15 on python 2.7a0 (linux2)
I think this has been broken for around two weeks, maybe more. I don't
know if this is broken in 3.x.
Activity
IvanK commentedon Aug 23, 2009
Line 1491 of xmlrpclib.py should be
instead of
File
"/opt/Python-latest/lib/python2.7/site-packages/bzrlib/plugins/launchpad/lp_registration.py",
line 166, in send_request
result = method(*method_params)
File "/opt/Python-latest/lib/python2.7/xmlrpclib.py", line 1224, in
__call__
return self.__send(self.__name, args)
File "/opt/Python-latest/lib/python2.7/xmlrpclib.py", line 1570, in
__request
verbose=self.__verbose
File "/opt/Python-latest/lib/python2.7/xmlrpclib.py", line 1264, in
request
return self.single_request(host, handler, request_body, verbose)
File "/opt/Python-latest/lib/python2.7/xmlrpclib.py", line 1284, in
single_request
h = self.make_connection(host)
File "/opt/Python-latest/lib/python2.7/xmlrpclib.py", line 1491, in
make_connection
self._connection = host, HTTPSConnection(chost, None, **(x509 or {}))
NameError: global name 'HTTPSConnection' is not defined
bzr 1.15 on python 2.7a0 (linux2)
I think this has been broken for around two weeks, maybe more. I don't
know if this is broken in 3.x.
loewis commentedon Aug 24, 2009
Kristjan, can you take a look?
kristjanvalur commentedon Aug 24, 2009
Thanks, that's a silly bug. fixed in revision 74543.
Perhaps we need a https regression test in the test suite.