Ticket #247 (closed defect: none)
Umit Crash - 'File '/root/.umit/umitng.db' does not exist or could not be found!'
| Reported by: | jiri.bartos@… | Owned by: | gpolo |
|---|---|---|---|
| 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.14.4
Umit version 1.0beta1
Description
Versions:
---
GTK: 2.14.4
PyGTK: 2.15.3
HIGWidgets: 1.0beta1
Python: 2.5.2 (r252:60911, Oct 5 2008, 19:24:49)
[GCC 4.3.2]
Nmap: Nmap version 4.68 ( http://nmap.org )
Operating System: Linux bt 2.6.28.1 #2 SMP Wed Feb 4 21:50:02 EST 2009 i686
Umit: 1.0beta1
UmitCore: 1.0beta1
UmitGUI: 1.0beta1
---
<type 'exceptions.Exception'>
Python 2.5.2: /usr/bin/python
Mon Mar 23 14:55:21 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/lib/python2.5/site-packages/umitGUI/App.py in __create_show_main_window(self=<umitGUI.App.App instance at 0x828c3cc>)
58 self.main_window = InventoryViewer()
59 else:
60 from umitGUI.MainWindow import MainWindow
61 self.main_window = MainWindow()
62
umitGUI undefined
MainWindow undefined
/usr/lib/python2.5/site-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/lib/python2.5/site-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/lib/python2.5/site-packages/umitCore/Paths.py in __getattr__(self=<umitCore.Paths.Paths object at 0x82869cc>, 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 0x82869cc>
self.__dict__ = {'_Paths__runpath': '/usr/bin', 'config_dir': '/root/.umit', 'config_file': '/root/.umit/umit.conf', 'config_file_set': True, 'docs_dir': '/usr/share/doc/umit', 'icons_dir': '/usr/share/icons/umit', 'locale_dir': '/usr/share/locale', 'misc_dir': '/usr/share/umit/misc', 'pixmaps_dir': '/usr/share/pixmaps/umit'}
global base_paths = {'basic_search_sequence': ['/root/.umit', '/opt/umit', '/root', '/root/Desktop/umit-1.0beta1'], 'config_dir': '.umit', 'config_file': 'umit.conf', 'config_search_sequence': ['/root/.umit', '/root/Desktop/umit-1.0beta1', '/etc'], 'i18n_dir': '/usr/share/locale', 'i18n_message_file': 'umit.mo', 'i18n_search_sequence': ['/usr/share/locale', '/usr/share/locale', '/root', '/root/Desktop/umit-1.0beta1'], 'options': 'options.xml', 'os_classification': 'os_classification.dmp', 'os_db': 'nmap-os-db', ...}
name = 'umitdb_ng'
/usr/lib/python2.5/site-packages/umitCore/Paths.py in return_if_exists(path='/root/.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 = '/root/.umit/umitng.db'
<type 'exceptions.Exception'>: File '/root/.umit/umitng.db' does not exist or could not be found!
__class__ = <type 'exceptions.Exception'>
__delattr__ = <method-wrapper '__delattr__' of exceptions.Exception object at 0x8d4520c>
__dict__ = {}
__doc__ = 'Common base class for all non-exit exceptions.'
__getattribute__ = <method-wrapper '__getattribute__' of exceptions.Exception object at 0x8d4520c>
__getitem__ = <method-wrapper '__getitem__' of exceptions.Exception object at 0x8d4520c>
__getslice__ = <method-wrapper '__getslice__' of exceptions.Exception object at 0x8d4520c>
__hash__ = <method-wrapper '__hash__' of exceptions.Exception object at 0x8d4520c>
__init__ = <method-wrapper '__init__' of exceptions.Exception object at 0x8d4520c>
__new__ = <built-in method __new__ of type object at 0x8145ea0>
__reduce__ = <built-in method __reduce__ of exceptions.Exception object at 0x8d4520c>
__reduce_ex__ = <built-in method __reduce_ex__ of exceptions.Exception object at 0x8d4520c>
__repr__ = <method-wrapper '__repr__' of exceptions.Exception object at 0x8d4520c>
__setattr__ = <method-wrapper '__setattr__' of exceptions.Exception object at 0x8d4520c>
__setstate__ = <built-in method __setstate__ of exceptions.Exception object at 0x8d4520c>
__str__ = <method-wrapper '__str__' of exceptions.Exception object at 0x8d4520c>
args = ("File '/root/.umit/umitng.db' does not exist or could not be found!",)
message = "File '/root/.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/lib/python2.5/site-packages/umitGUI/App.py", line 60, in __create_show_main_window
from umitGUI.MainWindow import MainWindow
File "/usr/lib/python2.5/site-packages/umitGUI/MainWindow.py", line 64, in <module>
from umitCore.DataDecay import remove_old_data
File "/usr/lib/python2.5/site-packages/umitCore/DataDecay.py", line 29, in <module>
umitdb = Path.umitdb_ng
File "/usr/lib/python2.5/site-packages/umitCore/Paths.py", line 249, in __getattr__
self.__dict__['config_dir'], base_paths[name]))
File "/usr/lib/python2.5/site-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 '/root/.umit/umitng.db' does not exist or could not be found!
Change History
Note: See
TracTickets for help on using
tickets.
