Hi,
Please don't cross-post.
You already posted this exact question to [EMAIL PROTECTED],
and received
Ok 2.7 has an instance/Products directory. What magic is letting them
be imported? I'm running a bunch of data loader scripts that create
persistent zope products. I have found that:
import Globals
sets things up so that my data loader scripts can import products
properly (even though
Whatever happened to the ZOPE_CONFIG env idea? What I have found is
that I started putting
Zope.config(os.getenv(ZOPE_CONFIG))
in all my scripts. Why can't his happen within Zope.app()? Something
like this.
*** lib/python/Zope/__init__.py.orig 2003-12-21 19:24:25.0
-0500
---
Nothing happened with it because by the time I got around to putting it
in, the 2.7 branch was frozen for changes.
Not sure about your patch, as Zope.app() can be called outside of the
context of a script. Also, if the configuration has already been
performed before the call to Zope.app(), it