Skip to content

Instantly share code, notes, and snippets.

@dmregister
Created April 8, 2015 16:24
Show Gist options
  • Save dmregister/27ae6a81ab86442ca9db to your computer and use it in GitHub Desktop.
Save dmregister/27ae6a81ab86442ca9db to your computer and use it in GitHub Desktop.
mongo-connector error
Error
TypeError: 'Database' object is not callable. If you meant to call the 'disconnect' method on a 'MongoClient' object it is failing because no such method exists.
Error is happening here:
https://github.com/10gen-labs/mongo-connector/blob/master/mongo_connector/connector.py#L282
CMD:
mongo-connector -m 192.168.56.10:27017 -t 192.168.56.10:9200 -d elastic_doc_manager
Mongo conf:
bind_ip=192.168.56.10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment