Bugs item #1594642, was opened at 2006-11-11 10:39
Message generated for change (Comment added) made by bacademy
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1594642&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: program guide
Group: 1.6.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: [EMAIL PROTECTED] (bacademy)
Assigned to: Nobody/Anonymous (nobody)
Summary: freevo webserver search returns no results

Initial Comment:
Another unicode error, when program title has latin-1 
characters like "öä":

2006/11/11 11:42 EET [HTTPChannel,2,127.0.0.1] 
Traceback (most recent call last):
          
File "/usr/lib/python2.4/site-packages/twisted/web/http.py", 
line 557, in requestReceived
            self.process()
          
File "/usr/lib/python2.4/site-packages/twisted/web/server.py", 
line 153, in process
            self.render(resrc)
          
File "/usr/lib/python2.4/site-packages/twisted/web/server.py", 
line 160, in render
            body = resrc.render(self)
          
File "/usr/lib/python2.4/site-packages/twisted/web/xmlrpc.py", 
line 118, in render
            defer.maybeDeferred(function, 
*args).addErrback(
        --- <exception caught here> ---
          
File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", 
line 107, in maybeDeferred
            result = f(*args, **kw)
          
File "/usr/lib/python2.4/site-packages/freevo/helpers/recordserver.py", 
line 807, in xmlrpc_findMatches
            (status, response) = 
self.findMatches(find, movies_only)
          
File "/usr/lib/python2.4/site-packages/freevo/helpers/recordserver.py", 
line 378, in findMatches
            _debug_('PROGRAM MATCH: %s' % 
prog.decode())
          
File "/usr/lib/python2.4/site-packages/freevo/tv/epg_types.py", 
line 91, in __str__
            title = self.title.encode('utf-8')
        exceptions.UnicodeDecodeError: 'ascii' codec 
can't decode byte 0xe4 in position 36: ordinal not in 
range(128)



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

>Comment By: [EMAIL PROTECTED] (bacademy)
Date: 2006-11-11 11:13

Message:
Logged In: YES 
user_id=816562

Looks like freevo is not respecting the encoding in 
TV.xml

A successful workaround for me was to set the 
default encoding to iso-8859-1 in python's site.py, 
the search started working.  I presume this same 
workaround would fix Unicode*Errors for most 
European users. 

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1594642&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