restricted-manager crashes on start

Bug #156465 reported by ojab
8
Affects Status Importance Assigned to Milestone
Restricted Manager
Confirmed
Undecided
Unassigned

Bug Description

Ubuntu 7.04 updated to 7.10

vika@vika-desktop:~$ restricted-manager
  File "/usr/bin/restricted-manager", line 42, in <module>
    rm = RestrictedManager()
  File "/usr/lib/python2.5/site-packages/RestrictedManager/RestrictedManagerGtk.py", line 53, in __init__
    RestrictedManagerCommon.__init__(self,args,opts)
  File "/usr/lib/python2.5/site-packages/RestrictedManager/RestrictedManagerCommon.py", line 197, in __init__
    self.launch_manager()
  File "/usr/lib/python2.5/site-packages/RestrictedManager/RestrictedManagerGtk.py", line 151, in launch_manager
    self.ManagerWindow(self.xml, self.handlers, self)
  File "/usr/lib/python2.5/site-packages/RestrictedManager/RestrictedManagerGtk.py", line 209, in __init__
    self.reset_model()
  File "/usr/lib/python2.5/site-packages/RestrictedManager/RestrictedManagerGtk.py", line 262, in reset_model
    self.parent.set_title_label(self.xml.get_widget('label_heading'), any_enabled)
  File "/usr/lib/python2.5/site-packages/RestrictedManager/RestrictedManagerGtk.py", line 122, in set_title_label
    (bold, normal) = RestrictedManagerCommon.title_label(self, in_use)
  File "/usr/lib/python2.5/site-packages/RestrictedManager/RestrictedManagerCommon.py", line 242, in title_label
    'these drivers.') % {'os': get_os_name()}
KeyError: u's'

Revision history for this message
uptimebox (uptimebox) wrote :

Same error on the fresh install of Ubuntu 7.10.

Workaround:
{{{
$ LANG=C sudo restricted-manager
}}}

Revision history for this message
Petri Järvisalo (reaby) wrote :

Fresh install on 6.11.2006 downloaded cd-image.

another workaround:
type in terminal:

$ unset LANG

Revision history for this message
Miia Sample (myrtti) wrote :

I've seen this happening my self and have seen complaints about the same issue on Finnish Ubuntu LoCo Forum and IRC channel several times. Seems to be connected to localization.

Changed in restricted-manager:
status: New → Confirmed
Revision history for this message
Petri Järvisalo (reaby) wrote :

Fresh install on 6.11.2007 downloaded cd-image.

another workaround:
type in terminal:

$ unset LANG

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Problem in Finnish translation, fixed in Rosetta and fix wil be released with the next language pack update.

Changed in restricted-manager:
status: Confirmed → Fix Committed
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Sorry, an addendum. May be tested by downloading MO file from https://translations.launchpad.net/ubuntu/gutsy/+source/restricted-manager/+pots/restricted-manager/fi/ and copying it on top of the existing one in /usr/share/locale-langpack/fi/LC_MESSAGES.

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

As pointed out on IRC, the original bug report was about Russian, which is still not fixed:

https://translations.launchpad.net/ubuntu/gutsy/+source/restricted-manager/+pots/restricted-manager/ru/+translate?start=25&batch=1

The suggestion is correct.

Changed in restricted-manager:
status: Fix Committed → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.