Bugs item #1007329, was opened at 2004-08-11 11:43
Message generated for change (Comment added) made by gsbarbieri
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1007329&group_id=46652

Category: plugins
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Stéphane Lavirotte (lavirott)
Assigned to: Nobody/Anonymous (nobody)
Summary: Problem with Lcd plugins

Initial Comment:
Bug in lcd plugins loading at freevo starting

failed to load plugin lcd
start 'freevo plugins -l' to get a list of plugins
Traceback (most recent call last):
  File "/usr/local/src/freevo-1.5.0/src/plugin.py", line 
572, in __load_plugin__

    p = eval(object)()
  File "/usr/local/src/freevo-1.5.0/src/plugins/lcd.py", line 
708, in __init__
    if val: param = param % eval( val )
UnicodeDecodeError: 'ascii' codec can't decode byte 
0xfb in position 15: ordinal not in range(128)

This bug appears not a long time ago, but I can't say 
when. I noticed it with my last install too (1.5.0-rc2), 
and I upgraded to 1.5.0 to test

Actually my configuration (on a debian system):
      Freevo 1.5.0
      lcdproc 0.4.5-1

For the moment I commented the lines corresponding to 
the welcome splash screen on (lines 706-713), and 
every think works fine after.

Stéphane

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

Comment By: Gustavo Sverzut Barbieri (gsbarbieri)
Date: 2004-08-11 15:00

Message:
Logged In: YES 
user_id=511989

Hello Stéphane,

Try revision 1.20 from lcd.py, in CVS right now (confirm
it's version 1.20, anonymouse sf cvs may be delayed).

Maybe what was happening is your LC_ALL or LANG set to some
language where some un-wrapped string, maybe "Today is", is
translated to something that contains chars out of the ASCII
range (0-127).

My patch try to wrap every string with String(). If you find
another bug like this (UnicodeError) in freevo, try to wrap
with String() or Unicode(), depending on the context.

Keep reporting errors!

Thanks,

Gustavo



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

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


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to