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

2002-03-12 Thread Dario Lopez-Kästen
hm... i am now suffering from core dumps every 2-30 minutes... anyone has gotten any further with tracking these down? /dario - Dario Lopez-Kästen Systems Developer Chalmers Univ. of Technology [EMAIL PROTECTED] ICQ

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

2002-03-12 Thread Matthew T. Kromer
what happens when you run single threaded? what happens when you do import.gc gc.disable() in z2.py? On Tuesday, March 12, 2002, at 08:18 AM, Dario Lopez-Kästen wrote: hm... i am now suffering from core dumps every 2-30 minutes... anyone has gotten any further with tracking these down?

[Zope-dev] Putting a list of objects into the current namespace (or something)

2002-03-12 Thread Max M
I am trying to create a virtual folder. It should get a list of objects from somewhere else ie. a Catalog query and then act as if the objects exists in that folder. If the objects existed in this structure: / Members/ member1/ doc1 doc2 member2/

Re: [Zope-dev] variables in zope (beginner question)

2002-03-12 Thread R. David Murray
On Mon, 11 Mar 2002, Mike Guerrero wrote: I the code below I want to be declare a variable 'tot_net_amt' and add 'net_amt' to it for each record returned. How can I: 1) declare the variable 2) add to it within the loop. Thanks. Is it in the Zope book? I'll read some more tonight. This

Re: [Zope-dev] Putting a list of objects into the current namespace(or something)

2002-03-12 Thread Leonardo Rochael Almeida
Look for the PathHandler product on zope.org: http://www.zope.org/Members/NIP/PathHandler or the AccessRule symlink recipe in zopelabs.com: http://www.zopelabs.com/cookbook/1003844578 Also, if you acces an URL that 'walks thru' a PythonScript, say:

[Zope-dev] Memory Leak Problem

2002-03-12 Thread Andre Schubert
Hi all, i have a little problem with my production server. The memory usage of the zope processes running on this server are growing up 100K a day upto 1MB a day. How can i track down the problem. Zope is 2.3.3 Python is 1.5.2 OS is RedHat Immunix 6.2 Hope somebody could help... Thanks, --

Re: [Zope-dev] Putting a list of objects into the current namespace (or something)

2002-03-12 Thread Max M
Leonardo Rochael Almeida wrote: Look for the PathHandler product on zope.org: http://www.zope.org/Members/NIP/PathHandler or the AccessRule symlink recipe in zopelabs.com: http://www.zopelabs.com/cookbook/1003844578 Also, if you acces an URL that 'walks thru' a PythonScript, say:

Re: [Zope-dev] Putting a list of objects into the current namespace (or something)

2002-03-12 Thread Gary Poster
From: Max M [EMAIL PROTECTED] I am just pretty unshure about this approach though, so I am fishing for anything like it. The closest thing I have found was in the Transparent Folder product. The Alias element of my Virtual Host Folder does something similar as well. I can tell you that this

Re: [Zope-dev] Memory Leak Problem

2002-03-12 Thread Chris McDonough
Finding memory leaks is an exercise in binary search. Isolate half of the Zope (and Product) code and find out if it leaks. If it doesn't, you know the problem is in the other half. ;-) Ad infinitum. I'm sorry this is the case, but it almost always boils down to this particular recipe of

[Zope-dev] Zope 2.5: allow_type

2002-03-12 Thread Yves Bastide
Hi, There seems to be a bug in either AccessControl.SimpleObjectPolicies.allow_type or Products.PythonScripts.module_access_examples.py, as module_access_examples's examples such as allow_type(type(re.compile(''))) dont work. Knowing neither Python nor Zope, I patched allow_type like this:

Re: [Zope-dev] Memory Leak Problem

2002-03-12 Thread Oliver Bleutgen
Hi all, i have a little problem with my production server. The memory usage of the zope processes running on this server are growing up 100K a day upto 1MB a day. How can i track down the problem. [snip] Chris McDonough wrote: Finding memory leaks is an exercise in binary search.

Re: [Zope-dev] Underscore trouble.

2002-03-12 Thread kapil thangavelu
rename your columns in the select statement, this question belongs on [EMAIL PROTECTED] -kapil On Tuesday 12 March 2002 03:23 am, Romain Slootmaekers wrote: Yo, We have to connect to an existing database from zope. In this database, some of the fieldnames start with an underscore (fi

Re: [Zope-dev] Zope 2.6 project updated

2002-03-12 Thread Gary Poster
Hi. 1) If the projects for which I have volunteered are accepted as a goal for Zope 2.6 then I have some work cut out for me, and I'd like to try to schedule the necessary time intelligently and early. Any ideas on when the grocery list will be evaluated? 2) If we had a brief Zope 2.6 style

[Zope-dev] Moving forward on Zope 2.6

2002-03-12 Thread Brian Lloyd
Hi all - 1) If the projects for which I have volunteered are accepted as a goal for Zope 2.6 then I have some work cut out for me, and I'd like to try to schedule the necessary time intelligently and early. Any ideas on when the grocery list will be evaluated? I think that this needs to

Re: [Zope-dev] Memory Leak Problem

2002-03-12 Thread Chris McDonough
A question and one remark. Wouldn't staring at the refcounts in the debug panel also give some info? At least for selfmade products? Maybe... depends on your level of Zope Zen. It's hard to tell which classes should and should not have high refcounts. For example, in your sample output, I

[Zope-dev] more on the segfault saga

2002-03-12 Thread Leonardo Rochael Almeida
narrator voice=koshAnd so it continues.../narrator I've finally recompiled all pythonScripts (all scripts and ZCatalog tricks I tried before didn't know how to get the PythonScripts inside the ZClasses. BTW, if anyone is interested, I can send you the scripts I used to recompile all

[Zope-dev] Net-Pa Ýnternet :)

2002-03-12 Thread 2 Free Books ! (Totally)
Title: Merhaba arkadaþlar Hello ! I'm sure you read books and you love to read them. If you enjoy reading books I have got a wonderful offer for you. A US based firm (E-Harlequin) offers us 2 free -world classic- books just for nothing !. What we bring

Re: [Zope-dev] Memory Leak Problem

2002-03-12 Thread Andre Schubert
Andy McKay schrieb: Didnt Shane do a leak finder product that can help debug this? http://www.zope.org/Members/hathawsh I will install the LeakFinder product on the server and look what happens On March 12, 2002 08:42 am, Chris McDonough wrote: Finding memory leaks is an exercise

Re: [Zope-dev] Memory Leak Problem

2002-03-12 Thread Andre Schubert
Oliver Bleutgen schrieb: Hi all, i have a little problem with my production server. The memory usage of the zope processes running on this server are growing up 100K a day upto 1MB a day. How can i track down the problem. [snip] Chris McDonough wrote: Finding memory leaks