Bug 129925 - system-config-nfs barfs on host entries without options
Summary: system-config-nfs barfs on host entries without options
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-nfs
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nils Philippsen
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-08-14 11:16 UTC by Nils Philippsen
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-08-14 18:15:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nils Philippsen 2004-08-14 11:16:57 UTC
Description of problem:

SSIA

Version-Release number of selected component (if applicable):

Presumably all versions of redhat-config-nfs, system-config-nfs up to
1.2.3-3.

How reproducible:

Easy

Steps to Reproduce:
1. Put a line like "/tmp localhost" into /etc/exports
2. Run {redhat,system}-config-nfs

Actual results:

Traceback (most recent call last):
  File "/usr/share/system-config-nfs/system-config-nfs.py", line 41, in ?
    mainWindow.mainWindow()
  File "/usr/share/system-config-nfs/mainWindow.py", line 141, in __init__
    self.exports = nfsBackend.NfsBackend()
  File "/usr/share/system-config-nfs/nfsBackend.py", line 34, in __init__
    self.parseFile()
  File "/usr/share/system-config-nfs/nfsBackend.py", line 127, in
parseFile
    self.parseOptions(nfsDataObject, data)
  File "/usr/share/system-config-nfs/nfsBackend.py", line 138, in
parseOptions
    hostname, options = string.split(data, "(")
ValueError: unpack list of wrong size


Expected results:

No python traceback

Additional info:


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