Bug 128967 - Exception raised with default config file
Summary: Exception raised with default config file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: redhat-config-samba
Version: 3.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nils Philippsen
QA Contact:
URL:
Whiteboard:
: 129208 129934 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-08-02 12:04 UTC by Bastien Nocera
Modified: 2007-11-30 22:07 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-09-02 05:31:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
rc-samba-cups-option.patch (404 bytes, text/plain)
2004-08-02 12:04 UTC, Bastien Nocera
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2004:422 0 normal SHIPPED_LIVE Updated redhat-config-samba package 2004-09-02 04:00:00 UTC

Description Bastien Nocera 2004-08-02 12:04:20 UTC
# 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')

The following patch corrects the bug. Full-fledged support for this
option should be added as well.

Comment 1 Bastien Nocera 2004-08-02 12:04:51 UTC
Created attachment 102349 [details]
rc-samba-cups-option.patch

Comment 2 Nils Philippsen 2004-08-06 07:45:04 UTC
I've built an erratum for this and put it up at
http://people.redhat.com/nphilipp/BETA/redhat-config-samba/ until it
is available from RHN.

Bastien, please make a new RFE for fully-fledged support for this option.

Comment 3 Nils Philippsen 2004-08-06 07:47:01 UTC
*** Bug 129208 has been marked as a duplicate of this bug. ***

Comment 4 Vince Worthington 2004-08-10 13:34:49 UTC
The "cups options = raw" configuration statement in
/etc/samba/smb.conf can also be commented out, as a short-term workaround.


Comment 5 Nils Philippsen 2004-08-14 18:14:25 UTC
*** Bug 129934 has been marked as a duplicate of this bug. ***

Comment 6 John Flanagan 2004-09-02 05:31:36 UTC
An errata has been issued which should help the problem 
described in this bug report. This report is therefore being 
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, 
please follow the link below. You may reopen this bug report 
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2004-422.html



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