Ticket #57 (closed defect: duplicate)

Opened 5 years ago

Last modified 5 years ago

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

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

Description (last modified by luis) (diff)

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

sys.platform linux2
os.name posix
Gtk version 2.10.13
Umit version 0.9.5

Description


Versions:
---
GTK: 2.10.13
PyGTK: 2.12.3
HIGWidgets: 0.9.5
Python: 2.4.4 (#1, Oct 23 2006, 13:58:00) 
[GCC 4.1.1 20061011 (Red Hat 4.1.1-30)]
Nmap: Nmap version 4.11 ( http://www.insecure.org/nmap/ )
Operating System: Linux serpro-1422007.rce.serpro 2.6.20-1.2925.fc6 #1 SMP Sat Mar 10 19:15:16 EST 2007 i686
Umit: 0.9.5
UmitCore: 0.9.5
UmitGUI: 0.9.5
---
NameError
Python 2.4.4: /usr/bin/python
Wed Aug 13 10:14:16 2008

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

 /usr/lib/python2.4/site-packages/umitGUI/App.py in __create_show_main_window(self=<umitGUI.App.App instance>)
   52 
   53     def __create_show_main_window(self):
   54         from umitGUI.MainWindow import MainWindow
   55         self.main_window = MainWindow()
   56 
umitGUI undefined
MainWindow undefined

 /usr/lib/python2.4/site-packages/umitGUI/MainWindow.py 
   45 from umitGUI.About import About
   46 from umitGUI.DiffCompare import DiffWindow
   47 from umitGUI.SearchWindow import SearchWindow
   48 from umitGUI.BugReport import BugReport
   49 
umitGUI undefined
SearchWindow undefined

 /usr/lib/python2.4/site-packages/umitGUI/SearchWindow.py 
   23 import gtk
   24 
   25 from umitGUI.SearchGUI import SearchGUI
   26 
   27 from umitCore.I18N import _
umitGUI undefined
SearchGUI undefined

 /usr/lib/python2.4/site-packages/umitGUI/SearchGUI.py 
   39 from umitCore.UmitLogging import log
   40 from umitCore.NmapParser import months
   41 from umitCore.SearchResult import SearchDir, SearchDB, SearchTabs
   42 from umitCore.UmitConf import SearchConfig
   43 
umitCore undefined
SearchDir undefined
SearchDB undefined
SearchTabs undefined

 /usr/lib/python2.4/site-packages/umitCore/SearchResult.py 
   29 from types import StringTypes
   30 
   31 from umitCore.UmitDB import UmitDB
   32 from umitCore.NmapParser import NmapParser
   33 from umitCore.UmitLogging import log
umitCore undefined
UmitDB undefined

 /usr/lib/python2.4/site-packages/umitCore/UmitDB.py 
   33         import sqlite3 as sqlite
   34     except ImportError:
   35         raise ImportError(_("No module named dbapi2.pysqlite2 or sqlite3"))
   36     from sqlite3 import OperationalError
   37 
builtinImportError = <class exceptions.ImportError>
_ undefined
NameError: name '_' is not defined
    __doc__ = 'Name not found globally.'
    __getitem__ = <bound method NameError.__getitem__ of <exceptions.NameError instance>>
    __init__ = <bound method NameError.__init__ of <exceptions.NameError instance>>
    __module__ = 'exceptions'
    __str__ = <bound method NameError.__str__ of <exceptions.NameError instance>>
    args = ("name '_' 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 "/usr/lib/python2.4/site-packages/umitGUI/App.py", line 54, in __create_show_main_window
    from umitGUI.MainWindow import MainWindow
  File "/usr/lib/python2.4/site-packages/umitGUI/MainWindow.py", line 47, in ?
    from umitGUI.SearchWindow import SearchWindow
  File "/usr/lib/python2.4/site-packages/umitGUI/SearchWindow.py", line 25, in ?
    from umitGUI.SearchGUI import SearchGUI
  File "/usr/lib/python2.4/site-packages/umitGUI/SearchGUI.py", line 41, in ?
    from umitCore.SearchResult import SearchDir, SearchDB, SearchTabs
  File "/usr/lib/python2.4/site-packages/umitCore/SearchResult.py", line 31, in ?
    from umitCore.UmitDB import UmitDB
  File "/usr/lib/python2.4/site-packages/umitCore/UmitDB.py", line 35, in ?
    raise ImportError(_("No module named dbapi2.pysqlite2 or sqlite3"))
NameError: name '_' is not defined


Change History

Changed 5 years ago by luis

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