-
Notifications
You must be signed in to change notification settings - Fork 414
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
help getting redis + gunicorn running #475
Comments
I found the other thread on this problem #307 and followed the steps beginning in the comment on Nov. 2 - #307 (comment) - I can run my flask app and it loads data as I intend -- but when I look for the instances:
and then when I tried to run a "preloaded" dataframe as in the comment Nov. 11 #307 (comment) , i get this:
Help! |
@fredzannarbor sorry about the issues. I had the Once again, apologies for the issues. |
That's actually fabulous news as I spent most of last night butting my head against a wall convinced that I was missing something! |
I tried replacing global_state.py in my site-packages with this version (475) but I am still experiencing an error. I can create new instances using create-df but when I hit active-instances I get the traceback below.
|
You need to change: to |
gunicorn working like a champ in dev. thanks! Can you let me know when pip is updated with these changes, so I can upgrade my production environment without patching? |
Glad to hear it! Yea i wanted to get a release out yesterday but then there were a ton of package changes and i’ve battling those. I can probably cut a release tomorrow with your changes and then leave off some additional package upgrades til the next release |
@fredzannarbor just released v1.46.0 to pypi and conda-forge is in flight |
I am running a very slightly modified version of the gunicorn + redis app and hitting a wall when dtale tries to get the list of instances.
file: nimble_dtale.py
gunicorn --workers=10 --preload -b 0.0.0.0:5003 'nimble_dtale:app'
[2021-05-10 22:58:57 +0000] [13530] [INFO] Starting gunicorn 20.0.4
[2021-05-10 22:58:57 +0000] [13530] [INFO] Listening at: http://0.0.0.0:5003 (13530)
[2021-05-10 22:58:57 +0000] [13530] [INFO] Using worker: sync
[2021-05-10 22:58:57 +0000] [13537] [INFO] Booting worker with pid: 13537
[2021-05-10 22:58:57 +0000] [13538] [INFO] Booting worker with pid: 13538
[2021-05-10 22:58:57 +0000] [13539] [INFO] Booting worker with pid: 13539
[2021-05-10 22:58:57 +0000] [13540] [INFO] Booting worker with pid: 13540
[2021-05-10 22:58:57 +0000] [13541] [INFO] Booting worker with pid: 13541
[2021-05-10 22:58:58 +0000] [13542] [INFO] Booting worker with pid: 13542
[2021-05-10 22:58:58 +0000] [13543] [INFO] Booting worker with pid: 13543
[2021-05-10 22:58:58 +0000] [13544] [INFO] Booting worker with pid: 13544
[2021-05-10 22:58:58 +0000] [13545] [INFO] Booting worker with pid: 13545
[2021-05-10 22:58:58 +0000] [13546] [INFO] Booting worker with pid: 13546
going to the server at nimblebooks.com:5003/create-df I get this:
going to nimblebooks.com:5003/active-instances I get this:
Any ideas? It seems something is wrong with creating or listing instances, but I'm stumped.
The text was updated successfully, but these errors were encountered: