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 750758 - Grilo needs Guardian API update
Grilo needs Guardian API update
Status: RESOLVED DUPLICATE of bug 748224
Product: grilo
Classification: Other
Component: general
0.2.x
Other Linux
: Normal normal
: ---
Assigned To: grilo-maint
grilo-maint
Depends on:
Blocks:
 
 
Reported: 2015-06-11 05:04 UTC by ebkalderon
Modified: 2015-06-11 08:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description ebkalderon 2015-06-11 05:04:59 UTC
The Guardian Videos channel in Totem is broken due to issues in how Grilo handles the Guardian API. Videos and searches fail to load for me.

I am on Arch Linux x86_64, running GNOME 3.16 and Grilo 0.2.12-1 and Grilo-Plugins 0.2.14-4.

Steps to reproduce:
1. Open Totem and navigate to the channels tab.
2. Click on The Guardian Videos button.

What happens:
The video list is completely blank. The following error is spat into the terminal:

(totem:10888): Grilo-WARNING **: [lua-library] grl-lua-library.c:366: Can't fetch element 1 (URL: http://content.guardianapis.com/search?tag=type/video&page=1.0&page-size=50.0&show-fields=all&api-key=rppwmmu3mfqj6gkbs8kcjg23): 'Invalid request URI or header: Bad Request'

Expected results:
The window should populate with video thumbnails.

Possible fix:
I tried pasting the URL in the error message into a browser, and I received:

{"response":{"status":"error","message":"page must be numeric"}}

After changing the values of "page" and "page-size" from decimal to integer values, the URL loads as expected. See below for the fixed URL:

http://content.guardianapis.com/search?tag=type/video&page=1&page-size=50&show-fields=all&api-key=rppwmmu3mfqj6gkbs8kcjg23
Comment 1 Bastien Nocera 2015-06-11 08:55:05 UTC
Thanks for taking the time to report this.
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 bug 748224 ***