Re: [Zope] session-timeout-minutes value in runtime Zope

2007-02-02 Thread yacine chaouche
I don't know if this is what you want. If you want to have access, in your code, to the session-timeout-minutes variable, you can try this methode on your session_data_manager object : getTimeoutMinutes(self): Return the number of minutes allowed for subobject inactivity before expiration.

[Zope] Cyclic garbage collection todo 2.9.3 onwards, fixed?

2007-02-02 Thread Jonathan Bowlas
Hi All, Could anyone advise whether this has been fixed in any of the Zope versions beyond v2.9.3: To-do: * Add cyclic-garbage collection support to C extension classes, especially to acquisition wrappers. I don't see any mention of it at all after Zope 2.9.4 in the changes.txt. Cheers Jon

[Zope] Re: Cyclic garbage collection todo 2.9.3 onwards, fixed?

2007-02-02 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonathan Bowlas wrote: Hi All, Could anyone advise whether this has been fixed in any of the Zope versions beyond v2.9.3: To-do: * Add cyclic-garbage collection support to C extension classes, especially to acquisition wrappers. I don't

Re: [Zope] session-timeout-minutes value in runtime Zope

2007-02-02 Thread Peter Bengtsson
Thanks but I solved it using:: from App.config import getConfiguration conf = getConfiguration() setattr(MyProductClass, 'SESSION_TIMEOUT_MINUTES', conf.session_timeout_minutes) Now I can use this:: class MyProductClass: def getLoggedInSecurelyMinutesLeft(self): return

[Zope] Florent Guillaume's database Conflict Error on session objects patch not working ?

2007-02-02 Thread yacine chaouche
Hi all, As discussed here : http://mail.zope.org/pipermail/zope/2007-January/170151.html and continued here : http://mail.zope.org/pipermail/zope/2007-January/170156.html I am experiencing issues regarding a database ConflictError on session objects. I use zope 2.9.0 python 2.4.2, and the

[Zope] Re: Florent Guillaume's database Conflict Error on session objects patch not working ?

2007-02-02 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 yacine chaouche wrote: Hi all, As discussed here : http://mail.zope.org/pipermail/zope/2007-January/170151.html and continued here : http://mail.zope.org/pipermail/zope/2007-January/170156.html I am experiencing issues regarding a database

[Zope] Re: Florent Guillaume's database Conflict Error on session objects patch not working ?

2007-02-02 Thread yacine chaouche
I forward your message to the list. I installed faster : 1) It has no INSTALL file 2) I created a better session manager object under the id newSession, and hit the test button. I Got this error : Traceback (most recent call last): File /opt/aef/Zope-2.9.0/lib/python/ZPublisher/Publish.py,

[Zope] CMF 16.3 released

2007-02-02 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The CMF developer community is hereby announcing the release of CMF version 1.6.3. What is the CMF? The Zope Content Management Framework provides a set of services and content objects useful for building highly dynamic, content-oriented

[Zope] Limiting access to a Zope Site

2007-02-02 Thread hpinson
Hi. I'm looking for several differnt approaches to probably a fairly simple problem. I have a Zope site running behind apache rewrite rules. www.mysite.org That site needs to be publically accessable. A subdomain site (for development): dev.mysite.org needs to be accessable only to a

Re: [Zope] Limiting access to a Zope Site

2007-02-02 Thread Jonathan
- Original Message - From: [EMAIL PROTECTED] To: zope@zope.org Sent: Friday, February 02, 2007 10:18 AM Subject: [Zope] Limiting access to a Zope Site Hi. I'm looking for several differnt approaches to probably a fairly simple problem. I have a Zope site running behind apache

[Zope] Re: Florent Guillaume's database Conflict Error on session objects patch not working ?

2007-02-02 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 yacine chaouche wrote: I forward your message to the list. I installed faster : 1) It has no INSTALL file You're correct. It installs like other Zope2 products, but it could use some description of how to replace the stock session manager with

[Zope] Re: Florent Guillaume's database Conflict Error on session objects patch not working ?

2007-02-02 Thread yacine chaouche
I added a new faster session object in my root folder. Once it was created, i was on the property manager form and clicked on the test tab and got the error reported above. Is the request[SESSION] object that you use in your code addressing the classic SESSION object (in

Re: [Zope] Re: Florent Guillaume's database Conflict Error on session objects patch not working ?

2007-02-02 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2 Feb 2007, at 17:45, Tres Seaver wrote: I installed faster : 1) It has no INSTALL file You're correct. It installs like other Zope2 products, but it could use some description of how to replace the stock session manager with the new one.

