[Zope-dev] Re: [Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ preparing 2.8.0 release for tomorrow

Tim Peters tim.peters at gmail.com
Sat Jun 4 13:21:12 EDT 2005


[Tim Peters, having trouble with 2.8b2 on Windows, ending with

> Files\Zope-2.8.0-b2\lib\python\Signals\WinSignalHandler.py", line 203,
> in registerHandler
>    hevent = win32event.CreateEvent(sa, 0, 0, event_name)
> TypeError: The object is not a PySECURITY_ATTRIBUTES object

]

Just noting that someone else reported the same traceback, but against
Zope 2.7.6 on Windows:

    http://www.zope.org/Collectors/Zope/1763

Same thing happens in 2.8b2 if I use runzope.bat from the instance
(instead of trying to use the Windows service):

C:\Zope-Instance\bin>runzope

C:\Zope-Instance\bin>"C:\Program Files\Zope-2.8.0-b2\bin\python.exe"
"C:\Program Files\Zope-2.8.0-b2\lib\python\Zope2\St
artup\run.py" -C "C:\Zope-Instance\etc\zope.conf"
Traceback (most recent call last):
  File "C:\Program
Files\Zope-2.8.0-b2\lib\python\Zope2\Startup\run.py", line 56, in ?
    run()
  File "C:\Program
Files\Zope-2.8.0-b2\lib\python\Zope2\Startup\run.py", line 21, in run
    starter.prepare()
  File "C:\Program
Files\Zope-2.8.0-b2\lib\python\Zope2\Startup\__init__.py", line 99, in
prepare
    self.registerSignals()
  File "C:\Program
Files\Zope-2.8.0-b2\lib\python\Zope2\Startup\__init__.py", line 319,
in registerSignals
    Signals.registerZopeSignals([self.cfg.eventlog,
  File "C:\Program Files\Zope-2.8.0-b2\lib\python\Signals\Signals.py",
line 116, in registerZopeSignals
    SignalHandler.registerHandler(SIGTERM, shutdownFastHandler)
  File "C:\Program
Files\Zope-2.8.0-b2\lib\python\Signals\WinSignalHandler.py", line 203,
in registerHandler
    hevent = win32event.CreateEvent(sa, 0, 0, event_name)
TypeError: The object is not a PySECURITY_ATTRIBUTES object


More information about the Zope-Dev mailing list