Setup error: Executing command setupSite.pyfailed (MimeTypes error)

by Sheridan Kates last modified Dec 30, 2008 03:08 PM
When setting up Plone on Windows XP, an error is encountered while executing the setupSite.py script. The error lies within the MimeTypes script and produces the following message: Executing the command setupSite.py' failed. Index error: String index out of range.

The error is encountered at the end of the install, when setting up the Plone site. The error message is:

Executing the command setupSite.py' failed.
Index error: String index out of range.

This error may be due to the AIM (AOL Instant Messenger) MimeType being present on the system, and can be resolved by uninstalling this software or removing the AIM MimeType from the registry.

Extract from postinstall:

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 D:\Documents and Settings\skates\My Documents\Excluded from backup\Plone\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