Opened 13 years ago

Last modified 13 years ago

#2491 closed defect

updater doesn't update on Fedora 14 — at Version 2

Reported by: walter Owned by: mchua pbrobinson sdz
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: Sugar Version: Git as of bugdate
Severity: Unspecified Keywords: r?
Cc: rgs Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description (last modified by walter)

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.

import locale
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

Change History (2)

comment:1 Changed 13 years ago by satellit

duplicate? http://bugs.sugarlabs.org/ticket/2339

I wonder if pop up window with results of update inquiry is hidden behind updater window

comment:2 Changed 13 years ago by walter

  • Component changed from SoaS to sugar
  • Description modified (diff)
  • Summary changed from updater doesn't update on Mango (SoaS 4) to updater doesn't update on Fedora 14
Note: See TracTickets for help on using tickets.