Bangs his head against the wall.

Yes. Yes, I did. I thought I'd rolled back past that but looks like I
hadn't. How annoying.. I can even see what it's doing and why it's not
working (doesn't exactly explain why using memcache as a backend works, but
hey, I'm happy if it builds :)

Thanks for noticing that! I'll refactor that class so it doesn't rely on
StringMorsel (seems fairly pointless anyway)



On Tue, Sep 29, 2009 at 4:39 PM, Karen Tracey <kmtra...@gmail.com> wrote:

> On Tue, Sep 29, 2009 at 11:30 AM, Oli Warner <o...@thepcspy.com> wrote:
>
>> As this clearly had something to do with the session, I just changed the
>> SESSION_ENGINE to file. Different error, but for the same reason, I think:
>>
>> Traceback (most recent call last):
>>
>> [snip]    session_file = open(self._key_to_file(), "rb")
>>
>>   File 
>> "/usr/lib/pymodules/python2.6/django/contrib/sessions/backends/file.py", 
>> line 43, in _key_to_file
>>     return os.path.join(self.storage_path, self.file_prefix + session_key)
>>
>>
>>
>> TypeError: cannot concatenate 'str' and 'StringMorsel' objects
>>
>>
>> Any ideas what a StringMorsel is and why it's jamming up the works?
>>
>>
> Google returns:
>
> http://gist.github.com/181116
>
> Have you installed this between the last time you were able to log in and
> now?
>
> Karen
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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
-~----------~----~----~----~------~----~------~--~---

Reply via email to