Hi,

On Tue, May 12, 2020 at 4:33 AM Johan Corveleyn <jcor...@gmail.com> wrote:
> [[[
> C:\research\svn\dev\trunk>python win-tests.py --log-level=DEBUG
> --debug --swig=python R:\test_swigpython
> Testing Debug configuration on local repository.
> -- Running Swig Python tests --
> Fatal Python error: _PyInterpreterState_Get(): no current thread state
> Python runtime state: unknown
>
> [Test runner reported failure]
> ]]]
>
> Any ideas?
> (Note: it's entirely possible that I did something wrong here locally :-))

Python bindings is unable to build with Debug mode. Instead, try to
build and test with Release mode.

The limitation is described in subversion/bindings/swig/INSTALL:

[[[
       NOTE: Our Python SWIG bindings will currently NOT compile in Debug mode
             unless you have python24_d.lib (which binary distributions of
             Python do not contain).  Therefore, the Python bindings will only
             compile in Release mode.  (This is due to pyconfig.h using the
            _DEBUG flag too and setting a #pragma comment(lib) value.)
]]]

-- 
Jun Omae <jun6...@gmail.com> (大前 潤)

Reply via email to