Re: [Zope] attaching an image to an email

2006-06-30 Thread Berthold Stöger
On Friday 30 June 2006 07:47, Andreas Jung wrote: One should really take the *pain-free* way and use Python 'email' Modul to generate emails - at least when you want to deal with attachments in a reasonable way. *shrug* I've always found DTML to be more natural to generate emails than

[Zope] zope and redhat

2006-06-30 Thread Felipe Pageo
Hi all, sorry for my english I have installed zope 2.8.7, Python 2.3.5 on Linux redhat enterprise AS 4 (2 cpu's and 2.6 kernel). When start zope it starts only one thread. I have compiled python with flag with-thread, but all is the same. Pleas help me. Thanks in advance. -- Felipe Pageo

Re: [Zope] zope and redhat

2006-06-30 Thread Andreas Jung
--On 30. Juni 2006 08:20:30 +0200 Felipe Pageo [EMAIL PROTECTED] wrote: Hi all, sorry for my english I have installed zope 2.8.7, Python 2.3.5 on Linux redhat enterprise AS 4 (2 cpu's and 2.6 kernel). When start zope it starts only one thread. When you start Python it will start *four*

Re: [Zope] zope and redhat

2006-06-30 Thread Andreas Jung
--On 30. Juni 2006 08:26:44 +0200 Andreas Jung [EMAIL PROTECTED] wrote: --On 30. Juni 2006 08:20:30 +0200 Felipe Pageo [EMAIL PROTECTED] wrote: Hi all, sorry for my english I have installed zope 2.8.7, Python 2.3.5 on Linux redhat enterprise AS 4 (2 cpu's and 2.6 kernel). When start

[Zope] dtml-sendmail html

2006-06-30 Thread Best
Is there a way to send a html formatted message using dtml-sendmail?dtml-sendmail mailhost=MailHostTo: [EMAIL PROTECTED]From: dtml-var mail Subject: [GPME] ContactFullname: dtml-var surname dtml-var firstnameTitle: dtml-var ftitleMail: dtml-var mailDescription: dtml-var description [HTML

[Zope] Acquisition? problem

2006-06-30 Thread Hans Then
Hi all, I am writing a small object browser for the EPOZ toolbox. In the browser I have a tree of object references. Clicking on the tree should show more details of the selected object. I have created a template details that should show the details of the object, like this:

[Zope] Re: dtml-sendmail html

2006-06-30 Thread Best
problem solved :) thx dimitris dtml-sendmail mailhost=MailHostTo: [EMAIL PROTECTED] From: dtml-var mail Subject: [GPME] ContactContent-Type: text/html; charset=utf-8Content-Transfer-Encoding: 8bit..On 6/30/06, Best [EMAIL PROTECTED] wrote:Is there a way to send a html formatted message using

Re: [Zope] Acquisition? problem

2006-06-30 Thread Jonathan
- Original Message - From: Hans Then [EMAIL PROTECTED] I am writing a small object browser for the EPOZ toolbox. In the browser I have a tree of object references. Clicking on the tree should show more details of the selected object. I have created a template details that should show

Re: [Zope] Acquisition? problem

2006-06-30 Thread Jonathan
- Original Message - From: Hans Then [EMAIL PROTECTED] if you have a python script in the middle of your path, eg: folder/pythonscript/somethingelse then the pythonscript routine will get executed and 'somethingelse' will be passed in a variable called 'traverse_subpath' Create a

Re: [Zope] zope and redhat

2006-06-30 Thread Chris McDonough
I suspect you *think* it's starting one thread because top reports only one or two python processes. This is normal for newer Red Hat systems. Older ones reported a process for each thread. I believe there is a flag to ps that shows all threads as processes. - C On Jun 30, 2006, at

Re: [Zope] zope and redhat

2006-06-30 Thread Jonathan
- Original Message - From: Chris McDonough [EMAIL PROTECTED] To: Felipe Pageo [EMAIL PROTECTED] Cc: zope@zope.org Sent: Friday, June 30, 2006 1:56 PM Subject: Re: [Zope] zope and redhat I suspect you *think* it's starting one thread because top reports only one or two python

Re: [Zope] Re: database conflict errors

2006-06-30 Thread Dieter Maurer
Florent Guillaume wrote at 2006-6-30 02:46 +0200: ... that's interesting. I did a test once to see what effect it would have to add objects with a completely random id to a BTree folder (OOBTree in that case) instead of using the object's type nam and add a number at the end - and the

Re: [Zope-dev] Can logreopen restarts Zope ?

2006-06-30 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 30 Jun 2006, at 14:30, Julien Anguenot wrote: For maximum reliability I tend to forego the built-in log reopening in favor of using the logrotate utility in copytruncate mode. This will not require any log file reopening, logrotate will

Re: [Zope-dev] Can logreopen restarts Zope ?

2006-06-30 Thread Julien Anguenot
Jens Vagelpohl wrote: On 30 Jun 2006, at 14:30, Julien Anguenot wrote: For maximum reliability I tend to forego the built-in log reopening in favor of using the logrotate utility in copytruncate mode. This will not require any log file reopening, logrotate will simply make a copy of the

[Zope-dev] Re: Can logreopen restarts Zope ?

2006-06-30 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Julien Anguenot wrote: Jens Vagelpohl wrote: On 30 Jun 2006, at 13:40, Julien Anguenot wrote: Yesterday night, we were having a long nightly running process (several hours) on one of the ZEO node. (Around 500 Mo logs on this one). The reopen

Re: [Zope-dev] Re: Can logreopen restarts Zope ?

2006-06-30 Thread Lennart Regebro
On 6/30/06, Tres Seaver [EMAIL PROTECTED] wrote: I think the shift to the oh-so-much-better Python logging module is not complete. See this bit in ZEO/runzeo.py: Aha. Indeed, we are running ZEO, and my failed attempts of reproducing this did not use ZEO. :) -- Lennart Regebro, Nuxeo

[Zope-dev] the zope, eggs and the testrunner

2006-06-30 Thread whit
I've been developping some packages using zope.testing and the testrunner that ships with zope2.10. Yesterday, I packaged these using fairly standard python/egg pattern. one package is pure python, the other a zope2/zope3 hybrid. now I have two large PITAs: 1. in general, this would suck