Re: [Kicad-developers] Python-a-mingw-us Windows Debug Scripting Builds

2013-09-08 Thread Brian Sidebotham
On 5 September 2013 23:25, Dick Hollenbeck wrote: > On 09/05/2013 05:03 PM, Brian Sidebotham wrote: > > One of those moments! Ah! > > > > This problem is now "fixed". It happened to be that the wxWidgets DLLs > need to be in the > > environment's PATH list for python. Although .pyd's are

Re: [Kicad-developers] Python-a-mingw-us Windows Debug Scripting Builds

2013-09-05 Thread Brian Sidebotham
One of those moments! Ah! This problem is now "fixed". It happened to be that the wxWidgets DLLs need to be in the environment's PATH list for python. Although .pyd's are loaded from PYTHONPATH and the compiled-in paths, dependencies within the pyd are searched for on the normal windows PA

Re: [Kicad-developers] Python-a-mingw-us Windows Debug Scripting Builds

2013-09-05 Thread Dick Hollenbeck
On 09/05/2013 05:03 PM, Brian Sidebotham wrote: > One of those moments! Ah! > > This problem is now "fixed". It happened to be that the wxWidgets DLLs need > to be in the > environment's PATH list for python. Although .pyd's are loaded from > PYTHONPATH and the > compiled-in paths, depen

Re: [Kicad-developers] Python-a-mingw-us Windows Debug Scripting Builds

2013-09-02 Thread Dick Hollenbeck
On Sep 2, 2013 4:35 AM, "Brian Sidebotham" wrote: > > On 1 September 2013 02:37, Dick Hollenbeck wrote: >> >> >> On Aug 31, 2013 5:35 PM, "Brian Sidebotham" wrote: >> > >> > On 31 August 2013 21:39, Dick Hollenbeck wrote: >> >> >> >> On 08/31/2013 03:00 PM, Brian Sidebotham wrote: >> >> >>> Q:

Re: [Kicad-developers] Python-a-mingw-us Windows Debug Scripting Builds

2013-09-02 Thread Brian Sidebotham
On 1 September 2013 02:37, Dick Hollenbeck wrote: > > On Aug 31, 2013 5:35 PM, "Brian Sidebotham" > wrote: > > > > On 31 August 2013 21:39, Dick Hollenbeck wrote: > >> > >> On 08/31/2013 03:00 PM, Brian Sidebotham wrote: > >> >>> Q: > >> > > >> > >> > >> > >> (i) Does anyone see any out

Re: [Kicad-developers] Python-a-mingw-us Windows Debug Scripting Builds

2013-08-31 Thread Dick Hollenbeck
On Aug 31, 2013 5:35 PM, "Brian Sidebotham" wrote: > > On 31 August 2013 21:39, Dick Hollenbeck wrote: >> >> On 08/31/2013 03:00 PM, Brian Sidebotham wrote: >> >>> Q: >> > >> > >> >> > >> (i) Does anyone see any output from the PyErr_Print() calls? >> > >> > Try using a tool like Debu

Re: [Kicad-developers] Python-a-mingw-us Windows Debug Scripting Builds

2013-08-31 Thread Brian Sidebotham
On 31 August 2013 21:39, Dick Hollenbeck wrote: > On 08/31/2013 03:00 PM, Brian Sidebotham wrote: > >>> Q: > > > > >> > > >> (i) Does anyone see any output from the PyErr_Print() calls? > > > > Try using a tool like Debug Viewer available from Microsoft. If > > PyErr_Print() is a

Re: [Kicad-developers] Python-a-mingw-us Windows Debug Scripting Builds

2013-08-31 Thread Dick Hollenbeck
On 08/31/2013 03:00 PM, Brian Sidebotham wrote: >>> Q: > > >> > >> (i) Does anyone see any output from the PyErr_Print() calls? > > Try using a tool like Debug Viewer available from Microsoft. If > PyErr_Print() is anything like wxLogXXX(), on Windows the output is sent > to

