pymongo-job-queue
pymongo-job-queue copied to clipboard
AttributeError: 'Cursor' object has no attribute '_Cursor__id'
Traceback (most recent call last):
File "Z:/spdaemon/app.py", line 184, in _runme
message = self._jobqueue.next().get('data', None)
File "Z:\Z_VirtualEnv\lib\site-packages\pymjq\jobqueue.py", line 42, in next
tailable=True)
File "Z:\Z_VirtualEnv\lib\site-packages\pymongo\collection.py", line 1137, in find
return Cursor(self, *args, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'tailable'
Exception ignored in: <bound method Cursor.__del__ of <pymongo.cursor.Cursor object at 0x0000000003918048>>
Traceback (most recent call last):
File "Z:\Z_VirtualEnv\lib\site-packages\pymongo\cursor.py", line 214, in __del__
if self.__id and not self.__killed:
AttributeError: 'Cursor' object has no attribute '_Cursor__id'
This is just in a client code daemon when calling
message = self._jobqueue.next().get('data', None)
Any Ideas ?
Python 3.4.4 Windows 8 x64 Latest MongoDb