Re: [Zope] Re: [Zope-dev] Re: sessions in the presence of conflicts

2005-12-19 Thread David H
Dennis Allison wrote: The interaction between sessions, conflicts, and persistence is a bit confusing. I am still trying to understand the code in depth. One thing is for sure, request.SESSION and/or request['SESSION'] must be persistent for things to work. Mutable objects in the sessio

Re: [Zope] Re: [Zope-dev] Re: sessions in the presence of conflicts

2005-12-19 Thread Dennis Allison
The interaction between sessions, conflicts, and persistence is a bit confusing. I am still trying to understand the code in depth. One thing is for sure, request.SESSION and/or request['SESSION'] must be persistent for things to work. Mutable objects in the session variable set (dictionaries

Re: [Zope] Re: [Zope-dev] Re: sessions in the presence of conflicts

2005-12-19 Thread David H
Dennis Allison wrote: Chris McDonough identified a persistence problem with the routine(s) that manage sessions variables. (Thanks Chris) I have put the correction in place which resolved some (but not all) of the problems. There are still problems which are apparently due conflicts in acce

[Zope] Re: [Zope-dev] Re: sessions in the presence of conflicts

2005-12-19 Thread Dennis Allison
Chris McDonough identified a persistence problem with the routine(s) that manage sessions variables. (Thanks Chris) I have put the correction in place which resolved some (but not all) of the problems. There are still problems which are apparently due conflicts in accessing the session variab

Re: [Zope] Can't pickle objects in acquisition wrappers

2005-12-19 Thread Gabriel Genellina
At Monday 19/12/2005 15:07, Keith Alperin wrote: This is almost definitely my problem as my products keep direct references to other persistent objects all of the time. Out of curiosity, has this always been a poor practice or is it something that changed recently? Not sure when started to be

[Zope] Zope, Apache, REMOTE_USER

2005-12-19 Thread Robert Boyd
I'm using Apache 2.0, and I cannot find a solution to passing the value of REMOTE_USER from Apache to Zope when using a rewrite rule. I have Apache rewriting requests for Zope, and hooked into Tomcat with mod_jk. My users login through a servlet, and Apache has REMOTE_USER available to it. But any

Re: [Zope] Can't pickle objects in acquisition wrappers

2005-12-19 Thread Jens Vagelpohl
On 19 Dec 2005, at 18:07, Keith Alperin wrote: This is almost definitely my problem as my products keep direct references to other persistent objects all of the time. Out of curiosity, has this always been a poor practice or is it something that changed recently? It's always been poor pr

Re: [Zope] Can't pickle objects in acquisition wrappers

2005-12-19 Thread Keith Alperin
This is almost definitely my problem as my products keep direct references to other persistent objects all of the time. Out of curiosity, has this always been a poor practice or is it something that changed recently? Many thanks Gabriel (and others). Keith On Dec 18, 2005, at 11:00 PM, Ga

Re: [Zope] ZSQL with different user

2005-12-19 Thread J Cameron Cooper
Pier Luigi Fiorini wrote: Hello, I'm developing a Zope application that uses a PostgreSQL connection and several ZSQL objects. People should log in using a Postgres user and ZSQL object should be executed by the user that's logged in. Multiple people can be logged at the same time. Unfortunatel

Re: [Zope] ZSQL with different user

2005-12-19 Thread Tino Wildenhain
Am Montag, den 19.12.2005, 15:43 +0100 schrieb Reinoud van Leeuwen: > The postgresql commandline tool psql has a command /user to change the > details of the current connection. Wouldn't it be easier to use a command > like that at the beginning of each database request? Well this \connect

Re: [Zope] question for anyone using apache on windows

2005-12-19 Thread michael nt milne
HiOk so I looked at this stuff but can't find anything listed for point 3. Also I had to set Plone to listen on 8080 within its config file and now get Apache for my Plone domains. However they won't re-direct to the right site within the Plone installation. I've achieved this on Unix with the virt

Re: [Zope] Re: ZSQL with different user

2005-12-19 Thread Andreas Jung
--On 19. Dezember 2005 18:06:49 +0100 Vlada Macek <[EMAIL PROTECTED]> wrote: Indeed, we have already voted for this. :-) I'm too unexperienced in Zope coding. Just wanted to know whether my idea is sane. Better collect some money to get this feature implemented *wink* -aj pgpOtxKhw4S1i.p

Re: [Zope] Re: ZSQL with different user

