Bug 74187 - traceback when invoked
Summary: traceback when invoked
Keywords:
Status: CLOSED DUPLICATE of bug 74311
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-nfs
Version: 8.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Brent Fox
QA Contact:
URL:
Whiteboard:
: 75173 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-09-17 16:01 UTC by Gene Czarcinski
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-10-11 18:23:35 UTC
Embargoed:


Attachments (Terms of Use)
my /etc/exports file (586 bytes, text/plain)
2002-09-17 16:19 UTC, Gene Czarcinski
no flags Details

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 ***


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