LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Error running redhat-config-samba (https://www.linuxquestions.org/questions/fedora-35/error-running-redhat-config-samba-206638/)

rje_NC 07-18-2004 02:21 PM

Error running redhat-config-samba
 
When I try to run the Fedora GUI config tool for Samba I get the following error (when run from the command line):

[root@cgserver bob]# 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 58, in __init__
self.samba_data = sambaParser.SambaParser(self)
File "/usr/share/redhat-config-samba/sambaParser.py", line 24, in __init__
self.parseFile()
File "/usr/share/redhat-config-samba/sambaParser.py", line 55, in parseFile
token = self.createToken(line)
File "/usr/share/redhat-config-samba/sambaParser.py", line 127, in createToken token = sambaToken.SambaToken(sambaToken.SambaToken.SAMBA_TOKEN_KEYVAL, (name, value), self.parent)
File "/usr/share/redhat-config-samba/sambaToken.py", line 20, in __init__
raise AttributeError, value
AttributeError: ('cups options', 'raw')

Nothing appears when I run this from the Redhat Server Settings menu.

Samba is working, and I have configured and successfully testing Cups connecting to my shared SMB printer on my wife's XP boxwith the GUI printer configuration tool.. I have removed and reinstalled redhat-config-samba with Yum, but the problem remains the same.

Any ideas on how to find and correct this would be appreciated. I am running FC-1 with all YUM updates applied on a Athlon P-700 with 512 MB RAM.

Bob

maxut 07-19-2004 11:00 AM

do u have to use redhat-config-samba ? there is good tool which is called SWAT to configure samba. u can try it. swat rpm packet is exist in one of your fedora core CDs. or u can get it via yum.

sandgroper 07-19-2004 11:33 AM

Try running
system-config-samba

In Fedora ( well at least FC 2 ) all of the redhat-config-* files have been renamed to system-config-* files

glider7rgs 07-26-2004 03:58 AM

I'm getting the exact same error. Does anyone know how to interpret the error so we can find a solution?

I too am running FC1 with all YUM updates. PIII-600 with 128 MB RAM.

Thanks :)

Aleaxander 07-27-2004 08:34 PM

Error running redhat-config-samba
 
I'm getting the same error. Anyone have any idea what the problem is?

[mythtv@mythbackend mythtv]$ 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 58, in __init__
self.samba_data = sambaParser.SambaParser(self)
File "/usr/share/redhat-config-samba/sambaParser.py", line 24, in __init__
self.parseFile()
File "/usr/share/redhat-config-samba/sambaParser.py", line 55, in parseFile
token = self.createToken(line)
File "/usr/share/redhat-config-samba/sambaParser.py", line 127, in createToken
token = sambaToken.SambaToken(sambaToken.SambaToken.SAMBA_TOKEN_KEYVAL, (name, value), self.parent)
File "/usr/share/redhat-config-samba/sambaToken.py", line 20, in __init__
raise AttributeError, value
AttributeError: ('cups options', 'raw')

Thanks!

-Alex

Vijairaj 08-03-2004 11:33 PM

This error is due to the samba configuration file /etc/samba/smb.conf. Comment of the entry cups options = raw and the tool works fine.
Regards
:Pengy: Vijairaj


All times are GMT -5. The time now is 06:24 AM.