2005-12-19 Thread Vlada Macek
[At 19.12.2005 18:02, Andreas Jung kindly sent the following quotation.] > > > --On 19. Dezember 2005 17:54:31 +0100 Vlada Macek > <[EMAIL PROTECTED]> wrote: > >> Is there a problem somewhere? > > The problem is likely that someone needs to write the code :-) Indeed, we have already voted for thi

Re: [Zope] Re: ZSQL with different user

2005-12-19 Thread Andreas Jung
--On 19. Dezember 2005 17:54:31 +0100 Vlada Macek <[EMAIL PROTECTED]> wrote: Is there a problem somewhere? The problem is likely that someone needs to write the code :-) -aj pgpAXDoke5uDy.pgp Description: PGP signature ___ Zope maillist - Z

Re: [Zope] question for anyone using apache on windows

2005-12-19 Thread michael nt milne
ok, i simply downloaded the Apache 2.0.55 release for Windoes from Apache. Thre RewriteEngine is set to on in the httpd.conf. God knows why the module wouldn't be available in the distribution. Do you know any documentation on how to install on module at all? The unix version comes with it by defau

Re: [Zope] Re: ZSQL with different user

2005-12-19 Thread Vlada Macek
> Andreas Jung wrote: > >> --On 19. Dezember 2005 15:32:46 +0100 Pier Luigi Fiorini >> <[EMAIL PROTECTED]> wrote: > >>> Hello, I'm developing a Zope application that uses a PostgreSQL >>> connection and several ZSQL objects. People should log in using a >>> Postgres user and ZSQL object should be e

Re: [Zope] question for anyone using apache on windows

2005-12-19 Thread Andreas Jung
Likely the rewrite module isn't loaded (check the corresponding LoadModule statements of your configuration). -aj --On 19. Dezember 2005 16:33:59 + michael nt milne <[EMAIL PROTECTED]> wrote: Does RewriteEngine work on Apache for Windows 2.0.5 ? I'm getting the following.. Syntax e

Re: [Zope] question for anyone using apache on windows

2005-12-19 Thread Jens Vagelpohl
On 19 Dec 2005, at 16:33, michael nt milne wrote: Does RewriteEngine work on Apache for Windows 2.0.5 ? I'm getting the following.. Syntax error on line 960 of C:/Program Files/Apache Group/Apache2/ conf/httpd.con f: Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a

Re: [Zope] SQL transaction uncommited?

2005-12-19 Thread Vlada Macek
[At 19.12.2005 01:39, Gabriel Genellina kindly sent the following quotation.] Gabriel, I appreciate you also reviewed my code. >> def manage_afterAdd(self, item, container): if item is self: >> self.db = getattr(self,MY_CONNECTION_ID)._v_database_connection > > Keeping a _v_ attribute is *not*

[Zope] question for anyone using apache on windows

2005-12-19 Thread michael nt milne
Does RewriteEngine work on Apache for Windows 2.0.5 ?I'm getting the following..Syntax error on line 960 of C:/Program Files/Apache Group/Apache2/conf/httpd.conf: Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configurationNote the errors

[Zope] Re: ZSQL with different user

2005-12-19 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Jung wrote: > > > --On 19. Dezember 2005 15:32:46 +0100 Pier Luigi Fiorini > <[EMAIL PROTECTED]> wrote: > >> Hello, >> I'm developing a Zope application that uses a PostgreSQL connection and >> several ZSQL objects. >> People should log in u

Re: [Zope] ERROR BeforeTraverse Error while invoking hook

2005-12-19 Thread Chris McDonough
You might have a access rule in there that expects to be able to call something that's missing? On Dec 19, 2005, at 4:29 AM, Maciej Wisniowski wrote: Hi! After upgrading our Zope instances from Zope 2.7.2 to 2.8.4 we've noticed new kind of errors in event.log on one of our servers. Error i

Re: [Zope] ZSQL with different user

2005-12-19 Thread Andreas Jung
--On 19. Dezember 2005 15:32:46 +0100 Pier Luigi Fiorini <[EMAIL PROTECTED]> wrote: Hello, I'm developing a Zope application that uses a PostgreSQL connection and several ZSQL objects. People should log in using a Postgres user and ZSQL object should be executed by the user that's logged in

Re: [Zope] ZSQL with different user

2005-12-19 Thread Reinoud van Leeuwen
On Mon, Dec 19, 2005 at 03:39:51PM +0100, Tino Wildenhain wrote: > Pier Luigi Fiorini schrieb: > >Hello, > >I'm developing a Zope application that uses a PostgreSQL connection and > >several ZSQL objects. > >People should log in using a Postgres user and ZSQL object should be > >executed by the u

Re: [Zope] ZSQL with different user

2005-12-19 Thread Tino Wildenhain
Pier Luigi Fiorini schrieb: Hello, I'm developing a Zope application that uses a PostgreSQL connection and several ZSQL objects. People should log in using a Postgres user and ZSQL object should be executed by the user that's logged in. Multiple people can be logged at the same time. Unfortunat

Re: [Zope] zope and LDAP for authorisation

2005-12-19 Thread Einar Næss Jensen
Oh on the tab "LDAP Schema ", you might try to add the chema-item: sAMAccountName and use that for your loginID, on the main tab of LDAPUserFolder -- Einar Næss Jensen http://einar.nidelven-it.no/einarblog http://www.homemade.no tlf: +47 90990249 ___

[Zope] ZSQL with different user

2005-12-19 Thread Pier Luigi Fiorini
Hello, I'm developing a Zope application that uses a PostgreSQL connection and several ZSQL objects. People should log in using a Postgres user and ZSQL object should be executed by the user that's logged in. Multiple people can be logged at the same time. Unfortunately it is not possible because

Re: [Zope] zope and LDAP for authorisation

2005-12-19 Thread Einar Næss Jensen
On 12/12/05, Marinussen, M.J. (Ria) <[EMAIL PROTECTED]> wrote: I've checked out LDAPUserFolder but that's not what I'm looking for (Ithink...).Yes it is. It works very well with ldap/ADThe size/len error you get is probably becaouse you have  given wrong settings (wrong id to check against?), but c

Re: [Zope] zope and LDAP for authorisation

2005-12-19 Thread Jens Vagelpohl
On 19 Dec 2005, at 13:59, Marinussen, M.J. (Ria) wrote: Hi Jens, I need the full error traceback to help. The full traceback on: Zope 2.7.2-0, python 2.3.5, win32 LDAPUserFolder 2.6 OpenLDAP 2.3.11 When I type the correct LDAP password I get this error and traceback (otherwise I get an

Re: [Zope] zope 3 on debian sarge

2005-12-19 Thread Andreas Pakulat
On 19.12.05 14:16:20, Andreas Pakulat wrote: > On 19.12.05 13:37:53, adeline nombre wrote: > > can somebody tell me if he has ever run zope 3.0.1 on a debian Sarge. I > > tried but I found many thing during the "make" step: directories to rename > > cause of the casse: ZODB... > > My coffee is

Re: [Zope] zope and LDAP for authorisation

2005-12-19 Thread Marinussen, M.J. (Ria)
Hi Jens, > > I need the full error traceback to help. > The full traceback on: Zope 2.7.2-0, python 2.3.5, win32 LDAPUserFolder 2.6 OpenLDAP 2.3.11 When I type the correct LDAP password I get this error and traceback (otherwise I get an "Unauthorized" error). = Time 2005/12/19

Re: [Zope] zope 3 on debian sarge

2005-12-19 Thread Andreas Pakulat
On 19.12.05 13:37:53, adeline nombre wrote: > can somebody tell me if he has ever run zope 3.0.1 on a debian Sarge. I tried > but I found many thing during the "make" step: directories to rename cause of > the casse: ZODB... > My coffee is over now because of this. ?? Are you using Zope on a F

Re: [Zope] batching help

2005-12-19 Thread Nicolas Georgakopoulos
Thanks a lot , I did it with my 'ugly' way but that was exactly what I was looking for. cheers.. Martijn Pieters wrote: On 12/15/05, Nicolas Georgakopoulos <[EMAIL PROTECTED]> wrote: Hello all , I'm trying to display on the same page a table with (3 columns) with content from a list . I'm

[Zope] zope 3 on debian sarge

2005-12-19 Thread adeline nombre
can somebody tell me if he has ever run zope 3.0.1 on a debian Sarge. I tried but I found many thing during the "make" step: directories to rename cause of the casse: ZODB... My coffee is over now because of this. Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs excep

[Zope] Re: Can't pickle objects in acquisition wrappers

2005-12-19 Thread Florent Guillaume
Keith Alperin wrote: I'm returning to Zope after about a year away and am working on a project that i have pieced together over about 4 years. I recently deployed this project (a family history web site) under a zope 2.7.x install (it used to run on a 2.4.x install) and now I can't seem to

[Zope] ERROR BeforeTraverse Error while invoking hook

2005-12-19 Thread Maciej Wisniowski
Hi! After upgrading our Zope instances from Zope 2.7.2 to 2.8.4 we've noticed new kind of errors in event.log on one of our servers. Error is as follows: 2005-12-19T07:53:59 ERROR BeforeTraverse Error while invoking hook: "input" Traceback (most recent call last): File "/opt/Zope/2.8.4/lib/pyth