This traverser does not support loops

22 views
Skip to first unread message

Damien Seguy

unread,
Jul 18, 2017, 11:39:07 AM7/18/17
to Gremlin-users
Hi 

I ran into this weird error :  'This traverser does not support loops: org.apache.tinkerpop.gremlin.process.traversal.traverser.B_O_Traverser'.

the query looks like this : 

g.V().not( where( __.emit( ).repeat( __.out() ).times(15).hasLabel("Variable") )  )

I'm running this on Gremlin 3.2.5, with Gremlin-server.

I found a workaround : 

g.V().where( __.emit( ).repeat( __.out() ).times(15).hasLabel("Variable").count().is(eq(0)) ) 


Is it a bug? I've used not() with where() elsewhere with success... 

Damien Seguy. 

Marko Rodriguez

unread,
Jul 18, 2017, 12:18:56 PM7/18/17
to gremli...@googlegroups.com
Hello,

This does sound like a bug. I suspect not()-step is not yielding child traversal analysis for some reason. Please submit a ticket.

Thanks,
Marko.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/75a2772a-611f-4ece-850c-e79469824df4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages