tkp-archive / paperboy

A web frontend for scheduling Jupyter notebook reports
Apache License 2.0
251 stars 25 forks source link

Remove gunicorn.six import, move to just six #95

Open alibama opened 4 years ago

alibama commented 4 years ago

Describe the bug working in ubuntu 18.04 after running the first three commands npm install

i get this warning... npm WARN ts-jest@23.10.5 requires a peer of jest@>=22 <24 but none is installed. You must install peer dependencies yourself.

npm run build - runs fine pip install -e . - says it installs successfully

i ran "python -m paperboy"

and got this error

Traceback (most recent call last): File "/root/anaconda3/lib/python3.7/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/root/anaconda3/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/ubuntu/paperboy-master/paperboy/main.py", line 4, in main() File "/home/ubuntu/paperboy-master/paperboy/server/init.py", line 7, in main from ..config.application import Paperboy File "/home/ubuntu/paperboy-master/paperboy/config/application.py", line 15, in from ..server.deploy import FalconDeploy File "/home/ubuntu/paperboy-master/paperboy/server/deploy.py", line 7, in from .deploy_nix import FalconGunicorn as FalconDeploy # noqa: F401 File "/home/ubuntu/paperboy-master/paperboy/server/deploy_nix.py", line 2, in from gunicorn.six import iteritems ModuleNotFoundError: No module named 'gunicorn.six'

any ideas?

timkpaine commented 4 years ago

you can install an older gunicorn for now to get around this https://github.com/benoitc/gunicorn/pull/2083

alibama commented 4 years ago

thanks man - great call, should have dug around more to find that for those on ubuntu

pip install gunicorn==19 and then python -m paperboy worked fine