Giter Site home page Giter Site logo

Comments (3)

caiohsramos avatar caiohsramos commented on June 27, 2024 1

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

from flask-sentinel.

rmlopes avatar rmlopes commented on June 27, 2024

pip install flask-pymongo==0.5.2

Also, werkzeug must be < 0.14.1 and Redis < 3.

from flask-sentinel.

samsantiago avatar samsantiago commented on June 27, 2024

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
ResourceOwnerPasswordCredentials(app)
File "/usr/local/lib/python3.7/site-packages/flask_sentinel/flask_sentinel.py", line 22, in init
self.init_app(app)
File "/usr/local/lib/python3.7/site-packages/flask_sentinel/flask_sentinel.py", line 44, in init_app
mongo.init_app(app, config_prefix='SENTINEL_MONGO')
File "/usr/local/lib/python3.7/site-packages/flask_pymongo/init.py", line 154, in init_app
self.cx = MongoClient(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/pymongo/mongo_client.py", line 647, in init
dict(common.validate(k, v) for k, v in keyword_opts.items()))
File "/usr/local/lib/python3.7/site-packages/pymongo/mongo_client.py", line 647, in
dict(common.validate(k, v) for k, v in keyword_opts.items()))
File "/usr/local/lib/python3.7/site-packages/pymongo/common.py", line 725, in validate
value = validator(option, value)
File "/usr/local/lib/python3.7/site-packages/pymongo/common.py", line 143, in raise_config_error
raise ConfigurationError("Unknown option %s" % (key,))

pymongo.errors.ConfigurationError: Unknown option config_prefix

from flask-sentinel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.