[ZCM] [ZC] 1763/ 1 Request "3 PyWin problems with Zope 2.7.6.B2"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Sun Apr 24 11:02:31 EDT 2005


Issue #1763 Update (Request) "3 PyWin problems with Zope 2.7.6.B2"
 Status Pending, Zope/bug critical
To followup, visit:
  http://www.zope.org/Collectors/Zope/1763

==============================================================
= Request - Entry #1 by mgf on Apr 24, 2005 11:02 am


Uploaded:  "zerror.bmp"
 - http://www.zope.org/Collectors/Zope/1763/zerror.bmp/view
As you requested, I tested Zope 2.7.6.B2 with Quantax on Windows (XP Prof SP2).

During startup, I get the following log:

2005-04-24T15:41:43 DEBUG(-200) FileStorage create storage C:\Program Files\Quantax/var/Data.fs
------
2005-04-24T15:41:43 INFO(0) ZODB Opening database for mounting: '29646624_1012593029.100000'
------
2005-04-24T15:41:43 DEBUG(-200) TemporaryStorage create storage TemporaryStorage
------
2005-04-24T15:41:43 INFO(0) ZODB Mounted database '29646624_1012593029.100000' at /temp_folder
------
2005-04-24T15:41:43 PROBLEM(100) Z2 Can not install signal handlers.  Please install (or upgrade) yo
ur pywin32 installation (https://sf.net/projects/pywin32 <https://sf.net/projects/pywin32> )
------
2005-04-24T15:41:43 INFO(0) Zope Ready to handle requests


When I upgrade the Pytonwin Installation to release 204 and changed sitecustomize.py to point to it (see Collector 1711), 

I got the following error during statup:

 C:\Program Files\Quantax\etc>"C:\Program Files\Zope\bin\python.exe" -O "C:\Program Files\Zope\lib\python\Zope\Startup\run.py" -C "C:\Program Files\Quantax\etc\zope.conf"
 Traceback (most recent call last):
  File "C:\Program Files\Zope\lib\python\Zope\Startup\run.py", line 50, in ?
    run()
  File "C:\Program Files\Zope\lib\python\Zope\Startup\run.py", line 19, in run
    start_zope(opts.configroot)
  File "C:\Program Files\Zope\lib\python\Zope\Startup\__init__.py", line 53, in start_zope
    starter.registerSignals()
  File "C:\Program Files\Zope\lib\python\Zope\Startup\__init__.py", line 103, in registerSignals
    Signals.registerZopeSignals()
  File "C:\Program Files\Zope\lib\python\Signals\Signals.py", line 117, in registerZopeSignals
    SignalHandler.registerHandler(SIGTERM, shutdownFastHandler)
  File "C:\Program Files\Zope\lib\python\Signals\WinSignalHandler.py", line 222, in egisterHandler
    hevent = win32event.CreateEvent(sa, 0, 0, event_name)
 TypeError: The object is not a PySECURITY_ATTRIBUTES object

After it started with the new build, it issued a complaint as attached when trying to launch Excel as a COM object.

All this worked fine with 2.7.5. So I conclude that something with the installation of PyWin is wrong.

Best regards, Martin

==============================================================



More information about the Zope-Collector-Monitor mailing list