Red Hat Bugzilla – Bug 85877
r-c-samba won't start in French
Last modified: 2007-04-18 12:51:56 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830
Description of problem:
r-c-samba won't start in French locale, but it works ok in en_US and zh_CN
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.set language as fr-FR and run redhat-config-samba or just simply run it this
way "LANG=fr_FR.UTF-8 redhat-config-samba"
[root@fnord root]# redhat-config-samba
Traceback (most recent call last):
File "/usr/share/redhat-config-samba/redhat-config-samba.py", line 20, in ?
File "/usr/share/redhat-config-samba/mainWindow.py", line 114, in __init__
self.propertiesMenu = self.actionMenu.get_children()
IndexError: list index out of range
redhat-config-samba starts normally
Should be fixed in Rawhide. The French translations in the "File" menu were
only partially translated and that was causing GTK to create two "File" menus.
One was translated and one was not. This was causing the crash that you were
seeing in the Python code.
I have fixed this in CVS by removing the partial French translations. However,
someone needs to come back and fully translate fr.po to make sure that things
are translated. Most of the menus are not currently translated.
*** Bug 88251 has been marked as a duplicate of this bug. ***
*** Bug 90947 has been marked as a duplicate of this bug. ***