Plone 2.1.2 windows installer error

Sim Harbert <[email protected]>
Newsgroups gmane.comp.web.zope.plone.installers
Message-ID <[email protected]>
Does anyone know why I would be getting this error in the initial 
install of Plone 2.1.2 on my Windows 2000 system (also on another XP 
system):

     Executing the command 'setupSite.py' failed
     IndexError: string index out of range

Here is what was in "postinstall.log":

02/07/06 17:28:00: 3532: ['C:\\Program Files\\Plone 
2\\Zope\\bin\\mkzopeinstance.py', '-d', 'C:\\Program Files\\Plone 
2\\Data', '-u', 'admin:kak1kif9']
Wrote 'C:\\Program Files\\Plone 2\\Data\\.\\bin\\runzope.bat'
Wrote 'C:\\Program Files\\Plone 2\\Data\\.\\bin\\runzope'
Changed mode for C:\Program Files\Plone 2\Data\.\bin\runzope to 777
Wrote 'C:\\Program Files\\Plone 2\\Data\\.\\bin\\zopectl'
Changed mode for C:\Program Files\Plone 2\Data\.\bin\zopectl to 777
Wrote 'C:\\Program Files\\Plone 2\\Data\\.\\bin\\zopeservice.py'
Changed mode for C:\Program Files\Plone 2\Data\.\bin\zopeservice.py to 777
Wrote 'C:\\Program Files\\Plone 2\\Data\\.\\etc\\zope.conf'
02/07/06 17:28:00: 3532: finished
02/07/06 17:28:01: 3624: ['C:\\Program Files\\Plone 
2\\Data\\bin\\zopeservice.py', '--startup', 'auto', 'install']
Installing service Zope_565048793 to Python class C:\Program Files\Plone 
2\Data\bin\zopeservice.InstanceService
Service installed
02/07/06 17:28:02: 3624: finished
02/07/06 17:28:02: 352: ['C:\\Program Files\\Plone 
2\\Data\\Products\\CMFPlone\\Extensions\\setupSite.py', 'admin', 
'C:\\Program Files\\Plone 2\\Data', 'C:\\Program Files\\Plone 2\\Data']
C:\Program Files\Plone 2\Data\Products\Archetypes\__init__.py:12: 
DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is 
a deprecated compatiblity alias for 'Products.CMFCore.permissions'; 
please use the new module instead.
   from Products.CMFCore import CMFCorePermissions
C:\Program Files\Plone 2\Data\Products\ATContentTypes\__init__.py:82: 
DeprecationWarning: The product_name parameter of ToolInit is deprecated 
and will be ignored in CMF 2.0: ATContentTypes
   icon='tool.gif', ).initialize(context)
C:\Program Files\Plone 2\Data\Products\Archetypes\__init__.py:99: 
DeprecationWarning: The product_name parameter of ToolInit is deprecated 
and will be ignored in CMF 2.0: Archetypes
   icon="tool.gif",
C:\Program Files\Plone 2\Data\Products\CMFFormController\__init__.py:25: 
DeprecationWarning: The product_name parameter of ToolInit is deprecated 
and will be ignored in CMF 2.0: CMFFormController
   product_name='CMFFormController', icon='tool.gif',
C:\Program Files\Plone 2\Data\Products\CMFPlone\__init__.py:193: 
DeprecationWarning: The product_name parameter of ToolInit is deprecated 
and will be ignored in CMF 2.0: CMFPlone
   , icon='tool.gif'
C:\Program Files\Plone 
2\Data\Products\CMFQuickInstallerTool\__init__.py:36: 
DeprecationWarning: The product_name parameter of ToolInit is deprecated 
and will be ignored in CMF 2.0: QuickInstallerTool
   icon='tool.gif'
C:\Program Files\Plone 2\Data\Products\GroupUserFolder\__init__.py:99: 
DeprecationWarning: The product_name parameter of ToolInit is deprecated 
and will be ignored in CMF 2.0: GroupUserFolder
   , icon="tool.gif"
C:\Program Files\Plone 2\Data\Products\MimetypesRegistry\__init__.py:34: 
DeprecationWarning: The product_name parameter of ToolInit is deprecated 
and will be ignored in CMF 2.0: MimetypesRegistry
   icon="tool.gif",
C:\Program Files\Plone 2\Data\Products\PloneLanguageTool\__init__.py:17: 
DeprecationWarning: The product_name parameter of ToolInit is deprecated 
and will be ignored in CMF 2.0: PloneLanguageTool
   icon='tool.gif',
C:\Program Files\Plone 2\Data\Products\PortalTransforms\__init__.py:35: 
DeprecationWarning: The product_name parameter of ToolInit is deprecated 
and will be ignored in CMF 2.0: PortalTransforms
   icon="tool.gif",
C:\Program Files\Plone 
2\Data\Products\ResourceRegistries\__init__.py:20: DeprecationWarning: 
The product_name parameter of ToolInit is deprecated and will be ignored 
in CMF 2.0: ResourceRegistries
   icon = 'tool.gif',
C:\Program Files\Plone 2\Data\Products\kupu\plone\__init__.py:31: 
DeprecationWarning: The product_name parameter of ToolInit is deprecated 
and will be ignored in CMF 2.0: kupu
   icon="kupu_icon.gif",
C:\Program Files\Plone 2\Data\Products\CMFPlone\Portal.py:193: 
DeprecationWarning: Please switch to the new format for typeinfo names 
"product_id: type_id (meta_type)", the old spelling will disappear in 
CMF 2.0
   typeinfo_name='CMFPlone: Plone Folder')
C:\Program Files\Plone 2\Data\Products\CMFPlone\Portal.py:196: 
DeprecationWarning: Please switch to the new format for typeinfo names 
"product_id: type_id (meta_type)", the old spelling will disappear in 
CMF 2.0
   typeinfo_name='CMFPlone: Large Plone Folder')
C:\Program Files\Plone 2\Data\Products\CMFCore\TypesTool.py:270: 
DeprecationWarning: getActionById() is deprecated and will be removed in 
CMF 2.0. Please use getActionInfo()['url'] if you need an URL or 
queryMethodID() if you need a method ID.
   DeprecationWarning)
C:\Program Files\Plone 
2\Data\Products\CMFPlone\migrations\v2\plone2_base.py:248: 
DeprecationWarning: Please switch to the new format for typeinfo names 
"product_id: type_id (meta_type)", the old spelling will disappear in 
CMF 2.0
   typeinfo_name='CMFCore: Portal Folder')
C:\Program Files\Plone 
2\Data\Products\CMFPlone\migrations\v2\plone2_base.py:384: 
DeprecationWarning: Please switch to the new format for typeinfo names 
"product_id: type_id (meta_type)", the old spelling will disappear in 
CMF 2.0
   typeinfo_name='CMFPlone: Plone Site')
Traceback (most recent call last):
   File "C:\Program Files\Plone 2\Zope\pwi\inno_runner.py", line 30, in ?
     execfile(sys.argv[0])
   File "C:\Program Files\Plone 
2\Data\Products\CMFPlone\Extensions\setupSite.py", line 57, in ?
     process(name, swhome, ihome)
   File "C:\Program Files\Plone 
2\Data\Products\CMFPlone\Extensions\setupSite.py", line 34, in process
     out = create(app, admin_username)
   File "C:\Program Files\Plone 
2\Data\Products\CMFPlone\PloneInitialize.py", line 68, in create
     RESPONSE=None)
   File "C:\Program Files\Plone 2\Data\Products\CMFPlone\Portal.py", 
line 465, in manage_addSite
     p = gen.create(self, id.strip(), create_userfolder)
   File "C:\Program Files\Plone 2\Data\Products\CMFPlone\Portal.py", 
line 437, in create
     self.setupPlone(p)
   File "C:\Program Files\Plone 2\Data\Products\CMFPlone\Portal.py", 
line 394, in setupPlone
     m.upgrade(swallow_errors=0)
   File "C:\Program Files\Plone 
2\Data\Products\CMFPlone\MigrationTool.py", line 274, in upgrade
     newv, msgs = self._upgrade(newv)
   File "C:\Program Files\Plone 
2\Data\Products\CMFPlone\MigrationTool.py", line 371, in _upgrade
     res = function(self.aq_parent)
   File "C:\Program Files\Plone 
2\Data\Products\CMFPlone\migrations\v2_1\alphas.py", line 61, in 
two05_alpha1
     installArchetypes(portal, out)
   File "C:\Program Files\Plone 
2\Data\Products\CMFPlone\migrations\v2_1\alphas.py", line 267, in 
installArchetypes
     installOrReinstallProduct(portal, product_name, out)
   File "C:\Program Files\Plone 
2\Data\Products\CMFPlone\migrations\migration_util.py", line 79, in 
installOrReinstallProduct
     qi.installProduct(product_name)
   File "C:\Program Files\Plone 
2\Data\Products\CMFQuickInstallerTool\QuickInstallerTool.py", line 320, 
in installProduct
     res=install(portal)
   File "C:\Program Files\Plone 
2\Zope\lib\python\Products\ExternalMethod\ExternalMethod.py", line 225, 
in __call__
     try: return f(*args, **kw)
   File "C:\Program Files\Plone 
2\Data\Products\MimetypesRegistry\Extensions\Install.py", line 24, in 
install
     addTool('MimeTypes Registry')
   File "C:\Program Files\Plone 2\Data\Products\CMFCore\utils.py", line 
627, in manage_addTool
     obj = tool()
   File "C:\Program Files\Plone 
2\Data\Products\MimetypesRegistry\MimeTypesRegistry.py", line 99, in 
__init__
     initialize(self)
   File "C:\Program Files\Plone 
2\Data\Products\MimetypesRegistry\mime_types\__init__.py", line 13, in 
initialize
     py_mimetypes.initialize(registry)
   File "C:\Program Files\Plone 
2\Data\Products\MimetypesRegistry\mime_types\py_mimetypes.py", line 44, 
in initialize
     if ext[0] == '.':
IndexError: string index out of range
02/07/06 17:32:39: 352: finished



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.