An error occurred "Location not found" after automatically installing the missing gstreamer plugins.

Bug #1041032 reported by Shih-Yuan Lee
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Totem
Expired
Medium
totem (Ubuntu)
Won't Fix
Medium
Shih-Yuan Lee
Nominated for Precise by James M. Leddy
Quantal
Won't Fix
Medium
Shih-Yuan Lee

Bug Description

Ubuntu: 12.04
totem: 3.0.1-0ubuntu21

There is a feature of totem that it can detect the missing gstreamer plugins
and install them automatically.
It will pop out this message after it finished the installation of gstreamer
plugins.
However totem will work normally after we reopen it.

Reproduce steps:
1. Remove gstreamer0.10-ffmpeg and gstreamer0.10-plugins-ugly if they are installed.
2. Download Wildlife.wmv from http://archive.org/details/Windows7WildlifeSampleVideo
3. Open Wildlife.wmv by totem.

Relative to Bug #1041287.

Changed in totem:
importance: Unknown → Medium
status: Unknown → New
description: updated
Changed in totem (Ubuntu):
importance: Undecided → Medium
tags: added: rls-q-incoming
Changed in oem-priority:
assignee: nobody → James M. Leddy (jm-leddy)
importance: Undecided → Medium
Steve Magoun (smagoun)
Changed in oem-priority:
status: New → Confirmed
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Iain, I would appreciate if you can get some time to look at this one. Thanks :)

Changed in totem (Ubuntu):
assignee: nobody → Iain Lane (laney)
tags: removed: rls-q-incoming
Changed in oem-priority:
status: Confirmed → Fix Committed
status: Fix Committed → In Progress
Iain Lane (laney)
Changed in totem (Ubuntu Quantal):
status: New → In Progress
Revision history for this message
Iain Lane (laney) wrote :

Hey FourDollars, I tried your patch (after uploading sessioninstaller for #1042231), but I still can't get it to work. It seems like the uri and suburi can't be retrieved from ctx->bvw when trying to reload the file.

,----
| uri: (null)
| suburi: (null)
|
| ** (totem:21923): CRITICAL **: bacon_video_widget_open: assertion `mrl != NULL' failed
`----

I had to backport the upstream patch to separate out subtitle loading from the loading of the main video file, so maybe something went wrong there.

Do you have any clue or a working port of your patch to Quantal's totem? :-)

Revision history for this message
Shih-Yuan Lee (fourdollars) wrote :

Hi Iain,

I don't know why my previous patch doesn't work now.
But I have another idea to fix this problem.
The idea is to add a new signal in bacon, such as 'codecs-sync', to re-open the same media source again.
After I make this patch and verify it, I will attach it here.

Iain Lane (laney)
Changed in totem (Ubuntu Quantal):
assignee: Iain Lane (laney) → Shih-Yuan Lee (fourdollars)
Changed in oem-priority:
status: In Progress → Incomplete
Revision history for this message
Bear Yang (gywxme) wrote :

Sorry for my knowledge less in Totem field.
Could you please tell me the details steps that how to reproduce the bug.

Revision history for this message
Shih-Yuan Lee (fourdollars) wrote :

Reproduce steps:
1. Remove gstreamer0.10-plugins-ugly if it is installed.
2. Download Wildlife.wmv from http://archive.org/details/Windows7WildlifeSampleVideo
3. Open Wildlife.wmv by totem.

Revision history for this message
Shih-Yuan Lee (fourdollars) wrote :

Revised reproduce steps:

1. Remove gstreamer0.10-ffmpeg and gstreamer0.10-plugins-ugly if they are installed.
2. Download Wildlife.wmv from http://archive.org/details/Windows7WildlifeSampleVideo
3. Open Wildlife.wmv by totem.

description: updated
Revision history for this message
Bear Yang (gywxme) wrote :

I can reproduce the bug following the instructions upon.

After .deb(pluings-ugly/gstreamer0.10-ffmpeg) install online finished. A error dialog box will be popup, the message is below:

"- An error occurred"
" Location not found"
It has been proved that the message upon is throw out by totem(source: 3.0.1).

But if I install the .deb(pluings-ugly/gstreamer0.10-ffmpeg) manually, and then launch totem, it will work smoothly with the wmv file. that means, seem the plugins without problem

From my poor knowledge in this field, seems totem can not realized that the plugin has been updated from (online/command line) installation after it lanuched.
But totem use gstreamer as it's backend, gstreamer reponsed for all plugins initialization.
The problem become more complicated.

My question now is what is the expected behavior after the reproduce steps. to reboot the application with a warning message or let totem play the wmv without any problem without any alert.

Revision history for this message
James M. Leddy (jm-leddy) wrote :

Straight applying the patch from the upstream version didn't work:

bacon-video-widget-gst-0.10.c: In function 'bacon_video_widget_get_property':
bacon-video-widget-gst-0.10.c:2994:43: error: 'BaconVideoWidgetPrivate' has no member named 'subtitle_uri'
make[4]: *** [libbaconvideowidget_la-bacon-video-widget-gst-0.10.lo] Error 1
make[4]: Leaving directory `/home/james/src/totem-3.0.1/src/backend'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/james/src/totem-3.0.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/james/src/totem-3.0.1'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/james/src/totem-3.0.1'
make: *** [debian/stamp-makefile-build] Error 2

Revision history for this message
Pascal Morin (pcm689) wrote :

@James, Any update on this case?

Revision history for this message
James M. Leddy (jm-leddy) wrote :

Hi Pascal,

We don't have a patch that fixes the problem yet. Once upstream fixes it we can take their patch back and use that, but Ubuntu engineering doesn't really do development work on Totem.

Revision history for this message
Yong Jie Huang (yj.huang) wrote :

 When after automatically installing and open the *.wma file type will show an error message "Location not found".
 * Recommend to add gstreamer0.10-ffmpeg in Depends list.

Revision history for this message
James M. Leddy (jm-leddy) wrote :

We're closing the issue becuase the OEM has decided for now that this is a low priority.

Changed in oem-priority:
status: Incomplete → Won't Fix
Revision history for this message
Robert Wei (robertwy) wrote :

Experimental report:
  system: Precise i386
  1. remove gstreamer0.10-plugins-ugly
  2. Open a terminal in unity and type "totem [enter]"
  3. Drag and drop the "Wildlife.wmv" file into the playlist of totem
  4. While starting to play it, totem ask to install the Advanced Streaming Format (ASF) demuxer,
        agree it and go through the install.
  5. The error message pop out, in the terminal it left messages like this:

** Message: Missing plugin: gstreamer|0.10|totem|Advanced Streaming Format (ASF) demuxer|decoder-video/x-ms-asf (Advanced Streaming Format (ASF) demuxer)
/usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed
  import gobject._gobject
** Message: Missing plugins installed. Updating plugin registry ...
** Message: Plugin registry updated, trying again.
** Message: Error: No URI set
gstplaybin2.c(3824): setup_next_source (): /GstPlayBin2:play

  6. Click on the play button, the error message will pop out again. And so is the last two lines in the terminal.
  7. Drag and drop the "Wildlife.wmv" file into the playlist again, it make the second item in it.
  8. Double click on the first "Wildlife.wmv" that is already on play, got no result.
  9. Double click on the second "Wildlife.wmv", it goes on normally.

I think restart the playing as a new file with some statement may bypass this issue, though bug could still there.

no longer affects: oem-priority
no longer affects: oem-priority/precise
Changed in totem (Ubuntu):
status: In Progress → Won't Fix
Changed in totem (Ubuntu Quantal):
status: In Progress → Won't Fix
Changed in totem:
status: New → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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