[Zope-Coders] Zope tests: 8 OK

2005-09-20 Thread Zope tests summarizer
Summary of messages to the zope-tests list. Period Mon Sep 19 11:01:02 2005 UTC to Tue Sep 20 11:01:02 2005 UTC. There were 8 messages: 8 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2_6-branch Python-2.1.3 : Linux From: Zope Unit Tests Date: Mon Sep 19 22:21:43 EDT

[Zope-dev] Re: Weird IndexableObjectWrapper + TopicIndex + aq_acquired interactions.

2005-09-20 Thread Lennart Regebro
OK, so, for some reason some CMF objects fail when being indexed because they are wrapped in an aq wrapper that wrapped an IndexableObjectWrapper that wraps another aq_wrapper. And sometimes, the same object do not fail in otehrwise very similar situation. *sigh*. So for example, this works

Re: [Zope-dev] Weird IndexableObjectWrapper + TopicIndex + aq_acquired interactions.

2005-09-20 Thread Dieter Maurer
Lennart Regebro wrote at 2005-9-19 17:38 +0200: ... aq_acquire will, if the first parameter is not an AcquisitionWrapper, and the third parameter is not None, wrap the object. Now, in our case, the object is an IndexableObjectWrapper, wrapping an Acquisition wrapped object. So, aq_acquire will

Re: [Zope] create a new log file

2005-09-20 Thread Andreas Jung
--On 19. September 2005 19:19:38 +0100 Nuno [EMAIL PROTECTED] wrote: Hi! How can I create a new log file, e.g. mylog.log, this is to log specific jobs in a different log file of event.log. I think you can not reuse the zLOG API of Zope for custom logfiles. You need to implement your own

Re: [Zope] Zope scalability / efficiency question

2005-09-20 Thread J Cameron Cooper
mark hellewell wrote: Hi everyone, I've got a question I'd really appreciate some input on. If I'm running perhaps a dozen Zope sites, experiencing anywhere between several hits per second to a lot less, would it potentially be more efficient (decreased latency etc.) to run each site as its own

RE: [Zope] Zope scalability / efficiency question

2005-09-20 Thread Andrew Sawyers
I did some tests a few years back, basically that came out such that you run the number of zope instances as you have CPUs. I was able to get double the performance of a single instance on a dual cpu server when adding a second instance. On a single CPU server, I found that the number of

Re: [Zope] How to show field names from sql query?

2005-09-20 Thread Dieter Maurer
Thomas Apostolou wrote at 2005-9-19 13:43 +0100: i use the following to get to show the results from an sql query. What are the expresions to show the field names? The ZSQL method result has a method names returning the field names. You can use it in a dtml-let, similar to: dtml-let

Re: [Zope] Multiple ZODB for virtual hosts with ZEO

2005-09-20 Thread Dieter Maurer
David Pratt wrote at 2005-9-17 13:07 -0300: Is it possible for ZEO to be configured with multiple databases, This is still possible but might go away in future. Then, you would use more than a single ZEO; one ZEO per database, to be precise. Any ZEO client can connect to any number of ZEO

Re: [Zope] Re: Getting at third-party modules in dtml?

2005-09-20 Thread Dieter Maurer
Axel Straschil wrote at 2005-9-20 04:07 +: Hi! Say I have a function that I want to make callable in my UI. It needs to be globally available, i.e. it needs to be callable *without* having an instance of my product yet. (This has to do with listing information about all acquirable

[Zope] Multiple databases/instances

2005-09-20 Thread Eric Wohnlich
I'm working on the scalability aspect of Zope, and am trying to see what the best practices are for creating multiple databases or multiple Zope instances. I am using ZEO and have allowed for multiple databases (Data.fs files) by editing zeo.conf just to try that out, because our current

Re: [Zope] Re: Getting at third-party modules in dtml?

2005-09-20 Thread Paul Winkler
Axel Straschil wrote at 2005-9-20 04:07 +: Hi! Say I have a function that I want to make callable in my UI. It needs to be globally available, i.e. it needs to be callable *without* having an instance of my product yet. (This has to do with listing information about all acquirable

Re: [Zope] Help with virtual hosting Zope on different ports

2005-09-20 Thread Jonathan Cyr
Unless you need some special Apache functionality, you may want to look and the Pound Rev-Proxy/Load Balancer at http://www.apsis.ch/pound. I find it much easier than getting involved with apache, it's lightweight, secure and designed with Zope in mind. two cents, -Jon. Michael Sanborn

Re: [Zope] How to show field names from sql query?

2005-09-20 Thread J Cameron Cooper
Thomas Apostolou wrote: Hello all, i use the following to get to show the results from an sql query. What are the expresions to show the field names? table dtml-in expr=TestODBCEM(sysDSN=sysDSN, usr=usr, mypass=mypass, sSQL=sSQL) dtml-if sequence-even tr bgcolor=lightgreen

[Zope] Re: Getting at third-party modules in dtml?

2005-09-20 Thread Axel Straschil
Hi! before. Is this documented somewhere? Never seen a Documentation for that, everything in Zope that is not done Trough the Web is Use the source, Luke documented. I.E., this thread is worth a Documentation, but who will write it down ... ;-) Lg, AXEL. -- Gentoo? Debian? RedHat? SuSE?