Hi timjdavey, You have to replace spaces in your key see: http://www.cppreference.com/wiki/c/string/isspace
try the same in the terminal with spaces ... Seems to be bee a bug in cmemcache. Hope i could help you or someone else, Rene Jochum On 9 Nov., 11:46, timjdavey <timjda...@googlemail.com> wrote: > Hey I'm getting: > > mcm_validate_key_func():3443: memcache(4) protocol error: isspace(3) > returned true for character in key > > error when I start a server (right after the "Validating models" > step). The weird and annoying part is - is that I've not yet > implemented cache anywhere yet. Only in settings - where its set: > > CACHE_BACKEND = 'memcached://127.0.0.1:11211/' > > Sohttp://code.djangoproject.com/ticket/7460shouldn't apply (its not > yet used!). > > In the python terminal the following works correctly: > > import cmemcache > c = cmemcache.StringClient(['127.0.0.1:11211']) > c.set('testkey', 'testval') > c.get('testkey') > >>> 'testval' > > so memcache seems to be working. Is there anywhere in the models which > could be trying to write to the cache? > > I've tried all the usuals (flushing, restarting etc...). This has me > stumped. Any ideas? > > Thanks in advance, > - Tim -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.