[Zope-Checkins] SVN: Zope/branches/2.11/ - Permission tab: correct wrong form parameter for

2009-03-10 Thread Andreas Jung
Log message for revision 97792: - Permission tab: correct wrong form parameter for the user-permission report Changed: U Zope/branches/2.11/doc/CHANGES.txt U Zope/branches/2.11/lib/python/AccessControl/dtml/access.dtml -=- Modified: Zope/branches/2.11/doc/CHANGES.txt

[Zope-Checkins] SVN: Zope/trunk/ - Permission tab: correct wrong form parameter for

2009-03-10 Thread Andreas Jung
Log message for revision 97793: - Permission tab: correct wrong form parameter for the user-permission report Changed: U Zope/trunk/doc/CHANGES.rst U Zope/trunk/src/AccessControl/dtml/access.dtml -=- Modified: Zope/trunk/doc/CHANGES.rst

[Zope-Checkins] SVN: Zope/trunk/ - using a local copy of bootstrap.py

2009-03-10 Thread Andreas Jung
Log message for revision 97794: - using a local copy of bootstrap.py - removed svn:external for 'bootstrap dir Changed: _U Zope/trunk/ A Zope/trunk/bootstrap.py -=- Property changes on: Zope/trunk ___ Modified:

Re: [Zope-dev] zope.container broken

2009-03-10 Thread Wolfgang Schnerring
* Roger Ineichen d...@projekt01.ch [2009-03-09 02:12]: The zope.container package was broken. I added a missing ComponentLookupError import. Also, there was a typo in that conditional branch, it should have been self.context, not just context. I guess that's what I got for not writing a test in

Re: [Zope-dev] zope.password

2009-03-10 Thread Dan Korostelev
2009/3/10 Roger Ineichen d...@projekt01.ch: Hi steering group and Dan During update z3c.authenticator and replace the password with the new zope.apssword implementation, I saw that the vocabulary Passsword Manager Names is not available in the zope.password package. I think the password

Re: [Zope-dev] Python3 and attribute annotations.

2009-03-10 Thread Martijn Pieters
On Mon, Mar 9, 2009 at 23:35, Dan Korostelev nad...@gmail.com wrote: I don't think they are, according to PEP 3107 they are stored in the func_annotations attribute of the function. No, they are stored in __annotations__. Look here: http://docs.python.org/3.0/whatsnew/3.0.html#new-syntax

Re: [Zope-dev] Python3 and attribute annotations.

2009-03-10 Thread Dan Korostelev
2009/3/10 Martijn Pieters m...@zopatista.com: On Mon, Mar 9, 2009 at 23:35, Dan Korostelev nad...@gmail.com wrote: However, we can't be sure there won't be annotations for any callable object, because even PEP says that ``we say function, we mean callable object``, so one day we certainly will

Re: [Zope-dev] zope.password

2009-03-10 Thread Hanno Schlichting
Dan Korostelev wrote: This was done to avoid dependency on zope.schema. However, I also find it very useful to have that vocabulary in zope.password. I think we can add it to the vocabulary submodule without adding dependency on zope.schema at egg level, because one who wants to use the

Re: [Zope-dev] zope.password

2009-03-10 Thread Dan Korostelev
2009/3/10 Hanno Schlichting hanno...@hannosch.eu: Dan Korostelev wrote: This was done to avoid dependency on zope.schema. However, I also find it very useful to have that vocabulary in zope.password. I think we can add it to the vocabulary submodule without adding dependency on zope.schema at

Re: [Zope-dev] zope.password

2009-03-10 Thread Hanno Schlichting
Dan Korostelev wrote: 2009/3/10 Hanno Schlichting hanno...@hannosch.eu: Either you have a dependency and declare it or you don't have a dependency. Since we don't want to use extras anymore, I think this calls for another package which depends on zope.password and zope.schema. I still don't

Re: [Zope-dev] Python3 and attribute annotations.

2009-03-10 Thread Benji York
On Mon, Mar 9, 2009 at 6:01 PM, Gary Poster gary.pos...@gmail.com wrote: If we do make changes for this purpose, I'd like to no longer use the __*__ pattern. +1 -- new or changed attributes should follow some other pattern -- Benji York Senior Software Engineer Zope Corporation

[Zope-dev] ZPT attributes and

2009-03-10 Thread Malthe Borch
Currently, if an attribute expression evaluates to any value that's boolean False, it's omitted (e.g. 0, , object()). I think that's unexpected. Instead, attributes should only be omitted when the expression evaluates to ``None``. How do folks feel about changing this behavior in

Re: [Zope-dev] ZPT attributes and

2009-03-10 Thread Fred Drake
On Tue, Mar 10, 2009 at 9:08 AM, Malthe Borch mbo...@gmail.com wrote: How do folks feel about changing this behavior in ``zope.pagetemplate``. The change would need to be in zope.tal. I'm ambivalent; while it makes sense to me in isolation, the affect on existing templates is undesirable, and

