[Zope] installation zope on windows 7
henk laloli
ticino at hccnet.nl
Tue May 11 16:17:28 EDT 2010
I have tried to install the latest zope 2.12.5 on windows 7 (64 bit).
Ran the zope egg. Made a zope instance with mkzopeinstance.
One needs to disable the user accounts settings (run command uac and set
slider to null) otherwise the service will not install. Still after this
Zope will not start: there is no PID file present. After starting the
Zope process immediately dies.
So what could be the cause?
Henk
This is the error message:
The instance's SvcRun() method failed
Traceback (most recent call last):
File "C:\Python26\lib\site-packages\win32\lib\win32serviceutil.py",
line 806, in SvcRun
self.SvcDoRun()
File
"C:\Python26\lib\site-packages\zope2-2.12.5-py2.6-win-amd64.egg\nt_svcutils\service.py",
line 115, in SvcDoRun
self.stop(pid)
File
"C:\Python26\lib\site-packages\zope2-2.12.5-py2.6-win-amd64.egg\nt_svcutils\service.py",
line 277, in stop
open(self.getReg('pid_filename',keyname='PythonClass')).read()
IOError: (2, 'No such file or directory',
'C:\\Users\\henk\\zope\\var\\Z2.pid')
There is also a warning:
Zope-2034764167 (Zope instance at C:\Users\henk\zope): Process
terminated with exit code 1. Traceback (most recent call last): File
"C:\Python26\Scripts\runzope-script.py", line 8, in <module>
load_entry_point('Zope2==2.12.5', 'console_scripts', 'runzope')() File
"C:\Python26\lib\site-packages\zope2-2.12.5-py2.6-win-amd64.egg\Zope2\Startup\run.py",
line 21, in run starter.prepare() File
"C:\Python26\lib\site-packages\zope2-2.12.5-py2.6-win-amd64.egg\Zope2\Startup\__init__.py",
line 75, in prepare self.setupSecurityOptions() File
"C:\Python26\lib\site-packages\zope2-2.12.5-py2.6-win-amd64.egg\Zope2\Startup\__init__.py",
line 144, in setupSecurityOptions import AccessControl File
"C:\Python26\lib\site-packages\zope2-2.12.5-py2.6-win-amd64.egg\AccessControl\__init__.py",
line 16, in <module> from AccessControl.Implementation import
setImplementation File
"C:\Python26\lib\site-packages\zope2-2.12.5-py2.6-win-amd64.egg\AccessControl\Implementation.py",
line 98, in <module> setImplementation("C") File
"C:\Python26\lib\site-packages\zope2-2.12.5-py2.6-win-amd64.egg\AccessControl\Implementation.py",
line 51, in setImplementation from AccessControl import ImplC as impl
File
"C:\Python26\lib\site-packages\zope2-2.12.5-py2.6-win-amd64.egg\AccessControl\ImplC.py",
line 17, in <module> from AccessControl.cAccessControl import
rolesForPermissionOn ImportError: DLL load failed: is not a valid Win32
application
More information about the Zope
mailing list