Bug 442750 - NameError: global name 'dispatch' is not defined
Summary: NameError: global name 'dispatch' is not defined
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: anaconda
Version: 4.7
Hardware: All
OS: Linux
Target Milestone: beta
: ---
Assignee: Martin Sivák
QA Contact: Alexander Todorov
Keywords: Regression, TestBlocker
: 445502 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2008-04-16 16:21 UTC by James Laska
Modified: 2013-09-02 06:24 UTC (History)
4 users (show)

Clone Of:
Last Closed: 2008-07-24 19:06:16 UTC

Attachments (Terms of Use)
ks.cfg (894 bytes, text/plain)
2008-04-16 16:21 UTC, James Laska
no flags Details
anaconda.log (6.91 KB, text/plain)
2008-04-16 20:49 UTC, James Laska
no flags Details

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2008:0653 normal SHIPPED_LIVE anaconda bug fix and enhancement update 2008-07-23 15:01:42 UTC

Description James Laska 2008-04-16 16:21:29 UTC
Description of problem:

Probing for video card:   NVIDIA Quadro NVS 285
Probing for monitor type:   AL2223W
Probing for mouse type:   Generic - 3 Button Mouse (PS/2)
Traceback (most recent call last):
  File "/usr/bin/anaconda", line 1088, in ?
    id = instClass.installDataClass(extraModules, floppyDevice, configFileData,
  File "/usr/lib/anaconda/instdata.py", line 287, in __init__
  File "/usr/lib/anaconda/instdata.py", line 73, in reset
    self.diskset = partedUtils.DiskSet()
  File "/usr/lib/anaconda/partedUtils.py", line 552, in __init__
    self.dispatch = dispatch #dispatch is in __builtins__
NameError: global name 'dispatch' is not defined

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


How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
 * I suspect there is a missing "import dispatch" stmt in this commit

Comment 1 James Laska 2008-04-16 16:21:29 UTC
Created attachment 302631 [details]

Comment 3 James Laska 2008-04-16 20:49:07 UTC
Created attachment 302672 [details]

Comment 4 Martin Sivák 2008-04-16 21:38:35 UTC
It is very likely related to one of my previous patches, so I will take care of
it. It seems that my __builtins__ method didn't prevent this as I hoped.

Comment 7 David Lehman 2008-04-18 15:46:53 UTC
Fixed in anaconda-

Comment 10 Joel Andres Granados 2008-05-07 08:55:57 UTC
*** Bug 445502 has been marked as a duplicate of this bug. ***

Comment 12 errata-xmlrpc 2008-07-24 19:06:16 UTC
An advisory 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 therefore 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.


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