-
Notifications
You must be signed in to change notification settings - Fork 10
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
Does not work with pymongo version 3 #8
Comments
See #9 |
Hello, Some modifications has been merged. Could you re-test with master version ? Olivier |
This was referenced Mar 8, 2017
As far as I can tell, master works fine and pushing it to shinken.io would fix the issue. |
Hi, I just pushed a new version (2.0.0). I invite you to test it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I've been upgrading our MongoDB installation. MongoDB version 3 recommends or requires pymongo version 2.8 or newer (see http://docs.mongodb.org/manual/release-notes/3.0-compatibility/). Currently we're using pymongo 2.6.2 which works fine with MongoDB 2.6. If I upgrade pymongo using pip to the current version (3.0.1), this module no longer works. It tries this:
Which fails. It raises this exception when trying to run it:
With pymongo 3.0.1:
With pymongo 2.6.2:
It looks like the preferred way of connecting to Mongo using this module is like so (which also works in older versions in 2.6.2):
I'll see if I can create a patch when I have time.
The text was updated successfully, but these errors were encountered: