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 617296 - Video rating parsing broken
Video rating parsing broken
Status: RESOLVED FIXED
Product: libgdata
Classification: Platform
Component: YouTube service
0.5.x
Other Linux
: Normal normal
: ---
Assigned To: libgdata-maint
libgdata-maint
Depends on:
Blocks:
 
 
Reported: 2010-04-30 15:54 UTC by Pedro Villavicencio
Modified: 2010-05-02 15:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pedro Villavicencio 2010-04-30 15:54:59 UTC
The report has been filed here:

https://bugs.edge.launchpad.net/ubuntu/+source/libgdata/+bug/570946

version of libgdata is: libgdata6 0.5.1-1

after trying to search on youtube with totem the following message appears and no results are displayed:

(totem:7550): Totem-DEBUG: Received SaveYourself(SmSaveLocal, !Shutdown, SmInteractStyleNone, !Fast) in state idle
(totem:7550): Totem-DEBUG: Setting initial properties
(totem:7550): Totem-DEBUG: Sending SaveYourselfDone(True) for initial SaveYourself
(totem:7550): Totem-DEBUG: Received SaveComplete message in state save-yourself-done
(totem:7550): Totem-DEBUG: Init of Python module
(totem:7550): Totem-DEBUG: Registering Python plugin instance: BBCViewer+TotemPythonPlugin
(totem:7550): Totem-DEBUG: Creating object of type BBCViewer+TotemPythonPlugin
(totem:7550): Totem-DEBUG: Creating Python plugin instance
(totem:7550): Totem-DEBUG: Searching for "blah"
libgdata-Message: Unhandled XML in GDataYouTubeVideo: <yt:accessControl action="comment" permission="allowed"/>
libgdata-Message: Unhandled XML in GDataYouTubeVideo: <yt:accessControl action="commentVote" permission="allowed"/>
libgdata-Message: Unhandled XML in GDataYouTubeVideo: <yt:accessControl action="videoRespond" permission="moderated"/>
libgdata-Message: Unhandled XML in GDataYouTubeVideo: <yt:accessControl action="rate" permission="allowed"/>
libgdata-Message: Unhandled XML in GDataYouTubeVideo: <yt:accessControl action="embed" permission="allowed"/>
libgdata-Message: Unhandled XML in GDataYouTubeVideo: <yt:accessControl action="syndicate" permission="allowed"/>
(totem:7550): Totem-DEBUG: Search finished!
(totem:7550): Totem-DEBUG: Incrementing progress bar by 1.000000 (new value: 1.000000)
(totem:7550): Totem-DEBUG: Finalizing Python plugin instance
Comment 1 Philip Withnall 2010-05-02 15:40:45 UTC
This was a problem in 0.5.x which was introduced by the rating changes YouTube made recently. It's not a problem in 0.6.x, which I'd advise you package. I've released 0.5.2 with the below fix anyway.

commit 316aa761da5fdc12b69d0d5ad880417dcbbb9411
Author: Philip Withnall <philip@tecnocode.co.uk>
Date:   Sun May 2 16:19:11 2010 +0100

    [youtube] Fix parsing of video ratings
    
    With the introduction of the new yt:rating element, the old code for parsing
    gd:rating clashes with it. The introduction of a namespace check fixes this.
    Closes: bgo#617296