-
Notifications
You must be signed in to change notification settings - Fork 122
redis.exceptions.ResponseError: unknown command 'module' #73
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
Comments
@therealbazzi Hi there - I'm able to reproduce this, looks like the issue occurs because it's trying to call the |
thanks @simonprickett - looks like you forgot to attach your screenshot ^^ |
Looks like the code here relies on Suggesting this be changed to determine if RediSearch and RedisJSON modules are installed using the
and
If the modules aren't installed, these commands will return a
@therealbazzi I'll get a pull request together to make this change that should fix this on Redis Enterprise. Meantime I suggest you proceed with software development using Docker until this is released. |
|
Hi @simonprickett thanks a lot. PS: I've also followed (hopefully) the same steps in your blog |
@therealbazzi to get going with the right modules installed you can use the Docker Compose file here that uses the |
I am using the docker compose that you link, but i still get the same issue. |
Are you connecting to Redis at |
PS: Yes docker is running on localhost:6379 and is writing properly on the redis db on RedisInsight (i see that). |
Can you share a project repo URL that I can look at and try and reproduce? Also try stopping all the containers with |
Oh now it works. !! Thanks a lot @simonprickett .. I had to kill all ports running 6379 (had like 5 running for no reason or maybe because i did something previously on my laptop like redis-server start) Thanks a lot man ! |
@therealbazzi this should be fixed in version 0.0.17 that I just released: https://pypi.org/project/redis-om/0.0.17/ [updated to say v 17 not 16] |
…on-redis-enterprise Changed the way that modules are detected to work with Redis Enterprise
Hi,
So basically trying to reproduce what @simonprickett did here except that i'm doing it on Redis cloud instead of locally or using a venv or docker or whatever.
So i've managed to successfully write to the redis db cloud after properly configuring REDIS_OM_URL to point at the proper endpoint x credentials, now when I perform a rediSearch query ex:
Adoptable.find(Adoptable.name == "Poppy").all()
I get the error
redis.exceptions.ResponseError: unknown command 'module'
Another way of reproducing the above is as follows:
I've googled the above type of error but all i see is the same type of error but the word 'module' being swapped by different terms (ex: like JSON.GET whose solution was to include redisJSON)
Any help is appreciated, thank you.
PS: yes i have created my database by properly including modules rediSearch and redisJSON.
ahmad
The text was updated successfully, but these errors were encountered: