Error : KeyError: 'WERKZEUG_SERVER_FD'
gene1wood opened this issue · 2 comments
This line in maws
mozilla-aws-cli/mozilla_aws_cli/listener.py
Line 237 in 6de1d92
appears to be triggering this issue pallets/werkzeug#2368
We're setting os.environ["WERKZEUG_RUN_MAIN"] = "true"
in order to suppress the printing to the console of Flask information (as mentioned in cs01/gdbgui#425 (comment) )
The workaround for the moment appears to be downgrading werkzeug pip install 'Werkzeug<2.1.0'
Should we also be pinning all the requirements? Especially if maws is installable via pipx
, pinning would be a good thing.
Should we also be pinning all the requirements? Especially if maws is installable via pipx, pinning would be a good thing.
Ya, that would probably be good. I'd say open an issue or PR that change.
This fix is deployed and available in mozilla-aws-cli==1.2.5