Re: [Kicad-developers] Python-a-mingw-us Windows Debug Scripting Builds

2013-08-31 Thread Brian Sidebotham
> CMakeFiles\pcbnew.dir/objects.a(pcbnew_wrap.cxx.obj): In function > `SWIG_Python_AddErrorMsg': > D:/launchpad-dev/kicad-winbuilder-pyrelease/build/Debug/pcbnew/pcbnew_wrap.cxx:1020: > undefined reference to `_imp___Py_RefTotal' > D:/launchpad-dev/kicad-winbuilder-pyrelease/build/Debug/pcbnew/pcbn

Re: [Kicad-developers] Python-a-mingw-us Windows Debug Scripting Builds

2013-08-31 Thread Brian Sidebotham
>> Q: > >> > >> (i) Does anyone see any output from the PyErr_Print() calls? > > Try using a tool like Debug Viewer available from Microsoft. If > PyErr_Print() is anything like wxLogXXX(), on Windows the output is sent > to the OutputDebugString() function which does not end up on stdout. > You

Re: [Kicad-developers] Python-a-mingw-us Windows Debug Scripting Builds

2013-08-31 Thread Wayne Stambaugh
On 8/31/2013 1:51 PM, Dick Hollenbeck wrote: > On 08/31/2013 08:23 AM, Brian Sidebotham wrote: >> Hi Guys, >> >> I was going to send this direct to Dick, but I think this pickles through >> enough projects >> for it to be of use or concern for others too: >> >> The Debug scripting builds are broke

Re: [Kicad-developers] Python-a-mingw-us Windows Debug Scripting Builds

2013-08-31 Thread Brian Sidebotham
> > > >> > >> > (ii) What does Linux current do for debug builds? >> >> When I have to debug something under a debugger on Linux, I always >> compile it myself, so I >> can fix the bug when I find it. So I honestly don't know or care. In 14 >> years of >> developing on Linux, I have *never* used

Re: [Kicad-developers] Python-a-mingw-us Windows Debug Scripting Builds

2013-08-31 Thread Brian Sidebotham
On 31 August 2013 18:51, Dick Hollenbeck wrote: > On 08/31/2013 08:23 AM, Brian Sidebotham wrote: > > Hi Guys, > > > > I was going to send this direct to Dick, but I think this pickles > through enough projects > > for it to be of use or concern for others too: > > > > The Debug scripting builds

Re: [Kicad-developers] Python-a-mingw-us Windows Debug Scripting Builds

2013-08-31 Thread Dick Hollenbeck
On 08/31/2013 08:23 AM, Brian Sidebotham wrote: > Hi Guys, > > I was going to send this direct to Dick, but I think this pickles through > enough projects > for it to be of use or concern for others too: > > The Debug scripting builds are broken because something that includes the > Python head

Re: [Kicad-developers] Python-a-mingw-us Windows Debug Scripting Builds

2013-08-31 Thread Brian Sidebotham
> > > > Can the Python-a-mingw-us build script be used to build a local version > of Python to use as part of KiCad similar to what some of the other > projects (Blender, FreeCAD, Bazaar, etc.) provide for their Windows > builds? I've been wanting to give it a try without have to remove my > exist

Re: [Kicad-developers] Python-a-mingw-us Windows Debug Scripting Builds

2013-08-31 Thread Wayne Stambaugh
On 08/31/2013 09:23 AM, Brian Sidebotham wrote: > Hi Guys, > > I was going to send this direct to Dick, but I think this pickles > through enough projects for it to be of use or concern for others too: > > The Debug scripting builds are broken because something that includes > the Python header t

[Kicad-developers] Python-a-mingw-us Windows Debug Scripting Builds

2013-08-31 Thread Brian Sidebotham
Hi Guys, I was going to send this direct to Dick, but I think this pickles through enough projects for it to be of use or concern for others too: The Debug scripting builds are broken because something that includes the Python header that has _DEBUG defined alters a LOT of defines. Linking will f