Closed
Description
Version: v4.5.0
Platform: Debian Bullseye using Python v3.9.2
Description:
The following code which used to work on up to and including v4.4.2 now crashes with the stack trace below on v4.5.0.
redis_conn = redis.Redis(
unix_socket_path="/var/run/redis/redis-server.sock",
decode_responses=True)
redis_conn.ping()
Traceback (most recent call last):
File "<redacted>", line 142, in main
redis_conn.ping()
File "/usr/local/lib/python3.9/dist-packages/redis/commands/core.py", line 1194, in ping
return self.execute_command("PING", **kwargs)
File "/usr/local/lib/python3.9/dist-packages/redis/client.py", line 1258, in execute_command
return conn.retry.call_with_retry(
File "/usr/local/lib/python3.9/dist-packages/redis/retry.py", line 46, in call_with_retry
return do()
File "/usr/local/lib/python3.9/dist-packages/redis/client.py", line 1259, in <lambda>
lambda: self._send_command_parse_response(
File "/usr/local/lib/python3.9/dist-packages/redis/client.py", line 1234, in _send_command_parse_response
conn.send_command(*args)
File "/usr/local/lib/python3.9/dist-packages/redis/connection.py", line 916, in send_command
self._command_packer.pack(*args),
AttributeError: 'UnixDomainSocketConnection' object has no attribute '_command_packer'
Metadata
Metadata
Assignees
Labels
No labels