After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 549718 - Exception on search
Exception on search
Status: RESOLVED NOTGNOME
Product: totem
Classification: Core
Component: YouTube plugin
2.22.x
Other Linux
: Normal normal
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2008-08-28 14:48 UTC by Wouter Bolsterlee (uws)
Modified: 2008-08-28 15:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Wouter Bolsterlee (uws) 2008-08-28 14:48:45 UTC
The Youtube plugin doesn't work at all for me, since hitting the search button gives me this error:

$ totem
** (totem:10155): DEBUG: Init of Python module
** (totem:10155): DEBUG: Registering Python plugin instance: YouTube+TotemPythonPlugin
** (totem:10155): DEBUG: Creating object of type YouTube+TotemPythonPlugin
** (totem:10155): DEBUG: Creating Python plugin instance
Exception in thread Thread-1:
Traceback (most recent call last):
  • File "/usr/lib/python2.5/threading.py", line 486 in __bootstrap_inner
    self.run()
  • File "/usr/lib/totem/plugins/youtube/youtube.py", line 19 in run
    self.youtube.entry[self.treeview_name] = self.youtube.service.Get (self.url).entry
  • File "/var/lib/python-support/python2.5/gdata/service.py", line 512 in Get
    extra_headers=extra_headers)
  • File "/var/lib/python-support/python2.5/atom/service.py", line 295 in HttpRequest
    connection.putrequest(operation, full_uri)
  • File "/usr/lib/python2.5/httplib.py", line 810 in putrequest
    host_enc = self.host.encode("ascii")
AttributeError: 'NoneType' object has no attribute 'encode'

Comment 1 Wouter Bolsterlee (uws) 2008-08-28 15:00:11 UTC
According to Bastien (and me), this is a python gdata bug.
Comment 2 Wouter Bolsterlee (uws) 2008-08-28 15:17:49 UTC
17:16:14 < hadess> uws: which distro do you use btw?
17:17:05 < uws> hadess: debian (unstable)
17:17:19 < hadess> uws: and which version of python-gdata?
17:17:31 < uws> hadess: ii  python-gdata   1.1.1-1        Google Data Python client library