Comments (11)
I wonder if it's an issue with the interactive debug mode. Perhaps try removing the debug=True
statement there. Just run app.run_server(debug=False)
.
from dash.
but running the same code as a .py script instead of a notebook worked fine
Yeah. It seems like Jupyter notebook and the Flask debug mode don't work together. I'd recommend running it as a regular python script with debug mode for now. With debug=True
, the script will automatically re-run itself when you make changes to the code; you can just refresh the browser without re-starting the script.
from dash.
Hm... I'm not sure what's going on here or why Jupyter isn't showing the error message.
from dash.
Setting debug=False
seems to work for me:
from dash.
ill test it. but running the same code as a .py script instead of a notebook worked fine
from dash.
if i run it in a jup notebook (with debug=False) in aws, it runs, but doesnt print any outputs.
from dash.
Here's a solution from the community for running Dash in Jupyter / Ipython notebooks: https://community.plot.ly/t/can-i-run-dash-app-in-jupyter/5235/2
from dash.
It is not running on sypder with the same error and debug = False
from dash.
Works here in Spyder with debug = False
. Does not works with debug = True
.
from dash.
if( name == "main"):
app.run(debug=True, use_reloader=False)
try this works perfectly fine for Spyder
from dash.
I wonder if it's an issue with the interactive debug mode. Perhaps try removing the
debug=True
statement there. Just runapp.run_server(debug=False)
.
OMG! It works. Thank u
from dash.
Related Issues (20)
- [BUG] dcc.Dropdown value does not update when an option is removed (regression from #1868)
- [Feature Request] Python 3.12 support HOT 1
- [Feature Request] Send categorical color data on click/hover/select HOT 4
- [Feature Request] Virtual WebGL support HOT 2
- [BUG] `dcc.Graph` inserts phantom rectangular shape on callback update seemingly randomly HOT 2
- [Feature Request] `dash.callback` should utilize `functools.wraps` HOT 4
- Dangerous link detected Error in Dash Debug Window after upgrading from 2.14.2 to 2.15.0 HOT 17
- [BUG] Duplicate callback outputs HOT 4
- [Feature Request] Allow background callbacks to run in the same process as the main app
- [Feature Request] Ability to prevent newer background callbacks from cancelling older ones if desired HOT 3
- [BUG] Dropdown options not rendering on the UI even though it is generated HOT 1
- [Feature Request] More documentaion for new dash-auth 2.2.0 package
- [BUG] dcc.Tooltip children isn't clickable even with targetable=True HOT 3
- [BUG] extending a trace in callback using extendData property doesn't work for a figure with multi-level axis HOT 1
- [BUG] Callback will not render new data until a delay is introduced HOT 6
- Dangerous link detected error after upgrading to Dash 2.15.0 HOT 3
- When moving the cursor, it will sometimes get stuck
- dash incorrectly marked as vulnerable to GHSA-547x-748v-vp6p via dash-html-components HOT 3
- [BUG] Breaking change for chained callbacks in dash>=2.9.0 HOT 4
- [BUG] DataTable Dropdown Text Deletion Issue HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dash.