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

Getting Build Error with Python 3.7 #90

Open
vijaysharma136-git opened this issue Oct 3, 2019 · 3 comments
Open

Getting Build Error with Python 3.7 #90

vijaysharma136-git opened this issue Oct 3, 2019 · 3 comments

Comments

@vijaysharma136-git
Copy link

Hello,
I am getting Build Error while compiling with Python3.7. openssl Extension was compiling properly with Python3.5 at least. currently i uninstall Python3.5 and install Python3.7, not sure if any thing i got miss .kindly help me to find the issue

Error:
^
coro/ssl/openssl.c: In function ‘__Pyx_GetException’:
coro/ssl/openssl.c:25622:22: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’
tmp_type = tstate->exc_type;
^
coro/ssl/openssl.c:25623:23: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’
tmp_value = tstate->exc_value;
^
coro/ssl/openssl.c:25624:20: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’
tmp_tb = tstate->exc_traceback;
^
coro/ssl/openssl.c:25625:11: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’
tstate->exc_type = local_type;
^
coro/ssl/openssl.c:25626:11: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’
tstate->exc_value = local_value;
^
coro/ssl/openssl.c:25627:11: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’
tstate->exc_traceback = local_tb;
^
coro/ssl/openssl.c: In function ‘__Pyx_ExceptionSwap’:
coro/ssl/openssl.c:25649:22: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’
tmp_type = tstate->exc_type;
^
coro/ssl/openssl.c:25650:23: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’
tmp_value = tstate->exc_value;
^
coro/ssl/openssl.c:25651:20: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’
tmp_tb = tstate->exc_traceback;
^
coro/ssl/openssl.c:25652:11: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’
tstate->exc_type = *type;
^
coro/ssl/openssl.c:25653:11: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’
tstate->exc_value = *value;
^
coro/ssl/openssl.c:25654:11: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’
tstate->exc_traceback = *tb;
^
coro/ssl/openssl.c: In function ‘__Pyx_ExceptionSave’:
coro/ssl/openssl.c:25667:19: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’
*type = tstate->exc_type;
^
coro/ssl/openssl.c:25668:20: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’
*value = tstate->exc_value;
^
coro/ssl/openssl.c:25669:17: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’
*tb = tstate->exc_traceback;
^
coro/ssl/openssl.c: In function ‘__Pyx_ExceptionReset’:
coro/ssl/openssl.c:25681:22: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’
tmp_type = tstate->exc_type;
^
coro/ssl/openssl.c:25682:23: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’
tmp_value = tstate->exc_value;
^
coro/ssl/openssl.c:25683:20: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’
tmp_tb = tstate->exc_traceback;
^
coro/ssl/openssl.c:25684:11: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’
tstate->exc_type = type;
^
coro/ssl/openssl.c:25685:11: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’
tstate->exc_value = value;
^
coro/ssl/openssl.c:25686:11: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’
tstate->exc_traceback = tb;
^
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

@samrushing
Copy link
Member

Did you try the 'py3' branch?
Please let me know how it works for you, I'm considering making shrapnel "python3 only".

@roadk1ll
Copy link

tried with python3.8 and py3 branch...
had to install sodium first, but after - python3 setup.py install seemed to work fine.

@roadk1ll
Copy link

guess we're all having to move on to py3...
glad to see we still have coro/shrapnel...

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