List Info

Thread: Plone install errors - Help!




Plone install errors - Help!
user name
2006-07-14 15:54:08
Plone install error installing varsion: Plone-2.5-with-Zope-2.9.exe
Executing the command 'setupsite.py' failed
TypeError: stat() argument 1 must be (encoded string without NULL bytes), not str
Completing the PLONE set-up wizard.  FINISH.
I have checked to see if I have Aim/AOL and it is not installed. I have checked in the Registry and I cannot see anything relating to AOL/MIME.
I have also removed any references to Python from the registry before installing.
I have also tried the nightly builds.
I am alos having a similar problem on my home PC.
Can anyone help with this?
Post install log:
07/14/06 08:39:59: 3256: ['C:\\Plone2\\Zope\\bin\\mkzopeinstance.py', '-d', 'C:\\Plone2\\Data', '-u', 'admin:admin']
Wrote 'C:\\Plone2\\Data\\.\\bin\\runzope.bat'
Wrote 'C:\\Plone2\\Data\\.\\bin\\runzope'
Changed mode for C:\Plone2\Data\.\bin\runzope to 777
Wrote 'C:\\Plone2\\Data\\.\\bin\\zopectl'
Changed mode for C:\Plone2\Data\.\bin\zopectl to 777
Wrote 'C:\\Plone2\\Data\\.\\bin\\zopeservice.py'
Changed mode for C:\Plone2\Data\.\bin\zopeservice.py to 777
Wrote 'C:\\Plone2\\Data\\.\\etc\\plone.conf'
Wrote 'C:\\Plone2\\Data\\.\\etc\\zope.conf'
Wrote 'C:\\Plone2\\Data\\.\\lib\\python\\README.txt'
07/14/06 08:39:59: 3256: finished
07/14/06 08:39:59: 3276: ['C:\\Plone2\\Data\\bin\\zopeservice.py', '--startup', 'auto', 'install']
Installing service Zope_-1634206445
Service installed
07/14/06 08:40:00: 3276: finished
07/14/06 08:40:00: 3292: ['C:\\Plone2\\Data\\Products\\CMFPlone\\Extensions\\setupSite.py', 'admin', 'C:\\Plone2\\Data', 'C:\\Plone2\\Data']
C:\Plone2\Data\Products\CMFPlone\Extensions\setupSite.py:17: DeprecationWarning: The Zope package has been renamed to Zope2. Import of a package named 'Zope' is deprecated and will be disabled starting in Zope 2.11.
  import Zope
2006-07-14 08:40:05 WARNING Init Class Products.ATContentTypes.content.base.ATCTFolderMixin has a security declaration for nonexistent method 'manage_copyObjects'
2006-07-14 08:40:07 WARNING Plone Deprecation Warning
The CMFPlone.MemberData class will be removed in Plone 3.0
C:\Plone2\Data\Products\CMFSquidTool\Permissions.py:19: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore.CMFCorePermissions import ManagePortal
2006-07-14 08:40:10 WARNING Plone Deprecation Warning
CustomizationPolicies are deprecated and will be removed in Plone 3.0. Please use GenericSetup extension profiles instead.
2006-07-14 08:40:10 WARNING Plone Deprecation Warning
registerSetupWidget is deprecated and will be removed in Plone 3.0.
2006-07-14 08:40:10 WARNING Plone Deprecation Warning
registerSetupWidget is deprecated and will be removed in Plone 3.0.
2006-07-14 08:40:10 WARNING Plone Deprecation Warning
CustomizationPolicies are deprecated and will be removed in Plone 3.0. Please use GenericSetup extension profiles instead.
C:\Plone2\Data\Products\CMFSquidTool\__init__.py:38: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF 2.0: CMFSquidTool
  icon="tool.gif",
C:\Plone2\Data\Products\CacheSetup\config.py:23: DeprecationWarning: The zLOG package is deprecated and will be removed in Zope 2.11. Use the Python logging module instead.
  LOG(PROJECT_NAME, INFO, msg)
C:\Plone2\Zope\lib\python\OFS\Application.py:835: DeprecationWarning: __init__.py of Products.ExternalEditor has a long deprecated 'methods' attribute. 'methods' will be ignored by install_product in Zope 2.10. Please use registerClass instead.
  DeprecationWarning)
C:\Plone2\Data\Products\MemcachedManager\__init__.py:8: DeprecationWarning: The zLOG package is deprecated and will be removed in Zope 2.11. Use the Python logging module instead.
  LOG('MemcachedManager', log_level, summary, text)
C:\Plone2\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",
2006-07-14 08:40:43 WARNING Plone Deprecation Warning
correctFolderContentsAction is deprecated and will be removed in Plone 3.0
2006-07-14 08:40:43 WARNING Plone Deprecation Warning
CatalogTool._initIndexes is deprecated, please use a GenericSetup profile instead.
C:\Plone2\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/>
&nbsp; DeprecationWarning)
2006-07-14 08:40:46 ERROR Zope.SiteErrorLog http://foo
Traceback (innermost last):
&nbsp; Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 322, in installProduct
   - __traceback_info__: ('MimetypesRegistry',)
  Module Products.ExternalMethod.ExternalMethod, line 225, in __call__
&nbsp;  - __traceback_info__: ((<PloneSite at /Plone>,), {}, None)
&nbsp; Module C:\Plone2\Data\Products\MimetypesRegistry\Extensions\Install.py, line 24, in install
&nbsp; Module Products.CMFCore.utils, line 631, in manage_addTool
  Module Products.MimetypesRegistry.MimeTypesRegistry, line 102, in __init__
&nbsp; Module Products.MimetypesRegistry.mime_types, line 13, in initialize
  Module Products.MimetypesRegistry.mime_types.py_mimetypes, line 72, in initialize
  Module Products.MimetypesRegistry.MimeTypeItem, line 32, in __init__
&nbsp; Module Products.MimetypesRegistry.MimeTypeItem, line 108, in guess_icon_path
 ; Module ntpath, line 256, in exists
TypeError: stat() argument 1 must be (encoded string without NULL bytes), not str
2006-07-14 08:40:46 ERROR Zope.SiteErrorLog http://foo
Traceback (innermost last):
&nbsp; Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 322, in installProduct
   - __traceback_info__: ('Archetypes',)
 ; Module Products.ExternalMethod.ExternalMethod, line 225, in __call__
&nbsp;  - __traceback_info__: ((<PloneSite at /Plone>,), {}, (None, 1))
  Module C:\Plone2\Data\Products\Archetypes\Extensions\Install.py, line 15, in install
&nbsp; 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__
&nbsp;  - __traceback_info__: ((<PloneSite at /Plone>,), {}, None)
&nbsp; Module C:\Plone2\Data\Products\MimetypesRegistry\Extensions\Install.py, line 24, in install
&nbsp; Module Products.CMFCore.utils, line 631, in manage_addTool
  Module Products.MimetypesRegistry.MimeTypesRegistry, line 102, in __init__
&nbsp; Module Products.MimetypesRegistry.mime_types, line 13, in initialize
  Module Products.MimetypesRegistry.mime_types.py_mimetypes, line 72, in initialize
  Module Products.MimetypesRegistry.MimeTypeItem, line 32, in __init__
&nbsp; Module Products.MimetypesRegistry.MimeTypeItem, line 108, 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):
&nbsp; File "C:\Plone2\Zope\pwi\inno_runner.py", line 30, in ?
 &nbsp;  execfile(sys.argv[0])
  File "C:\Plone2\Data\Products\CMFPlone\Extensions\setupSite.py", line 54, in ?
 &nbsp;  process(name, swhome, ihome)
&nbsp; File "C:\Plone2\Data\Products\CMFPlone\Extensions\setupSite.py", line 31, in process
&nbsp; &nbsp; out = create(app, admin_username)
 ; File "C:\Plone2\Data\Products\CMFPlone\PloneInitialize.py", line 59, in create
&nbsp; &nbsp; factory.addPloneSite(pid, create_userfolder=1)
  File "C:\Plone2\Data\Products\CMFPlone\factory.py", line 44, in addPloneSite
 &nbsp;  setup_tool.runAllImportSteps()
&nbsp; File "C:\Plone2\Data\Products\GenericSetup\tool.py", line 251, in runAllImportSteps
&nbsp; &nbsp; message = self._doRunImportStep(step, context)
&nbsp; File "C:\Plone2\Data\Products\GenericSetup\tool.py", line 725, in _doRunImportStep
&nbsp; &nbsp; return handler(context)
&nbsp; File "C:\Plone2\Data\Products\CMFPlone\setuphandlers.py", line 196, in importVarious
 &nbsp;  gen.installProducts(site)
  File "C:\Plone2\Data\Products\CMFPlone\setuphandlers.py", line 25, in installProducts
 ; &nbsp; qi.installProduct('Archetypes', locked=0)
  File "C:\Plone2\Data\Products\CMFQuickInstallerTool\QuickInstallerTool.py", line 322, in installProduct
   ; res=install(portal)
&nbsp; File "C:\Plone2\Zope\lib\python\Products\ExternalMethod\ExternalMethod.py", line 225, in __call__
&nbsp;   try: return f(*args, **kw)
&nbsp; File "C:\Plone2\Data\Products\Archetypes\Extensions\Install.py", line 15, in install
&nbsp; &nbsp; setupArchetypes(self, out, require_dependencies=require_dependencies)
  File "C:\Plone2\Data\Products\Archetypes\Extensions\utils.py", line 449, in setupArchetypes
 ; &nbsp; install_dependencies(self, out, require_dependencies)
  File "C:\Plone2\Data\Products\Archetypes\Extensions\utils.py", line 51, in install_dependencies
  ;  qi.installProduct('MimetypesRegistry')
&nbsp; File "C:\Plone2\Data\Products\CMFQuickInstallerTool\QuickInstallerTool.py", line 322, in installProduct
   ; res=install(portal)
&nbsp; File "C:\Plone2\Zope\lib\python\Products\ExternalMethod\ExternalMethod.py", line 225, in __call__
&nbsp;   try: return f(*args, **kw)
&nbsp; File "C:\Plone2\Data\Products\MimetypesRegistry\Extensions\Install.py", line 24, in install
&nbsp; &nbsp; addTool('MimeTypes Registry')
  File "C:\Plone2\Data\Products\CMFCore\utils.py", line 631, in manage_addTool
   ; obj = tool()
&nbsp; File "C:\Plone2\Data\Products\MimetypesRegistry\MimeTypesRegistry.py", line 102, in __init__
&nbsp;   initialize(self)
&nbsp; File "C:\Plone2\Data\Products\MimetypesRegistry\mime_types\__init__.py", line 13, in initialize
 &nbsp;  py_mimetypes.initialize(registry)
  File "C:\Plone2\Data\Products\MimetypesRegistry\mime_types\py_mimetypes.py", line 72, in initialize
 &nbsp;  registry.register(MimeTypeItem(mt, (mt,), (ext,), isBin))
&nbsp; File "C:\Plone2\Data\Products\MimetypesRegistry\MimeTypeItem.py", line 32, in __init__
&nbsp;   self.icon_path = icon_path or guess_icon_path(self)
  File "C:\Plone2\Data\Products\MimetypesRegistry\MimeTypeItem.py", line 108, in guess_icon_path
 ; &nbsp; if os.path.exists(os.path.join(icons_dir, icon_path)):
  File "C:\Plone2\Python\lib\ntpath.py", line 256, in exists
&nbsp; &nbsp; st = os.stat(path)
TypeError: stat() argument 1 must be (encoded string without NULL bytes), not str
07/14/06 08:42:30: 3292: finished
Plone does start OK.
When I create a new Plone Site I get the following error after installing:
Site Error
An error was encountered while publishing this resource.
Error Type: TypeError
Error Value: stat() argument 1 must be (encoded string without NULL bytes), not str
Troubleshooting Suggestions
The URL may be incorrect.
The parameters passed to this resource may be incorrect.
A resource that this resource relies on may be encountering an error.
For more detailed information about the error, please refer to the error log.
If the error persists please contact the site maintainer. Thank you for your patience.
Please can anyone help? I have been trying to set-up a new Web with PLONE now for a week and it's extremly frustrating.
Thank You,
James
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )