PDA

View Full Version : RSS News Ticker feeds not cycling through on Transporter



benh
2006-11-17, 13:19
I've recently started having a problem with the RSS Ticker on my Transporter. It's not cycling through feeds like it used to. (I'm also suddenly having a problem with SlimServer crashing, but don't have that debugged enough yet to post about)

System information:
SlimServer Version: 6.5.0 - 9916 - freebsd - EN - iso-8859-1
Perl Version: 5.8.8 i386-freebsd-64int
MySQL Version: 5.0.24a
FreeBSD 6.x server
Currently have --d_plugins, --d_server and --d_memory debugging flags enabled.

I have the MusicInfoScreen, Weather Date and Time and Lazy Search 2 3rd party plugins installed on SlimServer.

I am running MusicInfo and Lazy Search on the Transporter. I am not running Weather Date and Time on the Transporter. I am running all three on my SB3.

Basically, whatever feed is the first (BBC news in this case) just keeps scrolling a single headline, not cycling through multiple headlines, and not moving on to the next RSS feed.

This only happens on the Transporter. The SB3's RSS ticker is working as expected.

At first, I suspected the MusicInfo Screen plugin was the culprit, as I'd recently installed a new version of that, but I disabled that plugin, killed and restarted Slimserver, but the problem persists.

Then, I suspected LazySearch, as I recently installed a new version of that. Same procedure, no dice.

Then, I suspected the final third party plugin I've got running: Weather Date and Time. Same procedure, no dice.

Then, I suspected perhaps the BBC RSS feed was hosed, so I removed that feed from the config, killed and restarted SlimServer. The problem persists.

Looks like Slimserver is fetching the subsequent feeds, but they're not being displayed. For example, right now, a single headline from CNET about interviewing Bill Gates and PS3 sales is displaying. The logs show that feed being fetched. Next up is Yahoo, and the logs show that being fetched. But Yahoo's ticker is never displayed:

2006-11-17 14:13:41.8052 RSS: Fetching next feed: http://news.com.com/2547-1_3-0-5.xml
2006-11-17 14:13:41.8101 Formats::XML: async request: http://news.com.com/2547-1_3-0-5.xml
2006-11-17 14:13:41.8124 Formats::XML: got http://news.com.com/2547-1_3-0-5.xml
2006-11-17 14:13:41.8128 Formats::XML: content type is text/xml
2006-11-17 14:13:41.8280 Formats::XML: caching parsed XML for 300 seconds
2006-11-17 14:14:50.9423 RSS: Fetching next feed: http://rss.news.yahoo.com/rss/business
2006-11-17 14:14:50.9451 Formats::XML: async request: http://rss.news.yahoo.com/rss/business
2006-11-17 14:14:54.4948 Formats::XML: got http://rss.news.yahoo.com/rss/business
2006-11-17 14:14:54.4953 Formats::XML: content type is text/xml
2006-11-17 14:14:54.5186 Formats::XML: caching parsed XML for 300 seconds

Then, I realized that maybe the SB3 was causing the feed fetches, so I unplugged it from power. SlimServer still fetches new feeds but still fails to display them on the Transporter.

Any ideas?

benh
2006-11-17, 13:37
Update:

I may have been mistaken about the fetching. After posting, I kept an eye on the logs some more and SlimServer refetched the same feed:

2006-11-17 14:14:50.9423 RSS: Fetching next feed: http://rss.news.yahoo.com/rss/business
2006-11-17 14:14:50.9451 Formats::XML: async request: http://rss.news.yahoo.com/rss/business
2006-11-17 14:14:54.4948 Formats::XML: got http://rss.news.yahoo.com/rss/business
2006-11-17 14:14:54.4953 Formats::XML: content type is text/xml
2006-11-17 14:14:54.5186 Formats::XML: caching parsed XML for 300 seconds
2006-11-17 14:17:12.8769 RSS: Fetching next feed: http://rss.news.yahoo.com/rss/business
2006-11-17 14:17:12.8789 Formats::XML: got cached XML data for http://rss.news.yahoo.com/rss/business

So I turned the Transporter off and then back on using the power button on the remote.

2006-11-17 14:27:39.1359 RSS: Left screensaver mode
2006-11-17 14:27:50.4424 RSS: Fetching next feed: http://news.com.com/2547-1_3-0-5.xml
2006-11-17 14:27:50.4475 Formats::XML: async request: http://news.com.com/2547-1_3-0-5.xml
2006-11-17 14:27:50.4496 Formats::XML: got http://news.com.com/2547-1_3-0-5.xml
2006-11-17 14:27:50.4499 Formats::XML: content type is text/xml
2006-11-17 14:27:50.4650 Formats::XML: caching parsed XML for 300 seconds

and now it's *not* fetching subsequent feeds.

I then physically removed power from the Transporter and then plugged it back in.

It began displaying the same CNET news.com feed it was displaying before.

SlimServer then fetched a NYT feed and began displaying it. But it's only displaying the first headline, as per my original issue, and SlimServer does not appear to be fetching subsequent feeds.

Joe Northern
2006-11-17, 16:56
How does the Transporter sound so far. I have my SB3 plugged into my Linn 5103 DAC via optical cable. So far it sound good (much better than other digital feeds I have tried) however not really sit down serious listening quality like my higher end CD player or turn table. The Transporter sounds tempting given that it is built specifically for the purpose of data feeds.

Anyway if you have a decent DAC linked into the SB3 is it worth the cost of buying the upgrade?

benh <benh.2hfo7b1163794801 (AT) no-mx (DOT) forums.slimdevices.com> wrote:

I've recently started having a problem with the RSS Ticker on my
Transporter. It's not cycling through feeds like it used to. (I'm
also suddenly having a problem with SlimServer crashing, but don't have
that debugged enough yet to post about)

System information:
SlimServer Version: 6.5.0 - 9916 - freebsd - EN - iso-8859-1
Perl Version: 5.8.8 i386-freebsd-64int
MySQL Version: 5.0.24a
FreeBSD 6.x server
Currently have --d_plugins, --d_server and --d_memory debugging flags
enabled.

I have the MusicInfoScreen, Weather Date and Time and Lazy Search 2 3rd
party plugins installed on SlimServer.

I am running MusicInfo and Lazy Search on the Transporter. I am not
running Weather Date and Time on the Transporter. I am running all
three on my SB3.

Basically, whatever feed is the first (BBC news in this case) just
keeps scrolling a single headline, not cycling through multiple
headlines, and not moving on to the next RSS feed.

This only happens on the Transporter. The SB3's RSS ticker is working
as expected.

At first, I suspected the MusicInfo Screen plugin was the culprit, as
I'd recently installed a new version of that, but I disabled that
plugin, killed and restarted Slimserver, but the problem persists.

Then, I suspected LazySearch, as I recently installed a new version of
that. Same procedure, no dice.

Then, I suspected the final third party plugin I've got running:
Weather Date and Time. Same procedure, no dice.

Then, I suspected perhaps the BBC RSS feed was hosed, so I removed that
feed from the config, killed and restarted SlimServer. The problem
persists.

Looks like Slimserver is fetching the subsequent feeds, but they're not
being displayed. For example, right now, a single headline from CNET
about interviewing Bill Gates and PS3 sales is displaying. The logs
show that feed being fetched. Next up is Yahoo, and the logs show that
being fetched. But Yahoo's ticker is never displayed:

2006-11-17 14:13:41.8052 RSS: Fetching next feed:
http://news.com.com/2547-1_3-0-5.xml
2006-11-17 14:13:41.8101 Formats::XML: async request:
http://news.com.com/2547-1_3-0-5.xml
2006-11-17 14:13:41.8124 Formats::XML: got
http://news.com.com/2547-1_3-0-5.xml
2006-11-17 14:13:41.8128 Formats::XML: content type is text/xml
2006-11-17 14:13:41.8280 Formats::XML: caching parsed XML for 300
seconds
2006-11-17 14:14:50.9423 RSS: Fetching next feed:
http://rss.news.yahoo.com/rss/business
2006-11-17 14:14:50.9451 Formats::XML: async request:
http://rss.news.yahoo.com/rss/business
2006-11-17 14:14:54.4948 Formats::XML: got
http://rss.news.yahoo.com/rss/business
2006-11-17 14:14:54.4953 Formats::XML: content type is text/xml
2006-11-17 14:14:54.5186 Formats::XML: caching parsed XML for 300
seconds

Then, I realized that maybe the SB3 was causing the feed fetches, so I
unplugged it from power. SlimServer still fetches new feeds but still
fails to display them on the Transporter.

Any ideas?


--
benh
------------------------------------------------------------------------
benh's Profile: http://forums.slimdevices.com/member.php?userid=6732
View this thread: http://forums.slimdevices.com/showthread.php?t=29801

ceejay
2006-11-18, 01:05
I've recently started having a problem with the RSS Ticker on my Transporter. It's not cycling through feeds like it used to.

