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
Flask 0.10 incompatibility due to removed JSONHTTPException #218
Comments
There are now three choices on how to fix this:
|
Just ran into this myself - what is the plan to fix? |
@mowliv If you would like to use the fork at https://github.com/goodscloud/flask-restless, go ahead, this problem is fixed there. |
Hi, Im out of the country for another week or two so I wont be merging these things for a little while. Sorry for the inconvenience. |
Are you back yet? :-) I'd rather not run someones fork and then forget to change it back later. |
@glyphobet What if #212 is implemented to have a working flask-restless, and then a better solution can be made later? |
I will use #228. |
With pallets/flask@4c27f7a, Flask 0.10 has removed
exceptions.JSONHTTPException
.This means Flask-Restless is incompatible with Flask 0.10, since it imports
JSONHTTPException
.From the flask commit, it sounds like there is something wrong with handling exceptions as JSON, but @mitsuhiko doesn't really explain it further than that. A temporary fix would be to require Flask <= 0.9, but a better fix would be to understand what is wrong with JSON exceptions and find a better solution.
The text was updated successfully, but these errors were encountered: