Opened 15 years ago

Closed 15 years ago

#1101 closed defect (fixed)

Memcached: fallback method not working.

Reported by: Espen Grindhaug Owned by: Jacob
Component: Core (Cache system) Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


I was trying to get memcached working without having the memcached module from installed, that means by using Django's build in memcached client. This is the traceback I got:

{{{>>> from django.core.cache import cache
Traceback (most recent call last):

File "<stdin>", line 1, in ?
File "/usr/lib/python2.4/site-packages/django/core/", line 475, in ?

cache = get_cache(CACHE_BACKEND)

File "/usr/lib/python2.4/site-packages/django/core/", line 472, in get_cache

return _BACKENDS[scheme](host, params)

TypeError: 'NoneType' object is not callable }}}

It was all fixed by installing the memcached module from, but it would be nice if Django's fallback class would work. Or at least warn people that it is not working.

Change History (1)

comment:1 Changed 15 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

I believe this was fixed in [2378]. Please reopen if it's still a problem.

Note: See TracTickets for help on using tickets.
Back to Top