question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot list vertices after I create one

See original GitHub issue

Hi,

I’ve combined the latest gremlin-server (v3.4.9) with the latest bitsy (v3.4.0) and trying to create a vertex and read it after. But I do not get a result for the listing. You can find dockerized test here.

This is how the server starts:

$ docker-compose up db
Creating network "issue01-cannot-list-after-create_net" with the default driver
Creating issue01-cannot-list-after-create_db_1 ... done
Attaching to issue01-cannot-list-after-create_db_1
db_1    | [INFO] GremlinServer - 3.4.9
db_1    |          \,,,/
db_1    |          (o o)
db_1    | -----oOOo-(3)-oOOo-----
db_1    |
db_1    | [INFO] GremlinServer - Configuring Gremlin Server from conf/gremlin-server-bitsy.yaml
db_1    | [INFO] MetricManager - Configured Metrics Slf4jReporter configured with interval=180000ms and loggerName=org.apache.tinkerpop.gremlin.server.Settings$Slf4jReporterMetrics
db_1    | [INFO] FileBackedMemoryGraphStore - Starting graph FileBackedMemoryGraphStore-1(path = /bitsy-data)
db_1    | [INFO] DefaultGraphManager - Graph [graph] was successfully configured via [conf/bitsy.properties].
db_1    | [INFO] ServerGremlinExecutor - Initialized Gremlin thread pool.  Threads in pool named with pattern gremlin-*
db_1    | [INFO] ServerGremlinExecutor - Initialized GremlinExecutor and preparing GremlinScriptEngines instances.
db_1    | [INFO] ServerGremlinExecutor - Initialized gremlin-groovy GremlinScriptEngine and registered metrics
db_1    | [INFO] ServerGremlinExecutor - A GraphTraversalSource is now bound to [g] with graphtraversalsource[bitsygraph[/bitsy-data], standard]
db_1    | [INFO] OpLoader - Adding the standard OpProcessor.
db_1    | [INFO] OpLoader - Adding the session OpProcessor.
db_1    | [INFO] OpLoader - Adding the traversal OpProcessor.
db_1    | [INFO] TraversalOpProcessor - Initialized cache for TraversalOpProcessor with size 1000 and expiration time of 600000 ms
db_1    | [INFO] GremlinServer - Executing start up LifeCycleHook
db_1    | [INFO] Logger$info - Executed once at startup of Gremlin Server.
db_1    | [INFO] GremlinServer - idleConnectionTimeout was set to 0 which resolves to 0 seconds when configuring this value - this feature will be disabled
db_1    | [INFO] GremlinServer - keepAliveInterval was set to 0 which resolves to 0 seconds when configuring this value - this feature will be disabled
db_1    | [WARN] AbstractChannelizer - The org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV3d0 serialization class is deprecated.
db_1    | [INFO] AbstractChannelizer - Configured application/vnd.gremlin-v3.0+gryo with org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV3d0
db_1    | [WARN] AbstractChannelizer - The org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV3d0 serialization class is deprecated.
db_1    | [INFO] AbstractChannelizer - Configured application/vnd.gremlin-v3.0+gryo-stringd with org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV3d0
db_1    | [INFO] AbstractChannelizer - Configured application/vnd.gremlin-v3.0+json with org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV3d0
db_1    | [INFO] AbstractChannelizer - Configured application/json with org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV3d0
db_1    | [INFO] GremlinServer$1 - Gremlin Server configured with worker thread pool of 1, gremlin pool of 4 and boss thread pool of 1.
db_1    | [INFO] GremlinServer$1 - Channel started at port 8182.

And these are my tryouts:

$ docker-compose run --rm test list
Testing...
[]
$ docker-compose run --rm test list
Testing...
[]
$ docker-compose run --rm test create
Testing...
{
  value: Vertex {
    id: '2e9f5ad8-184e-408b-8282-128b29ef3f0e',
    label: 'Person',
    properties: undefined
  },
  done: false
}
$ docker-compose run --rm test list
Testing...
# and it just hangs on this step, and gremlin-server's log is silent - no errors there

What do you think? I hope that I simply do something wrong.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:14 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
lambdazencommented, Jan 15, 2021

Thanks @giovibal

If this resolves the issue, please create another PR & I can release 3.4.2.

0reactions
ihorocommented, Jan 19, 2021

I’ve tried bitsy 3.4.2 and my simple create+list test works now. Thank you all.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot edit vertex after join
Every time I try to select a single object, it selects everything in the scene. How do I separate them? 6 · Does...
Read more >
Problem: Unable to edit vertices during an edit session
When attempting to edit vertices of a feature, the error message, "Select a single editable feature to modify" is displayed. Editable. Cause.
Read more >
Cant seem to print list<VERTEX>vertices within a for loop ...
Im having an issue where i cannot manage to print the set of coords which are held within list 'vertex' vertices.. To explain,...
Read more >
How to Add a Single Vertex in Blender 2.9 - YouTube
Your browser can't play this video. Learn more. Switch camera.
Read more >
Euler Paths and Euler Circuits
An Euler path starts and ends at different vertices. ... than 2, then G cannot have an Euler path. ... one of them...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found