-
Notifications
You must be signed in to change notification settings - Fork 26
Description
There is a major bug where this code is incompatible with recent versions of wx classic, which is incidentally the version gui2py's installation guide is linking to as well.
The origin of this bug is due to the wx library REVERTING their modifications to newer updates to preserve backwards compatibility. The restructured project has been RENAMED to phoenix, but uses the same version numbers as classic wx.
There appeared to be many lines that were attempting to check for phoenix versions with the code
wx.VERSION > (2, 9, 5)
Since classic versions are now up to 3.0.0.1 anyone who has recently installed or updated wx will get errors trying to use gui2py ..the most common error I saw was module adv not found.
To correct this bug, the code should instead look for 'classic' or 'phoenix' such as:
wx.version().find('classic')==-1:
I was able to get gui2py working on my machine by applying this fix to the files. Due to the frequency of this bug in the project, I decided to create a script to do the editing for me. You can find it here: https://github.com/nightlily/Fixr