Totem Download Movie Subtitles hangs on loading the subtitles

Bug #886947 reported by mambro on 2011-11-06
This bug report is a duplicate of:  Bug #883694: Downloaded subtitles not showing. Edit Remove
This bug affects 5 people
Affects Status Importance Assigned to Milestone
totem (Ubuntu)

Bug Description

Ubuntu version: 11.10
Totem version: 3.0.1-0ubuntu5

Step to reproduce:

1) Active the plugin "Subtitle Downloader"
2) Open a movie with totem
3) View > Subtitles > Download movie Subtitles
4) Select one from the list
5) Totem hangs

On the console the error is
Traceback (most recent call last):
  File "/usr/lib/totem/plugins/opensubtitles/", line 570, in os_save_subtitles
    subFile = fp.replace('', False)
  File "/usr/lib/python2.7/dist-packages/gi/", line 43, in function
    return info.invoke(*args, **kwargs)
TypeError: replace() takes exactly 5 arguments (3 given)

I attach a patch to solve the problem (to apply to /usr/lib/totem/plugins/opensubtitles/

mambro (mambro87) wrote :
psychok7 (nunok7) wrote :

hey i am trying to test this patch but i am not sure how to run it.. how am i supposed to do it?

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in totem (Ubuntu):
status: New → Confirmed
psychok7 (nunok7) wrote :

the patch file works, i did this "patch -p0 -i opensubtitles.patch" (dont know wht the p0 means) in the terminal with my .patch in /usr/lib/totem/plugins/opensubtitles/

mambro (mambro87) wrote :

You can also open the patch and make the changes manually to the file /usr/lib/totem/plugins/opensubtitles/ It's a very trivial change :)

elleP (pelle-quicknet) wrote :

Tnx, patch works!
Now to get this into the releases.

theghost (theghost) wrote :

I can confirm this bug on Oneiric x64.
Additionally I merged the duplicate bug-report into this one and added the patch tag, hopefully to get more attention, and to get the patch into the release.

tags: added: patch
theghost (theghost) on 2011-12-13
tags: added: bitesize
Jeremy Bicha (jbicha) wrote :

This was already fixed for 12.04 with the patch for bug 883694. All that needs to be done is for that fix to be released as an SRU for Ubuntu 11.10.

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

Other bug subscribers