django-redisboard icon indicating copy to clipboard operation
django-redisboard copied to clipboard

Unknown command ‘DEBUG’

Open jsma opened this issue 9 years ago • 2 comments

I encounter the following error any time I click 'Inspect' in the slow log column in the admin:

Failed to get object info for key b':1:views.decorators.cache.cache_header..46028733b0cc991a9c8dc77e1d589cbe.en-us.America/New_York': Command # 1 (DEBUG OBJECT b':1:views.decorators.cache.cache_header..46028733b0cc991a9c8dc77e1d589cbe.en-us.America/New_York') of pipeline caused error: unknown command ‘DEBUG’

According to the docs, DEBUG OBJECT should not be used by clients, they should use the OBJECT command instead.

FYI, I'm running django-redisboard==1.2.2 and redis==2.10.5. The redis instance is on AWS ElastiCache using the 2.8.6 engine.

jsma avatar Nov 05 '15 21:11 jsma

Thanks!

jsma avatar Nov 09 '15 00:11 jsma

Actually there is still a stray DEBUG OBJECT call in the views => https://github.com/ionelmc/django-redisboard/blob/master/src/redisboard/views.py#L129

jsma avatar Nov 13 '15 18:11 jsma