-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Hi,
I'm getting the following error:
gunicorn --reload --access-logfile=- -b '0.0.0.0:16652' --worker-class gevent \
-e CONFIG=./configs/config.dev.yaml oncall_admin.gunicorn:application
[2020-08-13 21:10:48 +0000] [19394] [INFO] Starting gunicorn 19.7.1
[2020-08-13 21:10:48 +0000] [19394] [INFO] Listening at: http://0.0.0.0:16652 (19394)
[2020-08-13 21:10:48 +0000] [19394] [INFO] Using worker: gevent
[2020-08-13 21:10:48 +0000] [19398] [INFO] Booting worker with pid: 19398
[2020-08-13 21:10:49 +0000] [19398] [ERROR] Exception in worker process
Traceback (most recent call last):
File "/root/oncall-admin/env/local/lib/python2.7/site-packages/gunicorn-19.7.1-py2.7.egg/gunicorn/arbiter.py", line 578, in spawn_worker
worker.init_process()
File "/root/oncall-admin/env/local/lib/python2.7/site-packages/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/ggevent.py", line 190, in init_process
super(GeventWorker, self).init_process()
File "/root/oncall-admin/env/local/lib/python2.7/site-packages/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/base.py", line 126, in init_process
self.load_wsgi()
File "/root/oncall-admin/env/local/lib/python2.7/site-packages/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/base.py", line 135, in load_wsgi
self.wsgi = self.app.wsgi()
File "/root/oncall-admin/env/local/lib/python2.7/site-packages/gunicorn-19.7.1-py2.7.egg/gunicorn/app/base.py", line 67, in wsgi
self.callable = self.load()
File "/root/oncall-admin/env/local/lib/python2.7/site-packages/gunicorn-19.7.1-py2.7.egg/gunicorn/app/wsgiapp.py", line 65, in load
return self.load_wsgiapp()
File "/root/oncall-admin/env/local/lib/python2.7/site-packages/gunicorn-19.7.1-py2.7.egg/gunicorn/app/wsgiapp.py", line 52, in load_wsgiapp
return util.import_app(self.app_uri)
File "/root/oncall-admin/env/local/lib/python2.7/site-packages/gunicorn-19.7.1-py2.7.egg/gunicorn/util.py", line 352, in import_app
__import__(module)
File "/root/oncall-admin/env/local/lib/python2.7/site-packages/gevent-1.1.2-py2.7-linux-x86_64.egg/gevent/builtins.py", line 93, in __import__
result = _import(*args, **kwargs)
File "/root/oncall-admin/src/oncall_admin/gunicorn.py", line 1, in <module>
from oncall_admin.api import get_app
File "/root/oncall-admin/env/local/lib/python2.7/site-packages/gevent-1.1.2-py2.7-linux-x86_64.egg/gevent/builtins.py", line 93, in __import__
result = _import(*args, **kwargs)
File "/root/oncall-admin/src/oncall_admin/api.py", line 4, in <module>
import ujson
File "/root/oncall-admin/env/local/lib/python2.7/site-packages/gevent-1.1.2-py2.7-linux-x86_64.egg/gevent/builtins.py", line 93, in __import__
result = _import(*args, **kwargs)
File "build/bdist.linux-x86_64/egg/ujson.py", line 7, in <module>
File "build/bdist.linux-x86_64/egg/ujson.py", line 6, in __bootstrap__
ImportError: /root/.cache/Python-Eggs/ujson-1.35-py2.7-linux-x86_64.egg-tmp/ujson.so: undefined symbol: Buffer_AppendShortHexUnchecked
[2020-08-13 21:10:49 +0000] [19398] [INFO] Worker exiting (pid: 19398)
[2020-08-13 21:10:49 +0000] [19394] [INFO] Shutting down: Master
[2020-08-13 21:10:49 +0000] [19394] [INFO] Reason: Worker failed to boot.
Makefile:4: recipe for target 'serve' failed
make: *** [serve] Error 3
How can I fix it?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels