Evan Hisey wrote:
> Duncan
>
>   I am getting the following tracebcak when I crashe the webserver
> doing a search in the TV guide. I think it is caused by the results of
> the search.
>
> --- <exception caught here> ---
>   File "/usr/lib/python2.5/site-packages/twisted/web/server.py", line
> 160, in process
>     self.render(resrc)
>   File "/usr/lib/python2.5/site-packages/twisted/web/server.py", line
> 167, in render
>     body = resrc.render(self)
>   File "/usr/lib/python2.5/site-packages/freevo/www/web_types.py",
> line 130, in render
>     return self._render(request)
>   File "/usr/share/freevo/htdocs/search.rpy", line 127, in _render
>     fv.tableCell(cell, 'class="'+status+'" colspan="1"')
>   File "/usr/lib/python2.5/site-packages/freevo/www/web_types.py",
> line 356, in tableCell
>     self.res += "       <td "+opts+">"+data+"</td>\n"
> <type 'exceptions.UnicodeDecodeError'>: 'utf8' codec can't decode
> bytes in position 83-85: invalid data
>   

>From the error message it seems that it was having problems converting
characters to Unicode. A quick test looking for some ascii and non-ascii
characters in the title resulted in a success search.

There are quite a few things that could cause this, the local setting in
local_conf.py, the version of BeautifulSoup, the data in the TV xml,
etc. So it is difficult to say what is causing this crash.

Duncan

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to