scaleoutsystems / stackn

A minimalistic and pluggable machine learning platform for Kubernetes.
http://www.scaleoutsystems.com
Apache License 2.0
35 stars 13 forks source link

Fix ImportError: 'get_current_traceback' from 'werkzeug.debug.tbtools' #267

Closed aitmlouk closed 2 years ago

aitmlouk commented 2 years ago

Fix for ImportError: cannot import name 'get_current_traceback' from 'werkzeug.debug.tbtools' conflict with dash for studio

celery-beat | from .dash_demo import app celery-beat | File "/app/monitor/dash_demo.py", line 8, in celery-beat | import dash celery-beat | File "/usr/local/lib/python3.8/site-packages/dash/init.py", line 5, in celery-beat | from .dash import Dash, no_update # noqa: F401,E402 celery-beat | File "/usr/local/lib/python3.8/site-packages/dash/dash.py", line 22, in celery-beat | from werkzeug.debug.tbtools import get_current_traceback celery-beat | ImportError: cannot import name 'get_current_traceback' from 'werkzeug.debug.tbtools' (/usr/local/lib/python3.8/site-packages/werkzeug/debug/tbtools.py)

Reproduce the error: 1- Install stackn (docker-compose up)

Ref: plotly/dash#1993

Status

Description

Describe your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to include a link to that issue.

Types of changes

What types of changes does your code introduce to STACKn?

Checklist

If you're unsure about any of the items below, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

Further comments

Anything else you think we should know before merging your code!