Using SimpleBlog 1.2.1 with Archetypes 1.3.0
How to work around the error "DisplayList keys must be strings or ints, got <type 'unicode>" received when trying to edit a blog entry.
Edit Products/Archetypes/utils.py with the following command:
ed Products/Archetypes/utils.py
373c
if type(key) not in (StringType, UnicodeType, IntType):
.
287c
if type(key) not in (StringType, UnicodeType):
.
275c
if type(key) not in (StringType, UnicodeType, IntType):
.
251c
if type(msgid) not in (StringType, UnicodeType, NoneType):
.
248c
if type(key) not in (StringType, UnicodeType, IntType):
.
8c
from types import TupleType, ListType, StringType, ClassType, IntType, NoneType, UnicodeType
.
wq
Delete Products/Archetypes/utils.pyc.