RSS Feeds Python Client 1.3.1

Asked by Oliver Webb

Hi,

I can't get RSS Feeds to work on the python client. Other internet based regions are working.

I've installed the client on Debian, which I know is not supported by Xibo, but everything else works. I was wondering if it could be a missing dependency? Any help would be greatly appreciated.

Many thanks,

Ollie

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Oliver Webb
Solved:
Last query:
Last reply:
Revision history for this message
Alex Harrington (alexharrington) said :
#1

Please can you provide the logging as specified in the install guide.

Alex

Revision history for this message
Oliver Webb (owebb) said :
#2

Hi Alex,

There are no logs on the server (v 1.4rc1)... Not quite sure why.

I can't find any logs on the client either - data/log/ is empty?

Am I just looking in the wrong places?

Thanks again.

Revision history for this message
Alex Harrington (alexharrington) said :
#3

http://wiki.xibo.org.uk/wiki/Install_Guide_Python_Client#Full_Debug_Output

See the section "Full Debug Output" under "Reporting Problems"

Thanks

Alex

Revision history for this message
Oliver Webb (owebb) said :
#4

LOG: 2012-09-27 09:09:11 (.enqueue:3857) 3 info Queue length is now 1
LOG: 2012-09-27 09:09:11 (.frameHandle:3871) 5 debug Added new node to R5064095bc3b9d-5
LOG: 2012-09-27 09:09:11 (.getContent:40) 5 audit RSS Ticker starting
LOG: 2012-09-27 09:09:11 (.getContent:41) 5 audit URI: http://feeds.bbci.co.uk/news/rss.xml
LOG: 2012-09-27 09:09:11 (.download:198) 1 error Unable to load from URL http://feeds.bbci.co.uk/news/rss.xml
LOG: 2012-09-27 09:09:11 (.download:198) 1 error Unable to load from URL http://feeds.bbci.co.uk/news/rss.xml
LOG: 2012-09-27 09:09:11 (.download:198) 1 error Unable to load from URL http://feeds.bbci.co.uk/news/rss.xml
LOG: 2012-09-27 09:09:11 (.getContent:53) 5 audit Template is: <p>
 <span style="font-size:26px;"><span style="color: rgb(255, 255, 255);">[Title] - [Date] - [Description] </span></span></p>

LOG: 2012-09-27 09:09:11 (.getContent:59) 5 audit Feed parsed
LOG: 2012-09-27 09:09:11 (.enqueue:3851) 3 info Enqueue: browserNavigate ('M73017ab1da2c8b58f469009c2f15d155-5-6', 'file:///opt/xibo/faye/client/python/data/M73017ab1da2c8b58f469009c2f15d155-5-6-tmp.html', <bound method TickerMedia.finishedRendering of <TickerMedia(Thread-15, started -1509430416)>>)
LOG: 2012-09-27 09:09:11 (.enqueue:3857) 3 info Queue length is now 1
LOG: 2012-09-27 09:09:11 (.enqueue:3851) 3 info Enqueue: browserOptions ('M73017ab1da2c8b58f469009c2f15d155-5-6', True, False)
LOG: 2012-09-27 09:09:11 (.enqueue:3857) 3 info Queue length is now 1
LOG: 2012-09-27 09:09:11 (.enqueue:3851) 3 info Enqueue: timer (60000, <bound method TickerMedia.timerElapsed of <TickerMedia(Thread-15, stopped -1509430416)>>)
LOG: 2012-09-27 09:09:11 (.enqueue:3857) 3 info Queue length is now 2
LOG: 2012-09-27 09:09:11 (.enqueue:3851) 3 info Enqueue: setOpacity ('M73017ab1da2c8b58f469009c2f15d155-5-6', 1)
LOG: 2012-09-27 09:09:11 (.enqueue:3857) 3 info Queue length is now 3

Thanks Alex.

Revision history for this message
Alex Harrington (alexharrington) said :
#5

Unable to load from URL http://feeds.bbci.co.uk/news/rss.xml

That would seem to be the problem. Are you behind a proxy?

Alex

Revision history for this message
Oliver Webb (owebb) said :
#6

Yes, but I've added the line "export all_proxy=http://... " to run.sh. I'm streaming BBC News 24 on the same layout and it's working fine.

Ollie

Revision history for this message
Alex Harrington (alexharrington) said :
#7

It's never been tested with a proxy so it may be the module that does RSS isn't using the environment variables right.

Presumably you've set http_proxy=http:// as well?

Alex

Revision history for this message
Alex Harrington (alexharrington) said :
#8

It's using urllib to do the opening and they say it'll use the http_proxy environment variable for that.

Alex

Revision history for this message
Oliver Webb (owebb) said :
#9

I've added http_proxy and it works. I was under the impression that all_proxy covered it all, but apparently it doesn't...

Thanks for your help.

Ollie