[Zope] Conditional import of annotations for Zope 2.9 and 2.10: how?

2007-05-14 Thread Maurits van Rees
Hi, In Zope 2.9 (or 3.2) the annotations module is in zope.app.annotations. In Zope 2.10 (or 3.3) it is in zope.annotations. In a product for zope 2.9 I used to do this in zcml: and this in code: from zope.app.annotation.interfaces import IAnnotations from zope.app.annotation.interfaces im

Re: [Zope] [Fwd: zope error] Install issues - build errors

2007-05-14 Thread Andreas Jung
--On 13. Mai 2007 22:59:00 +0100 Dapo Ladimeji <[EMAIL PROTECTED]> wrote: In file included from Dependencies/BTrees-Zope-3.3.1/BTrees/_fsBTree.c:70: Dependencies/BTrees-Zope-3.3.1/BTrees/BTreeModuleTemplate.c:15:20: error: Python.h: No such file or directory This error message is self-speakin

[Zope] Re: [Fwd: zope error] Install issues - build errors

2007-05-14 Thread Raphael Ritz
Dapo Ladimeji wrote: Hi I am having trouble installing Zope on a redhat linux. I seem to always get build errors whether trying Zope 2.10 or Zope 3. At first it seems Ok - I attach the initial lines. the full verbose error message is in the attached email. This is frustrating as it has taken m

[Zope] Re: Conditional import of annotations for Zope 2.9 and 2.10: how?

2007-05-14 Thread Raphael Ritz
Maurits van Rees wrote: Hi, [..] What other options are there to do this in zcml? Or should I take my loss and translate the zope/(app/)annotations/configure.zcml file (which only registers one adapter) into python code? More a workaround than a solution but have you tried doing it the "n

[Zope] Re: Conditional import of annotations for Zope 2.9 and 2.10: how?

2007-05-14 Thread Maurits van Rees
Raphael Ritz, on 2007-05-14: > More a workaround than a solution but have you tried > doing it the "new way" (Zope-2.10) and introducing > backwards compatibility via a module alias to make > zope.annotations also available as zope.app.annotations? Ah, that might work yes. Hm, I had problems gett

[Zope] tp whom it may concern

2007-05-14 Thread J�rgen
I just wanted to pay my respect to the makers of Zope and Zope 3 in particular. I've spent nearly 2 months (I'm not that smart - things take their time) with it now, and I'm far from tired of it. I will perhaps use grok at some point - but I'd like to be able to switch on the computer, before I s

[Zope] Re: MailTemplate multipart/alternative samples

2007-05-14 Thread Chris Withers
(CC'ing in the relevent mailing lists so that this gets archived there) Giovanni Coi wrote: After installing your MailTemplates product (working well with the code from the readme.txt example section ) I need some help. Glad they worked well so far :-) May I have some hints/sample how to use