[ZCM] [ZC] 1916/ 3 Reject "ZConfig/products directive and @import has bootstrap issue"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Wed Feb 15 05:41:42 EST 2006


Issue #1916 Update (Reject) "ZConfig/products directive and @import has bootstrap issue"
 Status Rejected, Zope/bug medium
To followup, visit:
  http://www.zope.org/Collectors/Zope/1916

==============================================================
= Reject - Entry #3 by chrisw on Feb 15, 2006 5:41 am

 Status: Pending => Rejected

There isn't a problem here, you just need to make sure that whatever you try to %import is on your python path before you try and import it.

export PYTHON_PATH=$PYTHON_PATH$;C:\tmp\Products

...will probably do it.
________________________________________
= Comment - Entry #2 by eikenberry on Feb 10, 2006 11:10 pm

Confirmed that this is still an issue in Zope-2.8.4 and I don't see it in the Zope-2.9 release notes. This has become an issue for us as well as we keep our products outside of the instance home and we use APE (which uses %import).
________________________________________
= Request - Entry #1 by Anonymous User on Oct 12, 2005 5:03 pm

create a folder called C:\tmp\Products

in the zope.conf for the products directive
point to C:\tmp\Products

put ClockServer or something that has component.xml and friends in a
folder in C:\tmp\Products

try to to %import Products.ClockServer 

you will get a import error.  

I imagine because hte Products path/module isnt munged when
ZConfig reads the %import

not a huge problem - but certainly painful for Zope 2 series on Windows.
==============================================================



More information about the Zope-Collector-Monitor mailing list