[Zope-PTK] Broken Product - reload?

Chris McDonough chrism@digicool.com
Thu, 22 Mar 2001 17:11:42 -0500


Kent,

This is a bug in the new BTree implementations under Solaris triggered by
gcc's optimizing compiler.  It's fixed in 2.3b3.  Sorry!!

----- Original Message -----
From: "Kent Polk" <kent@tiamat.goathill.org>
To: "Dieter Maurer" <dieter@handshake.de>
Cc: <zope-ptk@zope.org>
Sent: Thursday, March 22, 2001 4:23 PM
Subject: Re: [Zope-PTK] Broken Product - reload?


> Dieter Maurer wrote:
> > Kent Polk writes:
> >  > Ok, I broke the CMFCore with a typo. I fixed the source file, but
> >  > I can't figure out how to get Zope to reload the fixed version.
> >  > CMFCore remains broken and Control_panel/Products/CMFCore complains
> >  > about the error, which no longer exists. I've tried everything
> >  > short of nuking the CMF instance I'm running, and I'd really rather
> >  > not do that. :^(
> > Exceptions during a call to "initialize" are not shown
> > (except in the log file, if you enabled logging) and
> > cause the old information not to be updated.
> >
> > You have two options:
> >
> >  * delete the broken product and restart
> >    you will then see the (new) traceback
>
> Turns out it wasn't getting this far.
>
> >  * enable logging (STUPID_LOG_FILE=<your_log_file> on the command line),
> >    restart and look into the log file.
>
> Well, I finally messed things up enough to convince it to issue an error
message:
>
> 2001-03-22T20:58:36 ERROR(200) Zope Couldn't install CMFCore
> Traceback (innermost last):
>   File
/export/home/zope/lib/Zope-2.3.1b2-solaris-2.6-sparc/lib/python/OFS/Applicat
ion.py, line 627, in install_products
>     (Object: ApplicationDefaultPermissions)
>     (Info: CMFCore)
>   File /var/zope/Products/CMFCore/__init__.py, line 168, in initialize
>   File
/export/home/zope/lib/Zope-2.3.1b2-solaris-2.6-sparc/lib/python/App/ProductC
ontext.py, line 365, in registerHelp
>   File
/export/home/zope/lib/Zope-2.3.1b2-solaris-2.6-sparc/lib/python/App/ProductC
ontext.py, line 298, in registerHelpTopic
>   File
/export/home/zope/lib/Zope-2.3.1b2-solaris-2.6-sparc/lib/python/OFS/ObjectMa
nager.py, line 300, in _setObject
>     (Object: Traversable)
>   File
/export/home/zope/lib/Zope-2.3.1b2-solaris-2.6-sparc/lib/python/HelpSys/Help
Topic.py, line 152, in manage_afterAdd
>     (Object: HelpTopicBase)
>   File
/export/home/zope/lib/Zope-2.3.1b2-solaris-2.6-sparc/lib/python/HelpSys/Help
Topic.py, line 165, in index_object
>     (Object: HelpTopicBase)
>   File
/export/home/zope/lib/Zope-2.3.1b2-solaris-2.6-sparc/lib/python/Products/ZCa
talog/ZCatalog.py, line 424, in catalog_object
>     (Object: Traversable)
>   File
/export/home/zope/lib/Zope-2.3.1b2-solaris-2.6-sparc/lib/python/Products/ZCa
talog/Catalog.py, line 442, in catalogObject
>   File
/export/home/zope/lib/Zope-2.3.1b2-solaris-2.6-sparc/lib/python/SearchIndex/
UnTextIndex.py, line 335, in index_object
> SystemError: error return without exception set
>
> Does this for about a dozen core products. I can't see why or what
> started it.  Files permissions are fine and all appears to be
> correct. Could something in the ZODB be triggering this?
>
>
> _______________________________________________
> Zope-PTK maillist  -  Zope-PTK@zope.org
> http://lists.zope.org/mailman/listinfo/zope-ptk
>
> See http://www.zope.org/Products/PTK/Tracker for bug reports and feature
requests
>