Created
April 5, 2017 09:45
-
-
Save DragosChirila/ce814ffd2a4d24e82c78c8cd013288e6 to your computer and use it in GitHub Desktop.
MemcachedKeyCharacterError
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "D:\Django\bufnita\lib\site-packages\django\core\handlers\exception.py", line 42, in inner | |
response = get_response(request) | |
File "D:\Django\bufnita\lib\site-packages\django\core\handlers\base.py", line 187, in _get_response | |
response = self.process_exception_by_middleware(e, request) | |
File "D:\Django\bufnita\lib\site-packages\django\core\handlers\base.py", line 185, in _get_response | |
response = wrapped_callback(request, *callback_args, **callback_kwargs) | |
File "D:\Django\bufnita\lib\site-packages\django\views\generic\base.py", line 68, in view | |
return self.dispatch(request, *args, **kwargs) | |
File "D:\Django\bufnita\lib\site-packages\django\views\generic\base.py", line 88, in dispatch | |
return handler(request, *args, **kwargs) | |
File "D:\Django\bufnita\lib\site-packages\django\views\generic\list.py", line 174, in get | |
context = self.get_context_data() | |
File "D:\Django\bufnita\lib\site-packages\django\views\generic\list.py", line 131, in get_context_data | |
page_size = self.get_paginate_by(queryset) | |
File "D:\Django\bufnita\lib\site-packages\memoize\__init__.py", line 342, in decorated_function | |
f, *args, **kwargs | |
File "D:\Django\bufnita\lib\site-packages\memoize\__init__.py", line 192, in make_cache_key | |
timeout=_timeout) | |
File "D:\Django\bufnita\lib\site-packages\memoize\__init__.py", line 160, in _memoize_version | |
version_data_list = self.get_many(*fetch_keys) | |
File "D:\Django\bufnita\lib\site-packages\memoize\__init__.py", line 121, in get_many | |
d = self.cache.get_many(keys=keys) | |
File "D:\Django\bufnita\lib\site-packages\django\core\cache\backends\memcached.py", line 93, in get_many | |
ret = self._cache.get_multi(new_keys) | |
File "D:\Django\bufnita\lib\site-packages\memcache.py", line 1196, in get_multi | |
keys, key_prefix) | |
File "D:\Django\bufnita\lib\site-packages\memcache.py", line 832, in _map_and_prefix_keys | |
self.check_key(bytes_orig_key, key_extra_len=key_extra_len) | |
File "D:\Django\bufnita\lib\site-packages\memcache.py", line 1330, in check_key | |
"Control/space characters not allowed (key=%r)" % key) | |
MemcachedKeyCharacterError: Control/space characters not allowed (key=':1:blog.views.BlogView.get_paginate_by.<blog.views.BlogView object at 0x03518AD0>_memver') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment