Skip to content
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

[ERROR] mongo_connector.util:98 - Call to Database #939

Open
aniljoshi1989 opened this issue Feb 27, 2024 · 0 comments
Open

[ERROR] mongo_connector.util:98 - Call to Database #939

aniljoshi1989 opened this issue Feb 27, 2024 · 0 comments

Comments

@aniljoshi1989
Copy link

Getting below error while running command mongo-connector -m localhost:27017 -t localhost:27030 -d mongo_doc_manager

TypeError: 'Database' object is not callable
2024-02-27 11:14:04,867 [ERROR] mongo_connector.util:98 - Call to Database(MongoClient(host=['localhost:27019', 'localhost:27018'], document_class=dict, tz_aware=False, connect=True, replicaset='shardA'), 'database_names') failed too many times in retry_until_ok
Traceback (most recent call last):
  File "/home/vagrant/.local/lib/python3.7/site-packages/mongo_connector/util.py", line 79, in retry_until_ok
    return func(*args, **kwargs)
TypeError: 'Database' object is not callable
pymongo version: 4.5.0
Python version: 3.7.0
mongo-connector version: 3.1.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant