List Info

Thread: install plone error "Error Value: stat() argument 1 must be"




install plone error "Error Value: stat() argument 1 must be"
user name
2006-05-27 16:42:07

try the 2.5 beta 2 installer from http://www.enfoldsystems.com/downloads.html


-----Original Message-----
From: setup-bounceslists.plone.org on behalf of Jack Lu
Sent: Sat 5/27/2006 1:42 AM
To: setuplists.plone.org
Subject: [Setup] install plone error "Error Value: stat() argument 1 must be"

I am a new to plone.Following the installation instruction,I tried
serveral times to install plone on my winxp sp2 box ,but failed.
One time with python2.3.5+zope2.8.6+plone2.1.2,and the other with
python2.4.3+zope2.9.3+plone2.5 beta2.
ZMI worked well,but when useing ZMI to add a plone site,it meet the
following error:
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

Is there a problem with my winxp's configuration?
What can I do to fix this?
Thanks.

Jack

Here is the postinstall.log
2006-05-27T13:53:35 ERROR Zope.SiteErrorLog http://localhost:8080/manage_addProduct/CMFPlone/addPloneSite
Traceback (innermost last):
  Module ZPublisher.Publish, line 115, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 41, in call_object
  Module Products.CMFPlone.factory, line 44, in addPloneSite
  Module Products.GenericSetup.tool, line 248, in runAllImportSteps
   - __traceback_info__: profile-CMFPlone:plone
  Module Products.GenericSetup.tool, line 716, in _doRunImportStep
   - __traceback_info__: plone_various
  Module Products.CMFPlone.setuphandlers, line 196, in importVarious
  Module Products.CMFPlone.setuphandlers, line 25, in installProducts
  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 C:\Zope-Instance\Products\Archetypes\Extensions\Install.py, line 15, in install
&nbsp; Module Products.Archetypes.Extensions.utils, line 449, in setupArchetypes
&nbsp; 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)
&nbsp; Module C:\Zope-Instance\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__
  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__
  Module Products.MimetypesRegistry.MimeTypeItem, line 108, in guess_icon_path
&nbsp; Module ntpath, line 256, in exists
TypeError: stat() argument 1 must be (encoded string without NULL bytes), not str



_______________________________________________
Setup mailing list
Setuplists.plone.org
http://lists.plone.org/mailman/listinfo/setup

install plone error "Error Value: stat() argument 1 must be"
user name
2006-05-31 02:45:56
Alan,Thank you for your advise.
The 2.5 beta2 and 2.13 installer worked well on my Dell
desktop
computer with winxp sp2.
But i still can't setup plone on my laptop(a Dell Latitude
D600 with
winxp sp2).Here is the error messages installer provided.
2.5 beta2:
installation Error
Executing the command 'setupsite.py' failed
AttributeError:addplonesite
2.1.3:
installation Error
Executing the command 'setupsite.py' failed
TypeError:stat() argument 1 must be(encoded string without
NULL
bytes),not str

I can't figure out why it's ok on desktop but fail on
laptop.
Does anyone have experienced this problem before or have any
clues on
the command 'setupsite.py' failure?

Thanks in advance.

--
Jack Lu 

On Sat, 27 May 2006 11:42:07 -0500
"Alan Runyan" <alanenfoldsystems.com>
wrote:

>
>try the 2.5 beta 2 installer from http://ww
w.enfoldsystems.com/downloads.html
>
>
>-----Original Message-----
>From: setup-bounceslists.plone.org on behalf of Jack Lu
>Sent: Sat 5/27/2006 1:42 AM
>To: setuplists.plone.org
>Subject: [Setup] install plone error "Error Value:
stat() argument 1 must be"
> 
>I am a new to plone.Following the installation
instruction,I tried
>serveral times to install plone on my winxp sp2 box ,but
failed.
>One time with python2.3.5+zope2.8.6+plone2.1.2,and the
other with
>python2.4.3+zope2.9.3+plone2.5 beta2.
>ZMI worked well,but when useing ZMI to add a plone
site,it meet the
>following error:
>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
>
>Is there a problem with my winxp's configuration?
>What can I do to fix this?
>Thanks.
>
>Jack
>
>Here is the postinstall.log
>2006-05-27T13:53:35 ERROR Zope.SiteErrorLog http://localhost:8080/manage_addProduct/CMFPlone/ad
dPloneSite
>Traceback (innermost last):
>  Module ZPublisher.Publish, line 115, in publish
>  Module ZPublisher.mapply, line 88, in mapply
>  Module ZPublisher.Publish, line 41, in call_object
>  Module Products.CMFPlone.factory, line 44, in
addPloneSite
>  Module Products.GenericSetup.tool, line 248, in
runAllImportSteps
>   - __traceback_info__: profile-CMFPlone:plone
>  Module Products.GenericSetup.tool, line 716, in
_doRunImportStep
>   - __traceback_info__: plone_various
>  Module Products.CMFPlone.setuphandlers, line 196, in
importVarious
>  Module Products.CMFPlone.setuphandlers, line 25, in
installProducts
>  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
C:\Zope-Instance\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
C:\Zope-Instance\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 72,
in initialize
>  Module Products.MimetypesRegistry.MimeTypeItem, line
32, in __init__
>  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
>
>
>
>_______________________________________________
>Setup mailing list
>Setuplists.plone.org
>http://
lists.plone.org/mailman/listinfo/setup
>

-- 
饼干<bingumphotmail.com>
灵 感 点 亮 生 活


_______________________________________________
Setup mailing list
Setuplists.plone.org
http://
lists.plone.org/mailman/listinfo/setup
[1-2]

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