[Zope-dev] PersistentMapping

2001-07-12 Thread Erik Enge
Hi, I'm trying to use PersistentMapping instead of a regular mapping object, but I'm running into some problems. When I add and remove stuff from the mapping it sometimes fail or removes the wrong thing. Do I need adapt my code to it, or should it be straight forward? ___

Re: [Zope-dev] problems compiling zope-2.3.3 source under YDL 2.0

2001-07-12 Thread marc lindahl
That was it... neglected to install glibc-devel If anyone wants it, I guess I can gzip the build up... THanks Andreas!!! Marc > From: "Andreas Jung" <[EMAIL PROTECTED]> > Organization: Andreas Jung > Reply-To: "Andreas Jung" <[EMAIL PROTECTED]> > Date: Thu, 12 Jul 2001 15:30:51 -0500 > To: "m

Re: [Zope-dev] problems compiling zope-2.3.3 source under YDL 2.0

2001-07-12 Thread Andreas Jung
/usr/include/python1.5/mymalloc.h:57: stdlib.h: No such file or directory ^^^ Looks like your compiler installation is broken or you don't have any header files installed. Please check if you can find the file 'stdlib.h' som

[Zope-dev] problems compiling zope-2.3.3 source under YDL 2.0

2001-07-12 Thread marc lindahl
I'm having problems compiling the Zope source under Yellow Dog Linux (PPC) 2.0 (which is basically RedHat 7.0) can anyone offer a suggestion based on the traceback? here 'tis: [zope@ydl Zope-2.3.3]$ python wo_pcgi.py

Re: [Zope-dev] Curiously Zope Hanging

2001-07-12 Thread Dieter Maurer
Steve Spicklemire writes: > What OS? I've had lots of trouble with Postgres and threads on FreeBSD. Have > you tried starting Zope with '-D' to see if threads are an issue? Maybe in the stone age "-D" had disabled threading. All Zope versions I know of (from 2.1.6 on) were multi-threaded e

Re: [Zope-dev] Traversal Barf

2001-07-12 Thread seb bacon
* Casey Duncan <[EMAIL PROTECTED]> [010711 16:22]: > > I haven't the time time to pursue this right now, but I'll attempt to > > make a simple, reproduceable example and submit it to the Tracker. > > But just in case I get time to debug it, where might I start? I'm not > > very familiar with th

Re: [Zope-dev] Curiously Zope Hanging

2001-07-12 Thread Steve Spicklemire
Sorry.. got distracted and forgot where I was! > > I think I get the basic picture... but I think maybe we need more details of your system to be of any more help.. -steve > > > > as > > > > Steve Spicklemire schrieb: > > > > > Well, the good news is you have a reproducable symptom! > > > >

RE: [Zope-dev] Curiously Zope Hanging

2001-07-12 Thread Paul Zwarts
Ah, the common paradigm. someone TOLD me that smoking cigarettes wiht ceral and milk will make me barf, and I can assume that to be so. But when i do indeed barf, do I come satisfied with that or now question if that it had to do with te spoon or the bowl? Paz -Original Message- From: [

Re: [Zope-dev] Curiously Zope Hanging

2001-07-12 Thread Andre Schubert
No, the problem is not reproduceable, because if move the timespan 5 minutes earlier then Zope crashes. And thats the problem. If have a select which selects data of a given timespan. The number of rows is equal, but the start and end is changing. The queries itself are running withoput problems

RE: [Zope-dev] Curiously Zope Hanging

2001-07-12 Thread Paul Zwarts
Yes, thanks for mentioning that Frederico. I _should_ have said thats what I used in PoPy. I dont use it anymore with your product. : ), but that doesnt mean I'm any wiser for this. But *magic* is a highly used term in programming these days, so I'm not worried too much. At least I dont have unha

Re: [Zope-dev] Curiously Zope Hanging

2001-07-12 Thread Steve Spicklemire
Hi Andre, Andre Schubert wrote: > > No, the problem is not reproduceable, because if move the timespan 5 minutes earlier >then > Zope crashes. And thats the problem. Hmm.. my point was only that if you can *predict* correctly when Zope will hang.. then it is at least 'reproducable'. > If i c

RE: [Zope-dev] Curiously Zope Hanging

2001-07-12 Thread Federico Di Gregorio
On 12 Jul 2001 15:20:16 +0200, Paul Zwarts wrote: > I've had this problem as well, although I changed from ZPopPy to > psycopg0.99.4 which solved the problem. What I found in REdhat Linux 7.1, > where the ps -ef command now queries more info from its children, I finally > saw the status of my dbms

Re: [Zope-dev] Curiously Zope Hanging

2001-07-12 Thread Steve Spicklemire
Well, the good news is you have a reproducable symptom! Some suggestions: 1) Try the quer(y/ies) that cause the hang separately to make sure they return OK. 2) Create a Python script/Tiny table/Gadfly query that returns data that looks just like the result of your postgresql query to test the

RE: [Zope-dev] Curiously Zope Hanging

2001-07-12 Thread Paul Zwarts
I've had this problem as well, although I changed from ZPopPy to psycopg0.99.4 which solved the problem. What I found in REdhat Linux 7.1, where the ps -ef command now queries more info from its children, I finally saw the status of my dbms threads. The Zope hanging maybe wasnt zope directly. It s

Re: [Zope-dev] Patching Zope Products .. again

2001-07-12 Thread Ulrich Eck
sorry for bothering you again .. I'ld like to release the CMFZPatternsPatch as Patch but still have troubles with that. I have this in my __init__.py of the PatchProduct: ### CMFCore.PortalFolder ### import Products.CMFCore.DynamicType

RE: [Zope-dev] masquerading python products as functions

2001-07-12 Thread Mick
Thanks for all the pointers. I found the thread that Dieter was mentioning and it was very good. Interesting to follow Chris's process of enlightenment, just what I needed. This Python script solution below looks interesting too, so I must follow that up. Toby Dickenson's wrapper is very nice

Re: [Zope-dev] Curiously Zope Hanging

2001-07-12 Thread Andre Schubert
Hi Steve, Immunix Redhat 6.2 Zope 2.3.3 Postgres 7.1.2 I'am running Zope with -M -D and with Stupid_log_file. But i don't find a problem. When Zope hangs, then there is one Thread Running and if i trace this Thread nothing happens. as Steve Spicklemire schrieb: > Hi Andre, > > What OS

Re: [Zope-dev] Patching Zope Products .. next Question

2001-07-12 Thread Ulrich Eck
> Would this approach be appropriate? > > http://dev.zope.org/Members/Caseman/Dynamic_HotFix_News/Dynamic_Hotfix > > > You can hotpatch the __bases__ attribute of the derived class. > > ok .. I tried several different versions of patching .. 1st Try: Created a new class in the patch that subc

Re: [Zope-dev] Curiously Zope Hanging

2001-07-12 Thread Steve Spicklemire
Hi Andre, What OS? I've had lots of trouble with Postgres and threads on FreeBSD. Have you tried starting Zope with '-D' to see if threads are an issue? -steve Andre Schubert wrote: > > Hi all, > > I have a problem with my Zope, he hangs unexpectly if i view a special > Method which

[Zope-dev] Curiously Zope Hanging

2001-07-12 Thread Andre Schubert
Hi all, I have a problem with my Zope, he hangs unexpectly if i view a special Method which generates Diagrams with data from a PostgresDB. The data are selected by a timespan( default is 24 Hours ). The Method works as descripted bellow: First when i call foo, then the HTML-Code is rendered wit