[Zope-dev] Product Testing

2004-06-01 Thread Marshall Powers
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  -  [EMAIL PROTECTED]
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 )


Re: [Zope-dev] Product Testing

2004-06-01 Thread Chris McDonough
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  -  [EMAIL PROTECTED]
 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 )


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 )


Re: [Zope-dev] Product Testing

2004-06-01 Thread robert rottermann
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  -  [EMAIL PROTECTED]
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 )

 


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 )