Re: [Zope] cannot import name SUPPORTS_WEBDAV_LOCKS

2006-10-20 Thread Andreas Jung
--On 20. Oktober 2006 13:07:29 -0700 Ferhat Ayaz <[EMAIL PROTECTED]> wrote: Hi, after upgrading from Zope 2.9.4-final to Zope-2.10.0 I have following problem while importing a Folder to Zope-2.10.0 which I have exported from Zope 2.9.4-final. Do you know where I'm doing something wrong? E

[Zope] cannot import name SUPPORTS_WEBDAV_LOCKS

2006-10-20 Thread Ferhat Ayaz
Hi, after upgrading from Zope 2.9.4-final to Zope-2.10.0 I have following problem while importing a Folder to Zope-2.10.0 which I have exported from Zope 2.9.4-final. Do you know where I'm doing something wrong? Error Type: ImportError Error Value: cannot import name SUPPORTS_WEBDAV_LOCKS Than

[Zope] Re: zwiki users - own color text?

2006-10-20 Thread Simon Michael
That sounds not so easy. Do you mean just comments, or all edits ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announ

[Zope] Re: REQUEST Variables and Caching

2006-10-20 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dyyryath wrote: > Can anyone here give me a quick explanation of how the 'REQUEST > variables' field works in the RAM Cache Manager properties? I've > looked and all I can find is: > > > This information is use

Re: [Zope] not allowed to access a particular tuple

2006-10-20 Thread Dieter Maurer
William Heymann wrote at 2006-10-20 06:55 -0600: >This is an external method I wrote to make it easier to iterate over the >records returned from searching the catalog. However if I have > >yield record,item instead of yield item it says that I am not allowed to >access a particular tuple during

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

2006-10-20 Thread Dieter Maurer
Pablo Ziliani wrote at 2006-10-19 21:54 -0300: >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. Whatever I may have said, if you really have a (Zope) path (and not an U

Re: [Zope] How to do...

2006-10-20 Thread Dieter Maurer
Garito wrote at 2006-10-20 14:20 +0200: >Dieter Maurer escribió: >> You remember I have warned you: "__getattr__" is difficult and error prone! >> >>Even me, I have spend hours to understand why I get occasional >>"__getattr__" infinite loops... >>And I know, in principle, all the poten

[Zope] zwiki users - own color text?

2006-10-20 Thread bigger boat
hi all I've had a search thro the mailing list, but can't find out how to set up zwiki so that each user's contribution to a wiki automatically shows up in a particular color, or failing that how the user themselves can change the color of their contribution... i have access to a server runnin

[Zope] REQUEST Variables and Caching

2006-10-20 Thread Dyyryath
Can anyone here give me a quick explanation of how the 'REQUEST variables' field works in the RAM Cache Manager properties? I've looked and all I can find is: This information is used to store the cached copy of a page. This is an advanced feature, for now

Re: [Zope] How to do...

2006-10-20 Thread Garito
Andreas Jung escribió: --On 20. Oktober 2006 15:08:26 +0200 Garito <[EMAIL PROTECTED]> wrote: If you thing __getattr__ will be the solutions perhaps I could try it but if you point me to avoid the recursive problems I could do the job Can you point me to a product or a paper to understand

Re: [Zope] not allowed to access a particular tuple

2006-10-20 Thread William Heymann
On Friday 20 October 2006 07:05, Jonathan wrote: > > The 'yield' statement is not allowed within a 'try' clause (see the Python > Reference manual). > Hmm that seems strange, it works just fine in all the places I have done it, the only issue is zope not liking the returned object if it is not a

Re: [Zope] How to do...

2006-10-20 Thread Andreas Jung
--On 20. Oktober 2006 15:08:26 +0200 Garito <[EMAIL PROTECTED]> wrote: If you thing __getattr__ will be the solutions perhaps I could try it but if you point me to avoid the recursive problems I could do the job Can you point me to a product or a paper to understand the __getattr__ problems?

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

2006-10-20 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pablo Ziliani wrote: > 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 docume

Re: [Zope] How to do...

2006-10-20 Thread Garito
Andreas Jung escribió: --On 20. Oktober 2006 14:41:58 +0200 Garito <[EMAIL PROTECTED]> wrote: -aj Sorry but you don't know the whole project No project can be as scary as your requirements of your original posting :-) If there are a test to do I'll do it because I need to evaluate if Z

Re: [Zope] not allowed to access a particular tuple

2006-10-20 Thread Jonathan
- Original Message - From: "William Heymann" <[EMAIL PROTECTED]> To: Sent: Friday, October 20, 2006 8:55 AM Subject: [Zope] not allowed to access a particular tuple This is an external method I wrote to make it easier to iterate over the records returned from searching the catalog.

[Zope] not allowed to access a particular tuple

2006-10-20 Thread William Heymann
This is an external method I wrote to make it easier to iterate over the records returned from searching the catalog. However if I have yield record,item instead of yield item it says that I am not allowed to access a particular tuple during iteration. How can I make it so that the value that i

Re: [Zope] How to do...

2006-10-20 Thread Andreas Jung
--On 20. Oktober 2006 14:41:58 +0200 Garito <[EMAIL PROTECTED]> wrote: -aj Sorry but you don't know the whole project No project can be as scary as your requirements of your original posting :-) If there are a test to do I'll do it because I need to evaluate if Zope is my solution or not

Re: [Zope] How to do...

2006-10-20 Thread Garito
Andreas Jung escribió: --On 20. Oktober 2006 14:20:51 +0200 Garito <[EMAIL PROTECTED]> wrote: And I know, in principle, all the potential caveats... Can you point me to some example/product to try to avoid this kind of errors? You got already multiple useful advices how to proceed.

Re: [Zope] How to do...

2006-10-20 Thread Andreas Jung
--On 20. Oktober 2006 14:20:51 +0200 Garito <[EMAIL PROTECTED]> wrote: And I know, in principle, all the potential caveats... Can you point me to some example/product to try to avoid this kind of errors? You got already multiple useful advices how to proceed. Take one! Follow the roa

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

2006-10-20 Thread Doyon, Jean-Francois
Thanks, I found some conversations on the topic after having posted. I decided to put the strings with special characters in the translation machinery, since then they come out as unicode and problem solved. Unfortunately, I then discovered that i18n:target doesn't work, so had to monkey patch it

Re: [Zope] How to do...

2006-10-20 Thread Garito
Dieter Maurer escribió: 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 re

Re: [Zope] How to install POPMAIL for Zope 2.9?

2006-10-20 Thread Andreas Jung
--On 20. Oktober 2006 14:19:35 +0200 Jaroslav Lukesh <[EMAIL PROTECTED]> wrote: Hi Zopistas, I hace code which uses pop library from this product: http://www.zope.org/Members/dshaw/POPMailProduct/install Whet I do Import from Products page (see install), then I get message: The object PO

[Zope] How to install POPMAIL for Zope 2.9?

2006-10-20 Thread Jaroslav Lukesh
Hi Zopistas, I hace code which uses pop library from this product: http://www.zope.org/Members/dshaw/POPMailProduct/install Whet I do Import from Products page (see install), then I get message: The object POPMail does not support this operation. Did someone know how is possible way to install

Re: [Zope] How to do...

2006-10-20 Thread Chris Withers
Garito wrote: Sure, but I don't need only localization, I need to preprocess the properties before read them I'm afraid your entire approach is likely to end you in a world of pain... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk