2010-02-05 17:54:08 |
Joshua Hoover |
description |
The file "ubuntuone/oauthdesktop/auth.py" references HTTPSConnection._tunnel_host unconditionally that is only available in python/httplib >= 2.6.3 and therefore fails on Jaunty that has 2.6.2 installed.
xxxxxxxxx~$ ubuntuone-client-applet
Traceback (most recent call last):
File "/var/lib/python-support/python2.6/dbus/connection.py", line 578, in msg_reply_handler
reply_handler(*message.get_args_list(**get_args_opts))
File "/usr/lib/python2.6/dist-packages/ubuntuone/oauthdesktop/auth.py", line 276, in got_state
self.acquire_access_token(description, store)
File "/usr/lib/python2.6/dist-packages/ubuntuone/oauthdesktop/auth.py", line 336, in acquire_access_token
self.request_token = self.make_token_request(oauth_request)
File "/usr/lib/python2.6/dist-packages/ubuntuone/oauthdesktop/auth.py", line 229, in make_token_request
fp = opener.open(oauth_request.http_url, oauth_request.to_postdata())
File "/usr/lib/python2.6/urllib.py", line 205, in open
return getattr(self, name)(url, data)
File "/usr/lib/python2.6/urllib.py", line 437, in open_https
h.endheaders()
File "/usr/lib/python2.6/httplib.py", line 868, in endheaders
self._send_output()
File "/usr/lib/python2.6/httplib.py", line 740, in _send_output
self.send(msg)
File "/usr/lib/python2.6/httplib.py", line 699, in send
self.connect()
File "/usr/lib/python2.6/dist-packages/ubuntuone/oauthdesktop/auth.py", line 58, in _connect_wrapper
if self._tunnel_host:
AttributeError: HTTPSConnection instance has no attribute '_tunnel_host'
ProblemType: Bug
.home.alexei..cache.ubuntuone.log.syncdaemon.exceptions.log:
.home.alexei..config.ubuntuone.ubuntuone.client.conf:
[ubuntuone]
bookmarked = True
connected = True
connect = 0
show_applet = 1
Architecture: i386
CrashDB: ubuntuone
DistroRelease: Ubuntu 9.04
Package: ubuntuone-client 1.0.0+r255-0ubuntu1~ppa1~jaunty
PackageArchitecture: all
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntuone-client
ThirdParty: True
Uname: Linux 2.6.28-15-generic i686
UnreportableReason: This is not a genuine Ubuntu package |
FIXES:
For those not using NetworkManager and are on Karmic, the fix for this bug is in proposed updates. To install proposed updates, please read this FAQ: https://answers.edge.launchpad.net/ubuntuone-client/+faq/930
For those on Jaunty, please update to the latest version of the client and this should work.
--------------------------------------
STEPS TO REPRODUCE/TEST:
1. $ ubuntuone-client-applet
Result: Traceback (most recent call last):
File "/var/lib/python-support/python2.6/dbus/connection.py", line 578, in msg_reply_handler
reply_handler(*message.get_args_list(**get_args_opts))
File "/usr/lib/python2.6/dist-packages/ubuntuone/oauthdesktop/auth.py", line 276, in got_state
self.acquire_access_token(description, store)
File "/usr/lib/python2.6/dist-packages/ubuntuone/oauthdesktop/auth.py", line 336, in acquire_access_token
self.request_token = self.make_token_request(oauth_request)
File "/usr/lib/python2.6/dist-packages/ubuntuone/oauthdesktop/auth.py", line 229, in make_token_request
fp = opener.open(oauth_request.http_url, oauth_request.to_postdata())
File "/usr/lib/python2.6/urllib.py", line 205, in open
return getattr(self, name)(url, data)
File "/usr/lib/python2.6/urllib.py", line 437, in open_https
h.endheaders()
File "/usr/lib/python2.6/httplib.py", line 868, in endheaders
self._send_output()
File "/usr/lib/python2.6/httplib.py", line 740, in _send_output
self.send(msg)
File "/usr/lib/python2.6/httplib.py", line 699, in send
self.connect()
File "/usr/lib/python2.6/dist-packages/ubuntuone/oauthdesktop/auth.py", line 58, in _connect_wrapper
if self._tunnel_host:
AttributeError: HTTPSConnection instance has no attribute '_tunnel_host'
Expected result: Ubuntu One client applet starts up properly
--------------------------------------
ORIGINAL DESCRIPTION:
The file "ubuntuone/oauthdesktop/auth.py" references HTTPSConnection._tunnel_host unconditionally that is only available in python/httplib >= 2.6.3 and therefore fails on Jaunty that has 2.6.2 installed.
xxxxxxxxx~$ ubuntuone-client-applet
Traceback (most recent call last):
File "/var/lib/python-support/python2.6/dbus/connection.py", line 578, in msg_reply_handler
reply_handler(*message.get_args_list(**get_args_opts))
File "/usr/lib/python2.6/dist-packages/ubuntuone/oauthdesktop/auth.py", line 276, in got_state
self.acquire_access_token(description, store)
File "/usr/lib/python2.6/dist-packages/ubuntuone/oauthdesktop/auth.py", line 336, in acquire_access_token
self.request_token = self.make_token_request(oauth_request)
File "/usr/lib/python2.6/dist-packages/ubuntuone/oauthdesktop/auth.py", line 229, in make_token_request
fp = opener.open(oauth_request.http_url, oauth_request.to_postdata())
File "/usr/lib/python2.6/urllib.py", line 205, in open
return getattr(self, name)(url, data)
File "/usr/lib/python2.6/urllib.py", line 437, in open_https
h.endheaders()
File "/usr/lib/python2.6/httplib.py", line 868, in endheaders
self._send_output()
File "/usr/lib/python2.6/httplib.py", line 740, in _send_output
self.send(msg)
File "/usr/lib/python2.6/httplib.py", line 699, in send
self.connect()
File "/usr/lib/python2.6/dist-packages/ubuntuone/oauthdesktop/auth.py", line 58, in _connect_wrapper
if self._tunnel_host:
AttributeError: HTTPSConnection instance has no attribute '_tunnel_host'
ProblemType: Bug
.home.alexei..cache.ubuntuone.log.syncdaemon.exceptions.log:
.home.alexei..config.ubuntuone.ubuntuone.client.conf:
[ubuntuone]
bookmarked = True
connected = True
connect = 0
show_applet = 1
Architecture: i386
CrashDB: ubuntuone
DistroRelease: Ubuntu 9.04
Package: ubuntuone-client 1.0.0+r255-0ubuntu1~ppa1~jaunty
PackageArchitecture: all
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntuone-client
ThirdParty: True
Uname: Linux 2.6.28-15-generic i686
UnreportableReason: This is not a genuine Ubuntu package
|
|