Re: [Zope-dev] Traversal Barf

2001-07-11 Thread Steve Alexander
Casey Duncan wrote: seb bacon wrote: I've been getting a puzzling error. It's not reliably reproduceable. It occurs perhaps one time in four when I'm using Opera. At first, it appeared only to be related to Opera, but now I'm getting the same error in netscape. I can just hit refresh and

Re: [Zope-dev] Re: [ZPatterns] HowTo: Make an Image/File a DataSkin ???

2001-07-11 Thread Steve Alexander
Steve Spicklemire wrote: Hi Ulrich, Hmm.. can you just call DataSkin.__init__(self, id) in the File's constructor? You might need to do it like this: DataSkin.inheritedAttribute('__init__')(self, id) -- Steve Alexander ___

Re: [Zope-dev] How long below the radar?

2001-07-11 Thread Martijn Faassen
Rene Pijlman wrote: On 10 Jul 2001 08:06:42 +0200, you wrote: | How about treating some of the most critically needed Zope modules | as a community project? I agree totally. So what do you think are the most needed Zope products? Form tools! :) Uhmm. Check. Feel free to join the

[Fwd: Re: [Zope-dev] Management Interface in ZODB]

2001-07-11 Thread Tim R Ansell
Original Message Subject: Re: [Zope-dev] Management Interface in ZODB Date: Tue, 10 Jul 2001 22:29:46 +0930 From: Tim R Ansell [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Andreas Jung [EMAIL PROTECTED] References: [EMAIL PROTECTED] 036d01c10889$be6cd5f0$9865fea9@SUXLAP

Re: [Zope-dev] Traversal Barf

2001-07-11 Thread seb bacon
* Steve Alexander [EMAIL PROTECTED] [010711 07:59]: KeyError: SERVER_URL I have seen a similar traceback which was due to a bug in CopyPaste.py, to which I have submitted a patch. It had to do with a lack of an acquisition wrapper at an inopportune time. It looks as though

Re: [Zope-dev] Re: [ZPatterns] HowTo: Make an Image/File a DataSkin ???

2001-07-11 Thread Ulrich Eck
You might need to do it like this: DataSkin.inheritedAttribute('__init__')(self, id) can you give me a hint what this actually does or where it comes from (ExtensionClass.Base or Persistence...)? when do I need to use this and how is it compareable to DataSkin.__init__(self,id) or

[Zope-dev] Patching Zope Products Question

2001-07-11 Thread Ulrich Eck
Ulrich Eck wrote: I'm not shure however, what format this should be distributed .. for unix a CMF-ZPatterns-Patch would probably be best .. other plattforms do not have this .. any comments ?? Make it into a Product that patches the CMF classes at runtime. See Zope Hotfixes fot

[Zope-dev] XMLDocument Memory Leak

2001-07-11 Thread Dean Jenkins
I've found a memory leak in the XMLDocument Product by Amos at DC. I use it for storing and presenting small XML documents (30-40 lines or so) and do only simple things such as ... dtml-in getElementsByTagName('option') trtd bgcolor=#99dtml-var text_content()/td/tr /dtml-in by 'viewing'

[Zope-dev] masquerading python products as functions

2001-07-11 Thread Mick
Hi, I am trying to make a product act like an external method, or dtmlmethod. Basically I have taken the minimal product and added a __call__ function. It works fine, and can be called as a function of the object that contains it. The problem is that the minimal objects namespace is also pushed

Re: [Zope-dev] Re: [ZPatterns] HowTo: Make an Image/File a DataSkin ???

2001-07-11 Thread Phillip J. Eby
At 08:03 AM 7/11/01 +0100, Steve Alexander wrote: Steve Spicklemire wrote: Hi Ulrich, Hmm.. can you just call DataSkin.__init__(self, id) in the File's constructor? You might need to do it like this: DataSkin.inheritedAttribute('__init__')(self, id) Actually, I'm not sure you

Re: [Zope-dev] Management Interface in ZODB IT WORKS! Feed back NEEDED!

2001-07-11 Thread Tim R Ansell
Okay everything works as it should now This patch allows you to store the Zope management interfaces inside the ZODB. It does this by making the manage stuff inheritable and giving the defaults to the root of the folder (This means that the management can't be changed for the root folder -

[Zope-dev] How long below the radar?

2001-07-11 Thread jimbo
Hold that thought. In order to fully answer the question I have to ask myself why I choose to use a below the radar system in the first place. I'ts said that nothings truly *Free* as in product advertising everything has its cost. When we look at the *cost* compared to other systems

Re: [Zope-dev] Traversal Barf

2001-07-11 Thread Casey Duncan
seb bacon wrote: * Steve Alexander [EMAIL PROTECTED] [010711 07:59]: KeyError: SERVER_URL I have seen a similar traceback which was due to a bug in CopyPaste.py, to which I have submitted a patch. It had to do with a lack of an acquisition wrapper at an inopportune time. It looks

Re: [Zope-dev] Traversal Barf

2001-07-11 Thread Casey Duncan
seb bacon wrote: OK, I've found out some more stuff about the problem. Of course, it wasn't really random. The culprit is a linked stylesheet. Every time I alter the sheet in some way, I get the SERVER_URL KeyError. Good, at least we know *when* it happens. I can't really see why this

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

2001-07-11 Thread Casey Duncan
Mick wrote: Hi, I am trying to make a product act like an external method, or dtmlmethod. Basically I have taken the minimal product and added a __call__ function. It works fine, and can be called as a function of the object that contains it. The problem is that the minimal objects

Re: [Zope-dev] ZODBCA for Python 2.1

2001-07-11 Thread Matthew T. Kromer
Andy McKay wrote: Since the source of ZODBCA is not available could someone in DC compile this for Python 2.1 / Zope 2.4? Or make the source available? Pretty please :) http://www.zope.org/Products/DA/ZODBCDA Thanks. -- Andy McKay. Hey, AFAIK the src directory inside the ZODBCDA

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

2001-07-11 Thread Ulrich Eck
can I do this with: -- import Products.CMFCore.PortalContent define myclass here InitializeClass(myclass) Products.CMFCore.PortalContent.PortalContent = myclass -- ok this works but there is another tricky thing now ... I need to patch two products: CMFCore and CMFDefault. first i

Re: [Zope-dev] ZODBCA for Python 2.1

2001-07-11 Thread Andy McKay
Hey, AFAIK the src directory inside the ZODBCDA tarball is the source; I spent a few moments and rebuilt the SQL.PYD file for Python2.1. The replacement SQL.PYD file is at Doh! Thanks mate. Thanks for rebuilding it, visual studio did a quick barf when I tried it. We'll be putting this

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

2001-07-11 Thread R. David Murray
On Wed, 11 Jul 2001, Ulrich Eck wrote: the CMFDefault.Document for example is still subclassed from CMFCore.PortalContent (the default) and therefore doesn't behave like a dataskin .. any ideas ? You can hotpatch the __bases__ attribute of the derived class. --RDM

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

2001-07-11 Thread marc lindahl
Would this approach be appropriate? http://dev.zope.org/Members/Caseman/Dynamic_HotFix_News/Dynamic_Hotfix From: Ulrich Eck [EMAIL PROTECTED] Date: Wed, 11 Jul 2001 19:33:15 +0200 To: ZOPE-DEV Mailingliste [EMAIL PROTECTED] Subject: [Zope-dev] Patching Zope Products .. next Question can

[Zope-dev] How long below the radar?

2001-07-11 Thread jimbo
Case in point. I'm at my local technical college library looking for material. No books on UML or Python. Ok fine they don't teach either one. They don't plan on carring a copy of the Zope book when it comes out. btw wondering when do the people that won *free* copies get theirs. I should

[Zope-dev] guid

2001-07-11 Thread Mark McEahern
Hi, does Python or Zope have native facilities (i.e., not depending on CoCreateGuid()) for generating guids? If not, what do folks generally use to generate globally unique identifiers? Thanks, // mark ___ Zope-Dev maillist - [EMAIL PROTECTED]

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

2001-07-11 Thread Lalo Martins
On Wed, Jul 11, 2001 at 11:38:20PM +1200, Mick wrote: Hi, I am trying to make a product act like an external method, or dtmlmethod. Basically I have taken the minimal product and added a __call__ function. It works fine, and can be called as a function of the object that contains it. The

[Zope-dev] Help !!!

2001-07-11 Thread atul dedhia
Hi, I'm a student, doing my Masters in Clinet/Server Computing. I was interested in Content Server stuff, thats why I decided to do my master project on Content Server. I was going through the web, and found Zope Application server, and decided to work on it.Right now Zope works with any web

RE: [Zope-dev] Help !!!

2001-07-11 Thread Mark McEahern
One of the links on that page ends in -src.tgz. That's the source to Zope. Cheers, // mark -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of atul dedhiaSent: Wednesday, July 11, 2001 10:34 PMTo: [EMAIL PROTECTED]Subject: [Zope-dev] Help !!! Hi,