program doesn't start

Bug #151855 reported by Eduardo Corrêa
10
Affects Status Importance Assigned to Milestone
restricted-manager (Ubuntu)
New
Undecided
Unassigned

Bug Description

After install ubuntu gutsy beta (direct from the internet, with net install), in first boot, the restricted manager shows in tray. After dobule click on it shows to inform user password, after that nothing occours.. the software not open...
I restart my note and the same...

when i try run it in a term i have the message:

$ sudo restricted-manager
Traceback (most recent call last):
  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()}
ValueError: unsupported format character 'p' (0x70) at index 104
eduardo@hal:~$ sudo restricted-manager
Traceback (most recent call last):
  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()}
ValueError: unsupported format character 'p' (0x70) at index 104

I install ubuntu on a notebook HP Pavillion ZV 5200, with Athlon processor, 512 ram, video nvidia 440 go, broadcom bcm 4306 wireless.
sorry, my english is not good, but i try...

Revision history for this message
Eduardo Corrêa (eduardogcorrea) wrote :

After the last update, my restricted manager works fine...

Revision history for this message
Te Anton (te-anton) wrote :

I have same error after updating to gutsu. I think the error in russian language pack. I modifed string in line 242, and restricted manager begin work.

Revision history for this message
Roman Prokopovich (solinger2) wrote :

You must open with any editor file RestrictedManagerCommon.py.
Go to line 234. add to the end: 'Some text')
All other strings (lines 235-243) must be commented with sign #.

Sorry for poor english :)

Revision history for this message
Te Anton (te-anton) wrote :

Ubuntu developers must change translations this text:

Proprietary drivers do not have public source code that %(os)s developers are free to modify. They represent a risk to you because they are only available on the types of computer chosen by the manufacturer, and security updates to them depend solely on the responsiveness of the manufacturer. %(os)s cannot fix or improve these drivers.

from:

Проприетарные (патентованные) драйвера не имеют открытого исходного кода, который разработчики %(s) могли бы изменить. Такие драйверы снижают надёжность и стабильность вашей системы, потому что доступны только для типов компьютеров выбранных производителем драйвера и оперативность обновлений безопасности для них зависит только от их производителя. %(s) не может исправить или улучшить эти драйвера.

to:

Проприетарные (патентованные) драйвера не имеют открытого исходного кода, который разработчики %(os)s могли бы изменить. Такие драйверы снижают надёжность и стабильность системы, потому что доступны только для типов компьютеров выбранных производителем драйвера и оперативность обновлений безопасности для них зависит только от их производителя. Разработчики %(os)s не могут исправить или улучшить эти драйвера.

Revision history for this message
b52 (b52-trio21) wrote :

to Roman Prokopovich wrote on 2007-10-19: (permalink)
it's work :)

Revision history for this message
Stanislav German-Evtushenko (giner) wrote :

LANG= restricted-manager - WORK
LANG=en_US.UTF-8 restricted-manager - WORK

LANG=ru_RU.UTF-8 restricted-manager - Doesn't work
Traceback (most recent call last):
  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
emre. (emre.) wrote :

Restricted Manager in Turkish doesn't work either because of "%(os)s" changing. Also Totem and some other programs either. Can't we make a function to check these wrong translations? I wrote this to Brainstorm too: http://brainstorm.ubuntu.com/idea/5134/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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