Log message for revision 30689: Merge rev 30688 from 2.8 branch. Import pywintypes first. Mark Hammond's checkin comment for Zope 2.7's WinSignalHandler.py, rev 1.1.2.2: """ As at pywin32-204, we must ensure pywintypes is the first win32 module imported in our process, otherwise we can end up with 2 pywintypesxx.dll instances in our process resulting in: TypeError: The object is not a PySECURITY_ATTRIBUTES object """ Mysterious error popup boxes have also been seen, on boxes with a pre-pywin32-204 installation leaving pywin32 DLLs in the system32 directory.
Changed: U Zope/trunk/lib/python/nt_svcutils/service.py -=- Modified: Zope/trunk/lib/python/nt_svcutils/service.py =================================================================== --- Zope/trunk/lib/python/nt_svcutils/service.py 2005-06-08 15:38:37 UTC (rev 30688) +++ Zope/trunk/lib/python/nt_svcutils/service.py 2005-06-08 15:43:04 UTC (rev 30689) @@ -15,9 +15,11 @@ """Windows Services installer/controller for Zope/ZEO/ZRS instance homes""" import sys, os, time, threading, signal + +import pywintypes +import winerror, win32con import win32api, win32event, win32file, win32pipe, win32process, win32security import win32service, win32serviceutil, servicemanager -import pywintypes, winerror, win32con # the max seconds we're allowed to spend backing off BACKOFF_MAX = 300 _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins