Ubuntu

bbc plugin for totem stop working

Reported by Sergey Moskovkin on 2008-10-02
40
This bug affects 2 people
Affects Status Importance Assigned to Milestone
totem (Ubuntu)
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 Edit Tag help

Related branches

Sergey Moskovkin (lvlo) wrote :

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

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
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.

Rob Taylor (robtaylor) wrote :

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

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.)

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.

Tuomas Aavikko (taavikko) wrote :

Up-to-date-intrepid

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

Colin Watson (cjwatson) wrote :

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

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
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:~$

Dan Andreșan (danyer) wrote :

same here, no BBC content in sidebar...

Is BBC Content available only to people in the UK?

Sergey Moskovkin (lvlo) wrote :

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

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...

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.

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.)

Dan Andreșan (danyer) wrote :

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

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

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  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers