I'm somewhat new to zope in general, and I've been having some trouble developing products. Im running 2.7 on WinXP as a windows service. My biggest problem is with debugging my products. Right now, the only feedback I get is whether or not the zope service starts successfully. It would really help if I could get some error message as to what part of my product zope choked on. Any Ideas? Thank You, Marshall
For development, it's better to run Zope under a DOS box by using "runzope.bat" than it is to continually stop and start the Zope NT service. Zope as an NT service has particularly poor error reporting for startup problems ( see http://zope.org/Collectors/Zope/1020 ). If you use "runzope.bat" instead of the service starter, you can visit the "error_log" object in the ZMI, check "copy exceptions to event log", save that, put the following in your zope.conf: <eventlog> level all <logfile> path $INSTANCE/log/event.log level info </logfile> <logfile> path STDOUT level info </logfile> </eventlog> Then restart Zope. This will cause Zope's event log to log to not only a logfile but to the console under which you start Zope, making it easy to spot startup errors when you use "runzope.bat". - C On Tue, 2004-06-01 at 14:03, Marshall Powers wrote:
I'm somewhat new to zope in general, and I've been having some trouble developing products. Im running 2.7 on WinXP as a windows service. My biggest problem is with debugging my products. Right now, the only feedback I get is whether or not the zope service starts successfully. It would really help if I could get some error message as to what part of my product zope choked on. Any Ideas?
Thank You, Marshall
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Do not run Zope as a service but from a batch file (you find it as /YOURINSTANCE/bin/runzope.bat) Then I would propose using wing from www.wingide.com. I recomend the beta 2.0 version since it has a muchg nicer UI than the V 1.X Robert Marshall Powers wrote:
I'm somewhat new to zope in general, and I've been having some trouble developing products. Im running 2.7 on WinXP as a windows service. My biggest problem is with debugging my products. Right now, the only feedback I get is whether or not the zope service starts successfully. It would really help if I could get some error message as to what part of my product zope choked on. Any Ideas?
Thank You, Marshall
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Go to the Control Panel and click on your broken Product. You will see a traceback. "Marshall Powers" <mpowers1@stevens.edu> wrote in message news:2033258.1086112997066.JavaMail.mpowers1@stevens.edu...
I'm somewhat new to zope in general, and I've been having some trouble developing products. Im running 2.7 on WinXP as a windows service. My biggest problem is with debugging my products. Right now, the only feedback I get is whether or not the zope service starts successfully. It would really help if I could get some error message as to what part of my product zope choked on. Any Ideas?
Thank You, Marshall
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
participants (4)
-
Chris McDonough -
Marshall Powers -
robert rottermann -
sureshvv