[ZCM] [ZC] 1857/ 1 Request "Multiple Ctrl+C/Break raise
AttributeError on shutdown"
Collector: Zope Bugs, Features,
and Patches ...
zope-coders-admin at zope.org
Wed Aug 3 09:58:22 EDT 2005
Issue #1857 Update (Request) "Multiple Ctrl+C/Break raise AttributeError on shutdown"
Status Pending, Zope/bug+solution medium
To followup, visit:
http://www.zope.org/Collectors/Zope/1857
==============================================================
= Request - Entry #1 by magog on Aug 3, 2005 9:58 am
Uploaded: "WinSignals_AttributeError_Fix.diff"
- http://www.zope.org/Collectors/Zope/1857/WinSignals_AttributeError_Fix.diff/view
If you shutdown Zope by pressing CTRL+C / Break repeatedly, an AttributeError is raised in Signals.WinSignalHandler.py, line 191 in method "consoleCtrlHandler" or method "signalHandler", line 245.
This happens if the method "shutdown" has been called before, because it sets "self.registry" to None which can't be used afterwards.
Attached is a cvs diff against the current CVS branch "Zope-2_7-branch" that fixes these two issues.
==============================================================
More information about the Zope-Collector-Monitor
mailing list