[Zope] Re: Advice needed before settling on Zope

2006-02-15 Thread Maik Ihde
Hi David, > We have to build a content/document management system for our company, and I have been assigned to look into this and make a start. The system has quite a few requirements, which I'll outline below. As you might already know, there are quite a few CMS built on top of Zope2. Zope3 see

Re: [Zope] Zope 2.9 and SSL

2006-02-15 Thread Chris Withers
Janusz Zamecki wrote: Is anyone tried to access Zope 2.9 via SSL? I've tried m2crypto, but this doesn't work with the newest zope. *sigh* m2crypto needs a bullet in its brain. Use Apache (doing the SSL) in frotn of Zope, that's the standard and safest way to do it... And I've tried to use

Re: [Zope] restricting permissions for direct access only

2006-02-15 Thread Chris Withers
Michael Shulman wrote: Okay, I must be the most moronic user ever. The default text in a newly created Python Script, which I did not bother to change for my test case, accesses meta_type, but I did not notice this; thus I was confused. (Just out of curiosity, what permissions are required to a

Re: [Zope] Advice needed before settling on Zope

2006-02-15 Thread Lennart Regebro
On 2/15/06, Rainsford, David <[EMAIL PROTECTED]> wrote: > Our client is quite specific about what they require and how they want it to > be presented, so ease of customisation and extensibility is a major factor. > We have looked around at existing CMSes but have not found one that fulfills > all o

Re: [Zope] Re: Re: major problems placing authentication on an extranet site-security flaw?

2006-02-15 Thread michael nt milne
Chris, back to throwing personal insults eh. I'll refrain from going down that line as it's tedious and un-professional. You've obviously not listened to the advice of your fellow peers on that front. Everyone can take on a little advice and I've remarked previously that I was wrong in my initial a

Re: [Zope] Advice needed before settling on Zope

2006-02-15 Thread michael nt milne
Hi >We looked at Plone, and then I decided we might be better off going down a level and building on Zope. What turned you off Plone? On 2/15/06, Lennart Regebro <[EMAIL PROTECTED]> wrote: > On 2/15/06, Rainsford, David <[EMAIL PROTECTED]> wrote: > > Our client is quite specific about what they

Re: [Zope] Advice needed before settling on Zope

2006-02-15 Thread bruno desthuilliers
Lennart Regebro wrote: > On 2/15/06, Rainsford, David <[EMAIL PROTECTED]> wrote: > >>Our client is quite specific about what they require and how they want it to >>be presented, so ease of customisation and extensibility is a major factor. >>We have looked around at existing CMSes but have not fou

Re: [Zope] Advice needed before settling on Zope

2006-02-15 Thread Lennart Regebro
On 2/15/06, bruno desthuilliers <[EMAIL PROTECTED]> wrote: > Now for the downside: > - CPS is a complex beast built on top of CMF, which is a complex beast > built on top of Zope2 which is itself already quite complex. Well, that is true. But I think that is true of any enterprise CMS. We do know

[Zope] Memory Leak Debugging

2006-02-15 Thread Jonathan Bowlas
Hi All, We're having serious problems with performance running Silva CMS on Zope 2.7.8-final, python 2.3.5, linux2 set up on a machine with 2.5GB RAM. There are currently only about 65 users and around 2000 documents in the CMS but it seems to run for a week, then the RAM fills up and crashes so w

[Zope] Memory Leak Debugging

2006-02-15 Thread Jonathan Bowlas
Hi All,   We're having serious problems with performance running Silva CMS on Zope 2.7.8-final, python 2.3.5, linux2 set up on a machine with 2.5GB RAM. There are currently only about 65 users and around 2000 documents in the CMS but it seems to run for a week, then the RAM fills up and c

RE: [Zope] Memory Leak Debugging

2006-02-15 Thread Jonathan Bowlas
And now in plain text, sorry for the HTML. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Bowlas Sent: 15 February 2006 11:47 To: zope@zope.org Subject: [Zope] Memory Leak Debugging Hi All, We're having serious problems with perfo

Re: [Zope] Memory Leak Debugging

2006-02-15 Thread Peter Bengtsson
Hi, I'm NOT an expert and I hope that someone else who is an expert gives you better advise but here's a start... Do you have any recursive loops with lists that doesn't reset the list? Perhaps something like this: def findAllImages(self, placetolook, append2): for o in placetolook.objectValue

[Zope] Re: AW: Re: Zope won't start on Windows XP

2006-02-15 Thread Pawel Lewicki
Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Holger Butschek wrote: It looks as though you have a borked Zope installation: how did you install Zope? What does borked mean? I installed it with the windows installer. The file ist from zope.org. The traceback indicated th

Re: [Zope] Memory Leak Debugging

2006-02-15 Thread Andrew Milton
+---[ Jonathan Bowlas ]-- | Hi All, | | We're having serious problems with performance running Silva CMS on Zope | 2.7.8-final, python 2.3.5, linux2 set up on a machine with 2.5GB RAM. There | are currently only about 65 users and around 2000 documents in the CMS but | it s

[Zope] Re: Advice needed before settling on Zope

2006-02-15 Thread Maik Ihde
> What turned you off Plone? Plone still lacks a decent versioning System. That's definetely a showstopper. And it does not scale too well, if you cannot use caching. Don't get me wrong, I do like Plone since you can rip out small Intranet solutions in a very short time - but do not try to do t

[Zope] VerboseSecurity and zope 2.8.5

2006-02-15 Thread Peter Bengtsson
I'm not getting any verbose security messages in my zope 2.8.5. zope.conf reads: security-policy-implementation python verbose-security on I'm trying to log in as a user but get rejected which is probably because I've incorrectly configured one method or object to require one permission too many.

[Zope] calling getOwner on an ExtFile instance raises an Unauthorized ex ception

2006-02-15 Thread Palermo, Tom
All,   Does anyone know why calling getOwner() on an instance of ExtFile raises an unauthorized exception?     Error Type: Unauthorized    Error Value: You are not allowed to access 'getOwner' in this context ExtFile imports SimpleItem which, in turn, imports AccessControl.Owner   Here

[Zope] Re: calling getOwner on an ExtFile instance raises an Unauthorized ex ception

2006-02-15 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Palermo, Tom wrote: > All, > > Does anyone know why calling getOwner() on an instance of ExtFile raises an > unauthorized exception? > Error Type: Unauthorized > Error Value: You are not allowed to access 'getOwner' in this context > > E

[Zope] Error Value: 'File' object has no attribute 'manage_fixupOwnershipAfterAdd'

2006-02-15 Thread Roman Klesel
Hello, in a product I try to make a file object persistent with the _setObject() method. However I get the error: Error Value: 'File' object has no attribute 'manage_fixupOwnershipAfterAdd' The following is the code where the error occurs: cpu_load = self.getCpuLoad(id,location_sar,f_time,l_ti

[Zope] RE: calling getOwner on an ExtFile instance raises an Unauthori zed ex ception

2006-02-15 Thread Palermo, Tom
Tres, Thanks. I didn't know about that. I will try that. Also, I just used owner_info['id'] instead of getOwner(). It returns the same thing. I'm not sure why owner_info worked and getOwner did not both methods are in AccessControl.Owner.py Thanks, Tom -Original Message- From: Tres Seav

Re: [Zope] VerboseSecurity and zope 2.8.5

2006-02-15 Thread Stefan H. Holek
If this is Plone, you also need to tell error_log not to ignore Unauthorized and clear the Login page ID in cookie_authentication. See Stefan On 15. Feb 2006, at 14:39, Peter Bengtsson wrote: I'm not getting any verbose security messages in my zope 2.

Re: [Zope] VerboseSecurity and zope 2.8.5

2006-02-15 Thread Peter Bengtsson
On 2/15/06, Stefan H. Holek <[EMAIL PROTECTED]> wrote: > If this is Plone, you also need to tell error_log not to ignore > Unauthorized and clear the Login page ID in cookie_authentication. > See > It's not plone. Logged Unauthorised in error_log. > > > On 15.

Re: [Zope] restricting permissions for direct access only

2006-02-15 Thread Michael Shulman
On 2/15/06, Chris Withers <[EMAIL PROTECTED]> wrote: > > But... it's still not working for my real site. I think the issue is > > this. If script1 has proxy role Manager, and script2 has view > > permissions set only for Manager, then script1 can call script2, no > > problem. But if script1 inst

Re: [Zope] Zope/Plone logon security strategy etc

2006-02-15 Thread michael nt milne
Hi DieterI've installed DigestAuth. Just wondering if there are any set-up instructions at all?ThanksMichaelOn 1/26/06, Dieter Maurer <[EMAIL PROTECTED]> wrote:michael nt milne wrote at 2006-1-25 18:55 +: >Yeah I know the security aspects are good once you are in, however>when you login it's p

Re: [Zope] Zope/Plone logon security strategy etc

2006-02-15 Thread michael nt milne
PSI won't be using this with SSL obviously. Good to use it to secure login areas where the other content doesn't require SSL.On 2/15/06, michael nt milne <[EMAIL PROTECTED]> wrote: Hi DieterI've installed DigestAuth. Just wondering if there are any set-up instructions at all?ThanksMichaelOn 1/26/0

Re: [Zope] Zope and roles and hierarchy

2006-02-15 Thread Lennart Regebro
On 2/14/06, Kees de Brabander <[EMAIL PROTECTED]> wrote: > But my subfolders are for different groups of users and I want to keep them > apart (so I can throw them away with the subfolder, when their use has > become obsolete). Well, you could use PluggableAuthService, and have them in different z

Re: [Zope] Zope 2.9 and SSL

2006-02-15 Thread Ron Bickers
On Wed February 15 2006 02:42, Janusz Zamecki wrote: > The easiest way is to use Apache, but I have reasons to not go that way. If you don't want big Apache, lighttpd is small and has made a good SSL front-end proxy to Zope for me. http://www.lighttpd.net/ -- Ron _

[Zope] Granting access by reading http headers

2006-02-15 Thread Marc Schnapp
We're running Plone for internal departmental use. I'm going to lock down most of the content, requiring a login to view sensitive documents. But I also want our Google Mini appliance to crawl all content. The problem is that the appliance does not accept cookies. So Plone and Zope don't recogn

[Zope] Importing a ZClass from Zope 2.8.1 to Zope 2.9.0

2006-02-15 Thread Edward Huixquic
Hi Zopistas:I am trying to import into a Zope 2.9.0 installation, a ZClass that lives and runs fine in a Zope 2.8.1. I am getting an error which I attach below (from my event.log):What I am getting is a  "ZClassName" does not support this operation.   Does any of you have any idea what is going on

[Zope] Render image from external method.

2006-02-15 Thread Jason C. Leach
Hi, I'm wondering how I can render an image from an external method without creating a permanent image object in Zope? What I have is a python script I call in my ZPT. The python script does some things, and calls an external method that returns PNG image data. If I do tal:attributes="src python

Re: [Zope] Render image from external method.

2006-02-15 Thread Peter Bengtsson
On 2/16/06, Jason C. Leach <[EMAIL PROTECTED]> wrote: > Hi, > > I'm wondering how I can render an image from an external method > without creating a permanent image object in Zope? What I have is a > python script I call in my ZPT. The python script does some things, > and calls an external metho

Re: [Zope] Importing a ZClass from Zope 2.8.1 to Zope 2.9.0

2006-02-15 Thread Peter Bengtsson
Perhaps not a valuable advice but I remember (years ago) that I couldn't import a ZClass because of something to do with the security even though I was logged in as root Manager. I ended up writing an External Method that in turn calls manage_importObject(file.zexp) and that worked. I know nothing

[Zope] Re: restricting permissions for direct access only

2006-02-15 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Shulman wrote: > On 2/15/06, Chris Withers <[EMAIL PROTECTED]> wrote: > >>>But... it's still not working for my real site. I think the issue is >>>this. If script1 has proxy role Manager, and script2 has view >>>permissions set only for Mana

[Zope] Re: Granting access by reading http headers

2006-02-15 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marc Schnapp wrote: > We're running Plone for internal departmental use. I'm going to lock > down most of the content, requiring a login to view sensitive documents. > But I also want our Google Mini appliance to crawl all content. The > problem is tha

[Zope] how to create a image from PIL and save into the zope database?

2006-02-15 Thread Allen Huang
I'm been playing around with python PIL library for a while now   but I'm confuse about how to dynamically generated image or modified an image, create a new image object, and save it back into zope database.   can someone walk me through the steps? What are the most popular cars? Find ou

Re: [Zope] Importing a ZClass from Zope 2.8.1 to Zope 2.9.0

2006-02-15 Thread Andreas Jung
--On 16. Februar 2006 02:19:52 + Peter Bengtsson <[EMAIL PROTECTED]> wrote: Perhaps not a valuable advice but I remember (years ago) that I couldn't import a ZClass because of something to do with the security even though I was logged in as root Manager. I ended up writing an External Me

Re: [Zope] Re: restricting permissions for direct access only

2006-02-15 Thread David
Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Shulman wrote: On 2/15/06, Chris Withers <[EMAIL PROTECTED]> wrote: But... it's still not working for my real site. I think the issue is this. If script1 has proxy role Manager, an

Re: [Zope] how to create a image from PIL and save into the zope database?

2006-02-15 Thread Roman Klesel
Hello Huang, Allen Huang schrieb: > I'm been playing around with python PIL library for a while now > > but I'm confuse about how to dynamically generated image or modified > an image, create a new image object, and save it back into zope database. > > can someone walk me through the steps? t

Re: [Zope] Render image from external method.

2006-02-15 Thread Tino Wildenhain
Jason C. Leach schrieb: > Hi, > > I'm wondering how I can render an image from an external method > without creating a permanent image object in Zope? What I have is a > python script I call in my ZPT. The python script does some things, > and calls an external method that returns PNG image data

Re: [Zope] Re: Re: major problems placing authentication on an extranet site-security flaw?

2006-02-15 Thread Chris Withers
michael nt milne wrote: Chris, back to throwing personal insults eh. It's not so much an insult as a statement of fact. Retarded means "slower", and given how slow you seem to be to "get" the stuff we're discussing, I think the shoe fits. Not necessarily meant as an insult, but if you want t