[Zope] select age(birthday) from web_users

2006-09-29 Thread Pavel Zaitsev
Hi, Query in the topic from postgresql database returns from psql line, years, months and days. From testing same query in zope i get only days, is there a way to force it to return as psql does return it? As in: brain_dev=# select age(birthday) from web_users; age

[Zope] Re: [z3-five] A Quick Event-based Cataloging How-to for Zope 2

2006-09-29 Thread Chris Withers
whit wrote: thanks Chris! -w I just wish there was a good and more permenant place to put this... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk ___ Zope maillist - Zope@zope.org http:

[Zope] Re: which operating system quandry

2006-09-29 Thread Rob Miller
David Bear wrote: I know it has been asked many times which os is best for zope, I have yet to see a 'system administration perspective' in the discussion. By this I mean which os seems to have the most worry free administration of a zope instances. I have installed zope on both FreeBSD and vario

Re: [Zope] which operating system quandry

2006-09-29 Thread Jonathan
- Original Message - From: "David Bear" <[EMAIL PROTECTED]> To: "zope" Sent: Friday, September 29, 2006 6:05 PM Subject: [Zope] which operating system quandry I know it has been asked many times which os is best for zope, I have yet to see a 'system administration perspective' in th

[Zope] which operating system quandry

2006-09-29 Thread David Bear
I know it has been asked many times which os is best for zope, I have yet to see a 'system administration perspective' in the discussion. By this I mean which os seems to have the most worry free administration of a zope instances. I have installed zope on both FreeBSD and various linucies and here

Re: [Zope] HTTPResponse

2006-09-29 Thread Pascal Peregrina
Thanks for all the replies... So I will continue to investigate this for my specific object responses, because I like what Stefan says (the Zope thread being freed earlier, meaning that next waiting request will be accepted earlier, etc). This should improve a little concurrency. Currently my pro

Re: [Zope] Alternative way of getting ZopeScheduler? Legco down...

2006-09-29 Thread michael nt milne
Thanks alot. Much appreciated.On 9/29/06, Jean Rodrigo Ferri <[EMAIL PROTECTED]> wrote: michael nt milne escreveu:> thanks. Tried that-nothing doing there. Thing is I'm after a download so a > download request won't work as it will be requesting from the site that's> down etc..I've saved a copy of

Re: [Zope] Alternative way of getting ZopeScheduler? Legco down...

2006-09-29 Thread Jean Rodrigo Ferri
michael nt milne escreveu: thanks. Tried that-nothing doing there. Thing is I'm after a download so a download request won't work as it will be requesting from the site that's down etc.. I've saved a copy of this product[1]! ;-) [1] http://www.tchezope.org/Members/jean/arquivos/ZopeScheduler-0

Re: [Zope] Alternative way of getting ZopeScheduler? Legco down...

2006-09-29 Thread michael nt milne
thanks. Tried that-nothing doing there. Thing is I'm after a download so a download request won't work as it will be requesting from the site that's down etc..On 9/29/06, Jean Rodrigo Ferri <[EMAIL PROTECTED]> wrote: michael nt milne escreveu:> HiHi Michael,> Does anyone know an alternative way to

Re: [Zope] Alternative way of getting ZopeScheduler? Legco down...

2006-09-29 Thread Jean Rodrigo Ferri
michael nt milne escreveu: Hi Hi Michael, Does anyone know an alternative way to get copy of ZopeScheduler? The legco site seems to be down just now. http://dev.legco.biz/products/ZopeScheduler You can try to get it from the Internet Archive: http://web.archive.org/web/*/http://dev.legco.

[Zope] Alternative way of getting ZopeScheduler? Legco down...

2006-09-29 Thread michael nt milne
HiDoes anyone know an alternative way to get copy of ZopeScheduler? The legco site seems to be down just now.http://dev.legco.biz/products/ZopeScheduler Cheers-- michael ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** N

[Zope] Zope + WebDav + davfs and vim

2006-09-29 Thread Paweł Bylina
Hi. Has anyone run successful Zope with davfs? I have problems when i try edit and save some files or when i try create new files. I have also problems with Zope and curlftpfs. When i save one file and then i try edit others it doesn't work (i must kill vim and curlftpfs). Debug doesn't say where

Re: [Zope] HTTPResponse

2006-09-29 Thread Dieter Maurer
Pascal Peregrina wrote at 2006-9-29 15:14 +0200: >I would like to know what is the use of implementing the >Zpublisher.Iterators.IStreamIterator on the object returned as the body of a >HTTP response. > >As far as I could read the Zope code (Zserver, etc), this will make the >response data to be se

Re: [Zope] HTTPResponse

2006-09-29 Thread Chris McDonough
See also http://www.zope.org/Wikis/DevSite/Proposals/ FasterStaticContentServing On Sep 29, 2006, at 10:48 AM, Stefan H. Holek wrote: The point of stream iterators is not the chunk size, but that they are handed to Medusa (ZServer) right away. As a result the Zope thread is immediately free

Re: [Zope] HTTPResponse

2006-09-29 Thread Stefan H. Holek
The point of stream iterators is not the chunk size, but that they are handed to Medusa (ZServer) right away. As a result the Zope thread is immediately freed to serve new requests, while ZServer takes care of streaming the data to the client. Stefan On 29. Sep 2006, at 15:14, Pascal Pere

Re: [Zope] Path expression in Python based script

2006-09-29 Thread Paul Winkler
On Fri, Sep 29, 2006 at 09:00:16AM +0200, Daniel de la Cuesta wrote: > path="animals" > items=len(context.sections.path.contentValues()) > > > When I try to run the script I get an error saying that the variable "path" > is not present. > > If i do: > > items=len(context.sections.animals.conte

[Zope] HTTPResponse

2006-09-29 Thread Pascal Peregrina
Hi, I would like to know what is the use of implementing the Zpublisher.Iterators.IStreamIterator on the object returned as the body of a HTTP response. As far as I could read the Zope code (Zserver, etc), this will make the response data to be sent 64k at a time. So will this improve performanc

Re: [Zope] Path expression in Python based script

2006-09-29 Thread eXt
Dnia piątek, 29 września 2006 09:00, Daniel de la Cuesta napisał: > Hi, I am beginner working with Zope. I like it but I have some doubts: > > I have an structure with folders and subfoulders, each folder and subfolder has items. > > I want to go round this structre with a Python based script, t

Re: [Zope] Path expression in Python based script

2006-09-29 Thread Andreas Jung
--On 29. September 2006 09:00:16 +0200 Daniel de la Cuesta <[EMAIL PROTECTED]> wrote: Hi, I am beginner working with Zope. I like it but I have some doubts: I have an structure with folders and subfoulders, each folder and subfolder has items. I want to go round this structre with a Python

[Zope] Path expression in Python based script

2006-09-29 Thread Daniel de la Cuesta
Hi, I am beginner working with Zope. I like it but I have some doubts:I have an structure with folders and subfoulders, each folder and subfolder has items.I want to go round this structre with a Python based script, to know the number of elements i do the following:path="animals"items=len(context.