Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 74187

Summary: traceback when invoked
Product: [Retired] Red Hat Linux Reporter: Gene Czarcinski <gczarcinski>
Component: redhat-config-nfsAssignee: Brent Fox <bfox>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-10-11 18:23:35 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
my /etc/exports file none

Description Gene Czarcinski 2002-09-17 16:01:21 UTC
Description of Problem:
When I try to run redhat-config-nfs I get a traceback.

Traceback (most recent call last):
  File "/usr/share/redhat-config-nfs/redhat-config-nfs.py", line 29, in ?
    mainWindow.mainWindow()
  File "/usr/share/redhat-config-nfs/mainWindow.py", line 141, in __init__
    self.exports = nfsBackend.NfsBackend()
  File "/usr/share/redhat-config-nfs/nfsBackend.py", line 31, in __init__
    self.parseFile()
  File "/usr/share/redhat-config-nfs/nfsBackend.py", line 89, in parseFile
    hostname, options = string.split(tokens[1], "(")
IndexError: list index out of range

Version-Release number of selected component (if applicable):
Release 8.0, redhat-config-nfs-1.0.1-3

How Reproducible:
every time

Comment 1 Gene Czarcinski 2002-09-17 16:18:39 UTC
OK, some additional information --- it crashes with my original /etc/exports
file.  If I let it create one then it works.  I am attaching my /exports file.

BTW, I do not see how to add the options I had specified with the
redhat-config-nfs program.

Comment 2 Gene Czarcinski 2002-09-17 16:19:24 UTC
Created attachment 76405 [details]
my /etc/exports file

Comment 3 Gene Czarcinski 2002-09-17 16:50:42 UTC
Now that I RTFM, I do not see what was "wrong" with my original "hand crafter"
etc/exports file.  My BTW comment about should be ignored.

Comment 4 Brent Fox 2002-09-30 20:15:36 UTC
Changing component from 4Suite to redhat-config-nfs

Comment 5 Brent Fox 2002-10-07 15:57:29 UTC
*** Bug 75173 has been marked as a duplicate of this bug. ***

Comment 6 Need Real Name 2002-10-11 18:23:29 UTC
Hi,

I've found some other problems with this NFS Server Configuration GUI.

The specific problem listed above is the result of the GUI parsing a blank/empty
line.  

I'll file another bug for the other problem I found (parsing multiple machines
per export).

Comment 7 Brent Fox 2002-10-14 20:53:02 UTC

*** This bug has been marked as a duplicate of 74311 ***