LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-18-2004, 02:21 PM   #1
rje_NC
Member
 
Registered: Nov 2002
Location: Greensboro, NC
Posts: 182

Rep: Reputation: 30
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
 
Old 07-19-2004, 11:00 AM   #2
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
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.
 
Old 07-19-2004, 11:33 AM   #3
sandgroper
Member
 
Registered: Jul 2004
Location: Perth , Western Australia
Distribution: Fedora Core 5 , Mint 9
Posts: 118

Rep: Reputation: 15
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
 
Old 07-26-2004, 03:58 AM   #4
glider7rgs
LQ Newbie
 
Registered: Jul 2004
Location: Victoria BC, Canada
Distribution: Fedora Core release 1 (Yarrow)
Posts: 3

Rep: Reputation: 0
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
 
Old 07-27-2004, 08:34 PM   #5
Aleaxander
LQ Newbie
 
Registered: Jan 2004
Location: Chicago, IL
Distribution: fedora 1
Posts: 1

Rep: Reputation: 0
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
 
Old 08-03-2004, 11:33 PM   #6
Vijairaj
LQ Newbie
 
Registered: Aug 2004
Location: India
Distribution: Debian, Fedora
Posts: 25

Rep: Reputation: 15
Lightbulb

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
Vijairaj
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error when running ./config for ircd MarleyGPN Linux - Software 0 10-29-2003 10:22 AM
Problem in running redhat-config-packages satimis Red Hat 2 09-29-2003 10:52 AM
display error running redhat-config-* jayz Linux - General 3 07-15-2003 04:14 PM
redhat-config-samba attribute error rwhitworth Linux - Networking 1 06-19-2003 12:55 PM
Running samba config files from CD ghight Linux - Security 3 02-17-2003 11:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration