← Back to team overview

desktop-packages team mailing list archive

[Bug 881038] Re: totem crash subtitles plugin

 

just found a solution....

edit /usr/lib/totem/plugins/opensubtitles/opensubtitles.py

in line 570 change

            subFile  = fp.replace('', False,Gio.FileCreateFlags.REPLACE_DESTINATION, None)
            subFile.write(self.model.subtitles,None)
            subFile.close(None)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to totem in Ubuntu.
https://bugs.launchpad.net/bugs/881038

Title:
  totem crash subtitles plugin

Status in “totem” package in Ubuntu:
  New

Bug description:
  I get this error when I use a remotely a subtitle from subtitle plugin
  in Totem...

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

  Cheers,
  Raúl Gomis

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/totem/+bug/881038/+subscriptions


References