Ticket #217 (closed defect: invalid)

Opened 4 years ago

Last modified 4 years ago

Umit Crash - 'name 'xx' is not defined'

Reported by: me@… Owned by: boltrix
Priority: high Milestone: Umit 1.0beta1
Component: CrashReport Version: current svn
Keywords: user crash Cc:

Description (last modified by gpolo) (diff)

Crash Report
==========

sys.platform win32
os.name nt
Gtk version 2.14.7
Umit version 1.0beta1

Description


Versions:
---
GTK: 2.14.7
PyGTK: 2.14.2
HIGWidgets: 1.0beta1
Python: 2.6.1 (r261:67517, Dec  4 2008, 16:51:00) [MSC v.1500 32 bit (Intel)]
Nmap: Nmap version 4.76 ( http://nmap.org )
Operating System: post2008Server 6.1.7000  Multiprocessor Free
Umit: 1.0beta1
UmitCore: 1.0beta1
UmitGUI: 1.0beta1
---
<type 'exceptions.NameError'>
Python 2.6.1: c:\Python26\python.exe
Sat Feb 21 19:55:02 2009

A problem occurred in a Python script.  Here is the sequence of
function calls leading up to the error, in the order they occurred.

 C:\Users\gpolo\python\umit\umitGUI\App.py in __create_show_main_window(self=<umitGUI.App.App instance at 0x0157D0F8>)
   58             self.main_window = InventoryViewer()
   59         else:
   60             from umitGUI.MainWindow import MainWindow
   61             self.main_window = MainWindow()
   62 
umitGUI undefined
MainWindow undefined

 C:\Users\gpolo\python\umit\umitGUI\MainWindow.py in <module>()
   87 
   88 else:
   89     class UmitMainWindow(HIGMainWindow):
   90         xx
   91         def __init__(self):
UmitMainWindow = None
HIGMainWindow = None

 C:\Users\gpolo\python\umit\umitGUI\MainWindow.py in UmitMainWindow()
   88 else:
   89     class UmitMainWindow(HIGMainWindow):
   90         xx
   91         def __init__(self):
   92             HIGMainWindow.__init__(self)
xx undefined
<type 'exceptions.NameError'>: name 'xx' is not defined
    __class__ = <type 'exceptions.NameError'>
    __delattr__ = <method-wrapper '__delattr__' of exceptions.NameError object at 0x0288A210>
    __dict__ = {}
    __doc__ = 'Name not found globally.'
    __format__ = <built-in method __format__ of exceptions.NameError object at 0x0288A210>
    __getattribute__ = <method-wrapper '__getattribute__' of exceptions.NameError object at 0x0288A210>
    __getitem__ = <method-wrapper '__getitem__' of exceptions.NameError object at 0x0288A210>
    __getslice__ = <method-wrapper '__getslice__' of exceptions.NameError object at 0x0288A210>
    __hash__ = <method-wrapper '__hash__' of exceptions.NameError object at 0x0288A210>
    __init__ = <method-wrapper '__init__' of exceptions.NameError object at 0x0288A210>
    __new__ = <built-in method __new__ of type object at 0x1E1D2260>
    __reduce__ = <built-in method __reduce__ of exceptions.NameError object at 0x0288A210>
    __reduce_ex__ = <built-in method __reduce_ex__ of exceptions.NameError object at 0x0288A210>
    __repr__ = <method-wrapper '__repr__' of exceptions.NameError object at 0x0288A210>
    __setattr__ = <method-wrapper '__setattr__' of exceptions.NameError object at 0x0288A210>
    __setstate__ = <built-in method __setstate__ of exceptions.NameError object at 0x0288A210>
    __sizeof__ = <built-in method __sizeof__ of exceptions.NameError object at 0x0288A210>
    __str__ = <method-wrapper '__str__' of exceptions.NameError object at 0x0288A210>
    __subclasshook__ = <built-in method __subclasshook__ of type object at 0x1E1D2260>
    __unicode__ = <built-in method __unicode__ of exceptions.NameError object at 0x0288A210>
    args = ("name 'xx' is not defined",)
    message = "name 'xx' is not defined"

The above is a description of an error in a Python program.  Here is
the original traceback:

Traceback (most recent call last):
  File "C:\Users\gpolo\python\umit\umitGUI\App.py", line 60, in __create_show_main_window
    from umitGUI.MainWindow import MainWindow
  File "C:\Users\gpolo\python\umit\umitGUI\MainWindow.py", line 89, in <module>
    class UmitMainWindow(HIGMainWindow):
  File "C:\Users\gpolo\python\umit\umitGUI\MainWindow.py", line 90, in UmitMainWindow
    xx
NameError: name 'xx' is not defined


Change History

Changed 4 years ago by gpolo

  • status changed from new to closed
  • resolution set to invalid
  • description modified (diff)
Note: See TracTickets for help on using tickets.