Skip to content

mongoengine.connection.ConnectionError: Cannot connect to database default : False is not a read preference. #22

@venkatwilliams

Description

@venkatwilliams

/dev/streamcrab$ sudo python toolbox/collect-tweets.py happy 2000
Traceback (most recent call last):
File "toolbox/collect-tweets.py", line 28, in
models.connect()
File "/home/venkat/dev/streamcrab/smm/models.py", line 125, in connect
mongoengine.connect(**conf)
File "build/bdist.linux-x86_64/egg/mongoengine/connection.py", line 173, in connect
File "build/bdist.linux-x86_64/egg/mongoengine/connection.py", line 135, in get_connection
mongoengine.connection.ConnectionError: Cannot connect to database default :
False is not a read preference.

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