[Zope-Checkins] SVN: Products.Five/branches/1.5/ Merge security fix from 1.4 branch r71418:71419

2006-12-06 Thread Alec Mitchell
Log message for revision 71459: Merge security fix from 1.4 branch r71418:71419 Changed: U Products.Five/branches/1.5/CHANGES.txt U Products.Five/branches/1.5/browser/metaconfigure.py U Products.Five/branches/1.5/browser/tests/defaultview.zcml U

[Zope-Checkins] SVN: Products.Five/branches/1.2/ Merge security fix from 1.4 branch r71418:71419

2006-12-06 Thread Alec Mitchell
Log message for revision 71473: Merge security fix from 1.4 branch r71418:71419 Changed: U Products.Five/branches/1.2/CHANGES.txt U Products.Five/branches/1.2/browser/metaconfigure.py U Products.Five/branches/1.2/browser/tests/defaultview.zcml U

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

2006-12-06 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Tue Dec 5 12:00:00 2006 UTC to Wed Dec 6 12:00:00 2006 UTC. There were 9 messages: 9 from Zope Unit Tests. Test failures - Subject: FAILED (failures=2) : Zope-2.8 Python-2.4.4 : Linux From: Zope Unit Tests Date: Tue Dec 5

[Zope] changing the meta_type for python product class

2006-12-06 Thread Dragos Chirila
Hi everybody, I am stuck with the following problem for witch I don't have a solution. I would appreciate it very much if you could help me with it. I have a very simple Python product with only one class that extends Folder. The name of the product is MyClass and the MyClass.py module is

[Zope] Adding HTML to Python

2006-12-06 Thread April Lekin
In Python I'm building this error message: l_errorMessage = These IDs have Errors Loop l_errorMessage = l_errorMessage + %s % (ID) end loop return l_errorMessage. How can I put breaks (returns) between the IDs so each ID will be displayed on it's own line? like: These IDs have Errors: 1

Re: [Zope] Adding HTML to Python

2006-12-06 Thread Dragos Chirila
maybe you can try to add new lines l_errorMessage = l_errorMessage + %s\n % (ID) regards, Dragos On 12/6/06, April Lekin [EMAIL PROTECTED] wrote: In Python I'm building this error message: l_errorMessage = These IDs have Errors Loop l_errorMessage = l_errorMessage + %s % (ID) end loop

Re: [Zope] Adding HTML to Python

2006-12-06 Thread April Lekin
Hi, I tried that and it will print the BR, like this These IDs have Errors:BR 1BR 46 BR 76BR 45BR At 09:43 AM 12/6/2006, Roberto Benitez wrote: add BR to the end of each line example: l_errorMessage = These IDs have ErrorsBR #ADD BR AT END OF HEADER LINE Loop l_errorMessage =

Re: [Zope] Adding HTML to Python

2006-12-06 Thread Dragos Chirila
if you are using ZPT to display the result of the method use 'structure', if you are usign DTML make sure you dont't encode the result if is plain text use new line character as I sad above. regards, Dragos On 12/6/06, April Lekin [EMAIL PROTECTED] wrote: Hi, I tried that and it will print

Re: [Zope] Adding HTML to Python

2006-12-06 Thread April Lekin
Hi, That doesn't work either! It doesn't print anything. Weird! At 09:44 AM 12/6/2006, Dragos Chirila wrote: maybe you can try to add new lines l_errorMessage = l_errorMessage + %s\n % (ID) regards, Dragos On 12/6/06, April Lekin [EMAIL PROTECTED] wrote: In Python I'm building this

[Zope] Re: Adding HTML to Python

2006-12-06 Thread Josef Meile
I tried that and it will print the BR, like this These IDs have Errors:BR 1BR 46 BR 76BR 45BR If you are using zpt, then you have to call it like this: div tal:replace=structure here/myScript/ Otherwise it will be rendered as text. Regards Josef

Re: [Zope] changing the meta_type for python product class

2006-12-06 Thread Dragos Chirila
Hi! Thank you very much for your response. Ok, you are right, but if I do it why the ZMI is showing to me the new meta type for both instances? This is wrong... Also, I don't understand why if I explicit change the meta_type property for the old instance (e.g. a method of MyClass that is

Re: [Zope] MailHost with SSL

2006-12-06 Thread Ferhat Ayaz
Oh, you should belive me. It appears just 'after' adding SecureMailHost to the Folder. (I'm not coding, just adding new Zope Object via management Interface) After then you can configure user/ password. But this was not, what I was looking for, becaus I was not able to bind it with my

[Zope] Zope/Cache/Memory

2006-12-06 Thread kevin7kal
I have a database that is just under 200K objects with plans that it will grow larger. The objects are created by using another object with methods that read files and create the objects from the data in the files. When creating the objects, I find I have to manually clear the cache or else

Re: [Zope] Zope/Cache/Memory

2006-12-06 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On 6. Dezember 2006 14:30:40 -0500 kevin7kal [EMAIL PROTECTED] wrote: I have a database that is just under 200K objects with plans that it will Is there a way to programmatically clear the cache during a large indexing to avoid out of

Re: [Zope] Zope/Cache/Memory

2006-12-06 Thread Jonathan
- Original Message - From: kevin7kal [EMAIL PROTECTED] To: zope@zope.org Sent: Wednesday, December 06, 2006 2:30 PM Subject: [Zope] Zope/Cache/Memory I have a database that is just under 200K objects with plans that it will grow larger. The objects are created by using another

Re: [Zope] MailHost with SSL

2006-12-06 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On 6. Dezember 2006 20:21:19 +0100 Ferhat Ayaz [EMAIL PROTECTED] wrote: Oh, you should belive me. It appears just 'after' adding SecureMailHost to the Folder. (I'm not coding, just adding new Zope Object via management Interface) After

Re: [Zope] MailHost with SSL

2006-12-06 Thread Ferhat Ayaz
On Dec 6, 2006, at 9:38 PM, Andreas Jung wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On 6. Dezember 2006 20:21:19 +0100 Ferhat Ayaz [EMAIL PROTECTED] wrote: Oh, you should belive me. It appears just 'after' adding SecureMailHost to the Folder. (I'm not coding, just adding

Re: [Zope] MailHost with SSL

2006-12-06 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On 6. Dezember 2006 21:48:24 +0100 Ferhat Ayaz [EMAIL PROTECTED] wrote: On Dec 6, 2006, at 9:38 PM, Andreas Jung wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On 6. Dezember 2006 20:21:19 +0100 Ferhat Ayaz [EMAIL