Re: [Kicad-developers] [PATCH] Python scripting crashed with multiple wxPython versions

2014-10-07 Thread Wayne Stambaugh
On 9/29/2014 2:28 AM, Francesco Del Degan wrote: > Hi, > I found that if you have multiple versions of wxPython (2.8 and 3.0) > installed and > enabled WX_PYTOHN_SCRIPTING macro, the wxPyCoreAPI_IMPORT call will > select the default one (in my case 2.8), and it will SEGV. > > This because it doe

[Kicad-developers] [PATCH] Python scripting crashed with multiple wxPython versions

2014-09-28 Thread Francesco Del Degan
Hi, I found that if you have multiple versions of wxPython (2.8 and 3.0) installed and enabled WX_PYTOHN_SCRIPTING macro, the wxPyCoreAPI_IMPORT call will select the default one (in my case 2.8), and it will SEGV. This because it does an import of wx._core_ and in my case is 2.8. (Ubuntu 14.04)