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

Can't start #11

Open
LucasGitDev opened this issue Oct 5, 2020 · 0 comments
Open

Can't start #11

LucasGitDev opened this issue Oct 5, 2020 · 0 comments

Comments

@LucasGitDev
Copy link

Hi, I'm getting this error:

lg@lg:~/looking-glass$ sudo ./run.sh server Loading .env environment variables… [2020-10-05 14:58:02 +0000] [6751] [INFO] Starting gunicorn 20.0.4 [2020-10-05 14:58:02 +0000] [6751] [INFO] Listening at: http://127.0.0.1:8282 (6751) [2020-10-05 14:58:02 +0000] [6751] [INFO] Using worker: sync [2020-10-05 14:58:02 +0000] [6771] [INFO] Booting worker with pid: 6771 [2020-10-05 14:58:02 +0000] [6772] [INFO] Booting worker with pid: 6772 [2020-10-05 14:58:02 +0000] [6774] [INFO] Booting worker with pid: 6774 [2020-10-05 14:58:02 +0000] [6775] [INFO] Booting worker with pid: 6775 /usr/local/lib/python3.6/dist-packages/privex/helpers/converters.py:56: UserWarning: Failed to import dataclasses - falling back to placeholder type warnings.warn(f"Failed to import dataclasses - falling back to placeholder type") [2020-10-05 14:58:03 +0000] [6771] [ERROR] Exception in worker process Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/gunicorn/arbiter.py", line 583, in spawn_worker worker.init_process() File "/usr/local/lib/python3.6/dist-packages/gunicorn/workers/base.py", line 119, in init_process self.load_wsgi() File "/usr/local/lib/python3.6/dist-packages/gunicorn/workers/base.py", line 144, in load_wsgi self.wsgi = self.app.wsgi() File "/usr/local/lib/python3.6/dist-packages/gunicorn/app/base.py", line 67, in wsgi self.callable = self.load() File "/usr/local/lib/python3.6/dist-packages/gunicorn/app/wsgiapp.py", line 49, in load return self.load_wsgiapp() File "/usr/local/lib/python3.6/dist-packages/gunicorn/app/wsgiapp.py", line 39, in load_wsgiapp return util.import_app(self.app_uri) File "/usr/local/lib/python3.6/dist-packages/gunicorn/util.py", line 358, in import_app mod = importlib.import_module(module) File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 994, in _gcd_import File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 665, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/home/lg/looking-glass/wsgi.py", line 19, in <module> from lg.app import flask File "/home/lg/looking-glass/lg/app.py", line 6, in <module> from lg import base, api File "/home/lg/looking-glass/lg/base.py", line 122, in <module> AppError = namedtuple('AppError', 'code message status', defaults=['', 500]) TypeError: namedtuple() got an unexpected keyword argument 'defaults' [2020-10-05 14:58:03 +0000] [6771] [INFO] Worker exiting (pid: 6771) /usr/local/lib/python3.6/dist-packages/privex/helpers/converters.py:56: UserWarning: Failed to import dataclasses - falling back to placeholder type warnings.warn(f"Failed to import dataclasses - falling back to placeholder type") [2020-10-05 14:58:03 +0000] [6775] [ERROR] Exception in worker process Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/gunicorn/arbiter.py", line 583, in spawn_worker worker.init_process() File "/usr/local/lib/python3.6/dist-packages/gunicorn/workers/base.py", line 119, in init_process self.load_wsgi() File "/usr/local/lib/python3.6/dist-packages/gunicorn/workers/base.py", line 144, in load_wsgi self.wsgi = self.app.wsgi() File "/usr/local/lib/python3.6/dist-packages/gunicorn/app/base.py", line 67, in wsgi self.callable = self.load() File "/usr/local/lib/python3.6/dist-packages/gunicorn/app/wsgiapp.py", line 49, in load return self.load_wsgiapp() File "/usr/local/lib/python3.6/dist-packages/gunicorn/app/wsgiapp.py", line 39, in load_wsgiapp return util.import_app(self.app_uri) File "/usr/local/lib/python3.6/dist-packages/gunicorn/util.py", line 358, in import_app mod = importlib.import_module(module) File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 994, in _gcd_import File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 665, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/home/lg/looking-glass/wsgi.py", line 19, in <module> from lg.app import flask File "/home/lg/looking-glass/lg/app.py", line 6, in <module> from lg import base, api File "/home/lg/looking-glass/lg/base.py", line 122, in <module> AppError = namedtuple('AppError', 'code message status', defaults=['', 500]) TypeError: namedtuple() got an unexpected keyword argument 'defaults' [2020-10-05 14:58:03 +0000] [6775] [INFO] Worker exiting (pid: 6775) /usr/local/lib/python3.6/dist-packages/privex/helpers/converters.py:56: UserWarning: Failed to import dataclasses - falling back to placeholder type warnings.warn(f"Failed to import dataclasses - falling back to placeholder type") /usr/local/lib/python3.6/dist-packages/privex/helpers/converters.py:56: UserWarning: Failed to import dataclasses - falling back to placeholder type warnings.warn(f"Failed to import dataclasses - falling back to placeholder type") [2020-10-05 14:58:03 +0000] [6774] [ERROR] Exception in worker process Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/gunicorn/arbiter.py", line 583, in spawn_worker worker.init_process() File "/usr/local/lib/python3.6/dist-packages/gunicorn/workers/base.py", line 119, in init_process self.load_wsgi() File "/usr/local/lib/python3.6/dist-packages/gunicorn/workers/base.py", line 144, in load_wsgi self.wsgi = self.app.wsgi() File "/usr/local/lib/python3.6/dist-packages/gunicorn/app/base.py", line 67, in wsgi self.callable = self.load() File "/usr/local/lib/python3.6/dist-packages/gunicorn/app/wsgiapp.py", line 49, in load return self.load_wsgiapp() File "/usr/local/lib/python3.6/dist-packages/gunicorn/app/wsgiapp.py", line 39, in load_wsgiapp return util.import_app(self.app_uri) File "/usr/local/lib/python3.6/dist-packages/gunicorn/util.py", line 358, in import_app mod = importlib.import_module(module) File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 994, in _gcd_import File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 665, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/home/lg/looking-glass/wsgi.py", line 19, in <module> from lg.app import flask File "/home/lg/looking-glass/lg/app.py", line 6, in <module> from lg import base, api File "/home/lg/looking-glass/lg/base.py", line 122, in <module> AppError = namedtuple('AppError', 'code message status', defaults=['', 500]) TypeError: namedtuple() got an unexpected keyword argument 'defaults' [2020-10-05 14:58:03 +0000] [6774] [INFO] Worker exiting (pid: 6774) [2020-10-05 14:58:03 +0000] [6772] [ERROR] Exception in worker process Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/gunicorn/arbiter.py", line 583, in spawn_worker worker.init_process() File "/usr/local/lib/python3.6/dist-packages/gunicorn/workers/base.py", line 119, in init_process self.load_wsgi() File "/usr/local/lib/python3.6/dist-packages/gunicorn/workers/base.py", line 144, in load_wsgi self.wsgi = self.app.wsgi() File "/usr/local/lib/python3.6/dist-packages/gunicorn/app/base.py", line 67, in wsgi self.callable = self.load() File "/usr/local/lib/python3.6/dist-packages/gunicorn/app/wsgiapp.py", line 49, in load return self.load_wsgiapp() File "/usr/local/lib/python3.6/dist-packages/gunicorn/app/wsgiapp.py", line 39, in load_wsgiapp return util.import_app(self.app_uri) File "/usr/local/lib/python3.6/dist-packages/gunicorn/util.py", line 358, in import_app mod = importlib.import_module(module) File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 994, in _gcd_import File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 665, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/home/lg/looking-glass/wsgi.py", line 19, in <module> from lg.app import flask File "/home/lg/looking-glass/lg/app.py", line 6, in <module> from lg import base, api File "/home/lg/looking-glass/lg/base.py", line 122, in <module> AppError = namedtuple('AppError', 'code message status', defaults=['', 500]) TypeError: namedtuple() got an unexpected keyword argument 'defaults' [2020-10-05 14:58:03 +0000] [6772] [INFO] Worker exiting (pid: 6772) [2020-10-05 14:58:03 +0000] [6751] [INFO] Shutting down: Master [2020-10-05 14:58:03 +0000] [6751] [INFO] Reason: Worker failed to boot.

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