I ran into this a couple of months ago. It's caused by an
empty registry
entry under Mimetypes. Some program installs a mime type for
itself
incorrectly.
Alas, I can't remember which one it is, but the setup
newsgroup for
plone may still have my original message lying around in it.
The
solution is to delete that particular mimetype registry key;
it's not
used by anything.
Joe
Alan Runyan wrote:
> *sigh*
>
> If your up for debugging .. I have some hints.. One
would be at line 50
> putting a import pdb; pdb.set_trace() and running it
again..
>
> Its probably a issue with you registry. Note sure who
is coding the
> windows stuff.
>
> You could try:
> for ext, mt in [(x, y) for x, y in
pymimetypes.types_map.items() if x]:
>
> But that isnt a long term solution.
>
> 2006-06-24 13:09:46 ERROR Zope.SiteErrorLog http://foo
> Traceback (innermost last):
> Module
Products.CMFQuickInstallerTool.QuickInstallerTool, line 322,
in
> installProduct
> - __traceback_info__: ('MimetypesRegistry',)
> Module Products.ExternalMethod.ExternalMethod, line
225, in __call__
> - __traceback_info__: ((<PloneSite at
/Plone>,), {}, None)
> Module C:\Program Files\Plone
>
2\Data\Products\MimetypesRegistry\Extensions\Install.py
, line 24, in
> install
> Module Products.CMFCore.utils, line 631, in
manage_addTool
> Module Products.MimetypesRegistry.MimeTypesRegistry,
line 102, in
> __init__
> Module Products.MimetypesRegistry.mime_types, line
13, in initialize
> Module
Products.MimetypesRegistry.mime_types.py_mimetypes, line 50,
in
> initialize
> IndexError: string index out of range
>
> Alan Runyan
> Enfold Systems, Inc.
> http://www.enfoldsystem
s.com/
> phone: +1.713.942.2377x111
> fax: +1.832.201.8856
>
>
>
>
>> -----Original Message-----
>> From: setup-bounces lists.plone.org
>> [mailto:setup-bounces lists.plone.org] On Behalf
Of Thomas Gorham
>> Sent: Saturday, June 24, 2006 1:24 PM
>> To: setup lists.plone.org
>> Subject: [Setup] Install of Plone 2.5 on Windows 2K
Fails
>>
>> Error message is
>> Executing command "SetupSite.py" failed
"Index Error index
>> out of range".
>>
>> This looks like the same proble that people have
been
>> experiencing in other versions of Plone without a
clear resolution.
>>
>> I have uninstalled all prior versions of plone,
zope and
>> python, and have gone into the registry and removed
all
>> identifiable references.
>>
>> My log is attached. Any thoughts?
>>
>> Best regards,
>> TG
>>
>>
>>
>>
>> _______________________________________________
>> Setup mailing list
>> Setup lists.plone.org
>> http://
lists.plone.org/mailman/listinfo/setup
>>
_______________________________________________
Setup mailing list
Setup lists.plone.org
http://
lists.plone.org/mailman/listinfo/setup
|