Personal tools
You are here: Home Tips and Tricks (old) Using SimpleBlog 1.2.1 with Archetypes 1.3.0
Document Actions

Using SimpleBlog 1.2.1 with Archetypes 1.3.0

by xenophon — last modified 2005-09-15 19:18

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.

« November 2008 »
Su Mo Tu We Th Fr Sa
1
2345678
9101112131415
16171819202122
23242526272829
30
 

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: