[Zope-Coders] Zope 2.7.7 release schedule

2005-06-15 Thread Andreas Jung
Planned release dates are: 2.7.7 b1 : July, 3rd 2.7.7 final: July, 10th All dates in 2005 of course :-) Cheers, -aj pgprxd15ZaKKH.pgp Description: PGP signature ___ Zope-Coders mailing list Zope-Coders@zope.org

Re: [Zope-dev] Verbose security for Zope 2.8 or 2.9

2005-06-15 Thread Florent Guillaume
I've written a patch against the Zope trunk that integrates the functionality of the VerboseSecurity product into the Zope core. Excellent, thanks. To enable verbose security, apply the patch, recompile and reinstall using make, then add the following lines to etc/zope.conf:

Re: [Zope-dev] Verbose security for Zope 2.8 or 2.9

2005-06-15 Thread Shane Hathaway
Florent Guillaume wrote: What is the dependency on the python implementation, is it just _embed_permission_in_roles ? Didn't you succeed in patching the C version too in some earlier versions of VerboseSecurity ? Currently, the C code makes no attempt to raise verbose errors. I've never

[Zope-dev] Zope 2.7.7 release schedule

2005-06-15 Thread Andreas Jung
Planned release dates are: 2.7.7 b1 : July, 3rd 2.7.7 final: July, 10th All dates in 2005 of course :-) Cheers, -aj pgp0Lz0C0cPEL.pgp Description: PGP signature ___ Zope-Dev maillist - Zope-Dev@zope.org

[Zope] Re: UnpickleableError: Cannot pickle type'thread.lock'objects

2005-06-15 Thread Dylan Jay
I think I've tracked it down to a RamCacheManager inside a volitile variable. But I thought volitile variables we'ren't stored? Am I doing something strange with my heirachy that is abusing the ZODB? The heirachy is object.Map[Cacheable] And the Cacheable has _v_ZCacheable_cache =

[Zope] Re: UnpickleableError: Cannot pickletype'thread.lock'objects

2005-06-15 Thread Dylan Jay
Dylan Jay [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I think I've tracked it down to a RamCacheManager inside a volitile variable. But I thought volitile variables we'ren't stored? Am I doing something strange with my heirachy that is abusing the ZODB? The heirachy is

[Zope] Deconstructing a Zope site

2005-06-15 Thread John Poltorak
I have looked at numerous examples of Zope websites, but have no idea about how to go about creating anything similar. Is there any way to deconstruct a Zope site to see all the elements of its makeup? An example of how to build a professional looking site would be nice. Are there any

Re: [Zope] Deconstructing a Zope site

2005-06-15 Thread Jake
The best way to learn is to do. Download and install Plone which comes with a great set of templates and looks pretty darn professional. Tweak it slowly and you will learn all the little secrets. There are also numerous books. As for seeing someones code, most of the layout is in the XHTML/CSS

[Zope] Repository for common python scripts

2005-06-15 Thread John Poltorak
Can anyone recommend a way of setting up a library of common python scripts? I'd like to put such scripts in a shared area. If I created a folder called common and move parse_file there, how should I recode this line? python:here.parse_file(file=context.links,sepr=',',clone=1) -- John

RE: [Zope] Repository for common python scripts

2005-06-15 Thread Pascal Peregrina
here.common.parse_file() should work. Pascal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of John Poltorak Sent: 15 June 2005 13:37 To: zope@zope.org Subject: [Zope] Repository for common python scripts Can anyone recommend a way of setting up a library

[Zope] Re: [Zope-Annce] [ANN] Zope 2.8.0 released

2005-06-15 Thread Andreas Jung
Unfortunately I forgot to mention the whole Five team that contributed Five to Zope 2.8: Martijn Faassen, Sidnei da Silva, Philipp von Weitershausen, Lennart Regebro Forgetting to mention you was not intentional in any way...just the result of my bad memory...Sorry! Andreas --On 11. Juni

Re: [Zope] Repository for common python scripts

2005-06-15 Thread 'John Poltorak'
On Wed, Jun 15, 2005 at 02:48:32PM +0200, Pascal Peregrina wrote: here.common.parse_file() should work. Indeed it does. Many thanks! Pascal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of John Poltorak Sent: 15 June 2005 13:37 To: zope@zope.org

Re: [Zope] Re: undo many things

2005-06-15 Thread Florent Guillaume
Rakotomandimby (R12y) Mihamina [EMAIL PROTECTED] wrote: J Cameron Cooper [EMAIL PROTECTED] : Also, can you not just undo one page at a time? I don't generally try undoing anything too far off as a rule, since I don't expect it to work. No, It was a CPS upgrade. The concerned object is the

Re: [Zope] zope 2.7: Unauthorized in this context

2005-06-15 Thread John Hunter
Dieter == Dieter Maurer [EMAIL PROTECTED] writes: Dieter John Hunter wrote at 2005-6-7 09:52 -0500: ... Traceback (innermost last): ... URL: http://srp.uchicago.edu/2005/Sections/B1/Amrita%20Arora/ProjectSubmission_addForm/manage_main Physical

Re: [Zope] zope 2.7: Unauthorized in this context

2005-06-15 Thread John Hunter
John == John Hunter [EMAIL PROTECTED] writes: John I installed VerboseSecurity and now get a more helpful error John message in the log (to refresh your memory, this is a pure John ZClass based product which stopped working on an upgrade to John 2.7). Here is the updated message

[Zope] Exiting a Loop

2005-06-15 Thread Asad Habib
Is there a way to exit a dtml-in based loop? I searched numerous resources but did not find anything on this topic that relates to the dtml-in tag. Any help would be greatly appreciated. Thanks. - Asad ___ Zope maillist - Zope@zope.org

Re: [Zope] Form Variables

2005-06-15 Thread J Cameron Cooper
David Ayres wrote: I've been working around this issue for literally years and finally have the time to seek a real solution. :) I can't find much information, so I'm assuming I'm just taking the wrong approach. Whenever a form is posted, the text fields always show up in the request.form,

Re: [Zope] Single worklist for documents with different states?

2005-06-15 Thread Nikko Wolf
Nikko Wolf wrote: I've implemented a workflow (in Plone Workflow, ... and so I moved this question to the Plone list. D'oh. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! **

Re: [Zope] Exiting a Loop

2005-06-15 Thread J Cameron Cooper
Asad Habib wrote: Is there a way to exit a dtml-in based loop? I searched numerous resources but did not find anything on this topic that relates to the dtml-in tag. Any help would be greatly appreciated. Thanks. There is no such provision. You shouldn't be doing such a thing anyway: that

Re: [Zope] Exiting a Loop

2005-06-15 Thread Asad Habib
Yes, I should not be doing this but I am using DTML not ZPT and since DTML provides programming functionality and in this case the ability to loop, there should be a way to exit a loop as well. - Asad On Wed, 15 Jun 2005, J Cameron Cooper wrote: Asad Habib wrote: Is there a way to exit a

Re: [Zope] Exiting a Loop

2005-06-15 Thread J Cameron Cooper
Asad Habib wrote: Yes, I should not be doing this but I am using DTML not ZPT and since DTML provides programming functionality and in this case the ability to loop, there should be a way to exit a loop as well. DTML is not a complete programming language; it simply provides some (too-)

Re: [Zope] Form Variables

2005-06-15 Thread Tino Wildenhain
Am Mittwoch, den 15.06.2005, 11:27 -0400 schrieb David Ayres: I've been working around this issue for literally years and finally have the time to seek a real solution. :) I can't find much information, so I'm assuming I'm just taking the wrong approach. Whenever a form is posted, the text

[Zope] Re: Form Variables

2005-06-15 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 J Cameron Cooper wrote: David Ayres wrote: I've been working around this issue for literally years and finally have the time to seek a real solution. :) I can't find much information, so I'm assuming I'm just taking the wrong approach.

Re: [Zope] Form Variables

2005-06-15 Thread J Cameron Cooper
David Ayres wrote: Thanks for the information. I have been pulling my hair out because I have some lengthy forms (wizards) and it can be harrowing at times. :) I think the best solution for my situation is to do a JS/CSS tabbed solution, so it's one form. Are you aware of any limitations on the

