Skip to content

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

@aniljoshi1989

Description

@aniljoshi1989

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions