OK, finally got sometime to do a bit of testing. Here are the results and a possible start as to where to start looking to fix the big.
Installed python 27 and 34 and 7z extracted the wxPhoenix snapshot wheels to each respective sitepackages directory.
Checked system PATH to not include python path and renamed py.exe and pyw.exe launchers to python.exe and pythonw.exe in the WINDOWS dir, so ‘python file.py’ works right with shebangs right off the bat.
Append a 3 to the PySlices.py shebang so we get phoenix on py34.
I managed to get it to not crash with some changes made after spitting the output trace. I didn’t get much but here is a start.
import wx and Ctrl+Return to update the namespace tree and clicked on wx to expand tree item: gives this.
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Python34\Lib\site-packages\wx\py>python PySlices.py
C:\Python34\lib\site-packages\wx\py\filling.py:129: wxPyDeprecationWarning: Accessing deprecated property. Use altDown instead.
d[key] = getattr(obj, key)
C:\Python34\lib\site-packages\wx\py\filling.py:129: wxPyDeprecationWarning: Accessing deprecated property. Use controlDown instead.
d[key] = getattr(obj, key)
C:\Python34\lib\site-packages\wx\py\filling.py:129: wxPyDeprecationWarning: Accessing deprecated property. Use metaDown instead.
d[key] = getattr(obj, key)
C:\Python34\lib\site-packages\wx\py\filling.py:129: wxPyDeprecationWarning: Accessing deprecated property. Use shiftDown instead.
d[key] = getattr(obj, key)
Ok. by the trace that leads me here. The obvious thing by the trace is it is using something phoenix doesn’t support or the deprecation it doesn’t like.
… can’t find any obvious deprecation in the code atm by a quick search, so lets go a little further…
modify line 129 in filling.py try to raise an exc instead of pass silently.(This really needs a comment as to why it passes silently and or what to expect Error-wise - This is majorly bad zen here, especially when done in the py suite files)
try:
d[key] = getattr(obj, key)
except Exception as exc:
raise exc
this strangely makes it not crash when trying to expand wx tree item…
and got this:
···
C:\Python34\Lib\site-packages\wx\py>python PySlices.py
Traceback (most recent call last):
File “C:\Python34\lib\site-packages\wx\py\filling.py”, line 77, in OnItemExpanding
self.addChildren(item)
File “C:\Python34\lib\site-packages\wx\py\filling.py”, line 154, in addChildren
self.SetItemHasChildren(branch, self.objHasChildren(child))
File “C:\Python34\lib\site-packages\wx\py\filling.py”, line 105, in objHasChildren
if self.objGetChildren(obj):
File “C:\Python34\lib\site-packages\wx\py\filling.py”, line 131, in objGetChildren
raise exc
File “C:\Python34\lib\site-packages\wx\py\filling.py”, line 129, in objGetChildren
d[key] = getattr(obj, key)
AttributeError: abstractmethods