[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:06:07 EDT 2005


[Tim Peters]
> ...
> Later:  Zope-2.8.0-b2-win32.exe is built now, and after some more
> testing I'll upload it to
> 
>    http://www.zope.org/Products/Zope/2.8.0b2
> 
> Windows users please give this a try -- it's your last (and in some
> sense, also your first <wink>) chance to try "the real" Zope 2.8 on
> Windows.

I uploaded the installer there, but it doesn't work for me.  This was built from

    svn://svn.zope.org/repos/main/Zope/tags/Zope-2-8-0-b2

after changing the Windows buildout in that tag to point at the
correct 2.8b2 tarball.  Then the build completed without error, and
all the tests passed from the build/ directory (

    bin\python bin\test.py -vv --all

run from the inst/build/ directory, in a native DOS box, Win XP Pro
SP2).  These pieces went into it:

C:\Code\28b2\inst>dir tmp
 ...
04/11/2005  02:52 PM         9,881,382 Python-2.3.5.exe
04/11/2005  02:52 PM         8,535,749 Python-2.3.5.tgz
04/18/2005  04:23 PM         3,940,871 pywin32-204.win32-py2.3.exe
06/04/2005  11:37 AM         5,298,645 Zope-2.8.0-b2.tgz
...

Running the installer, and accepting all the defaults, appeared to
work fine then.  But the Zope service "doesn't work" -- "nothing
visible happens", although it chews up a lot of CPU.  The Windows
Application log has lots of unencouraging entries then, like

Zope_-1444516661 (Zope instance at C:\Zope-Instance): process
terminated with exit code 1.
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

then

Zope_-1444516661 (Zope instance at C:\Zope-Instance): sleep 5 to avoid
rapid restarts

and then repeats of "created process" + PySECURITY_ATTRIBUTES +
"sleep" with increasing times, and finally

Zope_-1444516661 (Zope instance at C:\Zope-Instance): restarting too
frequently; quit

followed by

The Zope_-1444516661 service has stopped (Zope instance at C:\Zope-Instance).

Maybe that's unique to my box -- someone else want to try the installer?

If it's not unique to my box, well, that isn't good <wink>.  I don't
have more time to look at this today.  Mark, is the problem obvious to
you?

There's nothing particularly interesting in the instance's event.log;
the tail end is just repetitions like this:

2005-06-04T12:45:26 INFO ZServer HTTP server started at Sat Jun 04 12:45:26 2005
	Hostname: FATDESK
	Port: 8080
------
2005-06-04T12:46:09 INFO ZServer HTTP server started at Sat Jun 04 12:46:09 2005
	Hostname: FATDESK
	Port: 8080
------
2005-06-04T12:47:32 INFO ZServer HTTP server started at Sat Jun 04 12:47:32 2005
	Hostname: FATDESK
	Port: 8080
------
2005-06-04T12:50:16 INFO ZServer HTTP server started at Sat Jun 04 12:50:16 2005
	Hostname: FATDESK
	Port: 8080


More information about the Zope-Dev mailing list