Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

werkzeug.debug.tbtools #23

Open
matteoferla opened this issue Aug 23, 2022 · 2 comments
Open

werkzeug.debug.tbtools #23

matteoferla opened this issue Aug 23, 2022 · 2 comments

Comments

@matteoferla
Copy link

matteoferla commented Aug 23, 2022

The submodule werkzeug.debug.tbtools as of version 2.0 upwards no longer has the classes Frame, Traceback, Line, therefore this line fails:

from werkzeug.debug.tbtools import Traceback, Frame, Line
# ImportError: cannot import name 'Traceback' from 'werkzeug.debug.tbtools'

Rolling back to werkzeug==2.0 crashes flask.

werkzeug has DebugFrameSummary, DebugTraceback and a smattering of variable for line as far I can tell. cf.werkzeug.debug.tbtools as they do not look the same I did not do a monkeypatch as working around the error reporting is not an issue for me as I can happily blank out the error catching in my internal production app.

I see in setup.py the project status is Development Status :: 3 - Alpha, so wanted to ask if it's actually Development Status :: 7 - Inactive — the werkzeug change happened over a year ago.

@axonxorz
Copy link

I think it's fair to say this project is dead, last commit was 2016 :(

@spollard
Copy link

FYI This is fixed in #18

I vote to fork!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants