Re: [Zope] MailBoxer

2006-10-19 Thread Andreas Jung
--On 19. Oktober 2006 16:40:58 +0200 Daniel Raible <[EMAIL PROTECTED]> wrote: is it possible to use Mailboxer to send emails to all registered users - First, Zope does not provide a user registration where users have an email property. So what do you have in mind? Using CMF, Plone? Second,

[Zope] MailBoxer

2006-10-19 Thread Daniel Raible
is it possible to use Mailboxer to send emails to all registered users - if yes how is this being accomplished? is it a good/bad idea? are there better solutions? thanks -dr ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope *

Re: [Zope] Resolving a url from a path in a virtual host environment

2006-10-19 Thread Pablo Ziliani
Jonathan wrote: - Original Message - From: "Pablo Ziliani" <[EMAIL PROTECTED]> I'm having some trouble tying to get an object from a given path. I'm using virtual hosts, so according to Dieter's great documentation[1], REQUEST.resolve_url should do it. However no matter how creative I

Re: [Zope] Resolving a url from a path in a virtual host environment

2006-10-19 Thread Jonathan
- Original Message - From: "Pablo Ziliani" <[EMAIL PROTECTED]> To: "Zope" Sent: Thursday, October 19, 2006 8:54 PM Subject: [Zope] Resolving a url from a path in a virtual host environment Hi guys, I'm having some trouble tying to get an object from a given path. I'm using virtual

[Zope] Resolving a url from a path in a virtual host environment

2006-10-19 Thread Pablo Ziliani
Hi guys, I'm having some trouble tying to get an object from a given path. I'm using virtual hosts, so according to Dieter's great documentation[1], REQUEST.resolve_url should do it. However no matter how creative I get making up urls, I always get a "Different namespace." ValueError. Looking

Re: [Zope] Zope 2.9 vs Zope 2.10 and Unicode problems

2006-10-19 Thread eXt
On Thursday 19 October 2006 14:55, Doyon, Jean-Francois wrote: > Any ideas? http://www.zope.org/Collectors/Zope/2204 and... one more bug but I don't remember it's number. Please search zope3-five mailing list archives for zope 2.10 and UnicodeDecodeErrors. -- Jakub Wisniowski _

Re: [Zope] How to do...

2006-10-19 Thread Dieter Maurer
Garito wrote at 2006-10-18 20:27 +0200: > >How can I create an accessor to read (not to write) and preprocess all >properties? If you are only willing to write a single method that should do for all properties, then you will need to use "__getattr__". You remember I have warned you: "__get

Re: [Zope] external method strangeness

2006-10-19 Thread Dieter Maurer
garry saddington wrote at 2006-10-18 18:13 +0100: > ... >import psycopg, string, re, subprocess >def scholarpack_xml_transform(source): >f=open('/opt/scholarpack/ancillary/source.xml','w') >f.write(source) >f.close The line above looks buggy: missing "()". > ... >do=curs.execute(t

Re: [Zope] How to do...

2006-10-19 Thread Jonathan
- Original Message - From: "Garito" <[EMAIL PROTECTED]> To: "Chris Withers" <[EMAIL PROTECTED]> Cc: "Lista Zope Internacional" Sent: Thursday, October 19, 2006 8:46 AM Subject: Re: [Zope] How to do... Chris Withers escribió: Garito wrote: object.Property2 and retrieve the data wit

[Zope] Zope 2.9 vs Zope 2.10 and Unicode problems

2006-10-19 Thread Doyon, Jean-Francois
Hello, I just upgraded from Zope 2.9.4 to Zope 2.10 and am running into the common type of error: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 295: ordinal not in range(128) I've tracked it down to the fact that in Zope 2.10 it looks like the result of tag:replace tags

Re: [Zope] How to do...

2006-10-19 Thread Garito
Chris Withers escribió: Garito wrote: object.Property2 and retrieve the data with the current locale For spanish locale I would like to retrieve 18-10-2006 Rather than torturing yourself with all this weirdness, maybe you should look at using Zope 3's locale support in your app, whether it's

RE: [Zope] Zope and Log File Analysis

2006-10-19 Thread Doyon, Jean-Francois
Indeed, but it wouldn't help if I wanted to tell a "Document" from a "Map Text" from a "Topic Text" for example in my case. Those are various content types that would all show up as text/html. -Original Message- From: Andreas Jung [mailto:[EMAIL PROTECTED] Sent: October 19, 2006 8:15 AM

Re: [Zope] Zope and Log File Analysis

2006-10-19 Thread Philip Kilner
Hi, Doyon, Jean-Francois wrote: > Ah yes, indeed, I could do custom logging ... But then I'd have to worry > about the performance impact, the fact that because these logs would be > custom, I'd need custom analysis tools as well (unless I can make it > compatible somehow?) ... And so on ... >

RE: [Zope] Zope and Log File Analysis

2006-10-19 Thread Andreas Jung
--On 19. Oktober 2006 08:07:37 -0400 "Doyon, Jean-Francois" <[EMAIL PROTECTED]> wrote: H, but said headers wouldn't be sufficient, unless I set custom ones for each (CMF, in my case) content type. Why wouldn't that help? A logged header "image/gif" or "image/jpeg" is clearly an indica

RE: [Zope] Zope and Log File Analysis

2006-10-19 Thread Doyon, Jean-Francois
H, but said headers wouldn't be sufficient, unless I set custom ones for each (CMF, in my case) content type. Otherwise it'd mostly be text/html, which wouldn't be much help. I already use the whole Apache/ReverseProxy setup, so when I talk about this, I do mean Apache log files BTW. I'll lo

RE: [Zope] Zope and Log File Analysis

2006-10-19 Thread Doyon, Jean-Francois
Ah yes, indeed, I could do custom logging ... But then I'd have to worry about the performance impact, the fact that because these logs would be custom, I'd need custom analysis tools as well (unless I can make it compatible somehow?) ... And so on ... We'd much rather stick with more standard

Re: [Zope] Zope and Log File Analysis

2006-10-19 Thread Andreas Jung
--On 19. Oktober 2006 12:34:28 +0200 Sascha Ottolski <[EMAIL PROTECTED]> wrote: Am Mittwoch, 18. Oktober 2006 22:03 schrieb Doyon, Jean-Francois: The big problem I have is determining "file types" without having "file extensions", since many objects are name with a simple id that doesn't co

Re: [Zope] Zope and Log File Analysis

2006-10-19 Thread Sascha Ottolski
Am Mittwoch, 18. Oktober 2006 22:03 schrieb Doyon, Jean-Francois: > The big problem I have is determining "file types" without having > "file extensions", since many objects are name with a simple id that > doesn't contain a typical file extension. > > This makes it supremely difficult to determine

Re: [Zope] How to do...

2006-10-19 Thread Chris Withers
Garito wrote: object.Property2 and retrieve the data with the current locale For spanish locale I would like to retrieve 18-10-2006 Rather than torturing yourself with all this weirdness, maybe you should look at using Zope 3's locale support in your app, whether it's zope 2 or zope 3... c