{"action":"created","issue":{"url":"https://api.github.com/repos/quokkaproject/quokka/issues/186","labels_url":"https://api.github.com/repos/quokkaproject/quokka/issues/186/labels{/name}","comments_url":"https://api.github.com/repos/quokkaproject/quokka/issues/186/comments","events_url":"https://api.github.com/repos/quokkaproject/quokka/issues/186/events","html_url":"https://github.com/quokkaproject/quokka/issues/186","id":68037941,"number":186,"title":"mongoengine.connection.ConnectionError: Cannot connect to database default : False is not a read preference.","user":{"login":"qsLI","id":6805785,"avatar_url":"https://avatars.githubusercontent.com/u/6805785?v=3","gravatar_id":"","url":"https://api.github.com/users/qsLI","html_url":"https://github.com/qsLI","followers_url":"https://api.github.com/users/qsLI/followers","following_url":"https://api.github.com/users/qsLI/following{/other_user}","gists_url":"https://api.github.com/users/qsLI/gists{/gist_id}","starred_url":"https://api.github.com/users/qsLI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qsLI/subscriptions","organizations_url":"https://api.github.com/users/qsLI/orgs","repos_url":"https://api.github.com/users/qsLI/repos","events_url":"https://api.github.com/users/qsLI/events{/privacy}","received_events_url":"https://api.github.com/users/qsLI/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-13T08:15:19Z","updated_at":"2015-04-15T22:18:18Z","closed_at":"2015-04-15T03:50:28Z","body":"when I type python manage.py populate,I got some exception\r\nTraceback (most recent call last):\r\n  File \"manage.py\", line 12, in <module>\r\n    app = create_app()\r\n  File \"D:\\code\\python\\flask\\quokka-master\\quokka\\__init__.py\", line 49, in create_app\r\n    configure_extensions(app, admin_instance or admin)\r\n  File \"D:\\code\\python\\flask\\quokka-master\\quokka\\ext\\__init__.py\", line 30, in configure_extensions\r\n    db.init_app(app)\r\n  File \"C:\\Python27\\lib\\site-packages\\flask_mongoengine-0.7.1-py2.7.egg\\flask_mongoengine\\__init__.py\", line 66, in init_app\r\n    self.connection = mongoengine.connect(**conn_settings)\r\n  File \"build\\bdist.win32\\egg\\mongoengine\\connection.py\", line 164, in connect\r\n  File \"build\\bdist.win32\\egg\\mongoengine\\connection.py\", line 126, in get_connection\r\nmongoengine.connection.ConnectionError: Cannot connect to database default :\r\nFalse is not a read preference."},"comment":{"url":"https://api.github.com/repos/quokkaproject/quokka/issues/comments/93585246","html_url":"https://github.com/quokkaproject/quokka/issues/186#issuecomment-93585246","issue_url":"https://api.github.com/repos/quokkaproject/quokka/issues/186","id":93585246,"user":{"login":"ez47","id":3338604,"avatar_url":"https://avatars.githubusercontent.com/u/3338604?v=3","gravatar_id":"","url":"https://api.github.com/users/ez47","html_url":"https://github.com/ez47","followers_url":"https://api.github.com/users/ez47/followers","following_url":"https://api.github.com/users/ez47/following{/other_user}","gists_url":"https://api.github.com/users/ez47/gists{/gist_id}","starred_url":"https://api.github.com/users/ez47/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ez47/subscriptions","organizations_url":"https://api.github.com/users/ez47/orgs","repos_url":"https://api.github.com/users/ez47/repos","events_url":"https://api.github.com/users/ez47/events{/privacy}","received_events_url":"https://api.github.com/users/ez47/received_events","type":"User","site_admin":false},"created_at":"2015-04-15T22:18:18Z","updated_at":"2015-04-15T22:18:18Z","body":"yes nvm, i found out what was wrong. I needed to pip install pymongo==2.7.1 to downgrade from pymongo 3.xx\r\n\r\n"}}