Personal tools
You are here: Home Documentation Error References Setup error: Executing command setupSite.pyfailed (MimeTypes error)
Support

Get Help

Join our chat rooms or support forums if you have more specific questions.

Plone Training
Learn how to design, build, and deploy a website in Plone through one of the numerous Plone training sessions around the world.
Find Plone training…
 
Document Actions

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

This Error Reference applies to: Plone 2.5.x
This Error Reference is intended for: Any audience.

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
by Sheridan Kates last modified July 13, 2006 - 10:14
Contributors: Martin Aspeli, Alexander Limi
All content is copyright Plone Foundation and the individual contributors.

gAIM is your friend

Posted by Jean-Luc Pinardon at August 30, 2006 - 12:19

I have encountered this error within the same context, with both AIM and gAIM installed. I have uninstalled AIM and that was OK. So, you can use gAIM without being annoyed with this problem.

Best Regards, J-L.P.

Previous install issues creates this error

Posted by Brandon Swendsen at April 9, 2008 - 21:11
I have this error showing up for me now. When i look in my services, I see that there are two Zope instances and I'm assuming that these are conflicting and giving this error as I've never had AIM or gAIM on my computer. If anyone comes up with a solution to this besides uninstalling AIM, please let me know. Thanks.

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by