Bugs item #1595076, was opened at 2006-11-12 07:09
Message generated for change (Comment added) made by sf-robot
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: Closed
Resolution: Fixed
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.
----------------------------------------------------------------------
>Comment By: SourceForge Robot (sf-robot)
Date: 2006-11-28 19:20
Message:
Logged In: YES
user_id=1312539
Originator: NO
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
----------------------------------------------------------------------
Comment By: Duncan Webb (duncanwebb)
Date: 2006-11-14 01:29
Message:
Logged In: YES
user_id=104395
I've applied a fix to rel-1-6 at r8575, that tests if there
is a text object passed to format_text.
I don't like to look of prog.desc =
Unicode(util.format_text(p['desc'][0][0])) as it is passing
an incorrectly encoded unicode string to format_text, in my
case a latin-1 string as a unicode string.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1595076&group_id=46652
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel