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 sessio

[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] 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, product

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 t

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 will,

Re: [Zope] Limiting access to a Zope Site

2007-02-02 Thread Jonathan
- Original Message - From: "Mark, Jonathan (Integic)" <[EMAIL PROTECTED]> To: 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 for devel

[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 f

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] 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 temp_folder/session_dat

[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 wi

Re: [Zope] Limiting access to a Zope Site

2007-02-02 Thread Jonathan
- Original Message - From: <[EMAIL PROTECTED]> To: 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 rewrite rules.

[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 team

[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] 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 da

[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 code

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): """ retu

[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. > >

[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 porta

[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 _

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. Permi