question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Werkzeug version >1 issue, for reference

See original GitHub issue

Tested 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:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
northwestwitchcommented, Jun 18, 2020

Otherwise next week, because now scout is running peachy

0reactions
northwestwitchcommented, Jun 18, 2020

If you do it I can approve

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found