Bug 128245

Summary: system-config-samba fails with AttributeError
Product: [Fedora] Fedora Reporter: Clyde E. Kunkel <clydekunkel7734>
Component: system-config-sambaAssignee: Brent Fox <bfox>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: feng.haibo, poelstra
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-07-20 19:10:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
requested smb.conf file none

Description Clyde E. Kunkel 2004-07-20 19:00:05 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040625

Description of problem:
Clicking Samba in Server Settings menu does nothing.  When as root
invoking system-config-samba, the following error is reported:

    raise AttributeError, value
AttributeError: ('cups options', 'raw')

and returns to #


Version-Release number of selected component (if applicable):
1.2.12-1

How reproducible:
Always

Steps to Reproduce:
1.in a terminal window as root type "system-config-samba" and press enter
2.
3.
    

Actual Results:  Received error msg with traceback:
[root@FedoraCore3T1 root]# system-config-samba
Traceback (most recent call last):
  File "/usr/share/system-config-samba/system-config-samba.py", line
38, in ?
    mainWindow.MainWindow(debug_flag)
  File "/usr/share/system-config-samba/mainWindow.py", line 75, in
__init__
    self.samba_data = sambaParser.SambaParser(self)
  File "/usr/share/system-config-samba/sambaParser.py", line 40, in
__init__
    self.parseFile()
  File "/usr/share/system-config-samba/sambaParser.py", line 71, in
parseFile
    token = self.createToken(line)
  File "/usr/share/system-config-samba/sambaParser.py", line 143, in
createToken
    token =
sambaToken.SambaToken(sambaToken.SambaToken.SAMBA_TOKEN_KEYVAL, (name,
value), self.parent)
  File "/usr/share/system-config-samba/sambaToken.py", line 36, in
__init__
    raise AttributeError, value
AttributeError: ('cups options', 'raw')


Expected Results:  Samba setup gui should have been presented

Additional info:

ASUS P4C800-E Deluxe

Comment 1 Brent Fox 2004-07-20 19:02:36 UTC
Please attach your /etc/samba/smb.conf file.

Comment 2 Clyde E. Kunkel 2004-07-20 19:03:47 UTC
Created attachment 102076 [details]
requested smb.conf file

file requested by Brent Fox

Comment 3 Brent Fox 2004-07-20 19:10:37 UTC
Should be fixed in system-config-samba-1.2.13-1 in Rawhide once it
gets refreshed.  Thanks for your report.

Comment 4 Nils Philippsen 2004-09-25 21:03:54 UTC
*** Bug 133659 has been marked as a duplicate of this bug. ***