Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'? #492

Open
wwtghx opened this issue Mar 22, 2020 · 2 comments
Open

Comments

@wwtghx
Copy link

wwtghx commented Mar 22, 2020

I am using buildozer, the following error occurs:

[INFO]: STDOUT (last 20 lines of 114):
jnius/jnius.c:56467:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/home/jim/kivy_venv/share/kivy-examples/demo/pictures/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/python3-libffi-openssl-sqlite3/armeabi-v7a__ndk_target_21/python3/Include/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
jnius/jnius.c:56468:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/home/jim/kivy_venv/share/kivy-examples/demo/pictures/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/python3-libffi-openssl-sqlite3/armeabi-v7a__ndk_target_21/python3/Include/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
jnius/jnius.c:56469:13: error: no member named 'exc_type' in 'struct _ts'
tstate->exc_type = *type;
~~~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
error: command '/usr/bin/ccache' failed with exit status 1

@cmacdonald
Copy link
Contributor

See discussion on SheffieldML/GPy#649

@tshirtman
Copy link
Member

tshirtman commented Apr 8, 2020

hm, i'm a bit confused by this discussion, as our tar.gz releases don't contain c files, (and our wheels are of course compiled for each specific python, but that's not relevant here as this is for buildozer, there is no wheel for android arm). Also, buildozer/p4a does depend on pyjnius, and i've confirmed the updated version was building with it after the release. Maybe you installed an old version of cython (or a version not for 3.7) and it builds incompatible files for python3.7?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants