These bugs have been fixed.  It requires a new plone 2.1.x release

 Alan Runyan
 Enfold Systems, Inc.
 http://www.enfoldsystems.com/
 phone: +1.713.942.2377x111
 fax: +1.832.201.8856 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Anthony Whitford
> Sent: Friday, April 28, 2006 3:58 PM
> To: [email protected]
> Subject: [Setup] Re: Plone installation error 'setupSite.py'
> 
> alan runyan <[EMAIL PROTECTED]> writes:
> 
> > 
> > Please post the post-install.log file or grep for that in your 
> > logfiles -- so we can get a better idea of whats wrong.
> > 
> > Alan
> > 
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] 
> > > [mailto:[EMAIL PROTECTED] On Behalf Of Yard
> > > Sent: Tuesday, March 07, 2006 2:31 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: [Setup] Plone installation error 'setupSite.py'
> > > 
> > > Installation Plone-2.1.2.exe ay Windows XP SP2 CZECH LANGUAGUE 
> > > failed with error:
> > > 
> > > Executing the command 'setupSite.py' failed
> > > TypeError: stat() argument 1 must be (encoded string without NULL 
> > > bytes), not str
> > > 
> > > 
> > > where is a problem?
> > > _______________________________________________
> > > Setup mailing list
> > > [EMAIL PROTECTED]
> > > http://lists.plone.org/mailman/listinfo/setup
> > > 
> > 
> > 
> 
> 
> I have the same problem...  My postinstall.log is:
> 
> 04/28/06 16:25:05: 4004: ['C:\\Program Files\\Plone 2 
> \\Zope\\bin\\mkzopeinstance.py', '-d', 'C:\\Program 
> Files\\Plone 2\\Data', '- u', 'awhitford:admin'] 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'
> 04/28/06 16:25:06: 4004: finished
> 04/28/06 16:25:06: 932: ['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
> 04/28/06 16:25:08: 932: finished
> 04/28/06 16:25:08: 196: ['C:\\Program Files\\Plone 2 
> \\Data\\Products\\CMFPlone\\Extensions\\setupSite.py', 
> 'awhitford', '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 66, in initialize
>     registry.register(MimeTypeItem(mt, (mt,), (ext,), isBin))
>   File "C:\Program Files\Plone 2
> \Data\Products\MimetypesRegistry\MimeTypeItem.py", line 37, 
> in __init__
>     self.icon_path = icon_path or guess_icon_path(self)
>   File "C:\Program Files\Plone 2
> \Data\Products\MimetypesRegistry\MimeTypeItem.py", line 113, 
> in guess_icon_path
>     if os.path.exists(os.path.join(icons_dir, icon_path)):
>   File "C:\Program Files\Plone 2\Python\lib\ntpath.py", line 
> 256, in exists
>     st = os.stat(path)
> TypeError: stat() argument 1 must be (encoded string without 
> NULL bytes), not str
> 04/28/06 16:28:54: 196: finished
> 
> 
> _______________________________________________
> Setup mailing list
> [email protected]
> http://lists.plone.org/mailman/listinfo/setup
> 
BEGIN:VCARD
VERSION:2.1
N:Runyan;Alan
FN:Alan Runyan
TEL;WORK;VOICE:x111
TEL;CELL;VOICE:713-530-5244
ADR;WORK:;Houston
LABEL;WORK:Houston
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20060417T160114Z
END:VCARD
_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup

Reply via email to