-
Notifications
You must be signed in to change notification settings - Fork 253
Closed
Description
Hi!
I would like to update pymongo to 3.0
Did you know when will be flask-mongoengine ready to do so?
As soon as I update it I raises and error
I've tryed to install masters versions of mongoengine (proposed by the people in charge) and yours but the errors is still there
Let me put the traceback here to:
127.0.0.1 - - [04/Jun/2015 17:54:34] "GET / HTTP/1.1" 500 -
Traceback (most recent call last):
File "/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/flask/app.py", line 1836, in __call__
return self.wsgi_app(environ, start_response)
File "/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/flask/app.py", line 1820, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/flask/app.py", line 1403, in handle_exception
reraise(exc_type, exc_value, tb)
File "/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
File "/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/flask_debugtoolbar/__init__.py", line 125, in dispatch_request
return view_func(**req.view_args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cProfile.py", line 149, in runcall
return func(*args, **kw)
File "/Users/garito/TimeFounder/App/0.3/TimeFounder/__init__.py", line 207, in root
return tree('', 'view')
File "/Users/garito/TimeFounder/App/0.3/TimeFounder/__init__.py", line 274, in tree
return abort(404) if method is None else method(obj)
File "/Users/garito/TimeFounder/App/0.3/TimeFounder/models/section.py", line 84, in view
if current_user in self.leaders and current_user == self.leaders[0]:
File "/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/mongoengine/base/fields.py", line 245, in __get__
name=self.name
File "/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/mongoengine/dereference.py", line 78, in __call__
self.object_map = self._fetch_objects(doc_type=doc_type)
File "/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/mongoengine/dereference.py", line 143, in _fetch_objects
for ref in references:
File "/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/pymongo/cursor.py", line 983, in next
if len(self.__data) or self._refresh():
File "/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/flask_mongoengine/operation_tracker.py", line 168, in _cursor_refresh
snapshot = privar("snapshot")
File "/Users/garito/TimeFounder/App/0.3/env/lib/python2.7/site-packages/flask_mongoengine/operation_tracker.py", line 136, in privar
return getattr(cursor_self, '_Cursor__{0}'.format(name))
AttributeError: 'Cursor' object has no attribute '_Cursor__snapshot'
Any ideas?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels