redisgraph-bulk-loader icon indicating copy to clipboard operation
redisgraph-bulk-loader copied to clipboard

RedisGraph module not loaded on connected server.

Open takakawa opened this issue 4 years ago • 3 comments

I met this problem while I have graph module on.

127.0.0.1:6379> module list
1) 1) "name"
   2) "graph"
   3) "ver"
   4) (integer) 20411

127.0.0.1:6379> info modules
# Modules
module:name=graph,ver=20411,api=1,filters=0,usedby=[],using=[],options=[]

redis_version:6.2.5

takakawa avatar Dec 03 '21 05:12 takakawa

Hi @takakawa,

That's really bizarre! The RedisGraph module not loaded on connected server check simply calls module list and checks for the graph string.

I cannot reproduce this problem. To make sure, you are not calling bulk-insert with a port other than 6379, are you?

One interesting test would be to try deleting the lines here and seeing if the bulk insertion fails downstream.

jeffreylovitz avatar Dec 03 '21 17:12 jeffreylovitz

I've run into a similar problem.

127.0.0.1:6379> module list
1) 1) "name"
   2) "graph"
   3) "ver"
   4) (integer) 20413

module_list ends up as a list of dicts for me in Python rather than just a strict list e.g.,

[{b'name': b'graph', b'ver': 20413}]

so I made a modification to

if not any(b'graph' in module_description.get(b'name') for module_description in module_list): which seems to have fixed the issue.

miike avatar Feb 07 '22 06:02 miike

I also encountered this problem. After removing this it works.

p0xiao avatar Mar 10 '22 13:03 p0xiao