[Zope] easy questions (1 zcatalog 1 zserver console?)

Tres Seaver tseaver@palladion.com
Mon, 20 Mar 2000 15:11:44 -0600


"alan runyan" <runyaga@thisbox.com>
> 
> when I was cataloging my zope site and was editing i did get a conflict
> 'competing' writes, which reminded me: how many times does ZOPE try to write
> to the ZODB and then 'fails' and roll's back - is it 3? assuming this size
> is configurable where would I go and change this?  when i was cataloging i
> got this:
> 2000-03:20T03:24:27 ERROR(200) ZODB Couldn't load state for
> '\000\000\000\000\000\000\350\217' <- this happens right before the
> competing writes. could someone explain what this \xxx\yyy\zzz is?
> 
> and how do I redirect ZServer's console to a file?  I'm in DOS right now
> (havent done this in awhile) - and tried to "C:\Program
> Files\WebSite\bin\python.exe" "C:\Program Files\WebSite\z2.py" -D %1 %2 %3
> %4 %5 %6 %7 %8 %9 > C:\temp\zope.log
> 
> that didnt work..  In linux I've tried redirectings stderr and stdout to a
> file and i believe it still wouldnt didnt work.

In an NT cmd.exe shell:

  ...2>C:\temp\zope.err >C:\temp\zope.log

or:

  ...2>&1 >C:\temp\zope.log

should both work.  On Win95/98, I think you're sunk -- the COMMAND.COM shell is
too brain-dead.  You might try 4DOS or another replacement shell.

Tres.
-- 
=========================================================
Tres Seaver         tseaver@palladion.com    713-523-6582
Palladion Software  http://www.palladion.com