Skip to content

Instantly share code, notes, and snippets.

@oostendo
Created June 25, 2012 15:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oostendo/2989211 to your computer and use it in GitHub Desktop.
Save oostendo/2989211 to your computer and use it in GitHub Desktop.
SimpleSeer.Web: ERROR Exception on /grid/thumbnail_file/4fe47a9c598e1e04a90000f8 [GET]
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1504, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1264, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1262, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1248, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/home/ubuntu/Code/SimpleSeer/SimpleSeer/views.py", line 141, in thumbnail
if not frame or not frame[0].imgfile:
File "/usr/local/lib/python2.7/dist-packages/mongoengine/queryset.py", line 982, in __len__
return self.count()
File "/usr/local/lib/python2.7/dist-packages/mongoengine/queryset.py", line 979, in count
return self._cursor.count(with_limit_and_skip=True)
File "/usr/local/lib/python2.7/dist-packages/pymongo/cursor.py", line 511, in count
**command)
File "/usr/local/lib/python2.7/dist-packages/pymongo/database.py", line 350, in command
result = self["$cmd"].find_one(command, **extra_opts)
File "/usr/local/lib/python2.7/dist-packages/pymongo/collection.py", line 514, in find_one
for result in self.find(spec_or_id, *args, **kwargs).limit(-1):
File "/usr/local/lib/python2.7/dist-packages/pymongo/cursor.py", line 747, in next
if len(self.__data) or self._refresh():
File "/usr/local/lib/python2.7/dist-packages/pymongo/cursor.py", line 698, in _refresh
self.__uuid_subtype))
File "/usr/local/lib/python2.7/dist-packages/pymongo/cursor.py", line 638, in __send_message
**kwargs)
File "/usr/local/lib/python2.7/dist-packages/pymongo/connection.py", line 809, in _send_message_with_response
return self.__send_and_receive(message, sock_info)
File "/usr/local/lib/python2.7/dist-packages/pymongo/connection.py", line 790, in __send_and_receive
return self.__receive_message_on_socket(1, request_id, sock_info)
File "/usr/local/lib/python2.7/dist-packages/pymongo/connection.py", line 780, in __receive_message_on_socket
struct.unpack("<i", header[8:12])[0])
AssertionError: ids don't match 7349123 -722832214
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment