[ZCM] [ZC] 2069/ 4 Comment "Zope 2.8 and SQLobject "reimport" error"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Wed Apr 12 17:14:14 EDT 2006


Issue #2069 Update (Comment) "Zope 2.8 and SQLobject "reimport" error"
 Status Pending, Zope/bug critical
To followup, visit:
  http://www.zope.org/Collectors/Zope/2069

==============================================================
= Comment - Entry #4 by philikon on Apr 12, 2006 5:14 pm

I'll also note that several people are happily running SQLObject with Zope 2. See for example http://codespeak.net/svn/z3/sqlos/trunk/Zope2/.
________________________________________
= Comment - Entry #3 by philikon on Apr 12, 2006 5:11 pm

Packages are only imported more than once ("refreshed" or "reloaded") if

a) debug mode is on
b) refresh is enabled for those packages (in the Control Panel)

It is a known fact that refresh doesn't work with all packages. This hardly classifies for a bug in Zope.

P.S.: Please don't reply to collector emails, they don't get saved away in the issue transcript. Please use the collector Followup forms.
________________________________________
= Comment - Entry #2 by ajung on Apr 12, 2006 4:57 pm

SQLObject? This is not a supported product.

________________________________________
= Request - Entry #1 by Anonymous User on Apr 12, 2006 4:34 pm

classes derived from sqlobject cannot be imported more than once.
zope 2.8's "refresh" method imports more than once.
zope 2.8's "product initialisation" imports more than once.

this is a complete show-stopper.

you MUST NOT import modules more than once.

modules have initialisation code that sets stuff up,
and, if nothing else, calling that initialisation code
more than once is terribly inefficient.


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



More information about the Zope-Collector-Monitor mailing list