Attempting to use install latest Plone for Windows on a Windows 2000 server: - zope gets installed OK but - Plone site fails
The postinstall.log - attached below - makes references to Module Products.MimetypesRegistry.MimeTypeItem and TypeError: stat() argument 1 must be (encoded string without NULL bytes), not str that seem different to those in earlier reports last year. Advise please on how to fix this. Thanks Richard __________________ 03/19/07 22:59:18: 1652: ['e:\\Plone 2\\Zope\\bin\\mkzopeinstance.py', '-d', 'e:\\Plone 2\\Data', '-u', 'administrator:77#32$98'] Wrote 'e:\\Plone 2\\Data\\.\\bin\\runzope.bat' Wrote 'e:\\Plone 2\\Data\\.\\bin\\runzope' Changed mode for e:\Plone 2\Data\.\bin\runzope to 777 Wrote 'e:\\Plone 2\\Data\\.\\bin\\test.bat' Wrote 'e:\\Plone 2\\Data\\.\\bin\\zopectl' Changed mode for e:\Plone 2\Data\.\bin\zopectl to 777 Wrote 'e:\\Plone 2\\Data\\.\\bin\\zopeservice.py' Changed mode for e:\Plone 2\Data\.\bin\zopeservice.py to 777 Wrote 'e:\\Plone 2\\Data\\.\\etc\\plone.conf' Wrote 'e:\\Plone 2\\Data\\.\\etc\\zope.conf' Wrote 'e:\\Plone 2\\Data\\.\\lib\\python\\README.txt' 03/19/07 22:59:18: 1652: finished 03/19/07 22:59:18: 1960: ['e:\\Plone 2\\Data\\bin\\zopeservice.py', '--startup', 'auto', 'install'] Installing service Zope_100200598 Service installed 03/19/07 22:59:18: 1960: finished 03/19/07 22:59:18: 1652: ['e:\\Plone 2\\Data\\Products\\CMFPlone\\Extensions\\setupSite.py', 'administrator', 'e:\\Plone 2\\Data', 'e:\\Plone 2\\Data'] 2007-03-19 22:59:23 WARNING Init Class Products.ATContentTypes.content.base.ATCTFolderMixin has a security declaration for nonexistent method 'manage_copyObjects' 2007-03-19 22:59:28 WARNING Plone Deprecation Warning CustomizationPolicies are deprecated and will be removed in Plone 3.0. Please use GenericSetup extension profiles instead. 2007-03-19 22:59:28 WARNING Plone Deprecation Warning registerSetupWidget is deprecated and will be removed in Plone 3.0. 2007-03-19 22:59:28 WARNING Plone Deprecation Warning registerSetupWidget is deprecated and will be removed in Plone 3.0. 2007-03-19 22:59:29 WARNING Plone Deprecation Warning CustomizationPolicies are deprecated and will be removed in Plone 3.0. Please use GenericSetup extension profiles instead. e:\Plone 2\Data\Products\kupu\plone\__init__.py:32: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF 2.0: kupu icon="kupu_icon.gif", 2007-03-19 22:59:49 WARNING Plone Deprecation Warning correctFolderContentsAction is deprecated and will be removed in Plone 3.0 2007-03-19 22:59:49 WARNING Plone Deprecation Warning CatalogTool._initIndexes is deprecated, please use a GenericSetup profile instead. e:\Plone 2\Zope\lib\python\OFS\subscribers.py:74: DeprecationWarning: Products.CMFPlone.QuickInstallerTool.QuickInstallerTool.manage_afterAdd is deprecated and will be removed in Zope 2.11, you should use event subscribers instead, and meanwhile mark the class with <five:deprecatedManageAddDelete/> DeprecationWarning) 2007-03-19 22:59:53 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 e:\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 73, in initialize Module Products.MimetypesRegistry.MimeTypeItem, line 33, in __init__ Module Products.MimetypesRegistry.MimeTypeItem, line 113, in guess_icon_path Module ntpath, line 256, in exists TypeError: stat() argument 1 must be (encoded string without NULL bytes), not str 2007-03-19 22:59:53 ERROR Zope.SiteErrorLog http://foo Traceback (innermost last): Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 322, in installProduct - __traceback_info__: ('Archetypes',) Module Products.ExternalMethod.ExternalMethod, line 225, in __call__ - __traceback_info__: ((<PloneSite at /Plone>,), {}, (None, 1)) Module e:\Plone 2\Data\Products\Archetypes\Extensions\Install.py, line 15, in install Module Products.Archetypes.Extensions.utils, line 449, in setupArchetypes Module Products.Archetypes.Extensions.utils, line 51, in install_dependencies 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 e:\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 73, in initialize Module Products.MimetypesRegistry.MimeTypeItem, line 33, in __init__ Module Products.MimetypesRegistry.MimeTypeItem, line 113, in guess_icon_path Module ntpath, line 256, in exists TypeError: stat() argument 1 must be (encoded string without NULL bytes), not str Traceback (most recent call last): File "e:\Plone 2\Zope\pwi\inno_runner.py", line 30, in ? execfile(sys.argv[0]) File "e:\Plone 2\Data\Products\CMFPlone\Extensions\setupSite.py", line 60, in ? process(name, swhome, ihome) File "e:\Plone 2\Data\Products\CMFPlone\Extensions\setupSite.py", line 37, in process out = create(app, admin_username) File "e:\Plone 2\Data\Products\CMFPlone\PloneInitialize.py", line 59, in create factory.addPloneSite(pid, create_userfolder=1) File "e:\Plone 2\Data\Products\CMFPlone\factory.py", line 52, in addPloneSite setup_tool.runAllImportSteps() File "e:\Plone 2\Data\Products\GenericSetup\tool.py", line 251, in runAllImportSteps message = self._doRunImportStep(step, context) File "e:\Plone 2\Data\Products\GenericSetup\tool.py", line 725, in _doRunImportStep return handler(context) File "e:\Plone 2\Data\Products\CMFPlone\setuphandlers.py", line 199, in importVarious gen.installProducts(site) File "e:\Plone 2\Data\Products\CMFPlone\setuphandlers.py", line 25, in installProducts qi.installProduct('Archetypes', locked=0) File "e:\Plone 2\Data\Products\CMFQuickInstallerTool\QuickInstallerTool.py", line 322, in installProduct res=install(portal) File "e:\Plone 2\Zope\lib\python\Products\ExternalMethod\ExternalMethod.py", line 225, in __call__ try: return f(*args, **kw) File "e:\Plone 2\Data\Products\Archetypes\Extensions\Install.py", line 15, in install setupArchetypes(self, out, require_dependencies=require_dependencies) File "e:\Plone 2\Data\Products\Archetypes\Extensions\utils.py", line 449, in setupArchetypes install_dependencies(self, out, require_dependencies) File "e:\Plone 2\Data\Products\Archetypes\Extensions\utils.py", line 51, in install_dependencies qi.installProduct('MimetypesRegistry') File "e:\Plone 2\Data\Products\CMFQuickInstallerTool\QuickInstallerTool.py", line 322, in installProduct res=install(portal) File "e:\Plone 2\Zope\lib\python\Products\ExternalMethod\ExternalMethod.py", line 225, in __call__ try: return f(*args, **kw) File "e:\Plone 2\Data\Products\MimetypesRegistry\Extensions\Install.py", line 24, in install addTool('MimeTypes Registry') File "e:\Plone 2\Data\Products\CMFCore\utils.py", line 631, in manage_addTool obj = tool() File "e:\Plone 2\Data\Products\MimetypesRegistry\MimeTypesRegistry.py", line 102, in __init__ initialize(self) File "e:\Plone 2\Data\Products\MimetypesRegistry\mime_types\__init__.py", line 13, in initialize py_mimetypes.initialize(registry) File "e:\Plone 2\Data\Products\MimetypesRegistry\mime_types\py_mimetypes.py", line 73, in initialize registry.register(MimeTypeItem(mt, (mt,), (ext,), isBin)) File "e:\Plone 2\Data\Products\MimetypesRegistry\MimeTypeItem.py", line 33, in __init__ self.icon_path = icon_path or guess_icon_path(self) File "e:\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 "e:\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 03/19/07 23:00:21: 1652: finished
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Setup mailing list [email protected] http://lists.plone.org/mailman/listinfo/setup
