[Zope] Restart button in Control Panel

2005-04-18 Thread Milos Prudek
Is it possible to have the Restart button in ZMI Control Panel? I only have Shutdown. What controls this? I start my Zope instance with instance/bin/runzope . I use Zope 2.7.4. -- Milos Prudek http://www.spoxdesign.com - your web usability testing ___

Re: [Zope] Restart button in Control Panel

2005-04-18 Thread Jake
You are starting it in Debug mode, which means it will not allow for the restart button. /etc/zope.conf (edit debug mode) Also, try running it with: /bin/zopectl start Jake -- http://www.ZopeZone.com Milos Prudek said: Is it possible to have the Restart button in ZMI Control Panel? I only

[Zope] non-undoable storage

2005-04-18 Thread Milos Prudek
I have a couple hundred Articles (class instances) in my ZODB. Most instances are 200 kB, some are much larger. One of the Article properties is Number of times the article was read. Any increment causes ZODB to grow by the size of the given instance, due to the fact that ZODB will append a

Re: [Zope] non-undoable storage

2005-04-18 Thread Paul Winkler
On Mon, Apr 18, 2005 at 02:38:01PM +0200, Milos Prudek wrote: I have a couple hundred Articles (class instances) in my ZODB. Most instances are 200 kB, some are much larger. One of the Article properties is Number of times the article was read. Any increment causes ZODB to grow by the size

Re: [Zope] non-undoable storage

2005-04-18 Thread Florent Guillaume
Paul Winkler [EMAIL PROTECTED] wrote: On Mon, Apr 18, 2005 at 02:38:01PM +0200, Milos Prudek wrote: I have a couple hundred Articles (class instances) in my ZODB. Most instances are 200 kB, some are much larger. One of the Article properties is Number of times the article was read. Any

[Zope] tal:attributes and extra newline

2005-04-18 Thread Pascal Peregrina
Hi, I would like to know the reason why tal:attributes adds an extra newline for each generated tag attribute. This just makes generated HTML bigger... Thanks. Pascal ** This email and any files transmitted with it are

Re: [Zope] tal:attributes and extra newline

2005-04-18 Thread Andreas Jung
--On Montag, 18. April 2005 16:31 Uhr +0200 Pascal Peregrina [EMAIL PROTECTED] wrote: Hi, I would like to know the reason why tal:attributes adds an extra newline for each generated tag attribute. This just makes generated HTML bigger... It generates *only newlines if *you* generate multiple

RE: [Zope] tal:attributes and extra newline

2005-04-18 Thread Pascal Peregrina
Ok, it was TALInterpreter after all, but you need a long list of attributes (on a single line / single tal:attributes statement I mean)... It's because of the TAL.TALInterpreter.TALInterpreter.wrap value defaulting to 60 (see __init__) I managed, in my object that relies on PageTemplate, to set

RE: [Zope] tal:attributes and extra newline

2005-04-18 Thread Andreas Jung
--On Montag, 18. April 2005 17:55 Uhr +0200 Pascal Peregrina [EMAIL PROTECTED] wrote: Ok, it was TALInterpreter after all, but you need a long list of attributes (on a single line / single tal:attributes statement I mean)... It's because of the TAL.TALInterpreter.TALInterpreter.wrap value

RE: [Zope] tal:attributes and extra newline