Re: [Zope-dev] ZPT attributes and

2009-03-10 Thread Malthe Borch
2009/3/10 Fred Drake fdr...@gmail.com: The change would need to be in zope.tal. True. I'm ambivalent; while it makes sense to me in isolation, the affect on existing templates is undesirable, and compatibility is a huge deal for this bit of machinery. I agree, but it would be interesting to

[Zope-dev] svn.zope.org fails?

2009-03-10 Thread Adam GROSZER
Hello, svn co -r 93260 svn://svn.zope.org/repos/main/zc.table/trunk/src/zc/table zc.table fails for me with: svn: Connection closed unexpectedly (tried from different countries) But... it works again?!?!? what the heck??? Anyone experiencing something like this? -- Best regards, Adam

Re: [Zope-dev] svn.zope.org fails?

2009-03-10 Thread Andreas Jung
works for me On Tue, Mar 10, 2009 at 16:17, Adam GROSZER agros...@gmail.com wrote: Hello, svn co -r 93260 svn://svn.zope.org/repos/main/zc.table/trunk/src/zc/table zc.table fails for me with: svn: Connection closed unexpectedly (tried from different countries) But... it works

Re: [Zope-dev] svn.zope.org fails?

2009-03-10 Thread Adam GROSZER
Hello Andreas, Works here again too. Misterious was that it was working without -r 93260 and svn log was also working. Tuesday, March 10, 2009, 4:18:53 PM, you wrote: AJ works for me AJ On Tue, Mar 10, 2009 at 16:17, Adam GROSZER agros...@gmail.com wrote: Hello, svn co -r 93260

Re: [Zope-dev] svn.zope.org fails?

2009-03-10 Thread Adam GROSZER
Hello Roger, Yes I mean that. Mostly on externals. Tuesday, March 10, 2009, 5:37:43 PM, you wrote: RI Hi Betreff: [Zope-dev] svn.zope.org fails? Hello, svn co -r 93260 svn://svn.zope.org/repos/main/zc.table/trunk/src/zc/table zc.table fails for me with: svn: Connection closed

Re: [Zope-dev] svn.zope.org fails?

2009-03-10 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mar 10, 2009, at 17:37 , Roger Ineichen wrote: svn co -r 93260 svn://svn.zope.org/repos/main/zc.table/trunk/src/zc/table zc.table fails for me with: svn: Connection closed unexpectedly (tried from different countries) I have that problem

Re: [Zope-dev] zope.password

2009-03-10 Thread Dan Korostelev
2009/3/10 Roger Ineichen d...@projekt01.ch: Hi Steering group, Hanno, Dan Betreff: Re: [Zope-dev] zope.password Dan Korostelev wrote: 2009/3/10 Hanno Schlichting hanno...@hannosch.eu: Either you have a dependency and declare it or you don't have a dependency. Since we don't want to use

Re: [Zope-dev] zope.password

2009-03-10 Thread Stephan Richter
On Tuesday 10 March 2009, Dan Korostelev wrote: Either you have a dependency and declare it or you don't have a dependency. Since we don't want to use extras anymore, I think this calls for another package which depends on zope.password and zope.schema. I still don't like/get the idea of

[Zope-dev] Proposal: refactoring of zope.app.security

2009-03-10 Thread Dan Korostelev
Hi people! One of most large packages that really wants to be refactored but still wasn't touched is zope.app.security. It has much in it and it brings many dependencies, including zope.app.form and company. And even some zope.* packages, like zope.securitypolicy still depend on it. So, let's

Re: [Zope-dev] zope.password

2009-03-10 Thread Roger Ineichen
Hi Stephan Betreff: Re: [Zope-dev] zope.password On Tuesday 10 March 2009, Dan Korostelev wrote: Either you have a dependency and declare it or you don't have a dependency. Since we don't want to use extras anymore, I think this calls for another package which depends on

Re: [Zope-dev] zope.password

2009-03-10 Thread Roger Ineichen
Hi Dan Betreff: Re: [Zope-dev] zope.password 2009/3/10 Roger Ineichen d...@projekt01.ch: Hi Steering group, Hanno, Dan Betreff: Re: [Zope-dev] zope.password Dan Korostelev wrote: 2009/3/10 Hanno Schlichting hanno...@hannosch.eu: Either you have a dependency and declare it or

Re: [Zope-dev] Proposal: refactoring of zope.app.security

2009-03-10 Thread Roger Ineichen
Hi Dan Betreff: [Zope-dev] Proposal: refactoring of zope.app.security Hi people! One of most large packages that really wants to be refactored but still wasn't touched is zope.app.security. It has much in it and it brings many dependencies, including zope.app.form and company. And even

