Open cchayden opened 6 years ago
I was having the same issue... Apparently it has something to do with the flask-pymongo
version that is not compatible with Eve's most recent version. I fixed it by running:
pip install flask-pymongo==0.5.2
pip install flask-pymongo==0.5.2
Also, werkzeug must be < 0.14.1 and Redis < 3.
Trying to upgrade/use Eve 0.9.2 and I see the same issue currently. Any recent information what versions are currently needed for flask-sentinel to work with Eve 0.9.2 for flask-pymongo, werkzeug and Redis?
Traceback (most recent call last):
File "run.py", line 39, in
pymongo.errors.ConfigurationError: Unknown option config_prefix
In pymongo 3.7.1 the MongoClient no longer accepts a keyword parameter config_prefix. This causes a failure when executing ResourceOwnerPasswordCredentials(app) I am not sure whether pymongo has a replacement for this functionality, but in any case it causes the whole system to not start up.
I subclassed ResourceOwnerPasswordCredentials and modified the init_app method to omit that parameter. Is there a more elegant solution?
Here is the stack trace: