bbc plugin for totem stop working

Bug #276959 reported by Sergey Moskovkin
40
This bug affects 2 people
Affects Status Importance Assigned to Milestone
totem (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: totem-plugins

It just doesn't work for now.
Totem with enabled bbc plugin take to much time for launch.

Ubuntu Intrepid 8.10
Totem and plugins latest versions from official repositories.

There is a log in attachment.

Thank you for your time.

Tags: bbc

Related branches

Revision history for this message
Sergey Moskovkin (lvlo) wrote :

Lost last line in log. Here is a right file...

Revision history for this message
Christoph Langner (chrissss) wrote :

I can confirm this issue. It takes about one minute to activate the BBC plugin. First i thought totem crashed while activting the plugin and killed totem twice....

Changed in totem:
status: New → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

It does take a long time - see my comment in bug 274740. The crasher is something else, though, so let's keep this bug for that and not for the slow startup.

Revision history for this message
Rob Taylor (robtaylor) wrote :

The issue is remote_file.read() throwing an error, so cache_file is not created.
Patch attached.

Revision history for this message
Colin Watson (cjwatson) wrote :

Thanks. I'm not sure that's it entirely fixed though; after applying that I get this over and over on stdout, immediately after "loading available content failed":

Traceback (most recent call last):
  File "/usr/lib/totem/plugins/bbc/contentview.py", line 667, in onQueryTooltip
    model, path, _iter = self.get_tooltip_context(x, y, keyboard_tip)
TypeError: 'NoneType' object is not iterable

(I'll have a look at this in work hours if nobody beats me to it.)

Revision history for this message
Colin Watson (cjwatson) wrote :

A little experimentation says that this happens when moving the mouse over the blank area underneath the Playlist/Properties/BBC drop-down after loading available content has failed.

Revision history for this message
Tuomas Aavikko (taavikko) wrote :

Up-to-date-intrepid

Totem hangs while trying to enable BBC-plugin
Already confirmed but giving my 0.02$

Revision history for this message
Colin Watson (cjwatson) wrote :

Further patch attached, to be applied on top of Rob Taylor's.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package totem - 2.24.1-0ubuntu2

---------------
totem (2.24.1-0ubuntu2) intrepid; urgency=low

  * debian/patches/61_python-release-gil.patch:
    - Prepare python for use from multiple threads (release global
      interpreter lock) and add missing locking where applicable (GNOME bug
      #554868, blocker for async I/O work on BBC plugin).
  * debian/patches/65_bbc-plugin.patch:
    - Return None from ensureCache if we fail to read from the remote file
      (thanks, Rob Taylor; LP: #276959).
    - Don't attach signals to ContentView instance if loading content fails.

 -- Colin Watson <email address hidden> Mon, 06 Oct 2008 09:19:29 +0100

Changed in totem:
status: Confirmed → Fix Released
Revision history for this message
Sergey Moskovkin (lvlo) wrote :

I've updated Totem and it starts normally (still take log time), but I don't see the BBC content in sidebar -it's just empty. Here is terminal output:

lvlo@lvlo-desktop:~$ totem
** (totem:1503): DEBUG: Init of Python module
** (totem:1503): DEBUG: Registering Python plugin instance: YouTube+TotemPythonPlugin
** (totem:1503): DEBUG: Creating object of type YouTube+TotemPythonPlugin
** (totem:1503): DEBUG: Creating Python plugin instance
** (totem:1503): DEBUG: Init of Python module
** (totem:1503): DEBUG: Registering Python plugin instance: BBCViewer+TotemPythonPlugin
** (totem:1503): DEBUG: Creating object of type BBCViewer+TotemPythonPlugin
** (totem:1503): DEBUG: Creating Python plugin instance
cache file name /home/lvlo/.cache/totem/plugins/bbc/content-000000-00000-00000000.cache
loading available content failed
** (totem:1503): DEBUG: Finalizing Python plugin instance
** (totem:1503): DEBUG: Finalizing Python plugin instance
lvlo@lvlo-desktop:~$

Revision history for this message
Dan Andreșan (danyer) wrote :

same here, no BBC content in sidebar...

Is BBC Content available only to people in the UK?

Revision history for this message
Sergey Moskovkin (lvlo) wrote :

It works before bug appears - I was available browse and listen BBC content through Totem. I'm from Russia.

Revision history for this message
Dan Andreșan (danyer) wrote :

OK, thanks Ivlo, it is good to know that BBC Content is available everywhere. I haven't seen it working, I tried it when the bug was already in...

Revision history for this message
Colin Watson (cjwatson) wrote :

Ivlo and Dan: as I wrote further up the bug, that is bug 274740. I've kept this bug purely for the crash.

I have a fix for bug 274740 in the works, thanks to Collabora.

Revision history for this message
Colin Watson (cjwatson) wrote :

(To elaborate, the fix in the works makes the plugin at least work - BBC content can be downloaded - although bug 274740 is still open as that's about the lack of asynchronous network downloads. Sorry for any confusion.)

Revision history for this message
Dan Andreșan (danyer) wrote :

Thanks Colin, I will unsubscribe myself from this bug then and remain only subscribed to 274740.

Revision history for this message
Roland J. (roland-jorz) wrote :

Same here,
The BBC plugin content viewer doesn't work, the message is Could not connect to server.
I'm using a fresh instal of Ubuntu 9.10- the Karmic Koala,
Totem Movie Player 2.28.1
Movie Player using GStreamer 0.10.25

Best regards,
Roland

Revision history for this message
George Wright (george-dexy) wrote :

I'm upstream on this one (I work for BBC R&D). I can repeat (w/ Karmic) - will poke about on Monday and report back.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.