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:
Similar to #1238 except the error is int found and not str found.
Stacktrace is:
File ".../redisdb.py", line 501, in check
self._check_slowlog()
File ".../redisdb.py", line 452, in _check_slowlog
slowlogs = conn.slowlog_get(max_slow_entries)
File ".../python3.8/site-packages/redis/client.py", line 1466, in slowlog_get
return self.execute_command(*args, decode_responses=decode_responses)
File ".../python3.8/site-packages/redis/client.py", line 901, in execute_command
return self.parse_response(conn, command_name, **options)
File ".../python3.8/site-packages/redis/client.py", line 921, in parse_response
return self.response_callbacks[command_name](response, **options)
File ".../python3.8/site-packages/redis/client.py", line 415, in parse_slowlog_get
return [{
File ".../python3.8/site-packages/redis/client.py", line 419, in <listcomp>
'command': space.join(item[3])
TypeError: sequence item 0: expected a bytes-like object, int found
Note that changing decode_responses wont make a difference since it will have the same result if the space is ' ' or b' '
The text was updated successfully, but these errors were encountered:
Are the Redis servers running Redis Enterprise from Redis Labs? If so, it's probably related to #1374. FYI, the Redis enterprise version adds additional fields to the slowlog entires but doesn't provide any documentation on how to parse them. See here: #1352 (comment)
Version:
Redis version: 3.2.13
Redis-py version: 3.5.3
Platform: What platform / version?
Python 3.8 on linux
Description:
Similar to #1238 except the error is
int found
and notstr found
.Stacktrace is:
Note that changing
decode_responses
wont make a difference since it will have the same result if the space is' '
orb' '
The text was updated successfully, but these errors were encountered: