** Summary changed:
- [gutsy] restricted-manager fails to start after upgrade
+ Restricted Manager fails to start with Russian or Finnish localization packs.
** Description changed:
Binary package hint: restricted-manager-core
- Arch: AMD64
Release: Ubuntu 7.10
- Package vesrion: 0.33.1
- Steps to reproduce: Install russian localization packages, upgrade
7.04->7.10, start restricted-manager.
+ Package version: 0.33.1
+ Steps to reproduce: Try to use restricted-manager with Finnish or Russian
localization
- Problem:
- After upgrading to Ubuntu 7.10 from 7.04 restricted manager fails to start if
ru_RU.UTF-8 locale is set. Here is the output:
- --------------
- [EMAIL PROTECTED]:~$ 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'
- [EMAIL PROTECTED]:~$
- ---------------
+ The same bug is actually caused by different things for different
+ language packs.
- If you set LANG=C and start restricted-manager again this bug does not
- occur, switching back to LANG=ru_RU.UTF-8 leads to bug again.
+ For the Finnish bug it's caused by a mistake in fi.po on lines 274 and
+ 277 the "%(os)-kehittäjät" string should be replaced with "%(os)s
+ -kehittäjät"
+
+ And for the Russian bug it's caused by an empty msgstr (missing
+ translation) on line 261 in ru.po.
** Changed in: restricted-manager (Ubuntu)
Status: New => Confirmed
--
Restricted Manager fails to start with Russian or Finnish localization packs.
https://bugs.launchpad.net/bugs/154214
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs