[Zope] [BUG] calling a constructor crashes Zope

2000-12-25 Thread Andreas Jung
While developing a product I encountered the following fatal problem. I added a stupid class declaration to my product: class AJFile: def __init__(self): self.d = {} Inside a function of the product I call "AJF = AJFile()". Zope/Python call __init__() but crashes before the initialisati

[Zope] Var Problem

2000-12-25 Thread Ben Ocean
Hi; Real basic newbie question here. I've got this dtml: They're both images in the *Images* file (I'm using PTK). Now, *header* shows up just fine. *bar* gets a KeyError. If I change the name of *header* it chokes, too. What gives? TIA, BenO P.S. All the CSS is written in the standard_html_he

Re: [Zope] [BUG] calling a constructor crashes Zope

2000-12-25 Thread Andreas Jung
On Mon, Dec 25, 2000 at 11:18:23AM -0500, Steve Spicklemire wrote: > > Hi Andreas, > >You might try this: Start Zope in debug mode (./start -D ). Then in your >__init__... > > class AJFile: > def __init__(self): > import pdb > pdb.set_trace() > self.d = {} > > > Zope wil

Re: [Zope] [BUG] calling a constructor crashes Zope

2000-12-25 Thread Steve Spicklemire
Hi Andreas, You might try this: Start Zope in debug mode (./start -D ). Then in your __init__... class AJFile: def __init__(self): import pdb pdb.set_trace() self.d = {} Zope will stop in the debugger. Step through with the debugger and see where things are going south

Re: [Zope] [BUG] calling a constructor crashes Zope

2000-12-25 Thread Steve Spicklemire
Hi Andreas, I would be really surprised if this were a python problem. Are you using any other extensions with your product? Can you post a more complete set of code that shows how this constructor is really called? It sounds like the heap is getting corrupted somehow, maybe a bad Py_DECREF?

[Zope] ÁÅÑÏËÀÒÍÀß ÄÎÑÒÀÂÊÀ ÍÎÓÒÁÓÊÎÂ, ÌÓËÜÒÈÌÅÄÈÀ-ÏÐÎÅÊÒÎÐÎÂ, ÎÁÎÐÓÄÎÂÀÍÈß CISCO

2000-12-25 Thread kr2
Title: ÁÅÑÏËÀÒÍÀß ÄÎÑÒÀÂÊÀ ÍÎÓÒÁÓÊÎÂ, ÌÓËÜÒÈÌÅÄÈÀ-ÏÐÎÅÊÒÎÐÎÂ, ÎÁÎÐÓÄÎÂÀÍÈß CISCO Ïðåäëàãàåì áåñïëàòíóþ äîñòàâêó äî îôèñà â ëþáîì ãîðîäå Ðîññèè è ÑÍÃ íîóòáóêîâ, ìóëüòèìåäèà-ïðîåêòîðîâ, ñåòåâîãî îáîðóäîâàíèÿ CISCO. Öåíû ñíèæåíû ïåðåä Íîâûì ãîäîì. Ïîäðîáíîñòè çäåñü. òåë. (095) 392