Re: [Zope-dev] SVN: zope.schema/trunk/CHANGES.txt Note the change from Attribute to Field for in IChoice.

2009-03-10 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan Korostelev wrote: 2009/3/10 Dan Korostelev nad...@gmail.com: Log message for revision 97815: Note the change from Attribute to Field for in IChoice. Actual message was: Note the change from Attribute to Field for `vocabulary` in IChoice.

[Zope-dev] Extras (was zope.password)

2009-03-10 Thread Shane Hathaway
Stephan Richter wrote: On Tuesday 10 March 2009, Dan Korostelev wrote: Either you have a dependency and declare it or you don't have a dependency. Since we don't want to use extras anymore, I think this calls for another package which depends on zope.password and zope.schema. I still don't

Re: [Zope] Avoiding page redirects from TAL

2009-03-10 Thread Andrew Milton
+---[ Analog Kid ]-- | Hi All: | | I have a customized page template product which subclasses from | ZopePageTemplate. In this product class, I have a method that redirects to a | certain fixed page that I have created in the ZMI. One of the objects of this | type makes

[Zope] refreshing problem

2009-03-10 Thread Dvir Bar-lev
Hi I want to force a certain page to automatically reload itself every time that the user goes to it from another page, meaning I don't want the browser to cache that page, I tried to look around and what I found was that if I included these 2 lines in the dtml method that shows the page

Re: [Zope] refreshing problem

2009-03-10 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10.03.2009 9:06 Uhr, Dvir Bar-lev wrote: Hi I want to force a certain page to automatically reload itself every time that the user goes to it from another page, meaning I don’t want the browser to cache that page, I tried to look around

Re: [Zope] refreshing problem

2009-03-10 Thread Dvir Bar-lev
Yep that solved it Tx a lot :) -Original Message- From: Andreas Jung [mailto:li...@zopyx.com] Sent: Tuesday, March 10, 2009 10:11 AM To: Dvir Bar-lev Cc: zope@zope.org Subject: Re: [Zope] refreshing problem -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10.03.2009 9:06 Uhr, Dvir

Re: [Zope] Avoiding page redirects from TAL

2009-03-10 Thread Analog Kid
hi andrew: thx for your help. i dont want to call the method from the PT ... infact I dont want to modify the PT at all ... i just need to figure out a ZopePageTemplate.py method which I can patch so I can do the redirect even before the PT is rendered. any ideas?? regards, A On Tue, Mar 10,

Re: [Zope] Avoiding page redirects from TAL

2009-03-10 Thread Andrew Milton
+---[ Analog Kid ]-- | hi andrew: | | thx for your help. i dont want to call the method from the PT ... infact I dont | want to modify the PT at all ... i just need to figure out a | ZopePageTemplate.py method which I can patch so I can do the redirect even | before the

Re: [Zope] Avoiding page redirects from TAL

2009-03-10 Thread Analog Kid
ah great ... thanks very much ... ill give this a shot. many thanks, AK On Tue, Mar 10, 2009 at 4:31 PM, Andrew Milton a...@theinternet.com.auwrote: +---[ Analog Kid ]-- | hi andrew: | | thx for your help. i dont want to call the method from the PT ... infact I dont

[Zope] Can't start Zope

2009-03-10 Thread Ken Winter
I have done something to my Zope instance that has prevented Zope from starting (after many years of working fine). Can you help me find a way out? Here's the command and the results: dhatoff...@05 /usr/local/zope/instance3/bin # ./zopectl start

Re: [Zope] Can't start Zope

2009-03-10 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mar 10, 2009, at 21:35 , Ken Winter wrote: I have done something to my Zope instance that has prevented Zope from starting (after many years of working fine). Can you help me find a way out? From the traceback it looks like the Zope

Re: [Zope] trivial: hello world with filesystem based egg sources

2009-03-10 Thread David Zejda
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks for a tips, I have looked on the Guide you suggested. I think I understand the concepts, but still missing something. To make the simplest case, 1. I started with fresh instance prepared by the paster, 2. created this source: # src/my.py

Re: [Zope] trivial: hello world with filesystem based egg sources

2009-03-10 Thread Tim Nash
If you want simple: 1. download this product and put it into your products directory. http://www.zope.org/Members/gtk/Boring 2. Start Zope and go to 127.0.0.1:8080/manage and add the Boring product. Click test, there is your url. 3. Modify the 'Boring' code and repeat. -Tim On Tue, Mar 10, 2009

[Zope] Order of method calls of ZopePageTemplate

2009-03-10 Thread Analog Kid
Hi All: I need to know the order of method calls inside ZopePageTemplate.py whenever a form from the PT is submitted or even when the PT is rendered. Can anyone shed some light on this please? TIA, AK ___ Zope maillist - Zope@zope.org