Your message dated Wed, 07 Jun 2006 13:21:13 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#371059: Saving volume settings must not depend on locale
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: quodlibet
Version: 0.20.1-1
My locale is bg_BG and floating numbers are written like that: "0,5".
The problem is that Quodlibet writes memory/volume setting in
~/.quodlibet/config in locale format but expects it in en_US format
("0.5"). The following error occurs in this case:
Traceback (most recent call last):
File "/usr/bin/quodlibet", line 325, in ?
main()
File "/usr/bin/quodlibet", line 33, in main
window = widgets.init()
File "/usr/share/quodlibet/widgets.py", line 93, in init
main = QuodLibetWindow(watcher, player.playlist)
File "/usr/share/quodlibet/qltk/quodlibet.py", line 145, in __init__
t = PlayControls(watcher, player)
File "/usr/share/quodlibet/qltk/controls.py", line 211, in __init__
self.volume = Volume(player)
File "/usr/share/quodlibet/qltk/controls.py", line 143, in __init__
self.set_value(config.getfloat("memory", "volume"))
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))
Regards,
ogi
--- End Message ---
--- Begin Message ---
On Wed, 2006-06-07 at 08:14 +0300, Ognyan Kulev wrote:
> Package: quodlibet
> Version: 0.20.1-1
>
> My locale is bg_BG and floating numbers are written like that: "0,5".
> The problem is that Quodlibet writes memory/volume setting in
> ~/.quodlibet/config in locale format but expects it in en_US format
> ("0.5"). The following error occurs in this case:
This is a known bug in Python 2.3. We've tried several workarounds but
apparently they're not enough anymore. Any C function that resets the
numeric locale will break Python, and GStreamer and GTK+ apparently do
that.
The Quod Libet 0.21 package for Debian will use Python 2.4 rather than
2.3 so this problem should go away.
http://docs.python.org/whatsnew/node11.html
http://www.sacredchao.net/quodlibet/ticket/249
http://www.sacredchao.net/quodlibet/changeset/1942
http://www.sacredchao.net/quodlibet/changeset/2210
--
Joe Wreschnig <[EMAIL PROTECTED]>
signature.asc
Description: This is a digitally signed message part
--- End Message ---