Opened 9 years ago

Closed 4 years ago

#14614 closed defect (outdated)

crash in pyshell introspect

Reported by: cprecord Owned by: robind
Priority: normal Milestone:
Component: wxPython Version: 2.8.12
Keywords: Cc:
Blocked By: Blocking:
Patch: no


Looks like an unhandled exception type in the introspect code for pyshell. Recieved this traceback from a user. Looks like the 'wakeupcall' code at line 114 should be wrapped in a try/catch

Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/py/", line 467, in OnChar
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/py/", line 1164, in autoCompleteShow
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/py/", line 136, in getAutoCompleteList
*args, kwds)
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/py/", line 32, in getAutoCompleteList
includeSingle, includeDouble)
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/py/", line 64, in getAttributeNames
attrdict = getAllAttributeNames(object)
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/py/", line 114, in getAllAttributeNames
wakeupcall = dir(object)
File "/usr/lib/python2.7/", line 1224, in call
return self.send(, args)
File "/usr/lib/python2.7/", line 1578, in request
File "/usr/lib/python2.7/", line 1264, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib/python2.7/", line 1297, in single_request
return self.parse_response(response)
File "/usr/lib/python2.7/", line 1473, in parse_response
return u.close()
File "/usr/lib/python2.7/", line 793, in close
raise Fault(
Fault: <Fault 150020: "Error on object : OBJECT_APPLICATION (CAUSE_QUERY) [Method 'dir' is not supported]">

Change History (2)

comment:1 Changed 9 years ago by robind

  • Owner set to robind
  • Status changed from new to accepted

comment:2 Changed 4 years ago by robind

  • Resolution set to outdated
  • Status changed from accepted to closed

Closing old Phoenix tickets...

If this is still an issue in wxPython 4.0.0a1 then please open a new issue (or PR) at the wxPython-Phoenix project page on Github:

Note: See TracTickets for help on using tickets.