2005-04-18 Thread Pascal Peregrina
Ok, silly question then... :) Let's stop this thread now. Thanks for the answers. Pascal -Message d'origine- De : Fred Drake [mailto:[EMAIL PROTECTED] Envoyé : lundi 18 avril 2005 18:04 À : Pascal Peregrina Cc : zope@zope.org Objet : Re: [Zope] tal:attributes and extra newline On

Re: [Zope] non-undoable storage

2005-04-18 Thread Milos Prudek
from ZODB import PersistentList Interesting. I'll look at this idea. I never heard of this class. You could then have NumberOfProperties become a ComputedAttribute But AFAIK, ComputedAttributes don't support write methods. Um, are you saying that the solution would actually not work for my use

Re: [Zope] non-undoable storage

2005-04-18 Thread Milos Prudek
A better candidate, rather than PersistentList, would be a BTrees.Length. Never heard about this. Why is it better? What does it do? Where can I find more info about it? -- Milos Prudek http://www.spoxdesign.com - your web usability testing ___ Zope

Re: [Zope] non-undoable storage

2005-04-18 Thread Florent Guillaume
Milos Prudek [EMAIL PROTECTED] wrote: A better candidate, rather than PersistentList, would be a BTrees.Length. Never heard about this. Why is it better? What does it do? Where can I find more info about it? It's designed to be a counter and does automatic conflict resolution. It was

Re: [Zope] non-undoable storage

2005-04-18 Thread Paul Winkler
On Mon, Apr 18, 2005 at 06:29:49PM +0200, Milos Prudek wrote: from ZODB import PersistentList Interesting. I'll look at this idea. I never heard of this class. You could then have NumberOfProperties become a ComputedAttribute But AFAIK, ComputedAttributes don't support write methods.

Re: [Zope] non-undoable storage

2005-04-18 Thread Milos Prudek
Probably not. If you had an SQL solution, and some client code said someArticle.NumberOfReaders += 1, how would you get that assignment to fire off your SQL code? I would have to calculate the key, so simple assignment would not work, that's true. -- Milos Prudek http://www.spoxdesign.com -

Re: [Zope] non-undoable storage

2005-04-18 Thread Milos Prudek
It's designed to be a counter and does automatic conflict resolution. It was mentionned a number of times in the past on the zope and zodb-dev lists. Thank you. I found detailed info in the mailing list archive, just like you said. -- Milos Prudek http://www.spoxdesign.com - your web usability

[Zope] Both tal:on-error and error_log?

2005-04-18 Thread Kirk Strauser
Can I use a tal:on-error attribute in a page template to provide a user-friendly explanation of an exception while still recording the occurrence of that exception to error_log? -- Kirk Strauser The Day Companies ___ Zope maillist - Zope@zope.org

Re: [Zope] Both tal:on-error and error_log?

2005-04-18 Thread Jens Vagelpohl
On Apr 18, 2005, at 20:20, Kirk Strauser wrote: Can I use a tal:on-error attribute in a page template to provide a user-friendly explanation of an exception while still recording the occurrence of that exception to error_log? I don't think that's possible. But you can test that very easily for

Re: [Zope] Both tal:on-error and error_log?

2005-04-18 Thread Kirk Strauser
On Monday 18 April 2005 13:35, Jens Vagelpohl wrote: I don't think that's possible. But you can test that very easily for yourself by putting code inside the on-error that provokes an error. I guess I should've prefaced my question by saying that I know on-error normally ends propagation of

Re: [Zope] Both tal:on-error and error_log?

2005-04-18 Thread Jens Vagelpohl
On Apr 18, 2005, at 20:51, Kirk Strauser wrote: On Monday 18 April 2005 13:35, Jens Vagelpohl wrote: I don't think that's possible. But you can test that very easily for yourself by putting code inside the on-error that provokes an error. I guess I should've prefaced my question by saying that I

Re: [Zope] Restart button in Control Panel

2005-04-18 Thread J Cameron Cooper
Jake wrote: You are starting it in Debug mode, which means it will not allow for the restart button. /etc/zope.conf (edit debug mode) Also, try running it with: /bin/zopectl start I don't think that debug mode has anything to do with it. Rather, if you're using runzope it's not running in daemon

Re: [Zope-Checkins] CVS: Zope/lib/python/nt_svcutils - service.py:1.1.2.2

2005-04-18 Thread Tim Peters
Mark and Sidnei, question for you. I work on ZRS, which, alas, I can't pass out code for. Its Windows service drivers subclass the Service class in Zope's nt_svcutils/service.py. I'm trying to build a new ZRS release. Trying to stop the ZRS service now suddenly and for no reason at all wink

[Zope-Coders] Zope Bugs, Features, and Patches Collector: Open Issues

2005-04-18 Thread tseaver
The following supporters have open issues assigned to them in this collector (http://www.zope.org/Collectors/Zope). Assigned and Open Brian - ZPT not being processed with text/vnd.wap.wml mime type, [Accepted] http://www.zope.org/Collectors/Zope/968 Caseman - ZCTextUndex

[Zope-Coders] Zope tests: 6 OK

2005-04-18 Thread Zope tests summarizer
Summary of messages to the zope-tests list. Period Sun Apr 17 11:01:02 2005 UTC to Mon Apr 18 11:01:02 2005 UTC. There were 6 messages: 6 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2_6-branch Python-2.1.3 : Linux From: Zope Unit Tests Date: Sun Apr 17 22:41:11 EDT

Re: [Zope-dev] Turning off product installation in zope.conf on all zeo clients?

2005-04-18 Thread Chris Withers
Jens Vagelpohl wrote: What happens if you turn this off in all zeo clients? New products don't get installed..? Okay, but what does installed mean? Would it actually stop new instances of object classes provided by the product being instantiated, or would it just prevent help pages and other

Re: [Zope-dev] Turning off product installation in zope.conf on all zeo clients?

2005-04-18 Thread Jens Vagelpohl
On Apr 18, 2005, at 16:25, Chris Withers wrote: Jens Vagelpohl wrote: What happens if you turn this off in all zeo clients? New products don't get installed..? Okay, but what does installed mean? Would it actually stop new instances of object classes provided by the product being instantiated, or