flask-mako icon indicating copy to clipboard operation
flask-mako copied to clipboard

werkzeug.debug.tbtools

Open matteoferla opened this issue 3 years ago • 2 comments

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.

matteoferla avatar Aug 23 '22 12:08 matteoferla

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

axonxorz avatar Oct 14 '22 16:10 axonxorz

FYI This is fixed in https://github.com/benselme/flask-mako/pull/18

I vote to fork!

spollard avatar Apr 25 '23 00:04 spollard