You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
Trying server-assisted client-side caching with redis-py version 5.1.0b7, it worked fine without hredis. Tried with hiredis for additional performance, getting the following error once hiredis is installed and ran the script.
Does it require any additional change, from this https://redis.io/docs/latest/develop/connect/clients/python/redis-py/ came to know no additional changes is required for most of the cases.
/Users/mahudees/PycharmProjects/redis-client/.venv/bin/python /Users/mahudees/PycharmProjects/rsacsc-py-master/pythoncsc/csc.py
Traceback (most recent call last):
File "/Users/mahudees/PycharmProjects/rsacsc-py-master/pythoncsc/csc.py", line 129, in
r.set("foo", "bar")
File "/Users/mahudees/PycharmProjects/redis-client/.venv/lib/python3.9/site-packages/redis/commands/core.py", line 2334, in set
return self.execute_command("SET", *pieces, **options)
File "/Users/mahudees/PycharmProjects/redis-client/.venv/lib/python3.9/site-packages/redis/client.py", line 566, in execute_command
conn = self.connection or pool.get_connection(command_name, **options)
File "/Users/mahudees/PycharmProjects/redis-client/.venv/lib/python3.9/site-packages/redis/connection.py", line 1200, in get_connection
connection.connect()
File "/Users/mahudees/PycharmProjects/redis-client/.venv/lib/python3.9/site-packages/redis/connection.py", line 315, in connect
self.on_connect()
File "/Users/mahudees/PycharmProjects/redis-client/.venv/lib/python3.9/site-packages/redis/connection.py", line 439, in on_connect
self._parser.set_invalidation_push_handler(self._cache_invalidation_process)
AttributeError: '_HiredisParser' object has no attribute 'set_invalidation_push_handler'
Process finished with exit code 1
The text was updated successfully, but these errors were encountered:
Version: redis-py - 5.1.0b7, hiredis - 3.0.0
Platform: Python 3.9 in MacBook Apple M3 Pro
Description:
Trying server-assisted client-side caching with redis-py version 5.1.0b7, it worked fine without hredis. Tried with hiredis for additional performance, getting the following error once hiredis is installed and ran the script.
Does it require any additional change, from this https://redis.io/docs/latest/develop/connect/clients/python/redis-py/ came to know no additional changes is required for most of the cases.
/Users/mahudees/PycharmProjects/redis-client/.venv/bin/python /Users/mahudees/PycharmProjects/rsacsc-py-master/pythoncsc/csc.py
Traceback (most recent call last):
File "/Users/mahudees/PycharmProjects/rsacsc-py-master/pythoncsc/csc.py", line 129, in
r.set("foo", "bar")
File "/Users/mahudees/PycharmProjects/redis-client/.venv/lib/python3.9/site-packages/redis/commands/core.py", line 2334, in set
return self.execute_command("SET", *pieces, **options)
File "/Users/mahudees/PycharmProjects/redis-client/.venv/lib/python3.9/site-packages/redis/client.py", line 566, in execute_command
conn = self.connection or pool.get_connection(command_name, **options)
File "/Users/mahudees/PycharmProjects/redis-client/.venv/lib/python3.9/site-packages/redis/connection.py", line 1200, in get_connection
connection.connect()
File "/Users/mahudees/PycharmProjects/redis-client/.venv/lib/python3.9/site-packages/redis/connection.py", line 315, in connect
self.on_connect()
File "/Users/mahudees/PycharmProjects/redis-client/.venv/lib/python3.9/site-packages/redis/connection.py", line 439, in on_connect
self._parser.set_invalidation_push_handler(self._cache_invalidation_process)
AttributeError: '_HiredisParser' object has no attribute 'set_invalidation_push_handler'
Process finished with exit code 1
The text was updated successfully, but these errors were encountered: