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

self hosted "wrong ELF class: ELFCLASS64" compatibility Raspberry pi? #279

Open
ellisium opened this issue May 9, 2019 · 1 comment
Open

Comments

@ellisium
Copy link

ellisium commented May 9, 2019

Hello,

When running the command on raspberry pi 3 b+:
gunicorn --certfile $CERT --keyfile $KEYFILE -b 0.0.0.0:8000 alexa:app

I get the followinf error :

Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/gunicorn/arbiter.py", line 557, in spawn_worker worker.init_process() File "/usr/lib/python2.7/dist-packages/gunicorn/workers/base.py", line 126, in init_process self.load_wsgi() File "/usr/lib/python2.7/dist-packages/gunicorn/workers/base.py", line 136, in load_wsgi self.wsgi = self.app.wsgi() File "/usr/lib/python2.7/dist-packages/gunicorn/app/base.py", line 67, in wsgi self.callable = self.load() File "/usr/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 65, in load return self.load_wsgiapp() File "/usr/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 52, in load_wsgiapp return util.import_app(self.app_uri) File "/usr/lib/python2.7/dist-packages/gunicorn/util.py", line 384, in import_app __import__(module) File "/home/pi/domotic/alexa/kanzi/kanzi/source/skill/alexa.py", line 17, in <module> from flask_ask import Ask, session, question, statement, audio, request, context File "/home/pi/domotic/alexa/kanzi/kanzi/source/skill/flask_ask/__init__.py", line 9, in <module> from .core import ( File "/home/pi/domotic/alexa/kanzi/kanzi/source/skill/flask_ask/core.py", line 15, in <module> from . import verifier, logger File "/home/pi/domotic/alexa/kanzi/kanzi/source/skill/flask_ask/verifier.py", line 8, in <module> from OpenSSL import crypto File "/home/pi/domotic/alexa/kanzi/kanzi/source/skill/OpenSSL/__init__.py", line 8, in <module> from OpenSSL import rand, crypto, SSL File "/home/pi/domotic/alexa/kanzi/kanzi/source/skill/OpenSSL/rand.py", line 12, in <module> from OpenSSL._util import ( File "/home/pi/domotic/alexa/kanzi/kanzi/source/skill/OpenSSL/_util.py", line 6, in <module> from cryptography.hazmat.bindings.openssl.binding import Binding File "/home/pi/domotic/alexa/kanzi/kanzi/source/skill/cryptography/hazmat/bindings/openssl/binding.py", line 13, in <module> from cryptography.hazmat.bindings._openssl import ffi, lib ImportError: /home/pi/domotic/alexa/kanzi/kanzi/source/skill/cryptography/hazmat/bindings/_openssl.so: wrong ELF class: ELFCLASS64

Should I understand this skill can run only on 64 bit system?

@ellisium
Copy link
Author

ellisium commented May 11, 2019

I ran some pip unsintall + new git clone solved the issue. I had to install urllib3==1.23 manually but now no more error messages so I can continue working on self hosted solution.

Edit:
I reopen it coz it's not working

@ellisium ellisium reopened this May 12, 2019
@ellisium ellisium changed the title self hosted on raspberry pi "wrong ELF class: ELFCLASS64" self hosted "wrong ELF class: ELFCLASS64" compatibility Raspberry pi? May 12, 2019
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

1 participant