Ticket #287 (closed defect: out of date)
Umit Crash - 'File '/home/john/.umit/umitng.db' does not exist or could not be found!'
| Reported by: | asd@… | Owned by: | boltrix |
|---|---|---|---|
| Priority: | medium | Milestone: | Umit 1.0beta1 |
| Component: | CrashReport | Version: | current svn |
| Keywords: | user crash | Cc: |
Description (last modified by gpolo) (diff)
Crash Report
==========
sys.platform linux2
os.name posix
Gtk version 2.16.0
Umit version 1.0beta1
Description
Versions:
---
GTK: 2.16.0
PyGTK: 2.16.1
HIGWidgets: 1.0beta1
Python: 2.6.1+ (r261:67515, Apr 6 2009, 00:11:06)
[GCC 4.3.3]
Nmap: Nmap version 4.76 ( http://nmap.org )
Operating System: Linux ubuntu 2.6.28-11-generic #40-Ubuntu SMP Fri Apr 3 17:39:51 UTC 2009 i686
Umit: 1.0beta1
UmitCore: 1.0beta1
UmitGUI: 1.0beta1
---
<type 'exceptions.Exception'>
Python 2.6.1+: /usr/bin/python
Wed Apr 8 21:57:22 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.
/usr/local/lib/python2.6/dist-packages/umitGUI/App.py in __create_show_main_window(self=<umitGUI.App.App instance at 0x867542c>)
58 self.main_window = InventoryViewer()
59 else:
60 from umitGUI.MainWindow import MainWindow
61 self.main_window = MainWindow()
62
umitGUI undefined
MainWindow undefined
/usr/local/lib/python2.6/dist-packages/umitGUI/MainWindow.py in <module>()
62 from umitCore.UmitDB import Scans, UmitDB
63 from umitCore.Utils import amiroot, is_maemo
64 from umitCore.DataDecay import remove_old_data
65 import umitCore.Scheduler as Scheduler
66
umitCore undefined
remove_old_data undefined
/usr/local/lib/python2.6/dist-packages/umitCore/DataDecay.py in <module>()
27 from umitDB.Remove import ScanRemover
28
29 umitdb = Path.umitdb_ng
30 umit_conf = Path.get_umit_conf()
31
umitdb undefined
Path = None
Path.umitdb_ng undefined
/usr/local/lib/python2.6/dist-packages/umitCore/Paths.py in __getattr__(self=<umitCore.Paths.Paths object at 0xb7c629ec>, name='umitdb_ng')
247 elif name in self.config_files_list:
248 return return_if_exists(os.path.join(
249 self.__dict__['config_dir'], base_paths[name]))
250
251 elif name in self.empty_config_files_list:
self = <umitCore.Paths.Paths object at 0xb7c629ec>
self.__dict__ = {'_Paths__runpath': '/usr/local/bin', 'config_dir': '/home/john/.umit', 'config_file': '/home/john/.umit/umit.conf', 'config_file_set': True, 'docs_dir': '/usr/local/share/doc/umit', 'icons_dir': '/usr/local/share/icons/umit', 'locale_dir': '/usr/local/share/locale', 'misc_dir': '/usr/local/share/umit/misc', 'pixmaps_dir': '/usr/local/share/pixmaps/umit'}
global base_paths = {'basic_search_sequence': ['/home/john/.umit', '/opt/umit', '/home/john', '/home/john/Desktop/umit-1.0beta1'], 'config_dir': '.umit', 'config_file': 'umit.conf', 'config_search_sequence': ['/home/john/.umit', '/home/john/Desktop/umit-1.0beta1', '/etc'], 'i18n_dir': '/usr/local/share/locale', 'i18n_message_file': 'umit.mo', 'i18n_search_sequence': ['/usr/local/share/locale', '/usr/share/locale', '/home/john', '/home/john/Desktop/umit-1.0beta1'], 'options': 'options.xml', 'os_classification': 'os_classification.dmp', 'os_db': 'nmap-os-db', ...}
name = 'umitdb_ng'
/usr/local/lib/python2.6/dist-packages/umitCore/Paths.py in return_if_exists(path='/home/john/.umit/umitng.db', create=False)
347 f.close()
348 return path
349 raise Exception("File '%s' does not exist or could not be found!" % path)
350
351 ############
builtinException = <type 'exceptions.Exception'>
path = '/home/john/.umit/umitng.db'
<type 'exceptions.Exception'>: File '/home/john/.umit/umitng.db' does not exist or could not be found!
__class__ = <type 'exceptions.Exception'>
__delattr__ = <method-wrapper '__delattr__' of exceptions.Exception object at 0x8d89d4c>
__dict__ = {}
__doc__ = 'Common base class for all non-exit exceptions.'
__format__ = <built-in method __format__ of exceptions.Exception object at 0x8d89d4c>
__getattribute__ = <method-wrapper '__getattribute__' of exceptions.Exception object at 0x8d89d4c>
__getitem__ = <method-wrapper '__getitem__' of exceptions.Exception object at 0x8d89d4c>
__getslice__ = <method-wrapper '__getslice__' of exceptions.Exception object at 0x8d89d4c>
__hash__ = <method-wrapper '__hash__' of exceptions.Exception object at 0x8d89d4c>
__init__ = <method-wrapper '__init__' of exceptions.Exception object at 0x8d89d4c>
__new__ = <built-in method __new__ of type object at 0x8226dc0>
__reduce__ = <built-in method __reduce__ of exceptions.Exception object at 0x8d89d4c>
__reduce_ex__ = <built-in method __reduce_ex__ of exceptions.Exception object at 0x8d89d4c>
__repr__ = <method-wrapper '__repr__' of exceptions.Exception object at 0x8d89d4c>
__setattr__ = <method-wrapper '__setattr__' of exceptions.Exception object at 0x8d89d4c>
__setstate__ = <built-in method __setstate__ of exceptions.Exception object at 0x8d89d4c>
__sizeof__ = <built-in method __sizeof__ of exceptions.Exception object at 0x8d89d4c>
__str__ = <method-wrapper '__str__' of exceptions.Exception object at 0x8d89d4c>
__subclasshook__ = <built-in method __subclasshook__ of type object at 0x8226dc0>
__unicode__ = <built-in method __unicode__ of exceptions.Exception object at 0x8d89d4c>
args = ("File '/home/john/.umit/umitng.db' does not exist or could not be found!",)
message = "File '/home/john/.umit/umitng.db' does not exist or could not be found!"
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/umitGUI/App.py", line 60, in __create_show_main_window
from umitGUI.MainWindow import MainWindow
File "/usr/local/lib/python2.6/dist-packages/umitGUI/MainWindow.py", line 64, in <module>
from umitCore.DataDecay import remove_old_data
File "/usr/local/lib/python2.6/dist-packages/umitCore/DataDecay.py", line 29, in <module>
umitdb = Path.umitdb_ng
File "/usr/local/lib/python2.6/dist-packages/umitCore/Paths.py", line 249, in __getattr__
self.__dict__['config_dir'], base_paths[name]))
File "/usr/local/lib/python2.6/dist-packages/umitCore/Paths.py", line 349, in return_if_exists
raise Exception("File '%s' does not exist or could not be found!" % path)
Exception: File '/home/john/.umit/umitng.db' does not exist or could not be found!
Change History
Note: See
TracTickets for help on using
tickets.
