Ticket #2491 (closed defect: fixed)
updater doesn't update on Fedora 14
|Reported by:||walter||Owned by:||mchua pbrobinson sdz|
|Priority:||Unspecified by Maintainer||Milestone:||Unspecified by Release Team|
|Component:||sugar||Version:||Git as of bugdate|
Description (last modified by walter) (diff)
The CP updater searches for and properly identifies bundles to update, but then it fails to display the dialog that enables you to proceed with the update.
Haven't tried this on other OSs, but it fails in SoaS, sugar-jhbuild, and the sugar-emulator installed with yum on F14.
The problem is with the call to locale.format in view.py in the updater:
The problem is with line 391 in _format_size()
return locale.format(_('%.1f MB'), size / 1024.0 / 1024)
locale.format doesn't seem to like '%f x' as seen in the code snippet below.
locale.format('%f MB', 123)
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, '%f MB' not valid