Re: [Zope-dev] Zope on OpenBSD 2.8 makes me cry

2001-03-14 Thread Ivo van der Wijk
According to a posting on an openBSD mailinglist, the solution is to use 2.8-current. See http://www.geocrawler.com/lists/4/OpenBSD/256/25/5337829/ I don't use openBSD myself so I can't help you with this, but a colleague here uses it and pointed me to this posting. Cheers, Ivo --

Re: [Zope-dev] Zope cut paste behaviour

2001-04-14 Thread Ivo van der Wijk
On Sat, Apr 14, 2001 at 09:07:52AM -0400, Brian Lloyd wrote: For one, it doesn't seem possible to move an object more up to the root (or anywhere not *below* the folder the object was cut/copied from). This is partially due to the fact that the __cp (clipboard) cookie has it's path set

Re: [Zope-dev] Zope cut paste behaviour

2001-04-16 Thread Ivo van der Wijk
On Mon, Apr 16, 2001 at 08:38:16AM +0200, Martijn Pieters wrote: On Sat, Apr 14, 2001 at 04:37:26PM +0200, Ivo van der Wijk wrote: Hmm - we can't just set it to '/', because some people have multiple Zope instances mapped to a domain (ex: my.com/foo/ and my.com/bar/ are aliased to two

[Zope-dev] Allowing secure 'import' access in zope folder hosting

2001-04-20 Thread Ivo van der Wijk
Hi all, I tried to ask this on the standard zope list, but noone seemed to know anything about it. Perhaps you do? We provide zope hosting, both folder based (where people have access to their own folder, mapped to a domain, and no access to the zope server / source / var / import / lib

Re: [Zope-dev] Allowing secure 'import' access in zope folder hosting

2001-04-20 Thread Ivo van der Wijk
On Fri, Apr 20, 2001 at 05:29:51PM -0400, Shane Hathaway wrote: Ivo van der Wijk wrote: I tried to ask this on the standard zope list, but noone seemed to know anything about it. Perhaps you do? We provide zope hosting, both folder based (where people have access to their own folder

[Zope-dev] Disabling anonymous webdav access

2001-05-14 Thread Ivo van der Wijk
Hi All, As someone pointed out on #zope, it is possible to view folder contents using a webdav client as an anonymous user. I.e. download cadaver (http://www.webdav.org/cadaver/), open yourzopeserver:8080 and do ls. Then decide if you want anyone to be able to access this. Eventhough hiding

[Zope-dev] dtml-in batching improved

2001-05-29 Thread Ivo van der Wijk
Hi all, When using batching in dtml-in, why is 'previous-sequence' only defined at the first iteration of the current batch? And why is 'next-sequence' only defined at the last iteration of the current batch? This behaviour makes it difficult to display a batch like this: -- begin sample --

Re: [Zope-dev] dtml-in batching improved

2001-05-31 Thread Ivo van der Wijk
On Wed, May 30, 2001 at 10:02:31PM +0100, Chris Withers wrote: When using batching in dtml-in, why is 'previous-sequence' only defined at the first iteration of the current batch? And why is 'next-sequence' only defined at the last iteration of the current batch? I know this problem ;-)

Re: [Zope-dev] dtml-in batching improved

2001-06-01 Thread Ivo van der Wijk
On Thu, May 31, 2001 at 05:36:21PM +0100, Chris Withers wrote: I've done it myself as well using (as described in the posting) two dtml-in's (the second one purely for displaying the prev/next links). Is your solution any different? (The only one I can think of is storing the info in

Re: [Zope-dev] dtml-in batching improved

2001-06-18 Thread Ivo van der Wijk
On Wed, Jun 13, 2001 at 04:28:12PM -0700, Jean Lagarde wrote: Good day all, Here is the original code, with my annotated change (I deleted an if test in two places): for index in range(first,end): # preset

[Zope-dev] Zope/z2 security issues

2001-06-18 Thread Ivo van der Wijk
Hi All, We're currently working on some security issues when running zope in a INSTANCE_HOME (multiple instances running as different users) setup. The first issue is tightening of the current security. We introduced the ability to set the groupid under which the server runs, so you can put

Re: [Zope-dev] Zope 2.4.4b1 and Python 2.1.2 crash again

2002-03-08 Thread Ivo van der Wijk
On Tue, Mar 05, 2002 at 04:49:47PM +0100, Stefano Noferi wrote: Hi, With zope 2.4.4b1 and python 2.1.2 my system auto-restart (crash) running python script again.. It's the Restricted Python problem resolved? I also still experience instabilities with 2.4.4b1/2.1.2. No coredumps, no

Re: [Zope-dev] Zope 2.6 project updated

2002-03-08 Thread Ivo van der Wijk
On Mon, Mar 04, 2002 at 05:40:39PM -0500, Brian Lloyd wrote: Hi all - I tried to capture who volunteered for what, but please look this over and let me know if I have you volunteered for something that you didn't mean to volunteer for :) You can also fix it yourself if you like (its

Re: [Zope-dev] Unauthorized users can writelock helpfiles in /Control_Panel/Products

2002-03-08 Thread Ivo van der Wijk
On Fri, Mar 08, 2002 at 09:24:05AM -0500, Chris McDonough wrote: Bummer. :-( It really seems like the help system should just be rewritten. The fact that it applies the dreaded write on read pattern, uses persistent objects and the catalog to provide help has been a thorn in our side for

[Zope-dev] Usage of try: .. except: .. in zope

2002-03-10 Thread Ivo van der Wijk
Hi All, I'm currently implementing a QuotaFolder for Zope, i.e. a Folder that restricts the number of objects, their sizes and their total size (and in the future: the installabe meta types). Things look very promising (if anyone feels like testing, please mail me), but it took me quite a

Re: [Zope-dev] Usage of try: .. except: .. in zope

2002-03-11 Thread Ivo van der Wijk
On Sun, Mar 10, 2002 at 05:40:58PM -0500, Craeg K. Strong wrote: Sorry, I am not answering your question but I was curious about your product. Have you thought about restricting Folder contents based on type?That could be extremely interesting. It is also something that is on

[Zope-dev] Replaceable types?

2002-03-16 Thread Ivo van der Wijk
Hi, I'm still fighting with making my QuotaFolder work with some (imho) buggy code in Zope (mainly caused by exceptiontype-less try: except: constructs) (of course, I could patch the problems in Zope, but I'd still like my product to work without patches) The ObjectManager seems to have support

Re: [Zope-dev] Restricting Sub-Objects in Folders DYNAMICALLY?

2002-03-19 Thread Ivo van der Wijk
On Sat, Mar 16, 2002 at 08:18:32PM +1000, Brian Oliver wrote: I would like to restrict the types of objects (from a python-based product) that may be placed in Folders, or any other dumb container, based on certain conditions. For example: I'd like to restrict the number of a certain

[Zope-dev] __after_publishing_traverse__

2002-04-15 Thread Ivo van der Wijk
Hi All, I would like to do some bookkeeping *after* an object has been published, i.e. imagine a request is done for: /a/b/c/d 'b' is the (folderish) object that does the accounting, 'd' is the object to be published. I would like 'b' to examine the RESPONSE after publishing. I know there's a

Re: [Zope-dev] Speaking of 2.6...

2002-04-15 Thread Ivo van der Wijk
On Tue, Apr 09, 2002 at 01:47:49PM -0400, Brian Lloyd wrote: ...I sent out a note a while ago now trying to scare up some ideas on how to vet the current list of 2.6 proposals and get to a final plan. I didn't get much (any?) response :( I am, as the author of the dtml-set tag, of course

Re: [Zope-dev] __after_publishing_traverse__

2002-04-15 Thread Ivo van der Wijk
On Mon, Apr 15, 2002 at 09:39:47AM -0600, Casey Duncan wrote: The request object has a hold area which keeps objects alive as long as the request lives. Although I have not tried it, you might be able to add an object to this hold area using __bobo_traverse__ defined on B. This object's

[Zope-dev] how bad are per-request-write-transactions

2002-04-16 Thread Ivo van der Wijk
Hi, How bad are per-request transactions in a non-ZEO environment? I.e. each request on a folder or its subobjects will cause a write transaction (somewhat like a non-fs counter, but worse as it happens for all subobjects) And if this is really bad, are there any workarounds except for writing

[Zope-dev] Does 'undo' scan the entire ZODB?

2002-05-02 Thread Ivo van der Wijk
Hi All, I just noticed that the undo tab on our zopeserver takes ages to load. If I try to trace the zope proces (as far as possible), it looks asif the entire Data.fs is scanned. Does zope scan the entire ZODB for old versions? It slows down our server enourmously with a 3G Data.fs. If so,

[Zope-dev] Re: [Zope-CMF] Creator info not properly cataloged

2002-11-18 Thread Ivo van der Wijk
On Sat, Nov 16, 2002 at 11:52:12PM +0100, Ivo van der Wijk wrote: On Sat, Nov 16, 2002 at 11:04:22PM +0100, Ivo van der Wijk wrote: On Sat, Nov 16, 2002 at 08:42:44PM +0100, Dieter Maurer wrote: Ivo van der Wijk writes: After putting my locally developed CMF site online, I noticed

Re: [Zope-dev] post-publishing hook

2002-11-29 Thread Ivo van der Wijk
On Fri, Nov 29, 2002 at 01:07:24PM +0100, Carlo Giomini wrote: Dear all, I need a sort of post-publishing hook (so to say). I need Zope to call a function of mine as the very last action of publishing a request, i.e. after having built the response (and sent it to the browser possibly), but

[Zope-dev] Zope reference counts

2003-01-21 Thread Ivo van der Wijk
Hi, I'm currently optimizing/analyzing a Zope server and I noticed the following: The number of references to specific objects (in this case specifically Squishdot comments) increases almost linear with the number of threads. Does this mean each thread keeps it's own cache pool of objects? Do

Re: [Zope-dev] Zope reference counts

2003-01-22 Thread Ivo van der Wijk
On Tue, Jan 21, 2003 at 04:27:05PM +, Toby Dickenson wrote: On Tuesday 21 January 2003 4:14 pm, Ivo van der Wijk wrote: Does this mean each thread keeps it's own cache pool of objects? yes Do these references point to the same object instances, or are these copied as well

Re: [Zope-dev] Zope reference counts

2003-01-22 Thread Ivo van der Wijk
On Wed, Jan 22, 2003 at 12:14:27PM +, seb bacon wrote: Toby Dickenson wrote: On Wednesday 22 January 2003 11:43 am, Ivo van der Wijk wrote: Do these references point to the same object instances, or are these copied as well? They are independant copies Is there a way

Re: [Zope-dev] Zope reference counts

2003-01-22 Thread Ivo van der Wijk
On Wed, Jan 22, 2003 at 11:57:20AM +, Toby Dickenson wrote: Is there a way to optimize this? 1. Obviously, use fewer threads. Do you have a component that otherwise benefits from many threads? No, except that the server is pretty heavy loaded sometimes, and multiple threads

Re: [Zope-dev] consistently getting conflicterrors on 'intSet'

2003-01-30 Thread Ivo van der Wijk
On Thu, Jan 30, 2003 at 06:06:57PM +0100, Ivo van der Wijk wrote: Hi All After upgrading to Zope 2.6.0 (from 2.3.3 - 2.4.4), I found the following error in my stupid.log [snip] I already found out that these errors can be removed by explicitly deleting de products from /Control_Panel