Johan Celén wrote:

Now on to the next problem ;)
My listings is in swedish... with swedish chars like åäö.
I tried to shedule a program called "Seriestart: Surfa på menyn".
But when I cant record it :/
Traceback:
2004/03/29 21:51 CEST [*RecordServer*] Traceback (most recent call last):
File "/usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/python/log.py", line 52, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/python/context.py", line 32, in callWithContext
return func(*args,**kw)
File "/usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/internet/default.py", line 122, in run
self.mainLoop()
File "/usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/internet/default.py", line 130, in mainLoop
self.runUntilCurrent()
--- <exception caught here> ---
File "/usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/internet/base.py", line 411, in runUntilCurrent
call.func(*call.args, **call.kw)
File "/usr/local/freevo/src/helpers/recordserver.py", line 900, in minuteCheck
rec_prog = self.checkToRecord()
File "/usr/local/freevo/src/helpers/recordserver.py", line 480, in checkToRecord
_debug_('going to record: %s' % prog)
exceptions.UnicodeEncodeError: 'ascii' codec can't encode character u'\xe5' in position 62: ordinal not in range(128)
Anyone know how to solve this?
In earlier versions scheduling/recording with åäö worked fine.
// Johan


easy... change the "prog" in line 480 to "String(prog)"

this happens because of a not fully completed change to unicode with all strings... i sent patches for two crashes using the webinterface to the freevo-devel list yesterday.

whenever something like this happens again, change the prog which is about to get printed to the String() version...

flo






------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to