tjlane / thor

support code for x-ray scattering experiments
GNU General Public License v2.0
3 stars 3 forks source link

misc extension fails to build with newer v of cython #39

Open tjlane opened 3 years ago

tjlane commented 3 years ago

not sure why, this only affects the misc extension

src/misc/misc_wrap.cpp: In function ‘int __Pyx_GetException(PyObject**, PyObject**, PyObject**)’:
src/misc/misc_wrap.cpp:18132:24: error: ‘PyThreadState’ has no member named ‘exc_type’
     tmp_type = tstate->exc_type;
                        ^
src/misc/misc_wrap.cpp:18133:25: error: ‘PyThreadState’ has no member named ‘exc_value’
     tmp_value = tstate->exc_value;
                         ^
src/misc/misc_wrap.cpp:18134:22: error: ‘PyThreadState’ has no member named ‘exc_traceback’
     tmp_tb = tstate->exc_traceback;
                      ^
src/misc/misc_wrap.cpp:18135:13: error: ‘PyThreadState’ has no member named ‘exc_type’
     tstate->exc_type = local_type;
             ^
src/misc/misc_wrap.cpp:18136:13: error: ‘PyThreadState’ has no member named ‘exc_value’
     tstate->exc_value = local_value;
             ^
src/misc/misc_wrap.cpp:18137:13: error: ‘PyThreadState’ has no member named ‘exc_traceback’
     tstate->exc_traceback = local_tb;
             ^
src/misc/misc_wrap.cpp: In function ‘void __Pyx_ExceptionSave(PyObject**, PyObject**, PyObject**)’:
src/misc/misc_wrap.cpp:19326:21: error: ‘PyThreadState’ has no member named ‘exc_type’
     *type = tstate->exc_type;
                     ^
src/misc/misc_wrap.cpp:19327:22: error: ‘PyThreadState’ has no member named ‘exc_value’
     *value = tstate->exc_value;
                      ^
src/misc/misc_wrap.cpp:19328:19: error: ‘PyThreadState’ has no member named ‘exc_traceback’
     *tb = tstate->exc_traceback;
                   ^
src/misc/misc_wrap.cpp: In function ‘void __Pyx_ExceptionReset(PyObject*, PyObject*, PyObject*)’:
src/misc/misc_wrap.cpp:19340:24: error: ‘PyThreadState’ has no member named ‘exc_type’
     tmp_type = tstate->exc_type;
                        ^
src/misc/misc_wrap.cpp:19341:25: error: ‘PyThreadState’ has no member named ‘exc_value’
     tmp_value = tstate->exc_value;
                         ^
src/misc/misc_wrap.cpp:19342:22: error: ‘PyThreadState’ has no member named ‘exc_traceback’
     tmp_tb = tstate->exc_traceback;
                      ^
src/misc/misc_wrap.cpp:19343:13: error: ‘PyThreadState’ has no member named ‘exc_type’
     tstate->exc_type = type;
             ^
src/misc/misc_wrap.cpp:19344:13: error: ‘PyThreadState’ has no member named ‘exc_value’
     tstate->exc_value = value;
             ^
src/misc/misc_wrap.cpp:19345:13: error: ‘PyThreadState’ has no member named ‘exc_traceback’
     tstate->exc_traceback = tb;
proteneer commented 2 years ago

I can't believe this project is still alive

tjlane commented 2 years ago

while alive may be a generous term, this is where i will say:

good things never die ;)

tjlane commented 2 years ago

dude are you and kearnes at the same company now??? PG revival! we should catch up some time...