[Zope-Checkins] SVN: Zope/branches/easter-sprint_traversal-refactor/ A branch to replace use Zope3 trabersal as main traversal.

2006-04-18 Thread Lennart Regebro
Log message for revision 67077: A branch to replace use Zope3 trabersal as main traversal. Changed: A Zope/branches/easter-sprint_traversal-refactor/ U Zope/branches/easter-sprint_traversal-refactor/lib/python/AccessControl/Role.py -=- Copied:

[Zope-Checkins] SVN: Zope/branches/easter-sprint_traversal-refactor/lib/python/ZPublisher/BaseRequest.py Step 1: Refactoring the traversl into something less monolithic.

2006-04-18 Thread Lennart Regebro
Log message for revision 67081: Step 1: Refactoring the traversl into something less monolithic. Changed: U Zope/branches/easter-sprint_traversal-refactor/lib/python/ZPublisher/BaseRequest.py -=- Modified:

Re: [Zope-dev] cvs.zope.org/Products - svn.zope.org?

2006-04-18 Thread Andreas Jung
--On 17. April 2006 16:25:10 +0200 Jens Vagelpohl [EMAIL PROTECTED] wrote: Wouldn't it make sense to migrate the complete Products hierarchy from cvs.zope.org to svn.zope.org? - -1 on migrating everything. IMHO it would be better to identify those dependencies and selectively migrate

[Zope-dev] Re: Is there a function to get the object type?

2006-04-18 Thread suresh
Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lennart Regebro wrote: On 4/11/06, Takahashi, Michael [EMAIL PROTECTED] wrote: I'm trying to write a function that checks to see if the current object is a 'Folder'. several ways: isinstance(object, Folder) # does not

Re: [Zope-dev] cvs.zope.org/Products - svn.zope.org?

2006-04-18 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 18 Apr 2006, at 08:30, Andreas Jung wrote: --On 17. April 2006 16:25:10 +0200 Jens Vagelpohl [EMAIL PROTECTED] wrote: Wouldn't it make sense to migrate the complete Products hierarchy from cvs.zope.org to svn.zope.org? - -1 on migrating

Re: [Zope-dev] Re: 64-bit BTrees

2006-04-18 Thread Chris Withers
Philipp von Weitershausen wrote: in memory. Dieter estimates 20% to 35% slowdown for the C algorithms (whatever that means), Tim seems to think it won't have such a big effect. I guess we'll only know after some benchmarks. Can we please not make any definite decisions until this issue has

Re: [Zope-dev] Debugging spinning Zope?

2006-04-18 Thread Stefan H. Holek
http://www.zope.org/Members/4am/debugspinningzope On 18. Apr 2006, at 16:45, Morten W. Petersen wrote: Hi, I have a problem with a Zope that hangs eating up 99.9% of the CPU. I've tried to debug the problem by using DeadlockDebugger but that doesn't even return when accessing it. I guess the

Re: [Zope-dev] Traversal issue which affects Five

2006-04-18 Thread Dieter Maurer
Alec Mitchell wrote at 2006-4-17 14:53 -0700: ... Yes, it does sound like a better solution. However, the issue I see with it is that it is essentially adding new functionality, rather than fixing a problem with the existing behavior. That would seem to make it a much less likely candidate for

Re: [Zope-dev] Debugging spinning Zope?

2006-04-18 Thread Morten W. Petersen
Dieter Maurer wrote: Morten W. Petersen wrote at 2006-4-18 16:45 +0200: I guess the next step is to use pdb og gdb - are there perhaps any documents out there describing the process? You use your favorite search engine and search for Zope spinning debug. Yep. ;) -Morten

Re: [Zope-dev] Traversal issue which affects Five

2006-04-18 Thread Andreas Jung
--On 18. April 2006 18:52:10 +0200 Dieter Maurer [EMAIL PROTECTED] wrote: Alec Mitchell wrote at 2006-4-17 14:53 -0700: ... Yes, it does sound like a better solution. However, the issue I see with it is that it is essentially adding new functionality, rather than fixing a problem with the

Re: [Zope-dev] Debugging spinning Zope?

2006-04-18 Thread Wichert Akkerman
Previously Stefan H. Holek wrote: http://www.zope.org/Members/4am/debugspinningzope And now for windows... :) Wichert. On 18. Apr 2006, at 16:45, Morten W. Petersen wrote: Hi, I have a problem with a Zope that hangs eating up 99.9% of the CPU. I've tried to debug the problem by using

Re: [Zope-dev] Re: z3 server+publication refactor for z2

2006-04-18 Thread Lennart Regebro
FYI there was a couple of hours work done on this today at the sprint in Paris. It seemed to us the the next necessary step in Sidneis branch was to make Zope2 traversal adapters for non-zope3 objects. This work has now started, in the form of refactoring the BaseRequest traversal into Zope3 type

Re: [Zope] Getting www.domain.com:8080/manage to go through Apache

2006-04-18 Thread Chris Withers
michael nt milne wrote: *However* these panes all fill with 404s, page not found which seems strange considering I am able to get the login and front page ok.. Not at all, you only rewrite ^/manage(.*), nothing else will get rewritten. This is an Apache configuration issue, your best bet is

Re: [Zope] Permissions, files and folders

2006-04-18 Thread Erik Billing
Thank you, that worked nicely. But I was unable to call the LazyFilter from the DTML document, I figure I have to import the ZTUtils module first. Is there a special DTML-tag to do import? By the way? Is there some obvious documentation about the different modules that I have missed? As I

[Zope] DELETE Objects

2006-04-18 Thread Erik Billing
I want to create a python script that deletes a specific file from a folder. For now, the user who is calling the script does not have the Delete objects permission on the folder, only the file which he should be able to delete. I have previously used the delObjects method on the folder to

Re: [Zope] DELETE Objects

2006-04-18 Thread Andreas Jung
--On 18. April 2006 14:15:48 +0200 Erik Billing [EMAIL PROTECTED] wrote: I want to create a python script that deletes a specific file from a folder. For now, the user who is calling the script does not have the Delete objects permission on the folder, only the file which he should be able to

[Zope] Export html

2006-04-18 Thread [EMAIL PROTECTED]
Hello, I have an archetype, I want to export the html that I see in the view mode to a rtf (or similar) format. I tried to use the product "RTFExport" but it doesn't export from HTML (or I don't know how to do this). I have found the product "PloneOOoTransforms" , does anybody have experience with

Re: [Zope] DELETE Objects

2006-04-18 Thread Stefan H. Holek
Deletion *is* an operation on the container because it a) removes an attribute from the container b) removes an entry from the container's _objects tuple DELETE is for WebDAV. You options are a) Python Script with proxy role b) External Method (or another form of unrestricted Python code)

Re: [Zope] DELETE Objects

2006-04-18 Thread Erik Billing
Ok. Thanx. But why is it like this? I imagine that deleting an object in a folder where I do not have permission to delete every object, or the folder itself, is a quite common task. Using the manage_delObjects and a proxy really feels like I'm fighting the zope security instead of getting

[Zope] Re: Groupware in zope

2006-04-18 Thread Rob Miller
Saura Ramachandran wrote: Hi, Is there a groupware in Zope with features like wiki, forum, filemanager and other project management stuff in zope or plone? Please share your experiences. you might find the Plone-based OpenCore software that is driving the openplans.org site useful. it's

Re: [Zope] Groupware in zope

2006-04-18 Thread Dieter Maurer
Saura Ramachandran wrote at 2006-4-18 10:50 +0530: Is there a groupware in Zope with features like wiki, forum, filemanager and other project management stuff in zope or plone? Please share your experiences. You may have a look at CPS. -- Dieter

RE: No memory leak! (was: Re: [Zope] Memory Leak in Session Data Container)

2006-04-18 Thread Dieter Maurer
Andy Yates wrote at 2006-4-17 16:35 -0500: ... /Control_Panel/Database/temporary/manage_cacheParameters Total number of objects in the database369885 Total number of objects in memory from all caches15341 Target number of objects in memory per cache5000 It seems odd to me that the

Re: [Zope] Permissions, files and folders

2006-04-18 Thread Dieter Maurer
Erik Billing wrote at 2006-4-18 11:42 +0200: Thank you, that worked nicely. But I was unable to call the LazyFilter from the DTML document, I figure I have to import the ZTUtils module first. Is there a special DTML-tag to do import? No, you have to go through a Python Script. But, you can make

Re: [Zope] Some installation glitches

2006-04-18 Thread Andrew Sawyers
Andrew Sawyers wrote: I'm running Suse 10 - and I've got both /usr/lib and /usr/lib64 I don't believe that dependency has anything to do with Zope. If I take the zope distribution tarball and do the configure, make, make install dance, I get a 'lib64' directory inside the Zope installation

[Zope] Custom 404 - Resource not found

2006-04-18 Thread Andy Yates
Is there a way to customize the Zope 404 error page? Site Error An error was encountered while publishing this resource. Resource not found Changing standard_error_message does not seem change this error page. I need to do this inside Zope or via the apache front end which talks to Zope

Re: [Zope] DELETE Objects

2006-04-18 Thread Alexis Roda
Erik Billing escribió: Ok. Thanx. But why is it like this? I imagine that deleting an object in a folder where I do not have permission to delete every object, or the folder itself, is a quite common task. Using the manage_delObjects and a proxy really feels like I'm fighting the zope

Re: [Zope] Permissions, files and folders

2006-04-18 Thread Erik Billing
Ok. I didn't find any epidoc on plone at a first googleing, but I have a closer look and post the link here if I find it. I solved some of the API doc problem by starting a local pydoc server (ex. pydoc -p 8079) which cover even the zope modules when I put them in the python path. But I'm still

Re: [Zope] Getting www.domain.com:8080/manage to go through Apache

2006-04-18 Thread michael nt milne
ok, thanks. Does anyone know how to re-write everything going through /manage/ ? I realise this isn't an apache list but I've received some great help here. On 4/18/06, Chris Withers [EMAIL PROTECTED] wrote: michael nt milne wrote: *However* these panes all fill with 404s, page not found which

Re: [Zope] DELETE Objects

2006-04-18 Thread Erik Billing
Ok. If proxy is the way to do it, then it is so, even thaw I still think it's a little backwords. But you have a good point Stefan, of course objects may be viewed as an property of the parent container, and the permissions follows from that. And of course it's not much of a problem to do the

[Zope] Documentation and Books

2006-04-18 Thread Erik Billing
I quite recently began looking at Zope and now I'm looking for a good book on the subject. I'm fairly familiar with both Python and webapp development in general, so I'm looking for a book covering pretty much everything about Zope I need to know, rather then an introduction. I've read a few

[Zope] Cookie Crumbler/Authentication Question

2006-04-18 Thread Palermo, Tom
All, I am working on a site that uses CookieCrumbler for the authentication. Part of this site allows a user to change their password via this line: userfolder.manage_users(submit='Change', REQUEST=user_info). This works fine except after changing the password, the user is no longer

Re: [Zope] Documentation and Books

2006-04-18 Thread Bakhtiar A Hamid
On 4/19/06, Erik Billing [EMAIL PROTECTED] wrote: I quite recently began looking at Zope and now I'm looking for a good book on the subject. I'm fairly familiar with both Python and webapp development in general, so I'm looking for a book covering pretty much everything about Zope I need to know,