[Zope] Question about zserver-threads.

2005-07-29 Thread Pascal Peregrina
Hi, Concerning the zserver-threads config param... If I have an http-server, ftp-server and webdqv-source-server and if my global zserver-threads param is set to 10, does it mean : a)The the max number of http-server + ftp-server + webdav-source-server threads will be 10 ? b)The max number of

Re: [Zope] Question about zserver-threads.

2005-07-29 Thread Jens Vagelpohl
On 29 Jul 2005, at 10:43, Pascal Peregrina wrote: If I have an http-server, ftp-server and webdqv-source-server and if my global zserver-threads param is set to 10, does it mean : a)The the max number of http-server + ftp-server + webdav-source- server threads will be 10 ? b)The max number

[Zope] Updating BLOB fields in Interbase database

2005-07-29 Thread Ashley
I'm not sure if this is the right place for this, if not, my apologies. I've got a Clients table in an interbase db with various fields, one of which is a BLOB field (subtype text), used to maintain some notes. When inserting a Client into the table, this field populates fine. However, when

[Zope] Re: Oracle 9.2.0.2

2005-07-29 Thread Robert
Thanks, I thought it read it was no longer being worked on. Maybe I was thinking something else. : ) Robert ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] Using relative paths doesn't seem to work as i thought

2005-07-29 Thread tomatbiz-tominfo
Using relative paths doesn't seem to work as i thought. For example : I have a Plone site Plone Under that i have a folder object named Sales In Sales i have a Page Template object named SalesPage. I also put an index_html file object inside Sales Folder. I thought that the href inside index_html

Re: [Zope] Re: Oracle 9.2.0.2

2005-07-29 Thread Peter Bengtsson
On 7/29/05, Robert [EMAIL PROTECTED] wrote: Thanks, I thought it read it was no longer being worked on. Maybe I was thinking something else. : ) Perhaps it don't need more work because it's so damn perfect!?! :) Robert ___ Zope maillist -

[Zope] Re: Running more than one instance on windows often block each other

2005-07-29 Thread Sune B. Woeller
[...] Key point: no socket is _listening_ on address (127.0.0.1, 1) after this close(). From what comes later, I guess you believe that no socket should be allowed to listen on that address again until all connections made with that `a` also close, but I don't think you'll find anything

Re: [Zope] Composing variables

2005-07-29 Thread Cristi Barladeanu
Hello Andreas and thank for your answer. I've posted this question to at-users list too but still no answer. In fact this problem is not related only to AT. Let me give you an example: var alternative = 'bar' or 'baz' var foo_baz = 'content based on baz' var foo_bar = 'content based on bar'

Re: [Zope] Composing variables

2005-07-29 Thread Jo Meder
Am 29.07.2005, 18:02 Uhr schryb Cristi Barladeanu [EMAIL PROTECTED]: An example written in PHP: $alternative = bar; $foo_bar = content based on bar; echo ${foo_.$alternative} same in a Python-Skript: -- foo = {bar:

Re: [Zope] Composing variables

2005-07-29 Thread Jonathan
I don't know if this is what you are looking for,but can use a form of indirection that is available thru dtml: dtml-call "REQUEST.set('a1', 'aaa')"dtml-call "REQUEST.set('b1', 'a1')" dtml-var b1brdtml-var "_[b1]" will print: a1 aaa This will allow you to load variable b1 within a

Re: [Zope] Composing variables

2005-07-29 Thread Cristi Barladeanu
Thank you all very much for your answers. The second solution that Jo provided worked exactly as I wanted: .. tal:content=python: getattr(obj, 'Title_%s'%lang).. A good day to you all, CristiOn 7/29/05, Jonathan [EMAIL PROTECTED] wrote: I don't know if this is what you are looking

[Zope] Re: Running more than one instance on windows often block each other

2005-07-29 Thread Tim Peters
The attached hasn't failed on my box (Win XP Pro SP2, Python 2.3.5) for about two hours, running it in 3 processes. Was using 2 processes before; discovered it was much easier to provoke problems using 3; but the # of ephemeral ports in use increases too, typically hovering between 7-8 thousand

Re: [Zope] strange getPhysicalRoot behaviour

2005-07-29 Thread Dieter Maurer
Robert-Reinder Nederhoed wrote at 2005-7-28 22:22 +0200: ... Of course, it is stupid to make getPhysicalRoot private when it is so easy to access the root anyway... Why not just add 'root' to the script vocabulary? If I would want to increase the script vocabulary, I would add request. root

Re: [Zope] Using relative paths doesn't seem to work as i thought

2005-07-29 Thread Dieter Maurer
[EMAIL PROTECTED] wrote at 2005-7-29 12:48 +0100: Using relative paths doesn't seem to work as i thought. For example : I have a Plone site Plone Under that i have a folder object named Sales In Sales i have a Page Template object named SalesPage. I also put an index_html file object inside Sales

Re: [Zope] Re: Oracle 9.2.0.2

2005-07-29 Thread Dieter Maurer
Peter Bengtsson wrote at 2005-7-29 13:05 +0100: On 7/29/05, Robert [EMAIL PROTECTED] wrote: Thanks, I thought it read it was no longer being worked on. Maybe I was thinking something else. : ) Perhaps it don't need more work because it's so damn perfect!?! :) I can tell you that this is not

Re: [Zope] strange getPhysicalRoot behaviour

2005-07-29 Thread Peter Bengtsson
On 7/29/05, Dieter Maurer [EMAIL PROTECTED] wrote: Robert-Reinder Nederhoed wrote at 2005-7-28 22:22 +0200: ... Of course, it is stupid to make getPhysicalRoot private when it is so easy to access the root anyway... Why not just add 'root' to the script vocabulary? If I would want to

[Zope] Zope 2.8.0

2005-07-29 Thread michael nt milne
Hi Does anyone know if Zope 2.8.0 works with any of the CMF 1.4 versions? Thanks ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] Re: Running more than one instance on windows often block each other

2005-07-29 Thread Sune B. Woeller
Tim Peters wrote: [Tim] ... At this point, I wouldn't consider using it [SO_EXCLUSIVEADDRUSE] unless someone first took the tedious time it needs to demonstrate that when it is used, the thing that _I_ think is a bug here goes away in its presence: the seeming ability of Windows to sometimes

[Zope] Re: Zope 2.8.0

2005-07-29 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 michael nt milne wrote: Does anyone know if Zope 2.8.0 works with any of the CMF 1.4 versions? You probably want to run with the head of the 1.4 branch: there has been at least one 2.8-compatibility fix checked in since CMF 1.4.8 was released. It

[Zope-Annce] SECURITY WARNING: Don't use the Zope 3 sendmail mailer

2005-07-29 Thread Jim Fulton
There is a feature in Zope 3, called the sendmail mailer, which is not enabled by default, for using a shell command to invoke a mailer to send mail. (The name comes from the popular Unix mailer sendmail, which is often invoked as a sub-process.) Invoking a shell from a server program is a