Error in sys.excepthook: Traceback (most recent call last): File "/var/lib/python-support/python2.5/apport_python_hook.py", line 30, in apport_excepthook import apport.report, apport.fileutils File "/var/lib/python-support/python2.5/apport/__init__.py", line 1, in from apport.report import Report File "/var/lib/python-support/python2.5/apport/report.py", line 17, in import xml.dom, xml.dom.minidom File "/usr/lib/python2.5/site-packages/_xmlplus/dom/__init__.py", line 220, in from xml.dom import DOMImplementation ImportError: cannot import name DOMImplementation Original exception was: Traceback (most recent call last): File "./widgets.py", line 830, in build_urk_menu urk_menu.set_submenu(menu) NameError: free variable 'urk_menu' referenced before assignment in enclosing scope