-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Not A Bug
-
Affects Version/s: 3.4.7
-
Fix Version/s: None
-
Component/s: python
-
Labels:None
-
Environment:Environment: Ubuntu 18.04.3 LTS VM
Using python's range in for loops results in a gremlin error. Example:
{{ for x in range(0,5):}}
print
If I have gremlin-python imported, I get this error:
Traceback (most recent call last):
{{ File "clusters.py", line 133, in <module>}}
{{ Run('localhost',8182)}}
{{ File "clusters.py", line 123, in Run}}
{{ for x in range(0,5):}}
{{ File "/home/developer/.local/lib/python3.6/site-packages/gremlin_python/process/traversal.py", line 48, in _next_}}
{{ self.traversal_strategies.apply_strategies(self)}}
AttributeError: 'NoneType' object has no attribute 'apply_strategies'
Python Version: 3.6.9