Bugs item #1595076, was opened at 2006-11-12 15:09
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1595076&group_id=46652

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: freevoweb
Group: 1.6.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: [EMAIL PROTECTED] (bacademy)
Assigned to: Nobody/Anonymous (nobody)
Summary: program guide display incomplete if no description available

Initial Comment:
I noticed using the web interface that some channels 
displayed incomplete listings.

Found this traceback in the webserver-500.log:

Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/freevo/tv/epg_xmltv.py", 
line 279, in load_guide
prog.desc = Unicode(util.format_text(p['desc'][0]
[0]))
File "/usr/lib/python2.4/site-packages/freevo/util/misc.py", 
line 273, in format_text
     while len(text) and text[0] in (u' ', u'\t', 
u'\n'):
TypeError: len() of unsized object
Error in tv guide, skipping

Looking at TV.xml, it seems that an empty description 
tag, like:

<desc lang="fi"></desc>

is causing the exception. The user visible effect is 
that the program in question and all the remaining 
programs for the day for the channel do not display 
in the TV Guide. Hand editing it to <desc 
lang="fi">ei tietoja</desc> fixes the TV Guide 
display. 








----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1595076&group_id=46652

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to