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 573189 - Totem (GStreamer backend) doesn't load subtitle files from gvfs
Totem (GStreamer backend) doesn't load subtitle files from gvfs
Status: RESOLVED DUPLICATE of bug 571619
Product: totem
Classification: Core
Component: Movie player
2.24.x
Other All
: Normal normal
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2009-02-25 21:47 UTC by PhobosK
Modified: 2009-03-03 13:22 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description PhobosK 2009-02-25 21:47:30 UTC
Please describe the problem:
If you try to watch a film with some subtitles on a remote share that uses gvfs (samba etc.) the subtitles doesn't autoload, nor manual load works. If you move the movie and the subtitle file locally, there is no problem at all.

Steps to reproduce:
1. Mount a remote share containing movie and the apropriate subtitle file
2. Start the movie.
3. Try to manually load the subtitle file.


Actual results:
Subtitles missing (they do not load at all nor auto nor manual)

Expected results:


Does this happen every time?
Yes

Other information:
Ubuntu Intrepid System
Comment 1 Bastien Nocera 2009-03-03 11:37:02 UTC
What's the output of GST_DEBUG="*:5 totem" when reproducing this?
Comment 2 PhobosK 2009-03-03 12:39:29 UTC
Sorry that i couldn't run the debug at level 5, but my laptop is slow and it freezes on thet level.

First time I started Totem from the command line and tried to start the movie on the remote share it gave me these (loglevel 2, I have cut the long name of the subtitle):

0:00:08.219419032 15408  0x8935490 WARN           gnomevfssrc gstgnomevfssrc.c:836:gst_gnome_vfs_src_start:<gnomevfssrc0> error: Could not open vfs file "smb://game-station/video/SERIALS/T........NoTV.srt" for reading: Access denied (16)
0:00:08.219754267 15408  0x8935490 WARN           playbasebin gstplaybasebin.c:2042:subbin_startup_sync_msg:<play> error starting up subtitle bin: error message from element 'gnomevfssrc0': GstMessageError, gerror=(GstGError)(NULL), debug=(string)"gstgnomevfssrc.c\(836\):\ gst_gnome_vfs_src_start\ \(\):\ /GstBin:subtitle-bin/GstGnomeVFSSrc:gnomevfssrc0:\012Could\ not\ open\ vfs\ file\ \"smb://game-station/video/SERIALS/T........NoTV.srt\"\ for\ reading:\ Access\ denied\ \(16\)";
connection_message_func(): Callback
CALLBACK: fill-authentication!!!
connection_message_func(): Callback
CALLBACK: fill-authentication!!!
connection_message_func(): Callback
CALLBACK: full-authentication!!!
0:00:08.281177237 15408  0x8935490 WARN           gnomevfssrc gstgnomevfssrc.c:836:gst_gnome_vfs_src_start:<gnomevfssrc0> error: Could not open vfs file "smb://game-station/video/SERIALS/T........NoTV.srt" for reading: Access denied (16)
0:00:08.281371114 15408  0x8935490 WARN               basesrc gstbasesrc.c:2622:gst_base_src_activate_push:<gnomevfssrc0> Failed to start in push mode
0:00:08.281476155 15408  0x8935490 WARN              GST_PADS gstpad.c:687:gst_pad_set_active:<gnomevfssrc0:src> Failed to activate pad
0:00:08.281549627 15408  0x8935490 WARN           playbasebin gstplaybasebin.c:2150:setup_source:<play> Failed to start subtitle bin

Before starting totem this way, I have checked the srt file opening it, and it has no access permissions set at all (on neighter machines + it opens with no error in gedit or whatever).
The share is password protected, but has been mounted already before starting totem.

After this debug console session, i couldn't reproduce the error anymore, no matter how i started totem (through nautilus, console or from Programs menu) i.e. subtitles worked.
Comment 3 Bastien Nocera 2009-03-03 13:22:46 UTC
Remove the gnomevfssrc plugin from GStreamer, and file a bug with your distribution.

Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 571619 ***