Ticket #375 (closed defect: fixed)
Umit Crash - 'Error on line 4 char 58: 'smachine.usr'' is not a valid name: ''' '
| Reported by: | jdk2588@… | Owned by: | boltrix |
|---|---|---|---|
| Priority: | medium | Milestone: | Umit 1.0RC |
| 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.18.3
Umit version 1.0RC
Description
Versions:
---
GTK: 2.18.3
PyGTK: 2.20.0
HIGWidgets: 1.0RC
Python: 2.6.2 (r262:71600, Aug 21 2009, 12:23:57)
[GCC 4.4.1 20090818 (Red Hat 4.4.1-6)]
Nmap: Nmap version 5.00 ( http://nmap.org )
Operating System: Linux server.example.com 2.6.31.5-127.fc12.x86_64 #1 SMP Sat Nov 7 21:11:14 EST 2009 x86_64
Umit: 1.0RC
UmitCore: 1.0RC
UmitGUI: 1.0RC
---
<class 'glib.GError'>
Python 2.6.2: /usr/bin/python2.6
Sun Feb 7 16:56:54 2010
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.6/site-packages/umit/gui/App.py in __create_show_main_window(self=<umit.gui.App.App instance at 0x28d1e60>)
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 0x28d1e60>
self.main_window undefined
MainWindow = <class 'umit.gui.MainWindow.MainWindow'>
/usr/lib/python2.6/site-packages/umit/gui/MainWindow.py in __init__(self=<MainWindow object at 0x341d690 (GtkWindow at 0x2940740)>)
115
116 self.schedctrl = SchedControl(None)
117 self._create_ui_manager()
118 self._create_menubar()
119 self._create_toolbar()
self = <MainWindow object at 0x341d690 (GtkWindow at 0x2940740)>
self._create_ui_manager = <bound method MainWindow._create_ui_manager of <...ow object at 0x341d690 (GtkWindow at 0x2940740)>>
/usr/lib/python2.6/site-packages/umit/gui/MainWindow.py in _create_ui_manager(self=<MainWindow object at 0x341d690 (GtkWindow at 0x2940740)>)
480 self.ui_manager.insert_action_group(self._rscans_actiongroup, 1)
481 self._rscans_merge_id = 0
482 self.update_recent_scans()
483
484 self.schedctrl.ui_action = self.main_action_group.get_action(
self = <MainWindow object at 0x341d690 (GtkWindow at 0x2940740)>
self.update_recent_scans = <bound method MainWindow.update_recent_scans of ...ow object at 0x341d690 (GtkWindow at 0x2940740)>>
/usr/lib/python2.6/site-packages/umit/gui/MainWindow.py in update_recent_scans(self=<MainWindow object at 0x341d690 (GtkWindow at 0x2940740)>)
795 self._rscans_actiongroup.add_actions(actions)
796 self._rscans_merge_id = self.ui_manager.add_ui_from_string(
797 rscans_ui % new_rscan_xml)
798
799 def _create_menubar(self):
rscans_ui = "\n <menubar>\n <menu action='Sca...aceholder>\n </menu>\n </menubar>"
new_rscan_xml = "<menuitem action='/root/jd'smachine.usr'/>\n<separator />\n"
<class 'glib.GError'>: Error on line 4 char 58: 'smachine.usr'' is not a valid name: '''
__class__ = <class 'glib.GError'>
__delattr__ = <method-wrapper '__delattr__' of GError object at 0x3434fa0>
__dict__ = {'code': 2, 'domain': 'g-markup-error-quark', 'message': "Error on line 4 char 58: 'smachine.usr'' is not a valid name: ''' "}
__doc__ = None
__format__ = <built-in method __format__ of GError object at 0x3434fa0>
__getattribute__ = <method-wrapper '__getattribute__' of GError object at 0x3434fa0>
__getitem__ = <method-wrapper '__getitem__' of GError object at 0x3434fa0>
__getslice__ = <method-wrapper '__getslice__' of GError object at 0x3434fa0>
__hash__ = <method-wrapper '__hash__' of GError object at 0x3434fa0>
__init__ = <method-wrapper '__init__' of GError object at 0x3434fa0>
__module__ = 'glib'
__new__ = <built-in method __new__ of type object at 0x3034177ea0>
__reduce__ = <built-in method __reduce__ of GError object at 0x3434fa0>
__reduce_ex__ = <built-in method __reduce_ex__ of GError object at 0x3434fa0>
__repr__ = <method-wrapper '__repr__' of GError object at 0x3434fa0>
__setattr__ = <method-wrapper '__setattr__' of GError object at 0x3434fa0>
__setstate__ = <built-in method __setstate__ of GError object at 0x3434fa0>
__sizeof__ = <built-in method __sizeof__ of GError object at 0x3434fa0>
__str__ = <method-wrapper '__str__' of GError object at 0x3434fa0>
__subclasshook__ = <built-in method __subclasshook__ of type object at 0x26c95b0>
__unicode__ = <built-in method __unicode__ of GError object at 0x3434fa0>
__weakref__ = None
args = ("Error on line 4 char 58: 'smachine.usr'' is not a valid name: ''' ",)
code = 2
domain = 'g-markup-error-quark'
message = "Error on line 4 char 58: 'smachine.usr'' is not a valid name: ''' "
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.6/site-packages/umit/gui/App.py", line 62, in __create_show_main_window
self.main_window = MainWindow()
File "/usr/lib/python2.6/site-packages/umit/gui/MainWindow.py", line 117, in __init__
self._create_ui_manager()
File "/usr/lib/python2.6/site-packages/umit/gui/MainWindow.py", line 482, in _create_ui_manager
self.update_recent_scans()
File "/usr/lib/python2.6/site-packages/umit/gui/MainWindow.py", line 797, in update_recent_scans
rscans_ui % new_rscan_xml)
GError: Error on line 4 char 58: 'smachine.usr'' is not a valid name: '''
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
