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
I'm using pymemcache in a Python 3.8 + Django 3.2 project and I experienced an unexpected KeyError (specifically using the django.views.decorators.cache.cache_page decorator).
Unfortunately I'm not able to replicate it, but checking the logs the problem is clear: Key is of type bytes while it is expected to be of type str.
I'm experiencing the same problem and I found something perhaps interesting: all the error messages I receive (using Django as well) show a Safari or mobile Safari user agent, except for a few bots.
Hi, thank you for this great lib!
I'm using
pymemcache
in aPython 3.8
+Django 3.2
project and I experienced an unexpectedKeyError
(specifically using thedjango.views.decorators.cache.cache_page
decorator).Unfortunately I'm not able to replicate it, but checking the logs the problem is clear:
Key is of type
bytes
while it is expected to be of typestr
.The error has been raised here:
Here variable values at error time:
This is the error raw stack trace:
The text was updated successfully, but these errors were encountered: