question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I’m trying to use your library with Werkzeug==2.2.0 but getting error:

 File "/usr/local/lib/python3.7/site-packages/spectree/plugins/flask_plugin.py", line 62, in parse_path
    from werkzeug.routing import parse_converter_args, parse_rule
ImportError: cannot import name 'parse_rule' from 'werkzeug.routing'

Could it be resolved? Thank you

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
kemingycommented, Aug 3, 2022

Have you thought about implementation your library for Quart framework?

I’ll open an issue to track this. But I cannot promise when I will work on that.

0reactions
kemingycommented, Aug 3, 2022

I created a new release https://github.com/0b01001001/spectree/releases/tag/v0.10.4 so users who run pip install spectree will also get this fix.

Closing this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTTP Exceptions — Werkzeug Documentation (2.2.x)
Internal exception that is raised if Werkzeug detects a disconnected client. Since the client is already gone at that point attempting to send...
Read more >
werkzeug/exceptions.py at main - GitHub
"""Implements a number of Python exceptions which can be raised from within. a view to trigger a standard HTTP non-200 response. Usage Example....
Read more >
python - Flask - Error werkzeug.exceptions.BadRequestKeyError
It appears to me that you haven't created your initial base webpage (index.html), which would contain your form element.
Read more >
Source code for werkzeug.exceptions - Flask API
Keep in mind that you have to pass an environment to ``get_response()`` because some errors fetch additional information from the WSGI environment.
Read more >
ERROR odoo14 werkzeug: Error on request | Odoo
ERROR odoo14 werkzeug: Error on request · File "/Users/alzarough/odoo/odoo/addons/base/models/ir_http.py", line 237, in _dispatch · result = ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found