Bugzilla – Bug 2930
Podcasts and some internet radio inaccessible - XML parse error
Last modified: 2008-09-15 14:39:24 UTC
From plugins pick podcast browser...podcast alley 10 newest... gget message 'Failed to pasrse <http://podcastalley.com/PodcastAlley10Newest.opml>'. Similar message from Internet Radio.. Slim Devices Picks... This broke in the last two or so releases of 6.5b1. XMLBrowser: async request: http://www.slimdevices.com/picks/radio.opml XMLBrowser: got http://www.slimdevices.com/picks/radio.opml XMLBrowser: content type is application/octet-stream ERROR: XMLBrowser: failed to parse feed because: not well-formed (invalid token) at line 1, column 6, byte 6 at /PerlApp/XML/Parser.pm line 187 XMLBrowser: error retrieving <http://www.slimdevices.com/picks/radio.opml>: Can't use an undefined value as a SCALAR reference at /PerlApp/Slim/Buttons/XMLBrowser.pm line 673. XMLBrowser: async request: http://podcastalley.com/PodcastAlley10Newest.opml XMLBrowser: got http://podcastalley.com/PodcastAlley10Newest.opml XMLBrowser: content type is text/xml ERROR: XMLBrowser: failed to parse feed because: not well-formed (invalid token) at line 1, column 6, byte 6 at /PerlApp/XML/Parser.pm line 187 XMLBrowser: error retrieving <http://podcastalley.com/PodcastAlley10Newest.opml>: Can't use an undefined value as a SCALAR reference at /PerlApp/Slim/Buttons/XMLBrowser.pm line 673.
David - is this still an issue with the latest build? I'm unable to reproduce. Thanks.
I ended up going back to the 6.2.2 build the other day. Part of the problem looked to be an #undef that's a couple of lines too early - so the proper error may not be displayed (at least that's how I interpreted the note about the SCALAR reference on line 673 of /PerlApp/Slim/Buttons/XMLBrowser.pm. The real issue appeared to be something to do with parsing the XML feed. I'm pretty busy at the moment so I wasn't able to look into any more. I'll try and reinstall 6.5 over the weekend and provide an update as to it still happening. My original 6.5 install followed all the defaults nothing tweaked.
This is still a bug for me on my main system at work. 100% repeatable.
Chris - what version? .exe or ActiveState?
I've submitted a possible fix as subversion change 6589
Just checked with today's nightly (6676) after spying a post on the boards, and the poster and I am still having this problem. Let me know if there's more info I can provide.
This appears to happen for Podcast Browser with PodcastAlley top 50 / 10 Newest, Internet radio/Slim Devices Picks and Live Music Archive.
I have the same prob with BBC Radio 1 feed (and others). Worked fine on 6.2.1 but when I upgraded to the latest 6.5b1 (on 25/03/06) I get the problem. RSS news feeds and mp3 streaming of live radio works fine. Below is extract from "slim.exe --d_plugin --d_source --d_remotestream"... 2006-03-25 15:15:59.0777 ERROR: XMLBrowser: failed to parse feed because: not well-formed (invalid token) at line 1, column 6, byte 6 at /PerlApp/XML/Pars er.pm line 187 2006-03-25 15:15:59.0926 ERROR: XMLBrowser: here's the bad feed: [<?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet title="XSL_formatting" type="text/xsl" href="http://downloads.b bc.co.uk/rmhttp/downloadtrial/common/rss_rm.xsl"?> <rss version="2.0" xmlns:media="http://search.yahoo.com/mrss" xmlns:itunes="http ://www.itunes.com/dtds/podcast-1.0.dtd"> <channel> <title>Best of Moyles</title> <link>http://www.bbc.co.uk/radio1/chrismoyles/</link> <description>The best of the Chris Moyles show from BBC Radio 1. Weekly highlights taken from the breakfast show, as broadcast by Chris and tea m every morning on Radio 1 from 7am to 10am.</description> <itunes:author>BBC Radio 1</itunes:author> <language>en-gb</language> <ttl>720</ttl> <itunes:image href="http://www.bbc.co.uk/radio/downloadtrial/ima ges/programmes/300x300/radio1_bestofmoyles.jpg"/> <copyright>(C) BBC 2005</copyright> <pubDate>Sat, 25 Mar 2006 03:00:22 +0000</pubDate> <itunes:category text="Public Radio"/> <itunes:keywords>BBC</itunes:keywords> <itunes:explicit>No</itunes:explicit> <item> <title>Moyles: Patsy Kensit. 24 Mar 06</title> <description>The new Best of Moyles now with extra bits, including the very funny Patsy Kensit interview, Dave and Dom singing jingles and Rachel and Carrie's skydive antics.</description> <itunes:subtitle>Moyles: Patsy Kensit. 24 Mar 06</itunes :subtitle> <itunes:summary>The new Best of Moyles now with extra bi ts, including the very funny Patsy Kensit interview, Dave and Dom singing jingles and Rachel and Carrie's skydive antics.</itunes:summary> <pubDate>Fri, 24 Mar 2006 07:00:00 +0000</pubDate> <itunes:duration>00:30:00</itunes:duration> <guid isPermaLink="false">http://downloads.bbc.co.uk/rmh ttp/downloadtrial/radio1/bestofmoyles/bestofmoyles_20060324-0700_40_pc.mp3</guid > <enclosure url="http://downloads.bbc.co.uk/rmhttp/downlo adtrial/radio1/bestofmoyles/bestofmoyles_20060324-0700_40_pc.mp3" length="126926 05" type="audio/mpeg"/> <media:content url="http://downloads.bbc.co.uk/rmhttp/do wnloadtrial/radio1/bestofmoyles/bestofmoyles_20060324-0700_40_pc.mp3" fileSize="12692605" type="audio/mpeg" expression="full" duration="1800" bitrate="40"/> </item> </channel> </rss> ] 2006-03-25 15:15:59.2996 XMLBrowser: error retrieving <http://downloads.bbc.co.u k/rmhttp/downloadtrial/radio1/bestofmoyles/rss.xml>: 2006-03-25 15:15:59.3047 not well-formed (invalid token) at line 1, column 6, byte 6 at /PerlApp/XML/Pars er.pm line 187
*** Bug 3183 has been marked as a duplicate of this bug. ***
Dan IMHO all these problems (including Shoutcast) might be related to change 5697 ff (passing xml as reference to XML::Simple::XMLIn()). I had someone experiencing that problem replace shoutcast with a revision where I only removed the leading \, thus passing the string, not only a reference to it. It worked for him. I myself can't reproduce the problem. Most users seem inaffected... All users I asked were using the compiled win32 build, and some confirmed _not_ having any perl on their computers.
This has been fixed in the latest nightly builds for all versions.