Re: [Zope-dev] Zope 2.10.0 installer for Windows

2006-10-19 Thread Chris Withers
Wolfgang Strobl wrote: I'll have to stay with 2.9.4 or older, for the forseeable future. Somehow, I wonder whether current Zope2 releases get any real world testing before becoming stable. Did perhaps all testing happen on the Windows side, in the past? ;-) Er, no. You'll likely find that

[Zope-dev] Zope Tests: 8 OK, 1 Failed

2006-10-19 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Wed Oct 18 10:00:02 2006 UTC to Thu Oct 19 10:00:02 2006 UTC. There were 9 messages: 9 from Zope Unit Tests. Test failures - Subject: FAILED (errors=1) : Zope-trunk Python-2.4.3 : Linux From: Zope Unit Tests Date: Wed Oct 18

[Zope-dev] Re: Zope 2.10.0 installer for Windows

2006-10-19 Thread Wolfgang Strobl
Chris Withers chris at simplistix.co.uk writes: Wolfgang Strobl wrote: I'll have to stay with 2.9.4 or older, for the forseeable future. Somehow, I wonder whether current Zope2 releases get any real world testing before becoming stable. Did perhaps all testing happen on the Windows side,

[Zope-dev] Re: Zope 2.10.0 installer for Windows

2006-10-19 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wolfgang Strobl wrote: Chris Withers chris at simplistix.co.uk writes: Wolfgang Strobl wrote: I'll have to stay with 2.9.4 or older, for the forseeable future. Somehow, I wonder whether current Zope2 releases get any real world testing

Re: [Zope-dev] Re: Zope 2.10.0 installer for Windows

2006-10-19 Thread Sidnei da Silva
On Thu, Oct 19, 2006 at 01:43:22PM -0400, Tres Seaver wrote: | Most of the active Zope developers do *not* run Zope on Windows, which | is why there are no Windows binaries for recent Zope versions. We do | have plenty of real world experience with running Zope on Linux, Mac, | and other Unixoid

Re: [Zope-dev] Re: Zope 2.10.0 installer for Windows

2006-10-19 Thread Andreas Jung
--On 19. Oktober 2006 15:03:43 -0300 Sidnei da Silva [EMAIL PROTECTED] wrote: On Thu, Oct 19, 2006 at 01:43:22PM -0400, Tres Seaver wrote: | Most of the active Zope developers do *not* run Zope on Windows, which | is why there are no Windows binaries for recent Zope versions. We do | have

Re: [Zope] external method strangeness

2006-10-19 Thread garry saddington
On Wed, 2006-10-18 at 15:07 -0400, Paul Winkler wrote: On Wed, Oct 18, 2006 at 06:13:38PM +0100, garry saddington wrote: Can anyone explain what is happening here. I am using Saxon to transform an xml file(source) using a stylesheet(style) the result is then written to Postgres. The

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...

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 viewing

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 contain

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 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

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 indicator for

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 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 To:

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

[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

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 zope@zope.org 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

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 (). ...

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:

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

[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] 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 zope@zope.org 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

Re: [Zope-DB] Pitfall: mxODBCZopeDA and test runner in 2.9+

2006-10-19 Thread Chris Withers
M.-A. Lemburg wrote: As I understand it, the only case that the PYC cleaner is trying to work around here is a local configuration problem which only occurs if some PY file was removed upstream. Nope, not at all... Quite often shows up early in the development cycle... 1. create myfoo.py 2.