Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 844142

Summary: sci-visualization/dash: ImportError: cannot import name 'get_current_traceback' from 'werkzeug.debug.tbtools'
Product: Gentoo Linux Reporter: poncho <poncho>
Component: Current packagesAssignee: Tupone Alfredo <tupone>
Status: RESOLVED FIXED    
Severity: normal CC: poncho
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/plotly/dash/pull/1995
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Fix werkzeug 2.1.0 import & dev tools error html rendering

Description poncho 2022-05-14 06:21:55 UTC
dash doesn't work anymore since the recent stabilization of dev-python/werkzeug

upstream bug with fix is available at:
https://github.com/plotly/dash/issues/1992
Comment 1 poncho 2022-05-15 06:35:46 UTC
Created attachment 778988 [details, diff]
Fix werkzeug 2.1.0 import & dev tools error html rendering

Back port of https://github.com/plotly/dash/pull/1995/commits/877aaa95d4d11890715aec1f982915dbbb72a606 to version 1.21.0
Comment 2 poncho 2022-06-01 10:41:08 UTC
ping?
Comment 3 Larry the Git Cow gentoo-dev 2022-06-26 10:03:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=332fddbf43e73b8695c25f5424a558373deb0657

commit 332fddbf43e73b8695c25f5424a558373deb0657
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2022-06-26 10:03:25 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2022-06-26 10:03:25 +0000

    sci-visualization/dash: fix werkzeug 2.1.0 import
    
    Closes: https://bugs.gentoo.org/844142
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 sci-visualization/dash/dash-1.21.0-r1.ebuild       | 38 +++++++++
 ...g-2.1.0-import-dev-tools-error-html-rende.patch | 98 ++++++++++++++++++++++
 2 files changed, 136 insertions(+)
Comment 4 Tupone Alfredo gentoo-dev 2022-06-26 10:05:14 UTC
(In reply to poncho from comment #2)
> ping?

I was busy. A Pull Request on github/gentoo will make it faster