AttributeError: 'DjangoDash' object has no attribute 'config'
See original GitHub issueHello,
I am trying to assign a callback to a component that is generated by other callbacks (and therefore not in the initial layout).
As explained in Dash documentation, I try to suppress the exception:
app.config.suppress_callback_exceptions = True
But then get: AttributeError: ‘DjangoDash’ object has no attribute ‘config’
Any ideas how to fix this?
Thanks!
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
How to save huge data by session in server with ...
But AttributeError was raised when I tried to integrate the Dash-app with ... AttributeError: 'DjangoDash' object has no attribute 'server'.
Read more >Python Dash: 'Dash' object has no attribute 'route'
The docs don't say what you think they do. app is the Dash instance, not the Flask one - that is available via...
Read more >django-dash Documentation - Read the Docs
Add dash to INSTALLED_APPS of the your projects' Django settings. ... e = AttributeError(“'module' object has no attribute ...
Read more >Object has no attribute 'object' : r/django - Reddit
AttributeError at /recipebook/addrecipe 'addrecipe' object has no ... You'd have to define it in the class in the dispatch or setup method.
Read more >Overcome the error: AttributeError: 'Settings' object has no ...
Overcome the error: AttributeError: 'Settings' object has no attribute 'PLUGINS_REPO_ID' · Admin Talk · cdb January 20, 2022, 9:26am #1. Hey everybody,.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi. I am no longer using such a setup, but when I faced the issue of AttributeError: ‘DjangoDash’ object has no attribute ‘config’, then the solution was to do something like described in the issue I cited:
Adding suppress_callback_exceptions = True should fix the error. I hope this helped.
@apiljic Thanks for your time for answering this. Will try to use this.