Is the zopeshell kaput? Is there some replacement? I thought perhaps I could use zopectl debug, but our server is windows... Tom
Tom Schutzer-Weissmann wrote:
Is the zopeshell kaput? Is there some replacement?
I thought perhaps I could use zopectl debug, but our server is windows...
You could invoke python the same way 'debug' command of zopectl does, e.g.: $ python -c "import Zope Zope.configure( '/path/to/zope.conf' ) app = Zope.app()" -i from within a shell / batch file with the appropriate environment set up (i.e., containing PYTHONPATH, SOFTWARE_HOME, and INSTANCE_HOME). Tres. -- =============================================================== Tres Seaver tseaver@zope.com Zope Corporation "Zope Dealers" http://www.zope.com
Tom Schutzer-Weissmann wrote at 2005-1-4 16:01 +0000:
Is the zopeshell kaput? Is there some replacement?
I do not know what you mean with the "zopeshell".
I thought perhaps I could use zopectl debug, but our server is windows...
Put the definitions you find in "bin/runzope.bat" into your environment. Run python -i -c "from Zope import configure; configure('path to your config file'); import Zope; app=Zope.app()" Of course, you can put this into a batch file. -- Dieter
participants (3)
-
Dieter Maurer -
Tom Schutzer-Weissmann -
Tres Seaver