{"action":"opened","issue":{"url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/issues/153","labels_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/issues/153/labels{/name}","comments_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/issues/153/comments","events_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/issues/153/events","html_url":"https://github.com/MongoEngine/flask-mongoengine/issues/153","id":85159778,"number":153,"title":"pymongo 3.0","user":{"login":"Garito","id":1005398,"avatar_url":"https://avatars.githubusercontent.com/u/1005398?v=3","gravatar_id":"","url":"https://api.github.com/users/Garito","html_url":"https://github.com/Garito","followers_url":"https://api.github.com/users/Garito/followers","following_url":"https://api.github.com/users/Garito/following{/other_user}","gists_url":"https://api.github.com/users/Garito/gists{/gist_id}","starred_url":"https://api.github.com/users/Garito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Garito/subscriptions","organizations_url":"https://api.github.com/users/Garito/orgs","repos_url":"https://api.github.com/users/Garito/repos","events_url":"https://api.github.com/users/Garito/events{/privacy}","received_events_url":"https://api.github.com/users/Garito/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-04T15:58:28Z","updated_at":"2015-06-04T15:58:28Z","closed_at":null,"body":"Hi!\r\nI would like to update pymongo to 3.0\r\nDid you know when will be flask-mongoengine ready to do so?\r\nAs soon as I update it I raises and error\r\nI've tryed to install masters versions of mongoengine (proposed by the people in charge) and yours but the errors is still there\r\nLet me put the traceback here to:\r\n```python\r\n127.0.0.1 - - [04/Jun/2015 17:54:34] \"GET / HTTP/1.1\" 500 -\r\nTraceback (most recent call last):\r\n  File \"/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/flask/app.py\", line 1836, in __call__\r\n    return self.wsgi_app(environ, start_response)\r\n  File \"/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/flask/app.py\", line 1820, in wsgi_app\r\n    response = self.make_response(self.handle_exception(e))\r\n  File \"/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/flask/app.py\", line 1403, in handle_exception\r\n    reraise(exc_type, exc_value, tb)\r\n  File \"/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/flask/app.py\", line 1817, in wsgi_app\r\n    response = self.full_dispatch_request()\r\n  File \"/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/flask/app.py\", line 1477, in full_dispatch_request\r\n    rv = self.handle_user_exception(e)\r\n  File \"/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/flask/app.py\", line 1381, in handle_user_exception\r\n    reraise(exc_type, exc_value, tb)\r\n  File \"/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/flask/app.py\", line 1475, in full_dispatch_request\r\n    rv = self.dispatch_request()\r\n  File \"/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/flask_debugtoolbar/__init__.py\", line 125, in dispatch_request\r\n    return view_func(**req.view_args)\r\n  File \"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cProfile.py\", line 149, in runcall\r\n    return func(*args, **kw)\r\n  File \"/Users/garito/TimeFounder/App/0.3/TimeFounder/__init__.py\", line 207, in root\r\n    return tree('', 'view')\r\n  File \"/Users/garito/TimeFounder/App/0.3/TimeFounder/__init__.py\", line 274, in tree\r\n    return abort(404) if method is None else method(obj)\r\n  File \"/Users/garito/TimeFounder/App/0.3/TimeFounder/models/section.py\", line 84, in view\r\n    if current_user in self.leaders and current_user == self.leaders[0]:\r\n  File \"/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/mongoengine/base/fields.py\", line 245, in __get__\r\n    name=self.name\r\n  File \"/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/mongoengine/dereference.py\", line 78, in __call__\r\n    self.object_map = self._fetch_objects(doc_type=doc_type)\r\n  File \"/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/mongoengine/dereference.py\", line 143, in _fetch_objects\r\n    for ref in references:\r\n  File \"/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/pymongo/cursor.py\", line 983, in next\r\n    if len(self.__data) or self._refresh():\r\n  File \"/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/flask_mongoengine/operation_tracker.py\", line 168, in _cursor_refresh\r\n    snapshot = privar(\"snapshot\")\r\n  File \"/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/flask_mongoengine/operation_tracker.py\", line 136, in privar\r\n    return getattr(cursor_self, '_Cursor__{0}'.format(name))\r\nAttributeError: 'Cursor' object has no attribute '_Cursor__snapshot'\r\n```\r\nAny ideas?\r\n\r\nThanks!"}}