I have found that the use of pycrash in porthole's code no longer works correctly if the python version is 2.5.*. It does not handle "ExpatError", there is no definition. It complains about it not being a properly formed xml string. I have seen the same in another users terminal output. I did not know if it was something messed up on my system. It does however work on python-2.4 still. I now have porthole checking and disabling pycrash use for python-2.5 systems. terminal output snipit: ADVEMERGE: id initialized to 983005 Error in sys.excepthook: Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/pycrash/pycrash.py", line 113, in __exceptHook self.onExceptionRaised(self.__numberOfExceptions) File "/usr/lib/python2.5/site-packages/porthole/startup.py", line 82, in onExceptionRaised self.saveToFile(save_file) File "/usr/lib/python2.5/site-packages/pycrash/pycrash.py", line 281, in saveToFile fd.write(self.getCrashDump()) File "/usr/lib/python2.5/site-packages/pycrash/utils/Html.py", line 493, in getCrashDump return self.convertStringDump( super(HTMLPyCrash, self).getCrashDump() ) File "/usr/lib/python2.5/site-packages/pycrash/utils/Html.py", line 483, in convertStringDump dumper.parseString(dumpString) File "/usr/lib/python2.5/site-packages/pycrash/utils/Html.py", line 406, in parseString except ExpatError: #this is not a well formed XML string NameError: global name 'ExpatError' is not defined Original exception was: ... Reproducible: Always Steps to Reproduce: 1.use pycrash in a python-2.5 program 2.screw up your code to cause a crash :) 3.pycrash does not handle the exception correctly. pycrash also seems to be a dead project. There has been zero response for some other bugs I have found. There has been no observable development for several years. It would probably be best to change the python dep to <python-2.5.
I suggest to remove pycrash from the tree.
I am removing it completely from porthole's code for its next release.
Hello, dev-python/pycrash is now masked for removal in 30 days. Best regards,