>From today's daily live-CD:
ubu...@ubuntu:~$ python
Python 2.7.1+ (r271:86832, Dec 10 2010, 15:12:46)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import locale
>>> locale.format('%.1f MiB', 234.34)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/locale.py", line 189, in format
"format specifier, %s not valid") % repr(percent))
ValueError: format() must be given exactly one %char format specifier, '%.1f
MiB' not valid
ubu...@ubuntu:~$ python2.6
Python 2.6.6 (r266:84292, Dec 10 2010, 14:51:27)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import locale
>>> locale.format('%.1f MiB', 234.34)
'234.3 MiB'
** Changed in: apport (Ubuntu)
Status: Confirmed => Triaged
** Summary changed:
- apport-gtk crashed with ValueError in format()
+ apport-gtk crashed with ValueError in locale.format()
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/688535
Title:
apport-gtk crashed with ValueError in locale.format()
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs