Bug 32030 - variable name problem in todo.py
variable name problem in todo.py
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: anaconda (Show other bugs)
7.1
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Michael Fulbright
Brock Organ
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-03-16 15:48 EST by Eric Sandeen
Modified: 2007-04-18 12:32 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-03-16 15:48:03 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Eric Sandeen 2001-03-16 15:48:00 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.2-XFS i686)


In an upgrade install, if mount fails, the attempt to bring up a warning
dialog dies because of an invalid variable name.

Reproducible: Always
Steps to Reproduce:
1. Make an XFS (or non-ext2) root Red Hat install.  :-)
2. Try to upgrade it with wolverine
	

Actual Results:  Traceback (innermost last):
  File "/usr/bin/anaconda", line 509, in ?
    intf.run(todo, test = test)
  File "/var/tmp/anaconda-7.1//usr/lib/anaconda/text.py", line 1218, in run
    rc = apply (step[1](), (dir,) + step[2])
  File "/var/tmp/anaconda-7.1//usr/lib/anaconda/text.py", line 417, in
__call__
    todo.upgradeFindPackages (root)
  File "/var/tmp/anaconda-7.1//usr/lib/anaconda/todo.py", line 1099, in
upgradeFindPackages
    intf.messageWindow(("Dirty Filesystems"),
NameError: intf



Expected Results:  install should have proceeded.

--ALSO--

Is "Dirty Filesystems" really the right name for this message window?

Patch:

--- todo.py	Fri Mar 16 14:46:23 2001
+++ todo.py.orig	Fri Mar 16 14:46:05 2001
@@ -1105,7 +1105,7 @@
                                            self.fstab, self.instPath,
 					   allowDirty = 0)
 	    except SystemError, msg:
-		self.intf.messageWindow(("Dirty Filesystems"),
+		intf.messageWindow(("Mount Failure"),
 		    _("One or more of the filesystems listed in the "
 		      "/etc/fstab on your Linux system cannot be mounted. "
 		      "Please fix this problem and try to upgrade again."))
Comment 1 Matt Wilson 2001-03-16 16:39:18 EST
was already fixed in CVS.

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