-
Notifications
You must be signed in to change notification settings - Fork 233
The 'environ['werkzeug.server.shutdown']' function is deprecated and will be removed in Werkzeug 2.1. #63
Comments
Hi, thank you for your great work! I can relate to the issue above. Since the warning started to appear a couple of days ago, my unchanged and previosly working code, doesn't update the graph layout anymore, giving the following error "Callback error updating graph.figure - Internal server error". @nicolaskruchten do you know more about this warning and do you havea workaround? |
Same problem here. I have a function that create a server and the app. Everything works fine when I call this function in a cell for the first time, but if I want to call it again in another cell, then I get: I understand that it has something to do with flask and the need to shutdown the server. But is there a simple way to manually shutdown the server so I call again the function (without having to restart the jupyter kernel and run only the relevant cells)? Many thanks, really love to be able to use plotly in Jupyter!! :) |
From the Werkzeug repo, here is the pull request in question: pallets/werkzeug#1873 The reasoning:
There are a number of proposed solutions in the issue, but smarter minds that me will need to implement. |
I did some digging into the werkzeug code, and noticed that if you run with I replaced
The full code is in my fork: https://github.com/RobertJN64/jupyter-dash/blob/master/jupyter_dash/server_tools.py If this is an acceptable fix, I can make a pull request. |
Just ran into this error on a fresh venv when running the tutorial in inline mode: Dependencies
It's scary that this hasn't been fixed. I'm trying to determine which front end to bet big on for my largely jupyter-centric app. |
Hi Sir/Mam,
3)How to close the flask server without interrupt the other processes. please suggest me to improve my knowledge. thanks, |
Having the same issue:
|
Hi. First let me thank you for this amazing library! It's been really useful for me. I just wanted to let you know that I'm getting this warning when using
jupyter_dash
on Python 3.8. Not sure what it means.Thanks!
The text was updated successfully, but these errors were encountered: