Re: [Zope-dev] disabling gc does not necessarily hide memory corruption

2001-12-18 Thread Toby Dickenson
On Mon, 17 Dec 2001 23:13:54 -0500, Chris McDonough [EMAIL PROTECTED] wrote: Ah ok... yeah, there were reportedly several leaks in the compiler stuff that have been fixed in CVS. I imagine that's what this is. Is the compiler still based on bytecodehacks? If so, I dont think this is a bug As

Re: [Zope-dev] [IDEA] ZopeRoot and SiteRoot

2001-12-18 Thread Toby Dickenson
On Mon, 17 Dec 2001 10:16:09 -0500, Casey Duncan [EMAIL PROTECTED] wrote: That SiteRoot should also be a callable object (if it exists) returning the Root folder of the sub-site. Now this may already be the case, but if not I thought it might be worthwhile. That makes sense for the simple

Re: [Zope-dev] [IDEA] ZopeRoot and SiteRoot

2001-12-18 Thread Gary Poster
Hi all. The Virtual Host Folder I released currently has a lot of the features you want, and is getting a number of other ones. I think it is worth a look, but then, that's just me. It replaces the VHM. I need to specify the interface, such as it is, but ... 1) The currently released one is

Re: [Zope-dev] Re: Zope 2.4 crashes -- possible fix identified, other solutions also suggested

2001-12-18 Thread Matthew T. Kromer
Jeremy Hylton wrote: MTK == Matthew T Kromer [EMAIL PROTECTED] writes: MTK A side effect of shutting off the garbage collector is that you MTK can have some storage leaks. We're working on being able to MTK re-enable the garbage collector so that you don't exhaust MTK memory over

Re: [Zope-dev] Re: Zope 2.4 crashes -- possible fix identified, other solutions also suggested

2001-12-18 Thread Matthew T. Kromer
Leonardo Rochael Almeida wrote: On Tue, 2001-12-18 at 13:44, Matthew T. Kromer wrote: Soo... if shutting off GC extends time between crashes for some folks from every 15 minutes to 3 times a day, my advise is to shut off GC. Now I can really confirm that gc.disable() is enough to avoid the

[Zope-dev] Actually, we use a lot of Scripts (Python)

2001-12-18 Thread Leonardo Rochael Almeida
On Tue, 2001-12-18 at 14:25, Matthew T. Kromer wrote: [...] Keep in mind that the leaks you may experience are directly related to what code you run, and whether or not they introduce cycles. Some of the restricted python compiler code did/does create cycles under the assumption that

Re: [Zope-dev] disabling gc does not necessarily hide memory corruption

2001-12-18 Thread Jeremy Hylton
CM == Chris McDonough [EMAIL PROTECTED] writes: CM Ah ok... yeah, there were reportedly several leaks in the CM compiler stuff that have been fixed in CVS. I imagine that's CM what this is. Actually, I don't think the leaks haven't been fixed in CVS. It would be at best painful to try

Re: [Zope-dev] disabling gc does not necessarily hide memory corruption

2001-12-18 Thread Anthony Baxter
Jeremy Hylton wrote Actually, I don't think the leaks haven't been fixed in CVS. It would be at best painful to try and get the compiler code to work without cycle GC. I really don't want to have to do it. In that case, there should probably be a readme note or similar saying if you're

Re: [Zope-dev] disabling gc does not necessarily hide memory corruption

2001-12-18 Thread Chris McDonough
Oh, ok, sorry for the misreport. It sounds then as if we need to fix whatever is causing the memory corruption that GC trips over. I dont know that we have a real good handle on what this is. Note that in the meantime, folks who turn off gc in order to work around the issue who are having

[Zope-dev] Iteration counter

2001-12-18 Thread Jon Erickson
I need a to create a simple counter variable that will store the number of iterations by a dtml-in structure. I have yet to find a way how to do this in zope. Here is an example (in perl) of what I need to do: @bar = (sara,jane,kate); foreach $foo (@bar) { print $foo\n; $counter

Re: [Zope-dev] Iteration counter

2001-12-18 Thread Danny William Adair
On Wednesday 19 December 2001 10:11, Jon Erickson wrote: I need a to create a simple counter variable that will store the number of iterations by a dtml-in structure. I have yet to find a way how to do this in zope. Here is an example (in perl) of what I need to do: The number of iterations

Re: [Zope-dev] Iteration counter

2001-12-18 Thread Danny William Adair
I will need to use the $counter variable later on in the script. Oh sorry, forgot that one... Inside your loop, you can do: dtml-if sequence-end dtml-call REQUEST.set('counter',_['sequence-number']) /dtml-if But then again, this would only give the _total_ number of iterations that have

[Zope-dev] OpenOffice and Zope ??

2001-12-18 Thread Dirk Datzert
Hi, has anybody integrated/plans on intragration/experimented with OpenOffice and Zope ? - OpenOffice as a HTML Editor / Web-Frontend for Zope or - OpenOffice as a HelperTool in the Background (external converter for MS Office Products) of Zope Special interests in turning excel-spreadsheets

[Zope-dev] Can't access ZClass object unless superuser

2001-12-18 Thread Joshua Lanza
This must be a simple issue, but I can't get objects that I create from custom ZClasses to be visible to Anonymous. In fact they are only visible to the SuperUser. I have granted every permission I can find, and tried every possible combination with proxy roles. I have wasted almost 2 days on

RE: [Zope-dev] Can't access ZClass object unless superuser

2001-12-18 Thread Joshua Lanza
No, unfortunately, I haven't deleted any users. But thanks for responding :) The permissions settings cascade downward through the directory structure, so I would think that if I grant Anonymous every permission in every folder and every method all the way down through the ZClass definition and

RE: [Zope-dev] Can't access ZClass object unless superuser

2001-12-18 Thread Joshua Lanza
Steve rocks! It wasn't actually the Ownership, but when I looked at the object I realized that I did not expose the Ownership tab, or the Security tab for the objects that I had created from the ZClass. When I created those views, I found that the permissions for the objects were not set