Skip to content

MongoDB API updated #11

@antonis-papaioannou

Description

@antonis-papaioannou

There is an error when trying to use mongodb driver:
AttributeError: 'module' object has no attribute 'Connection'

You have to use MongoClient instead of Connection (pymongo changed api).

You have to change line 236 of file drivers/mongodbdriver.py to:
self.conn = pymongo.MongoClient(config['host'], int(config['port']))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions