[Zope] sequence index must be integer??

Dieter Maurer dieter@handshake.de
Mon, 16 Jul 2001 20:24:24 +0200 (CEST)


marc lindahl writes:
 > I got this after uploading (load_site) a site, when trying to go into one of
 > the directories in ZMI... anyone know what it means??   Too many things in
 > the directory, or...??
 > ....
 >             Error Type: TypeError
 >             Error Value: sequence index must be integer
 > ....
 >     (Object: _(option=manage_options[a_]))
 >     (Info: manage_options)
 >   File <string>, line 0, in ?
 >   File /usr/local/zope/Zope-2.3.3/lib/python/DocumentTemplate/DT_Util.py,
 > line 167, in careful_getitem
 > TypeError: (see above)
Is it possible that you uploaded an object with name "a_"?

Apparently, such an object hides an integer of name "a_".
Of course, the object cannot be used to index a sequence.


Dieter