Ticket #295 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Umit Crash - ''throbberanimation.ump''

Reported by: luis Owned by: boltrix
Priority: medium Milestone: Umit 1.0RC
Component: CrashReport Version: current svn
Keywords: user crash Cc:

Description (last modified by nopper) (diff)

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

sys.platform linux2
os.name posix
Gtk version 2.14.4
Umit version 1.0beta3

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.62 ( http://nmap.org )
Operating System: Linux bastiao-desktop 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686
Umit: 1.0beta3
UmitCore: 1.0beta3
UmitGUI: 1.0beta3
---
<type 'exceptions.KeyError'>
Python 2.5.2: /usr/bin/python
Sat Apr 11 16:17:41 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.

 /home/bastiao/Projects/umit/umit-svn/trunk/umit/gui/App.py in __create_show_main_window(self=<umit.gui.App.App instance at 0x9788aec>)
   60             else:
   61                 from umit.gui.MainWindow import MainWindow
   62                 self.main_window = MainWindow()
   63         except Exception:
   64             # If any exception happens at this point we need to stop gtk
self = <umit.gui.App.App instance at 0x9788aec>
self.main_window undefined
MainWindow = <class 'umit.gui.MainWindow.MainWindow'>

 /home/bastiao/Projects/umit/umit-svn/trunk/umit/gui/MainWindow.py in __init__(self=<MainWindow object at 0xa268324 (GtkWindow at 0x9a330b8)>)
  124         self._results_filechooser_dialog = None
  125 
  126         self._prepare_first_scan()
  127 
  128         # Loading files passed as argument
self = <MainWindow object at 0xa268324 (GtkWindow at 0x9a330b8)>
self._prepare_first_scan = <bound method MainWindow._prepare_first_scan of ...ow object at 0xa268324 (GtkWindow at 0x9a330b8)>>

 /home/bastiao/Projects/umit/umit-svn/trunk/umit/gui/MainWindow.py in _prepare_first_scan(self=<MainWindow object at 0xa268324 (GtkWindow at 0x9a330b8)>)
  826         # Set the mainwindow and load the selected plugins
  827         PluginEngine().core.mainwindow = self
  828         PluginEngine().load_selected_plugins()
  829 
  830         page = self._new_scan_cb()
global PluginEngine = <class 'umit.plugin.Engine.PluginEngine'>
).load_selected_plugins = <unbound method PluginEngine.load_selected_plugins>

 /home/bastiao/Projects/umit/umit-svn/trunk/umit/plugin/Engine.py in load_selected_plugins(self=<umit.plugin.Engine.PluginEngine object at 0x99a5b8c>)
  203                 continue
  204 
  205             loaded, errmsg = self.load_plugin_from_path(plugin)
  206 
  207             if not loaded:
loaded = True
errmsg = None
self = <umit.plugin.Engine.PluginEngine object at 0x99a5b8c>
self.load_plugin_from_path = <bound method PluginEngine.load_plugin_from_path....plugin.Engine.PluginEngine object at 0x99a5b8c>>
plugin = '/home/bastiao/.umit/plugins/throbberanimation.ump'

 /home/bastiao/Projects/umit/umit-svn/trunk/umit/plugin/Engine.py in load_plugin_from_path(self=<umit.plugin.Engine.PluginEngine object at 0x99a5b8c>, plugin='/home/bastiao/.umit/plugins/throbberanimation.ump', force=False)
  246 
  247             d = self.paths[path][1].get_plugins()
  248             self.tree.load_plugin(d[file], force)
  249 
  250             # Setting enabled field for PluginReader to
self = <umit.plugin.Engine.PluginEngine object at 0x99a5b8c>
self.tree = <umit.plugin.Tree.PluginsTree object at 0x99a5bcc>
self.tree.load_plugin = <bound method PluginsTree.load_plugin of <umit.plugin.Tree.PluginsTree object at 0x99a5bcc>>
d = {}
file = 'throbberanimation.ump'
force = False
<type 'exceptions.KeyError'>: 'throbberanimation.ump'
    __class__ = <type 'exceptions.KeyError'>
    __delattr__ = <method-wrapper '__delattr__' of exceptions.KeyError object at 0xa6120ac>
    __dict__ = {}
    __doc__ = 'Mapping key not found.'
    __getattribute__ = <method-wrapper '__getattribute__' of exceptions.KeyError object at 0xa6120ac>
    __getitem__ = <method-wrapper '__getitem__' of exceptions.KeyError object at 0xa6120ac>
    __getslice__ = <method-wrapper '__getslice__' of exceptions.KeyError object at 0xa6120ac>
    __hash__ = <method-wrapper '__hash__' of exceptions.KeyError object at 0xa6120ac>
    __init__ = <method-wrapper '__init__' of exceptions.KeyError object at 0xa6120ac>
    __new__ = <built-in method __new__ of type object at 0x8146f20>
    __reduce__ = <built-in method __reduce__ of exceptions.KeyError object at 0xa6120ac>
    __reduce_ex__ = <built-in method __reduce_ex__ of exceptions.KeyError object at 0xa6120ac>
    __repr__ = <method-wrapper '__repr__' of exceptions.KeyError object at 0xa6120ac>
    __setattr__ = <method-wrapper '__setattr__' of exceptions.KeyError object at 0xa6120ac>
    __setstate__ = <built-in method __setstate__ of exceptions.KeyError object at 0xa6120ac>
    __str__ = <method-wrapper '__str__' of exceptions.KeyError object at 0xa6120ac>
    args = ('throbberanimation.ump',)
    message = 'throbberanimation.ump'

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

Traceback (most recent call last):
  File "/home/bastiao/Projects/umit/umit-svn/trunk/umit/gui/App.py", line 62, in __create_show_main_window
    self.main_window = MainWindow()
  File "/home/bastiao/Projects/umit/umit-svn/trunk/umit/gui/MainWindow.py", line 126, in __init__
    self._prepare_first_scan()
  File "/home/bastiao/Projects/umit/umit-svn/trunk/umit/gui/MainWindow.py", line 828, in _prepare_first_scan
    PluginEngine().load_selected_plugins()
  File "/home/bastiao/Projects/umit/umit-svn/trunk/umit/plugin/Engine.py", line 205, in load_selected_plugins
    loaded, errmsg = self.load_plugin_from_path(plugin)
  File "/home/bastiao/Projects/umit/umit-svn/trunk/umit/plugin/Engine.py", line 248, in load_plugin_from_path
    self.tree.load_plugin(d[file], force)
KeyError: 'throbberanimation.ump'


Change History

Changed 4 years ago by nopper

  • status changed from new to closed
  • resolution set to fixed
  • description modified (diff)

Fixed in r4494.

Note: See TracTickets for help on using tickets.