[Zope] sequence index must be integer??
marc lindahl
marc@bowery.com
Mon, 16 Jul 2001 15:02:40 -0400
Yes, actually there was a file called a_ and one a_.eps. Both illustrator
files... would have been uploaded as File... (directory named gifs)
I'm still not clear on why such a name is a bad thing? The trailing '_'? I
guess if I'm hacking load_site.py I should look for that -- and maybe
others?
> From: Dieter Maurer <dieter@handshake.de>
> Date: Mon, 16 Jul 2001 20:24:24 +0200 (CEST)
> To: marc lindahl <marc@bowery.com>
> Cc: <zope@zope.org>
> Subject: Re: [Zope] sequence index must be integer??
>
> 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