"Jan Grewe" wrote:
> I have this message in my log when i start freevo:
>
> WARNING:Could not determine system encoding! Did look in FREEVO_LOCALE, LANG
> and LC_ALL environment variables for 'l
> anguage.encoding' pair, but nothing found! Using ascii

maybe we should use latin-1 as default?

> I think it's responsible for those:

yes!

>
> Traceback (most recent call last):
>   File "/usr/lib/python2.3/site-packages/freevo/main.py", line 476, in ?
>     app.eventhandler(event)
>   File "/usr/lib/python2.3/site-packages/freevo/menu.py", line 448, in
> eventhandler
>     self.refresh()
>   File "/usr/lib/python2.3/site-packages/freevo/menu.py", line 325, in
> refresh
>     skin.draw('menu', self, self.menustack[-1])
>     return self.__method(self.__obj, *args, **kwargs)
>   File "/usr/lib/python2.3/site-packages/freevo/osd.py", line 630, in
> loadbitmap
>     return self._getbitmap(filename)
>   File "/usr/lib/python2.3/site-packages/freevo/osd.py", line 1264, in
> _getbitmap
>     url = url.encode( config.encoding )
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position
> 32: ordinal not in range(128)

Gustavo> we should make sure that EVERY string in Freevo works. We
Gustavo> should wrap the encoding stuff. Better remove some chars you
Gustavo> can't encode than crashing.

>   File "/usr/lib/python2.3/site-packages/freevo/util/fileops.py", line 192,
> in totalspace
>     s = os.statvfs(path)
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position
> 24: ordinal not in range(128)

This is what I was afraid of: path is unicode, python uses 'ascii' to
convert and boom!



Dischi

-- 
Life's unfair - but root password helps!


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to