Hi, you probably need to give the cursor a longer lifetime, else it will expire, hence "cursor not found". https://www.arangodb.com/docs/stable/http/aql-query-cursor-accessing-cursors.html - the 'ttl' parameter. Cheers, Willi
Am Mo., 20. Juli 2020 um 11:04 Uhr schrieb [email protected] < [email protected]>: > *I have this query against ArangoDB 3.6.5 (Python 3, python-arango 5.4.0):* > > *```* > * FOR doc in import* > * filter doc._type == 'Plone Site' || doc._type == 'Folder'* > * limit 10000000* > * RETURN {path: doc._path, position: doc._gopip}* > *``` * > > *This returns about 12.000 documents.* > > *After some time I get this error:* > > *```* > * File > "/home/ajung/sandboxes/ugent-portaal-plone-4x/src/ugent.plone5migration/src/ugent/plone5migration/migration/fix_object_ordering.py", > line 51, in main* > * for i, r in enumerate(result):* > * File > "/home/ajung/sandboxes/ugent-portaal-plone-4x/eggs/python_arango-5.4.0-py3.8.egg/arango/cursor.py", > line 61, in __next__* > * return self.next()* > * File > "/home/ajung/sandboxes/ugent-portaal-plone-4x/eggs/python_arango-5.4.0-py3.8.egg/arango/cursor.py", > line 229, in next* > * self.fetch()* > * File > "/home/ajung/sandboxes/ugent-portaal-plone-4x/eggs/python_arango-5.4.0-py3.8.egg/arango/cursor.py", > line 265, in fetch* > * raise CursorNextError(resp, request)* > *arango.exceptions.CursorNextError: [HTTP 404][ERR 1600] cursor not found* > * ```* > > *Is this related to the Python driver or ArangoDB itself?* > > -- > You received this message because you are subscribed to the Google Groups > "ArangoDB" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/arangodb/55d67e33-393b-4167-8173-074e6442a2d7n%40googlegroups.com > <https://groups.google.com/d/msgid/arangodb/55d67e33-393b-4167-8173-074e6442a2d7n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "ArangoDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/arangodb/CACOvXe06fPRSQOi%2Br669OWZq%3DDpK5dGM9JbsTLT%3DUtbXK4%3DLOg%40mail.gmail.com.
