Ticket #4646 (closed Bug: fixed)
Opened 11 years ago
pywintypes23.dll Error with source install/existing Zope installation
|Reported by:||hillsy||Owned by:|
I think this is a dupe of #4427, or at least related. But when I tried to post to that entry I got back an "insufficient privileges" error. So I'll put my experiences into a new issue, sorry.
I have what looks to be a similar error. Win2k3 Zope 2.7.6 (legacy install for 2.0.5 sites currently on the machine) Zope 2.7.7 (from Zope.org) Plone 2.1-rc3 (source tarball) Location of python.exe has been manually entered into the system path (D:\Program Files\Zope\2.7.6\bin in our case) Python has been registered using http://effbot.org/zone/python-register.htm - this is for an LDAP module that uses distutils.
When starting Zope 2.7.7 using runzope.bat, I get the attached error. Clicking OK allows Zope to start normally. Also installing it as a service and starting the service seems to work OK.
A Google led to an extensive thread on zope-dev which seemed to discuss this WRT Zope 2.8: http://firstname.lastname@example.org/msg18391.html Also: http://mail.python.org/pipermail/python-list/2005-January/263416.html
On the assumption it was loading the wrong DLL, I tried copying the pywintypes23.dll from Zope 2.7.7 to Zope 2.7.6, at which point Zope crashed with the PySECURITY_ATTRIBUTES error.