Closed
Description
Describe your context
The problem only happens for dash>=3.0.3.
dash 3.0.4
Describe the bug
A multi page application does not start if the name parameter is defined. It is looking for the same name in sys.modules
Expected behavior
The app should work - the problem does not show up for any version <=3.0.2, The same code that works for dash<=3.0.2 does not work for version >=3.0.3
Screenshots
If applicable, add screenshots or screen recording to help explain your problem.
App definition:
cache = diskcache.Cache(str(cache_path))
background_callback_manager = DiskcacheManager(cache, cache_by=[lambda: uuid.uuid4()], expire=300)
app = dash.Dash(
name='DER Commissioning Procedure and Toolkit (DERCoPT)',
background_callback_manager=background_callback_manager,
use_pages=True,
suppress_callback_exceptions=True,
url_base_pathname='/dercopt/',
)
If I do not define the name parameter - the issue goes away. Am I missing something fundamental?
Metadata
Metadata
Assignees
Labels
No labels