Guardian plugin doesn't work

Bug #1719077 reported by Amr Ibrahim
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Grilo Plugins
Expired
Medium
grilo-plugins (Ubuntu)
New
Undecided
Unassigned
packagekit (Ubuntu)
Fix Released
Undecided
Matthias Klumpp

Bug Description

There are two bugs here:
1. packagekit was using app-install-data to search for missing codecs
2. The Guardian Videos channel does not work

(1) is supposedly fixed in all cases.

To reproduce:

1. Open Totem
2. Go to Channels and select The Guardian Videos
3. Select any video
4. Totem complains about missing codecs
5. GNOME Software then complains that app-install-data is missing

See screenshots.

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: ubuntu-software 3.26.0-0ubuntu2
ProcVersionSignature: Ubuntu 4.13.0-11.12-generic 4.13.1
Uname: Linux 4.13.0-11-generic x86_64
ApportVersion: 2.20.7-0ubuntu1
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sat Sep 23 11:54:53 2017
InstallationDate: Installed on 2017-09-21 (2 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170919)
InstalledPlugins:
 gnome-software-plugin-flatpak N/A
 gnome-software-plugin-limba N/A
 gnome-software-plugin-snap 3.26.0-0ubuntu2
PackageArchitecture: all
SourcePackage: gnome-software
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Amr Ibrahim (amribrahim1987) wrote :
Revision history for this message
Amr Ibrahim (amribrahim1987) wrote :
Revision history for this message
Doug McMahon (mc3man) wrote :

It's possible this is a totem or gst bug. What I currently see -
1. The app-install-data warning is longstanding, bug here
  https://bugs.launchpad.net/ubuntu/+source/packagekit/+bug/1716137
2. At least here 'easy-codec-install' works fine on supported local files
3. A text/html decoder missing usually refers to unsupported or unknown type
4. If one was to install gst libav, bad & ugly plugins the Guardian vids still won't work, same error about text/html

Noting this isn't a fresh install from latest image I'm checking on..

Revision history for this message
Matthias Klumpp (ximion) wrote :

Indeed, I can reproduce this. This issue affects Debian as well, and I wonder why nobody noticed it so far.
I have an idea on how to fix it.

Changed in gnome-software (Ubuntu):
assignee: nobody → Matthias Klumpp (ximion)
status: New → Confirmed
status: Confirmed → In Progress
affects: gnome-software (Ubuntu) → packagekit (Ubuntu)
Revision history for this message
Doug McMahon (mc3man) wrote :

Just tried latest image updated.
See no issue with local files that gst supports
As far as channels the guardian one is broken, apple trailers is ok

Ex.
guardian -
$ totem

(totem:1847): GLib-CRITICAL **: g_key_file_load_from_file: assertion 'file != NULL' failed
** Message: Missing plugin: gstreamer|1.0|totem|text/html decoder|decoder-text/html (text/html decoder)

apple-trailers
$ totem

(totem:1847): GLib-CRITICAL **: g_key_file_load_from_file: assertion 'file != NULL' failed
** Message: Missing plugin: gstreamer|1.0|totem|MPEG-4 AAC decoder|decoder-audio/mpeg, mpegversion=(int)4, level=(string)2, base-profile=(string)lc, profile=(string)lc (MPEG-4 AAC decoder)
** Message: Missing plugin: gstreamer|1.0|totem|H.264 (Main Profile) decoder|decoder-video/x-h264, level=(string)3, profile=(string)main, colorimetry=(string)bt709 (H.264 (Main Profile) decoder)
** Message: PackageKit: xid = 39845909
** Message: PackageKit: desktop_id = org.gnome.Totem.desktop
** Message: PackageKit: Codec nice name: MPEG-4 AAC decoder
** Message: PackageKit: ignoring field named level
** Message: PackageKit: ignoring field named base-profile
** Message: PackageKit: ignoring field named profile
** Message: PackageKit: field is: mpegversion, type: gint
** Message: PackageKit: structure: gstreamer1(decoder-audio/mpeg)(mpegversion=4)()(64bit)
** Message: PackageKit: Codec nice name: H.264 (Main Profile) decoder
** Message: PackageKit: ignoring field named level
** Message: PackageKit: ignoring field named profile
** Message: PackageKit: ignoring field named colorimetry
** Message: PackageKit: structure: gstreamer1(decoder-video/x-h264)()(64bit)
** Message: Missing plugins installed. Updating plugin registry ...
** Message: Plugin registry updated, trying again.

Revision history for this message
Doug McMahon (mc3man) wrote :

As far as guardian videos this bug doesn't seem to have ever been fixed, if that's true it should be removed from grilo or grilo-plugins
https://bugzilla.gnome.org/show_bug.cgi?id=771215

Revision history for this message
Matthias Klumpp (ximion) wrote :

I fixed the bug mentioned in this report (the error message should be gone now and you should be able to search for mimetypes with PackageKit again).
However, it could be possible that the error described here was masking another issue with missing codecs itself (I can't test that at time).

In any case, you can test this by upgrading PackageKit to version 1.1.7-1 (currently in Debian, maybe synced to Ubuntu), or by applying https://github.com/hughsie/PackageKit/commit/5e8a20440ca53080d5409a10f211a0979545816f

Changed in packagekit (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Doug McMahon (mc3man) wrote :

I'm not sure if this is a dupe, this bug should be only about the non working grilo plugin for guardian videos. Can't see how fixing the erroneous error message is going to change that.

Revision history for this message
Doug McMahon (mc3man) wrote :

Using as example the 1st vid shown in that channel -
quvi dump https://www.theguardian.com/football/video/2016/sep/26/is-leicester-ready-for-the-champions-league-video
error: libquvi: while parsing media properties: /usr/share/libquvi-scripts/0.9/media/guardian.lua:91: attempt to perform arithmetic on a nil value

If you used mpv the vid would play (thanks to youtube-dl

Changed in packagekit (Ubuntu):
status: Fix Committed → Invalid
Revision history for this message
Amr Ibrahim (amribrahim1987) wrote :

There are two bugs here:
1. packagekit was using app-install-data to search for missing codecs
2. The Guardian Videos channel does not work

(1) is supposedly fixed in all cases.

Changed in packagekit (Ubuntu):
status: Invalid → Fix Committed
description: updated
Changed in grilo-plugins:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package packagekit - 1.1.7-1

---------------
packagekit (1.1.7-1) unstable; urgency=medium

  [ Matthias Klumpp ]
  * New upstream version: 1.1.7
  * Drop all patches: Applied upstream
  * Add aptcc-fix-mimetype-search.patch: Don't fail when searching for mimetypes
    - See LP: #1719077
  * Bump standards and dh version
  * Fail on missing files
  * Add missing build-dependency on libappstream-dev

  [ Iain Lane ]
  * Always rebuild gtk-doc documentation

 -- Matthias Klumpp <email address hidden> Sun, 24 Sep 2017 19:56:12 +0200

Changed in packagekit (Ubuntu):
status: Fix Committed → Fix Released
summary: - Unable to find codecs to play videos
+ Guardian plugin doesn't work
Changed in grilo-plugins:
status: Confirmed → 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.