[Zope-dev] ZConfig issue: "products" and "container-class"

Fred Drake fdrake at gmail.com
Mon Feb 14 13:36:51 EST 2005


On Mon, 14 Feb 2005 15:22:38 -0200, Leonardo Rochael Almeida
<leo at enfoldsystems.com> wrote:
> It's obvious that the "container-class" directive is being "evaluated"
> much earlier than the "products" directive. Without delving further into
> the code, it looks like the "container-class" directive has an error
> checking built right into the directive type that tries to import the
> assigned class, while the "products" direcive will only be made
> effective AFTER all ZConfig configuration has been processed...

This is a known limitation.  You can avoid it by using the PYTHONPATH
environment variable instead.


  -Fred

-- 
Fred L. Drake, Jr.    <fdrake at gmail.com>
Zope Corporation


More information about the Zope-Dev mailing list