When i use python, the error occured. My query is:
g.V(14012536).as_('start').repeat(__.timeLimit(2000).both()).until(__.loops().is_(1)).dedup().as_('a').limit(__.select('a').hasId(288854240, 295903304, 290861088).count().map(lambda: ("it.get()", "gremlin-groovy")).toList()).toList()
Error detail:
File "xxx\lib\site-packages\gremlin_python\process\traversal.py", line 57, in toList
return list(iter(self))
File "xxx\lib\site-packages\gremlin_python\process\traversal.py", line 47, in __next__
self.traversal_strategies.apply_strategies(self)
AttributeError: 'NoneType' object has no attribute 'apply_strategies'
Can anyone tell me how to fix the error.