Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RedisGraph module not loaded on connected server. #84

Open
takakawa opened this issue Dec 3, 2021 · 3 comments
Open

RedisGraph module not loaded on connected server. #84

takakawa opened this issue Dec 3, 2021 · 3 comments

Comments

@takakawa
Copy link

takakawa commented Dec 3, 2021

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

@jeffreylovitz
Copy link
Contributor

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.

@miike
Copy link

miike commented Feb 7, 2022

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.

@p0xiao
Copy link

p0xiao commented Mar 10, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants