On Fri, 2005-09-16 at 11:32 +0200, Alexis Sukrieh wrote:
> Package: quodlibet
> Version: 0.13.1-1
> Severity: important
> 
> My default locales is fr_FR.ISO-8859-1, when I start quodlibet in a
> shell, it fails to start:
> 
>     $ quodlibet
>     Formats supportés : mp3, oggvorbis
>     Bibliothèque de chansons chargée.
>     Ouverture du périphérique audio.
>     Traceback (most recent call last):
>       File "/usr/bin/quodlibet", line 247, in ?
>         main()
>       File "/usr/bin/quodlibet", line 21, in main
>         widgets.init()
>       File "/usr/lib/quodlibet/quodlibet.zip/widgets.py", line 2700, in init
>       File "/usr/lib/quodlibet/quodlibet.zip/widgets.py", line 1075, in 
> __init__
>       File "/usr/lib/quodlibet/quodlibet.zip/widgets.py", line 935, in 
> __init__
>       File "/usr/lib/quodlibet/quodlibet.zip/widgets.py", line 1030, in 
> __init__
>       File "/usr/lib/python2.3/ConfigParser.py", line 318, in getfloat
>         return self._get(section, float, option)
>       File "/usr/lib/python2.3/ConfigParser.py", line 312, in _get
>         return conv(self.get(section, option))
>     ValueError: invalid literal for float(): 0.796992481203
>     
> On the other hand, if I use LC_ALL=C, it starts correctly:
> 
>     $ LC_ALL=C quodlibet
>     Formats support?s : mp3, oggvorbis
>     Biblioth?que de chansons charg?e.
>     Ouverture du p?riph?rique audio.

Like Fredrik said, we've seen this a lot now, and it's very strange. It
*seems* like Python is localizing the the floating point numbers when we
use str() and float() on them. But we can't reproduce it on our systems
running in other locales, and it *shouldn't* happen, since str() and
float() are not locale-dependent.

Can ypu change 'volume = ...' to 'volume = 1' in your config file,
restart, use QL for a while, and then send us the state your config file
is in?
-- 
Joe Wreschnig <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to