Re: [Zope-dev] Zope hangs, with processes being idle ... (rather urgent problem)

2002-08-01 Thread Joachim Werner
I have a Zope 2.5.1 using ZEO on Linux, with Apache as proxy server. The two ZEO clients run fine for a couple of hours, and then suddenly one of them stops responding. It's the type of Zope hangs when all processes are fine, but ZServer just doesn't respond (load is very low, with

[Zope-dev] Removing the acquisition wrapper from an object (Python script)

2002-08-01 Thread Gilles Lenfant
Hi, aq_base(someObject) doesn't work in a python script. I need to get an object without its acquisition wrapper. Any hint ? Many thanks in advance --Gilles ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] Refer to zope attribute or object in source

2002-08-01 Thread Florent Guillaume
A lot of people would like to see these things cleaned up, but unfortunately unless it becomes a pressing need for someone it doesn't get done (for lack of time). If you have some experience with that, and have ideas on how to fix things (and check that they work ok), please do write some

Re: [Zope-dev] Removing the acquisition wrapper from an object (Python script)

2002-08-01 Thread Gilles Lenfant
- Original Message - From: Toby Dickenson [EMAIL PROTECTED] To: Gilles Lenfant [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, August 01, 2002 1:46 PM Subject: Re: [Zope-dev] Removing the acquisition wrapper from an object (Python script) On Thursday 01 Aug 2002 12:49 pm, Gilles

Re: [Zope-dev] Removing the acquisition wrapper from an object (Python script)

2002-08-01 Thread Toby Dickenson
On Thursday 01 Aug 2002 2:44 pm, Gilles Lenfant wrote: I can't understand that reason because it's also easy to strip away an object's security settings in an untrusted python script that has a Manager proxy. Well, I'm gonna make my 2 or 3 lines External method :( If thats true, its a bug. a

[Zope-dev] DTML and REQUEST data changes about to be checked in

2002-08-01 Thread Martijn Pieters
Hi folks, I am about to land some big changes in the way DTML deals with data taken from the REQUEST object when accessed implicitly, in both the Zope Trunk and the Zope 2.5 branch. These changes could potentially break existing Zope sites. Without these changes, Zope is somewhat vulnerable to

Re: [Zope-dev] Removing the acquisition wrapper from an object (Python script)

2002-08-01 Thread Gilles Lenfant
- Original Message - From: Toby Dickenson [EMAIL PROTECTED] To: Gilles Lenfant [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, August 01, 2002 3:51 PM Subject: Re: [Zope-dev] Removing the acquisition wrapper from an object (Python script) On Thursday 01 Aug 2002 2:44 pm, Gilles

[Zope-dev] Re: DTML and REQUEST data changes about to be checked in

2002-08-01 Thread Martijn Pieters
On Thu, Aug 01, 2002 at 10:46:44AM -0400, Martijn Pieters wrote: I am about to land some big changes in the way DTML deals with data taken from the REQUEST object when accessed implicitly, in both the Zope Trunk and the Zope 2.5 branch. These changes could potentially break existing Zope

Re: [Zope-dev] Re: DTML and REQUEST data changes about to bechecked in

2002-08-01 Thread Jeffrey P Shell
On 8/1/02 10:08 AM, Martijn Pieters [EMAIL PROTECTED] wrote: On Thu, Aug 01, 2002 at 10:46:44AM -0400, Martijn Pieters wrote: I am about to land some big changes in the way DTML deals with data taken from the REQUEST object when accessed implicitly, in both the Zope Trunk and the Zope 2.5

Re: [Zope-dev] Re: DTML and REQUEST data changes about to be checked in

2002-08-01 Thread Martijn Pieters
On Thu, Aug 01, 2002 at 10:29:36AM -0600, Jeffrey P Shell wrote: Hopefully I'll get a chance to test it with some of our 2.5 sites - I have a small worry that old code on small sites that we don't have much worry about will break if this is put into a 2.5.2 or later release. Could there be a

Re: [Zope-dev] Removing the acquisition wrapper from an object (Python script)

2002-08-01 Thread Gilles Lenfant
- Original Message - From: Chris Withers [EMAIL PROTECTED] To: Gilles Lenfant [EMAIL PROTECTED] Cc: Toby Dickenson [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, August 01, 2002 6:18 PM Subject: Re: [Zope-dev] Removing the acquisition wrapper from an object (Python script)

Re: [Zope-dev] Removing the acquisition wrapper from an object (Pythonscript)

2002-08-01 Thread Chris Withers
Gilles Lenfant wrote: manage_permission(self, permission_to_manage, roles=[], acquire=0, REQUEST=None) Just use this method in an untrusted python script on any Zope object, add to it Manager proxy, and you're done. That method just tweaks the permissions settings. It certainly doesn't let

Re: [Zope-dev] Zope components and revision control with cvs

2002-08-01 Thread Shane Hathaway
Mehran erfani wrote: I am a newbie to the zope world and recently started using zope in our corporate development environment. One thing that I couldn't find so far is an easy way to use cvs for revision control for individual components developed in zope. I understand that zope has its own

Re: [Zope-dev] Removing the acquisition wrapper from an object(Python script)

2002-08-01 Thread Leonardo Rochael Almeida
On Thu, 2002-08-01 at 14:38, Gilles Lenfant wrote: [...] Now I'm always looking for an alternate way to get rid of the acquisition wrapper and access only the objects own props. To access an object's own props (and get an error if it doesn't find them instead of looking up the aq-chain) you

Re: [Zope-dev] Removing the acquisition wrapper from an object(Python script)

2002-08-01 Thread Gilles Lenfant
- Original Message - From: Leonardo Rochael Almeida [EMAIL PROTECTED] To: Zope Developers list [EMAIL PROTECTED] Sent: Thursday, August 01, 2002 11:37 PM Subject: Re: [Zope-dev] Removing the acquisition wrapper from an object(Python script) On Thu, 2002-08-01 at 14:38, Gilles Lenfant

Re: [Zope-dev] Zope components and revision control with cvs

2002-08-01 Thread Gary Poster
On Thu, 2002-08-01 at 15:04, Shane Hathaway wrote: There are a few products on zope.org for integrating with CVS. Look through the downloadable products. I think there are CVSFolder and ZCVSFile (or something like that), maybe more. However, most version control tools are difficult to

Re: [Zope-dev] Zope components and revision control with cvs

2002-08-01 Thread Romain Slootmaekers
Gary Poster wrote: On Thu, 2002-08-01 at 15:04, Shane Hathaway wrote: There are a few products on zope.org for integrating with CVS. Look through the downloadable products. I think there are CVSFolder and ZCVSFile (or something like that), maybe more. However, most version control tools

Re: [Zope-dev] Zope components and revision control with cvs

2002-08-01 Thread Shane Hathaway
On 1 Aug 2002, Gary Poster wrote: Given a hypothetical folder-like instance called myFLI, we would presumably want, in CVS (or Subversion, or whatever) a folder named myFLI containing the children and a file named, to borrow your example, myFLI.properties.zexp that *only* contains the