[Zope] Problem with namespace

2005-06-15 Thread Ralph
I have these objects: A is calling B is calling (D and E) My directory layout is: /map/ /map/sql /map/util /map/report/report1 /map/report/report2 /map/report/report3 Method A in report1 is rendering B in util. B is rendering a ZSQL-object in sql and in the tag dtml-in is rendering C

RE: [Zope] Exiting a Loop

2005-06-15 Thread Jim Abramson
Did you try dtml-try around the loop and dtml-raise inside of it? Never done this myself, just a thought. Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of J Cameron Cooper Sent: Wednesday, June 15, 2005 1:37 PM To: Asad Habib Cc: zope@zope.org

Re: [Zope] Form Variables

2005-06-15 Thread Dieter Maurer
David Ayres wrote at 2005-6-15 11:27 -0400: Whenever a form is posted, the text fields always show up in the request.form, however any other type of form element that has not been given a value does not show up. None of the fields have the ignore_empty attribute. Besides using the missing=

Re: [Zope] Single worklist for documents with different states?

2005-06-15 Thread Dieter Maurer
Nikko Wolf wrote at 2005-6-14 15:52 -0600: I've implemented a workflow (in Plone Workflow, derived from DCWorkflow), and would like my reviewers to see a worklist portal. However, since I have two reviewer roles that must independently review the document, I have two intervening states in my

Re: [Zope] zope 2.7: Unauthorized in this context

2005-06-15 Thread Dieter Maurer
John Hunter wrote at 2005-6-15 09:48 -0500: ... I installed VerboseSecurity and now get a more helpful error message in the log (to refresh your memory, this is a pure ZClass based product which stopped working on an upgrade to 2.7). Here is the updated message Exception Type

Re: [Zope] zope 2.7: Unauthorized in this context

2005-06-15 Thread John Hunter
Dieter == Dieter Maurer [EMAIL PROTECTED] writes: Dieter Note that this is only a hack! Dieter All objects in the FactoryDispatcher should provide Dieter their own security declarations. Then, they would not Dieter depend on that of the container. Dieter Thus, the

Re: [Zope] Exiting a Loop

2005-06-15 Thread David H
rg/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) __ NOD32 1.1141 (20050615) Information __ This message was checked by NOD32 antivirus system. http://www.nod32.com ___ Zope maillist - Zope@zop

Re: [Zope] Datetime bug in Zope-2.7.6?

2005-06-15 Thread Luiz Fernando
Andreas Jung escreveu: --On 14. Juni 2005 00:17:19 -0300 Luiz Fernando [EMAIL PROTECTED] wrote: But I would prefer zope to work the same as python itself, that works as expected. You mean datetime? It is unlikely that this will happen for Zope 2 in the future. -aj Yes, when using