I've been getting a number of these lately. In this case it is due to code that is not complete, just testing changes to the interface before I code the backend code for them. It seems that pycrash is not catching these correctly. I really like using this utility for program debugging. I also have users that use it when experiencing problems. It makes finding the cause much simpler, Thank you. Do you have plans to continue development?
Here is the full python dump of a crash.
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/pycrash/pycrash.py", line 113, in __exceptHook
self.onExceptionRaised(self.__numberOfExceptions)
File "/home/brian/trunk/porthole", line 86, in onExceptionRaised
self.saveToFile(save_file)
File "/usr/lib/python2.4/site-packages/pycrash/pycrash.py", line 281, in saveToFile
fd.write(self.getCrashDump())
File "/usr/lib/python2.4/site-packages/pycrash/utils/Html.py", line 493, in getCrashDump
return self.convertStringDump( super(HTMLPyCrash, self).getCrashDump() )
File "/usr/lib/python2.4/site-packages/pycrash/pycrash.py", line 219, in getCrashDump
return self.toXML()
File "/usr/lib/python2.4/site-packages/pycrash/pycrash.py", line 297, in toXML
strXML += tb.toXML()
File "/usr/lib/python2.4/site-packages/pycrash/exctb.py", line 66, in toXML
strXML += stack.toXML()
File "/usr/lib/python2.4/site-packages/pycrash/stackframe.py", line 149, in toXML
attrValue = str(var.__dict__[attr])
TypeError: 'str' object is not callable
Original exception was:
Traceback (most recent call last):
File "/home/brian/trunk/advancedemerge/advemerge.py", line 275, in on_toggled
self.display_emerge_command()
File "/home/brian/trunk/advancedemerge/advemerge.py", line 580, in display_emerge_command
command = self.get_command()
File "/home/brian/trunk/advancedemerge/advemerge.py", line 569, in get_command
command = ''.join([ \
File "/home/brian/trunk/advancedemerge/advemerge.py", line 524, in get_options
if self.wtree.get_widget(Name).get_active():
AttributeError: 'NoneType' object has no attribute 'get_active'