Interesting - I just reproduced this using Softsqueeze andthe RSS screensaver! Also in a quite different set up - 6.5.1 on Windows XP.

If you have Softsqueeze in Transporter mode, then the RSS screensaver kicks in and only shows the first item. If you switch to SB mode, it continues to be stuck until you do something (to take the screensave off) and let it time out again (to make the screensaver kick in again). Then it works fine, working throught the feeds as normal. You can reverese this process by switching back to Transporter mode.

Sounds like a bug to me... (doesn't seem to be one in bugzilla yet)

Ceejay

kdf
2006-11-18, 02:20
On 18-Nov-06, at 12:05 AM, ceejay wrote:

>
> benh;155587 Wrote:
>> I've recently started having a problem with the RSS Ticker on my
>> Transporter. It's not cycling through feeds like it used to.
>
> Interesting - I just reproduced this using Softsqueeze andthe RSS
> screensaver! Also in a quite different set up - 6.5.1 on Windows XP.
>
Interestingly, I'm not seeing this using trunk or 6.5.1 (svn 10719) on
debian.

What are the player settings under display, for scrolling mode?

Are you using the rss ticker with the player 'off' or just idle (not
playing)?

What is the second screen doing at the time?

-kdf

ceejay
2006-11-18, 03:44
I have:

screensaver when playing - MusicInfoScr
screensaver when stopped - RSS
screensaver when off - date and time
screensaver delay - 20sec

scroll mode - scroll once and stop

the sceond screen is showing "STOPPED-<Artist>" and <Track title>

SlimServer Version: 6.5.1 - 10440 - Windows XP - EN - cp1252

Any logging you'd like to see?

Ceejay

kdf
2006-11-18, 03:54
ta. how odd. I even tried RSS when off and it's ok here. I don't
happen to have the musicinfo screensaver installed right now, so if you
are interested in the testing, try disabling (better yet remove
temporarily) and see if that makes any difference. I suspect that the
problem is something to do with display caching, but I can't see
anything in more recent code changes that would affect this. Rss
module hasn't seen action in 2 weeks, Transporter display code in 4
wks.

-kdf

ceejay
2006-11-18, 04:12
More info - its not the MusicInfoScr, it has something to do with what you are displaying on the second screen. With the second screen off, or showing the analog VU, or spectrum analyser - RSS works fine. With the second display showing extended text (or text + specctrum analyser) we get the "stuck" problem described by OP.

Have now seen this on both Softsqueeze in Transporter mode and also on a real Transporter.

HTH
Ceejay

benh
2006-11-18, 05:44
Interesting. I am indeed running text + spectrum analyzer on the right screen.

I confirmed ceejay's diagnosis by changing the right screen to always be the analog vu meters, and turning the Transporter off and on, and RSS function is restored.

I'm running a stock 6.5.0 release of SlimServer on FreeBSD, so don't think it was a recent change to the code that tickled this bug. My Transporter's about 8 days old so I've been playing with the display modes a lot.

Triode
2006-11-18, 05:46
Yes - definately a bug... Is there a bug raised for this yet?

benh
2006-11-18, 06:02
I'd be happy to log a bug for this if one does not yet exist. I'll take a look.

Triode
2006-11-18, 06:08
Just done it - bug 4520.

Confirmed this is definately a bug and I know why it is doing it. You may also find the memory consumption of slimserver grows in ticker mode at present which could lead to other problems.

I've put a tentative fix in the development branch (trunk revision 10720). I would like other developers to check this before looking to add to 6.5.1.

benh
2006-11-18, 06:15
Doh. I just logged bug 4521! I have now marked it as a dupe of 4520.

You mention a memory consumption issue that may lead to other problems.

Would that look something like this:

Out of memory during "large" request for 67112960 bytes, total sbrk() is 511858688 bytes at /usr/local/slimserver/Slim/Display/Graphics.pm line 487.
2006-11-17 22:45:04.6856 Got to the END.

and cause SS to die?

Triode
2006-11-18, 06:36
Yes - you probably have to leave it for a while, but it will try to allocate an increasingly large memory block until it runs out.

benh
2006-11-18, 08:15
Excellent.

That actually accounts for my other issue, which I wasn't sure was related, and that I'd not had time to debug enough to post about.

Thanks!

benh
2006-11-21, 07:00
For those playing along at home but not following the bug in bugzilla, the 6.5.1 nightly dated 20061120 fixed both my stuck Transporter ticker issue and the memory leak.