Bug 85877 - r-c-samba won't start in French
Summary: r-c-samba won't start in French
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-samba
Version: 9
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Brent Fox
QA Contact:
URL:
Whiteboard:
: 88251 90947 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-03-10 05:32 UTC by Yu Shao
Modified: 2007-04-18 16:51 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2003-05-09 03:49:45 UTC
Embargoed:


Attachments (Terms of Use)

Description Yu Shao 2003-03-10 05:32:22 UTC
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):


How reproducible:
Always

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"
2.
3.
    

Actual Results:  

[root@fnord root]# redhat-config-samba
Traceback (most recent call last):
  File "/usr/share/redhat-config-samba/redhat-config-samba.py", line 20, in ?
    mainWindow.MainWindow(debug_flag)
  File "/usr/share/redhat-config-samba/mainWindow.py", line 114, in __init__
    self.propertiesMenu = self.actionMenu.get_children()[1]
IndexError: list index out of range

Expected Results:  

redhat-config-samba starts normally

Additional info:

Comment 1 Brent Fox 2003-03-18 19:47:44 UTC
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.

Comment 2 Brent Fox 2003-05-19 21:33:20 UTC
*** Bug 88251 has been marked as a duplicate of this bug. ***

Comment 3 Brent Fox 2003-05-19 21:39:59 UTC
*** Bug 90947 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.