GNOME Bugzilla – Bug 690656
unhandled XML warnings from totem youtube plugin
Last modified: 2012-12-25 10:10:53 UTC
After searching for "gnome" in the totem Youtube plugin, I get some warnings in ~/.xsession-errors: pabs@chianamo ~ $ totem libgdata-Message: Unhandled XML in GDataAuthor: <yt:userId>D6mDCzGIiQGEEOb3wfl6pw</yt:userId> libgdata-Message: Unhandled XML in GDataYouTubeGroup: <media:license type="text/html" href="http://www.youtube.com/t/terms">youtube</media:license> libgdata-Message: Unhandled XML in GDataYouTubeGroup: <yt:uploaderId>UCD6mDCzGIiQGEEOb3wfl6pw</yt:uploaderId> libgdata-Message: Unhandled XML in GDataYouTubeVideo: <yt:rating numDislikes="113" numLikes="717"/> libgdata-Message: Unhandled XML in GDataAuthor: <yt:userId>oRH4vZ6wyVlotmFtrd3NRw</yt:userId> libgdata-Message: Unhandled XML in GDataYouTubeGroup: <media:license type="text/html" href="http://www.youtube.com/t/terms">youtube</media:license> libgdata-Message: Unhandled XML in GDataYouTubeGroup: <yt:uploaderId>UCoRH4vZ6wyVlotmFtrd3NRw</yt:uploaderId> libgdata-Message: Unhandled XML in GDataYouTubeVideo: <yt:rating numDislikes="379" numLikes="1189"/> libgdata-Message: Unhandled XML in GDataAuthor: <yt:userId>BE-FO9JUOghSysV9gjTeHw</yt:userId> libgdata-Message: Unhandled XML in GDataYouTubeVideo: <yt:hd/> libgdata-Message: Unhandled XML in GDataYouTubeGroup: <media:license type="text/html" href="http://www.youtube.com/t/terms">youtube</media:license> libgdata-Message: Unhandled XML in GDataYouTubeGroup: <yt:uploaderId>UCBE-FO9JUOghSysV9gjTeHw</yt:uploaderId> libgdata-Message: Unhandled XML in GDataYouTubeVideo: <yt:rating numDislikes="54" numLikes="1176"/> libgdata-Message: Unhandled XML in GDataAuthor: <yt:userId>lBsIuH_xc6hxpRC5ohWMWA</yt:userId> libgdata-Message: Unhandled XML in GDataYouTubeVideo: <yt:hd/> libgdata-Message: Unhandled XML in GDataYouTubeGroup: <media:license type="text/html" href="http://www.youtube.com/t/terms">youtube</media:license> libgdata-Message: Unhandled XML in GDataYouTubeGroup: <yt:uploaderId>UClBsIuH_xc6hxpRC5ohWMWA</yt:uploaderId> libgdata-Message: Unhandled XML in GDataYouTubeVideo: <yt:rating numDislikes="140" numLikes="440"/> libgdata-Message: Unhandled XML in GDataAuthor: <yt:userId>PgXPeJo-J85xEqpI_HmA6Q</yt:userId> libgdata-Message: Unhandled XML in GDataYouTubeVideo: <yt:hd/> libgdata-Message: Unhandled XML in GDataYouTubeGroup: <media:license type="text/html" href="http://www.youtube.com/t/terms">youtube</media:license> libgdata-Message: Unhandled XML in GDataYouTubeGroup: <yt:uploaderId>UCPgXPeJo-J85xEqpI_HmA6Q</yt:uploaderId> libgdata-Message: Unhandled XML in GDataYouTubeVideo: <yt:rating numDislikes="11" numLikes="227"/> libgdata-Message: Unhandled XML in GDataAuthor: <yt:userId>AL8QYfrkYHlSqUDrkOIUIw</yt:userId> libgdata-Message: Unhandled XML in GDataYouTubeGroup: <media:license type="text/html" href="http://www.youtube.com/t/terms">youtube</media:license> libgdata-Message: Unhandled XML in GDataYouTubeGroup: <yt:uploaderId>UCAL8QYfrkYHlSqUDrkOIUIw</yt:uploaderId> libgdata-Message: Unhandled XML in GDataYouTubeVideo: <yt:rating numDislikes="17" numLikes="1018"/> libgdata-Message: Unhandled XML in GDataAuthor: <yt:userId>3UzpQYVg7K7FfLXCi19Gdw</yt:userId> libgdata-Message: Unhandled XML in GDataYouTubeGroup: <media:license type="text/html" href="http://www.youtube.com/t/terms">youtube</media:license> libgdata-Message: Unhandled XML in GDataYouTubeGroup: <yt:uploaderId>UC3UzpQYVg7K7FfLXCi19Gdw</yt:uploaderId> libgdata-Message: Unhandled XML in GDataYouTubeVideo: <yt:rating numDislikes="5" numLikes="260"/> libgdata-Message: Unhandled XML in GDataAuthor: <yt:userId>hFvI3koD_XAoi7s9f-DblA</yt:userId> libgdata-Message: Unhandled XML in GDataYouTubeGroup: <media:license type="text/html" href="http://www.youtube.com/t/terms">youtube</media:license> libgdata-Message: Unhandled XML in GDataYouTubeGroup: <yt:uploaderId>UChFvI3koD_XAoi7s9f-DblA</yt:uploaderId> libgdata-Message: Unhandled XML in GDataAuthor: <yt:userId>f-62jA6IdMUtNZ5Iperzxw</yt:userId> libgdata-Message: Unhandled XML in GDataYouTubeVideo: <yt:hd/> libgdata-Message: Unhandled XML in GDataYouTubeGroup: <media:license type="text/html" href="http://www.youtube.com/t/terms">youtube</media:license> libgdata-Message: Unhandled XML in GDataYouTubeGroup: <yt:uploaderId>UCf-62jA6IdMUtNZ5Iperzxw</yt:uploaderId> libgdata-Message: Unhandled XML in GDataYouTubeVideo: <yt:rating numDislikes="145" numLikes="17593"/> libgdata-Message: Unhandled XML in GDataAuthor: <yt:userId>zH3iADRIq1IJlIXjfNgTpA</yt:userId> libgdata-Message: Unhandled XML in GDataYouTubeVideo: <yt:episode number="109"/> libgdata-Message: Unhandled XML in GDataYouTubeVideo: <yt:firstReleased>2009-11-17T08:00:00.000Z</yt:firstReleased> libgdata-Message: Unhandled XML in GDataYouTubeVideo: <yt:hd/> libgdata-Message: Unhandled XML in GDataYouTubeGroup: <media:license type="text/html" href="http://www.youtube.com/t/terms">youtube</media:license> libgdata-Message: Unhandled XML in GDataYouTubeGroup: <yt:uploaderId>UCzH3iADRIq1IJlIXjfNgTpA</yt:uploaderId> libgdata-Message: Unhandled XML in GDataYouTubeVideo: <yt:rating numDislikes="264" numLikes="3378"/>
These are all completely harmless warnings which come from libgdata (which is what Totem indirectly uses to query YouTube). There is no point in implementing support for these XML tags in libgdata at the moment, because the version of the YouTube API which we use is deprecated. See bug #687597 for information on the upgrade to the next version of the YouTube API.
For the sake of the size of my ~/.xsession-errors, could you at least disable them for release builds? They only matter to developers anyway.
(In reply to comment #2) > For the sake of the size of my ~/.xsession-errors, could you at least disable > them for release builds? They only matter to developers anyway. Fair enough. The messages never helped anyone anyway. Disabled in master. commit 88e381defb549aa499d7cc482dc7d2dfe5a93577 Author: Philip Withnall <philip@tecnocode.co.uk> Date: Tue Dec 25 09:38:52 2012 +0000 core: Make ‘Unhandled XML’ messages be debug-only messages This stops them filling up people’s .xsession-errors files unnecessarily. There is little point to having them as normal GLib messages, since it didn’t encourage many people to file bugs about unhandled XML and missing features. If anybody still needs this output, just enable debug output using G_MESSAGES_DEBUG=all LIBGDATA_DEBUG=3. Closes: https://bugzilla.gnome.org/show_bug.cgi?id=690656 gdata/gdata-parsable.c | 2 +- gdata/georss/gdata-georss-where.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Thanks :)