Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
1 vote
1 answer
38 views

How to resolve "Unclosed client session" from aiohttp

I'm pulling data from an API and populating Janusgraph DB running in the docker container per the installation site: docker run --name janusgraph-default janusgraph/janusgraph:latest The python ...
gph's user avatar
  • 1,247
0 votes
0 answers
21 views

Export JanusGraph graph image into Excel

I'm using JanusGraph in Jupyter Notebook. I'm currently looking to export my results into Excel. I'm able to export out the data, but not the graph image itself. At the moment, I'm just manually cut/...
dhughes20's user avatar
0 votes
0 answers
40 views

janusgraph python unpack requires a buffer of 4 bytes

I am trying to add vertex graph in Janusgraph. Connection has been established but when it starts adding the vertex I am getting error: unpack requires a buffer of 4 bytes. My janusgraph is running ...
Shivam Raj's user avatar
0 votes
1 answer
27 views

gremlinpython writing a helper function to create vertexes if they don't exist, and create an edge between them if it doesn't exist

I'm working with gremlin and gremlinpython for the first time, and I'm hitting a wall when I try to create new vertexes and an edge between them. I've looked at some of the other resources online, but ...
eathren's user avatar
  • 83
1 vote
1 answer
290 views

Why "_ipython_canary_method_should_not_exist_" occurs in Jupyter?

I was trying to reach the janusgraph deployed inside the GKE cluster, using the below code. from gremlin_python import statics from gremlin_python.structure.graph import Graph from gremlin_python....
Archie's user avatar
  • 99
0 votes
1 answer
153 views

Default handling of simultaneous Gremlin queries

Goal I want to understand the way JanusGraph is handling simultaneous gremlin queries. Is it sequential or parallel? How is it decided? The underlying interest is that I need to do a lot of ...
GregoirePelegrin's user avatar
1 vote
0 answers
213 views

Multiprocessing gremlinpython queries

Goal: Accelerate the random walk generation by using multiple processes. Get the list of vertices ids from which I want random walks to be generated in an input queue Start as much processes as ...
GregoirePelegrin's user avatar
0 votes
1 answer
115 views

How do I pull specific property values from an injected object when adding a batch of edges in a Gremlin/TinkerPop traversal?

I want to add batches of edges to a JanusGraph db that already contains nodes. I want my edges to support setting dynamic/optional properties. I've cobbled together the following traversal (based on ...
dotybear's user avatar
  • 147
2 votes
1 answer
827 views

Spawning child traversals anonymously using Gremlin-python and graphexp

I'm trying to create a graph from scratch that i'm visualising in graphexp, but i'm struggling to undertand the anonymized traversals concept and how to create them I'm using python 3.9 and ...
Racim Righi's user avatar
3 votes
1 answer
1k views

Is there a way to cast a gremlinpython Graph to a networkx Graph

I want to cast a gremlinpython Graph (gremlin_python.structure.graph.Graph) into a networkx graph. I found that with package ipython-gremlin (https://github.com/davebshow/ipython-gremlin) one can ...
cabo's user avatar
  • 137
1 vote
1 answer
3k views

Multiprocessing Gremlin "OSError: [Errno 9] Bad file descriptor"

I'm trying to compute a feature for every vertex in my graph using gremlinpython. It's too slow to sequentially iterate over every single vertex. While batching could help to provide a speedup, I ...
Ian's user avatar
  • 3,830
0 votes
1 answer
610 views

gremlin io step from url

https://www.compose.com/articles/importing-graphs-into-janusgraph/ shows how you can import data into janus graph. Since i couldn't get janusgraph docker working on my Mac computer using localhost i ...
Wolfgang Fahl's user avatar
0 votes
0 answers
173 views

Multithreaded python program to ingest data in Janusgraph

I create a program for adding data to janusgraph using multithreaded python. Since the rows of my data files are independent, i could split my file to the number of threads i want to run on. Will ...
Rohan Sonawane's user avatar
1 vote
1 answer
46 views

construct janusgraph a get query in python

Is it possible to construct a query in parts and run in gremlin python. some thing like this - q="hasLabel('foo')" m="has('type','goo')" g.V().q.m.values('ABC').toList() instead of directly ...
balasankar's user avatar
1 vote
1 answer
929 views

Unable to list all vertices present in Janusgraph with ".toList()" using Gremlinpython

I have tried testing what is in a graph that I created to see whether nodes were indeed created. The code to create a small graph for testing: from gremlin_python import statics from gremlin_python....
robin214's user avatar

15 30 50 per page