running in debug mode
Is it possible to have one zeo client running in debug mode while another is not? It seems that it should be the way most people would make a development environment. One zeo is running in standard mode so you could see how the site performs -- while the other zeo is running in debug mode so you can do file system development. -- David Bear College of Public Programs/ASU 411 N Central, Phoenix, AZ 85004
David Bear wrote:
Is it possible to have one zeo client running in debug mode while another is not? It seems that it should be the way most people would make a development environment. One zeo is running in standard mode so you could see how the site performs -- while the other zeo is running in debug mode so you can do file system development.
Yes of course it is. And why didn't you just try it out? T.
On Wednesday 26 March 2008 08:16, Tino Wildenhain wrote:
David Bear wrote:
Is it possible to have one zeo client running in debug mode while another is not? It seems that it should be the way most people would make a development environment. One zeo is running in standard mode so you could see how the site performs -- while the other zeo is running in debug mode so you can do file system development.
Yes of course it is. And why didn't you just try it out?
because I don't know what I don't know. I could try it yes. But there are a lot more have already have and could have commented upon use cases that introduce problems that I would not have considered. yes, we can always try things out and relearn what hundreds of others have already learned. But then, the collective wisdom of hundreds will always be better than my own experience.. Thanks for all the comments.
T.
-- David Bear College of Public Programs/ASU 411 N Central, Phoenix, AZ 85004
On Mar 26, 2008, at 15:40 , David Bear wrote:
Is it possible to have one zeo client running in debug mode while another is not? It seems that it should be the way most people would make a development environment. One zeo is running in standard mode so you could see how the site performs -- while the other zeo is running in debug mode so you can do file system development.
The terminology is a bit mixed up (what's "a zeo"?), but if you're asking about a situation where you have both production and development ZEO clients connecting to one and the same ZEO database server then that's pretty dangerous. Make a copy of your database and create a second ZEO database server to use for development, then connect your development client to that one. jens
On Mar 26, 2008, at 17:55 , Simon Michael wrote:
ZEO clients connecting to one and the same ZEO database server then that's pretty dangerous.
It is ? Yikes.
I believe you, as I remember this working for a while and then giving zodb errors requiring a restart. I wonder why ?
I wouldn't think you'd see ZODB errors, unless your development instance had a different Zope version, but who knows. My main worry would be changing persistent objects, even inadvertently, and errors you'd get when a production instance with the old production code picked them up. jens
--On 26. März 2008 09:55:37 -0700 Simon Michael <simon@joyful.com> wrote:
ZEO clients connecting to one and the same ZEO database server then that's pretty dangerous.
It is ? Yikes.
Of course it is. You should access the same zeo server only with identical software. That's why you have a dedicated testing or development environment. -aj
I believe you, as I remember this working for a while and then giving zodb errors requiring a restart. I wonder why ?
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-- ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany Web: www.zopyx.com - Email: info@zopyx.com - Phone +49 - 7071 - 793376 Registergericht: Amtsgericht Stuttgart, Handelsregister A 381535 Geschäftsführer/Gesellschafter: ZOPYX Limited, Birmingham, UK ------------------------------------------------------------------------ E-Publishing, Python, Zope & Plone development, Consulting
participants (5)
-
Andreas Jung -
David Bear -
Jens Vagelpohl -
Simon Michael -
Tino Wildenhain