gstreamer-codec-install: error: no such option: --interaction

Bug #1499889 reported by Nicolas Delvaux
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Session Installer
Confirmed
Undecided
Unassigned
gst-plugins-base
New
Undecided
Unassigned
gst-plugins-base1.0 (Ubuntu)
Invalid
Undecided
Unassigned
sessioninstaller (Ubuntu)
Fix Released
Undecided
Iain Lane

Bug Description

Attempting to play a mp3 file with Totem on the latest Wily daily build (from the USB stick).

Totem opens but no playback start.
On the terminal I got this:

** Message: Missing plugin: gstreamer|1.0|totem|MPEG-1 Layer 3 (MP3) decoder|decoder-audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)1, layer=(int)3, parsed=(boolean)true (MPEG-1 Layer 3 (MP3) decoder)
Falling back to package information
Usage: gstreamer-codec-install [options]

gstreamer-codec-install: error: no such option: --interaction

The wizard to install the missing codec actually fails to launch.

The very same happen when attempting to play a video. Strangely enough, when the audio codec is supported but the video one is not, Totem starts to play the audio and just display a black rectangle instead of the actual video stream.

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: libgstreamer1.0-0 1.5.90-1
ProcVersionSignature: Ubuntu 4.2.0-11.13-generic 4.2.1
Uname: Linux 4.2.0-11-generic x86_64
ApportVersion: 2.18.1-0ubuntu1
Architecture: amd64
CasperVersion: 1.365
CurrentDesktop: Unity
Date: Fri Sep 25 20:49:46 2015
LiveMediaBuild: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150924)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gstreamer1.0
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Nicolas Delvaux (malizor) wrote :
no longer affects: gstreamer1.0 (Ubuntu)
Revision history for this message
Nicolas Delvaux (malizor) wrote :

Switched to gst-plugins-base, as the unknown parameter is set there:

gst-libs/gst/pbutils/install-plugins.c: g_ptr_array_add (arr, g_strdup_printf ("--interaction=%s",

Now, I don't know if this parameter is supposed to do and if it should really be supported.

Revision history for this message
Nicolas Delvaux (malizor) wrote :

Adding sessioninstaller, as it provides gst-install as the default gstreamer-codec-install alternative.
It does not support the --interaction option and therefore conflict with the current gst-plugins-base in Wily.
I don't know which one of them should be fixed, so I guess my investigation stop here for now.

Revision history for this message
Nicolas Delvaux (malizor) wrote :

Hmm, in fact not only the "--interaction" argument is missing.

This is not a serious patch, but the issue can be worked-around by adding the following lines after line 90 in /usr/lib/python3/dist-packages/sessioninstaller/gstinstaller.py:

parser.add_option("", "--interaction")
parser.add_option("", "--desktop-id")
parser.add_option("", "--startup-notification-id")

After this monkey-patch, Totem shows me the dialog to install missing codecs.

Revision history for this message
Iain Lane (laney) wrote :

I'll check this out on Monday, thanks for the report.

Changed in sessioninstaller (Ubuntu):
status: New → In Progress
assignee: nobody → Iain Lane (laney)
Revision history for this message
Iain Lane (laney) wrote :

I uploaded a fix for this.

It just ignores the new parameters as doing it properly would require us to implement the org.freedesktop.PackageKit.Modify2 API which is quite a big task for now.

Changed in gst-plugins-base1.0 (Ubuntu):
status: New → Invalid
Changed in sessioninstaller (Ubuntu):
status: In Progress → Fix Committed
Changed in sessioninstaller:
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package sessioninstaller - 0.20+bzr150-0ubuntu2

---------------
sessioninstaller (0.20+bzr150-0ubuntu2) wily; urgency=medium

  * New gstreamer codec install API passes the parameters --interaction
    --desktop-id and -startup-notification-id to us. We don't support them
    (yet), and should not error out but should ignore them instead. They are
    part of a new PackageKit API which is yet to be implmented but GStreamer
    calls us manually. (LP: #1499889)

 -- Iain Lane <email address hidden> Mon, 28 Sep 2015 13:48:15 +0100

Changed in sessioninstaller (Ubuntu):
status: Fix Committed → Fix Released
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.