Werkzeug version >1 issue, for reference
See original GitHub issueTested and the problem occurs when the app is launched on the server (gunicorn interacting with the scout auto.py):
return self.load_wsgiapp()
File “/home/hiseq.clinical/miniconda/envs/prod/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py”, line 39, in load_wsgiapp
return util.import_app(self.app_uri)
File “/home/hiseq.clinical/miniconda/envs/prod/lib/python3.6/site-packages/gunicorn/util.py”, line 358, in import_app
mod = importlib.import_module(module)
File “/home/hiseq.clinical/miniconda/envs/prod/lib/python3.6/importlib/__init__.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “<frozen importlib._bootstrap>“, line 978, in _gcd_import
File “<frozen importlib._bootstrap>“, line 961, in _find_and_load
File “<frozen importlib._bootstrap>“, line 950, in _find_and_load_unlocked
File “<frozen importlib._bootstrap>“, line 655, in _load_unlocked
File “<frozen importlib._bootstrap_external>“, line 678, in exec_module
File “<frozen importlib._bootstrap>“, line 205, in _call_with_frames_removed
File “/home/hiseq.clinical/SERVER/apps/scout/git/scout/scout/server/auto.py”, line 4, in <module>
from werkzeug.contrib.fixers import ProxyFix
ModuleNotFoundError: No module named ‘werkzeug.contrib’
[2020-06-18 15:28:13 +0200] [32337] [INFO] Worker exiting (pid: 32337)
Traceback (most recent call last):
File “/home/hiseq.clinical/miniconda/envs/prod/lib/python3.6/site-packages/gunicorn/arbiter.py”, line 202, in run
self.manage_workers()
File “/home/hiseq.clinical/miniconda/envs/prod/lib/python3.6/site-packages/gunicorn/arbiter.py”, line 545, in manage_workers
self.spawn_workers()
File “/home/hiseq.clinical/miniconda/envs/prod/lib/python3.6/site-packages/gunicorn/arbiter.py”, line 617, in spawn_workers
time.sleep(0.1 * random.random())
File “/home/hiseq.clinical/miniconda/envs/prod/lib/python3.6/site-packages/gunicorn/arbiter.py”, line 242, in handle_chld
self.reap_workers()
File “/home/hiseq.clinical/miniconda/envs/prod/lib/python3.6/site-packages/gunicorn/arbiter.py”, line 525, in reap_workers
raise HaltServer(reason, self.WORKER_BOOT_ERROR)
gunicorn.errors.HaltServer: <HaltServer ‘Worker failed to boot.’ 3>
https://github.com/Azure-Samples/ms-identity-python-webapp/issues/16
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Changelog — Werkzeug Documentation (1.0.x)
The deprecated imports will be removed in version 1.0. ... This fixes the issue with Flask's flask run command failing with “No module...
Read more >PDF - Werkzeug Documentation (1.0.x)
Werkzeug Documentation (1.0.x), Release 1.0.1. 1.1.5 Install virtualenv. If you are using Python 2, the venv module is not available.
Read more >Werkzeug — Werkzeug Documentation (2.2.x)
Werkzeug is a comprehensive WSGI web application library. It began as a simple collection of various utilities for WSGI applications and has become...
Read more >Werkzeug Documentation (0.14.x)
This will install a Werkzeug egg in your Python installation's site-packages directory. From the tarball release. 1. Download the most recent ...
Read more >Request / Response Objects — Werkzeug Documentation (1.0 ...
Please refer to the unicode chapter for more details about customizing the ... The parsed URL parameters (the part in the URL after...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Otherwise next week, because now scout is running peachy
If you do it I can approve