[Zope] Limiting access to a Zope Site

2007-02-02 Thread Mark, Jonathan (Integic)
[The other] Jonathan writes: Why don't you run two separate zope instances, one for production and one for development, and set up the apache rewrite rules so that www points to the production instance and dev points to the development instance? It is my impression that moving a Data.fs file

Re: [Zope] Limiting access to a Zope Site

2007-02-02 Thread Jonathan
- Original Message - From: Mark, Jonathan (Integic) [EMAIL PROTECTED] To: zope@zope.org Sent: Friday, February 02, 2007 1:19 PM Subject: [Zope] Limiting access to a Zope Site [The other] Jonathan writes: Why don't you run two separate zope instances, one for production and one

Re: [Zope] Limiting access to a Zope Site

2007-02-02 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2 Feb 2007, at 19:19, Mark, Jonathan (Integic) wrote: It is my impression that moving a Data.fs file from one Zope instance to another is often unreliable. Once the development and production Zope instances differ, and by definition they

Re: [Zope] Limiting access to a Zope Site

2007-02-02 Thread Andreas Jung
--On 2. Februar 2007 19:39:58 +0100 Jens Vagelpohl [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2 Feb 2007, at 19:19, Mark, Jonathan (Integic) wrote: It is my impression that moving a Data.fs file from one Zope instance to another is often unreliable. Once

Re: [Zope] Limiting access to a Zope Site

2007-02-02 Thread Maciej Wisniowski
There should be no problems copying/moving a Data.fs file from one zope instance to another, especially if both instances are running the same version of Zope! Technically no but it is really strange and I believe bad (if not impossible) way to distribute application among dev, test,

[Zope] zope, webdav, ical, vcalendar, etc.

2007-02-02 Thread Erik Myllymaki
I am trying to dynamically create iCalendar or vCalendar files. I can do this with a Zope Page Template, naming it myCalendar.ics. When myCalendar.ics is accessed through a web browser, iCal pops up and asks what I want to do with the calendar info, etc. and all is well. But what I would like to

Re: [Zope] Florent Guillaume's database Conflict Error on session objects patch not working ?

2007-02-02 Thread Dieter Maurer
yacine chaouche wrote at 2007-2-2 14:39 +0100: ... As discussed here : http://mail.zope.org/pipermail/zope/2007-January/170151.html and continued here : http://mail.zope.org/pipermail/zope/2007-January/170156.html I am experiencing issues regarding a database ConflictError on session

[Zope-Annce] CMF 16.3 released

2007-02-02 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The CMF developer community is hereby announcing the release of CMF version 1.6.3. What is the CMF? The Zope Content Management Framework provides a set of services and content objects useful for building highly dynamic, content-oriented

Re: [Zope-dev] undeprecating zLOG

2007-02-02 Thread Chris Withers
Andreas Jung wrote: 0, for keeping zLOG for the time being... -1, for undeprecating it. Using Python's logging module should remain the only recommended solution. I don't want to see any new code using zLOG. Totally agreed... Chris -- Simplistix - Content Management, Zope Python Consulting

[Zope-dev] Zope Tests: 7 OK

2007-02-02 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Thu Feb 1 12:00:00 2007 UTC to Fri Feb 2 12:00:00 2007 UTC. There were 7 messages: 7 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2.6 Python-2.1.3 : Linux From: Zope Unit Tests Date: Thu Feb 1 21:09:11 EST 2007

[Zope-dev] Re: undeprecating zLOG

2007-02-02 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Withers wrote: Andreas Jung wrote: 0, for keeping zLOG for the time being... -1, for undeprecating it. Using Python's logging module should remain the only recommended solution. I don't want to see any new code using zLOG. +1 for

[Zope-dev] Re: undeprecating zLOG

2007-02-02 Thread Philipp von Weitershausen
Tres Seaver wrote: Chris Withers wrote: Andreas Jung wrote: 0, for keeping zLOG for the time being... -1, for undeprecating it. Using Python's logging module should remain the only recommended solution. I don't want to see any new code using zLOG. +1 for undeprecating it -- the noise it

Re: [Zope-dev] Re: undeprecating zLOG

2007-02-02 Thread Andreas Jung
--On 2. Februar 2007 15:09:53 +0100 Philipp von Weitershausen [EMAIL PROTECTED] wrote: Tres Seaver wrote: Chris Withers wrote: Andreas Jung wrote: 0, for keeping zLOG for the time being... -1, for undeprecating it. Using Python's logging module should remain the only recommended

[Zope-dev] Interest in AdvancedQuery and/or ManagableIndex?

2007-02-02 Thread Dieter Maurer
Whit (mailto:[EMAIL PROTECTED]) reported that AdvancedQuery is going to ship with Plone3 and that packaging would be easier for them if AdvancedQuery were part of the Zope 2 distribution. According to Whit, Alexander Limi seems to be interested to have Managable Index in the Zope 2 distribution,

[Zope-dev] Re: Interest in AdvancedQuery and/or ManagableIndex?

2007-02-02 Thread Martin Aspeli
Dieter Maurer wrote: I have no problems to donate AdvancedQuery and/or Managable Index to the Zope Foundation That's great, thank you! :) *BUT* I will not modify the code to bring it in line with the different style requirements usually applied to Zope components: e.g. * my code uses 2

Re: [Zope-dev] undeprecating zLOG

2007-02-02 Thread Dieter Maurer
Chris McDonough wrote at 2007-2-1 13:32 -0500: 0, for keeping zLOG for the time being... -1, for undeprecating it. Using Python's logging module should remain the only recommended solution. I don't want to see any new code using zLOG. There's a good deal of code using it that we just don't

[Zope-dev] Re: Interest in AdvancedQuery and/or ManagableIndex?

2007-02-02 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dieter Maurer wrote: Whit (mailto:[EMAIL PROTECTED]) reported that AdvancedQuery is going to ship with Plone3 and that packaging would be easier for them if AdvancedQuery were part of the Zope 2 distribution. According to Whit, Alexander Limi

[Zope-dev] How to recover passwords in Zope 2.6.4

2007-02-02 Thread Rohit Arora
hi all, i have my website in zope 2.6.4 and i have forgotton UserId(admin) and Password of root direcrorty of zope. please tell me Is there any way to recover admin password ? or is there any default UID password provided in zope. i guess passwords are stored in zpasswd.py file in zope

[Zope-dev] How to map Zope with IIS 5.1

2007-02-02 Thread Rohit Arora
hi all i have a website in zope 2.6.4 , and i want to link that website with IIS 5.1. in other words, i have created a virtual directory in IIS and i want to redirect the request to zope website. so i need to access my Zope website after passing through IIS 5.1 please tell me how to map zope

Re: [Zope-dev] Interest in AdvancedQuery and/or ManagableIndex?

2007-02-02 Thread Andreas Jung
--On 2. Februar 2007 22:36:37 +0100 Dieter Maurer [EMAIL PROTECTED] wrote: Whit (mailto:[EMAIL PROTECTED]) reported that AdvancedQuery is going to ship with Plone3 and that packaging would be easier for them if AdvancedQuery were part of the Zope 2 distribution. According to Whit, Alexander

Re: [Zope-dev] undeprecating zLOG

2007-02-02 Thread Andreas Jung
--On 2. Februar 2007 22:53:50 +0100 Dieter Maurer [EMAIL PROTECTED] wrote: There's a good deal of code using it that we just don't see because it's internal-only. When the API disappears, making people revisit that code is particularly pointless; it's makework. OTOH, if the API is not

Re: [Zope-dev] How to recover passwords in Zope 2.6.4

2007-02-02 Thread Andreas Jung
--On 2. Februar 2007 10:01:58 -0800 Rohit Arora [EMAIL PROTECTED] wrote: hi all, i have my website in zope 2.6.4 and i have forgotton UserId(admin) and Password of root direcrorty of zope. please tell me Is there any way to recover admin password ? or is there any default UID password

[Zope-PAS] Failing to fill users properties, should it cause an error?

2007-02-02 Thread Sidnei da Silva
We are having an interesting discussion internally here, which I would like to bring up on the list. - In the event of a plugin that provides information about a particular user/group failing to do so (because it's misconfigured or otherwise), should PAS complain loudly about it? I know that

Re: [Zope-PAS] Failing to fill users properties, should it cause an error?

2007-02-02 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2 Feb 2007, at 19:45, Sidnei da Silva wrote: Now, some might argue that this is an application-specific policy. The fact is that there's no obvious way currently of 'vetoing' a login based on the lack of certain user properties (like the email