Re: [Zope-dev] Re: Problems with Transparent Folder and Zope 2.3.3

2001-06-25 Thread Chris Withers
Shane Hathaway wrote: > > Well, if the getattr function in TransparentFolderPatch were in C, I > think it would be fast enough. Cool :-) > Again, it doesn't allow layers from outside the portal_skins tool because > of security considerations, not performance considerations. Erm... I know I'm b

RE: [Zope-dev] Speed up the learning curve

2001-06-25 Thread Rene Pijlman
[Clear error message when method in Python-based product has no doc string] > Doesn't it do precisely this when you run Zope in debug mode? I don't know, you may be right. I'll look into that. Thanks. But still, catching errors is not the same as debugging. I think Zope will be user friendlier w

Re: [Zope-dev] Re: [Zope-dev]ZPL and GPL licensing issues

2001-06-25 Thread ender
On Saturday 23 June 2001 11:20, Erik Enge wrote: >>[Simon Michael] >> >>| Now you're talking. Seconded. >> >>Me too! i'd very much like to see a GPL compatible zope license as well, both for products i create and to integrate with third party gpl products. would a petition be useful? kapil

Re: [Zope-dev] Re: [Zope-dev]ZPL and GPL licensing issues

2001-06-25 Thread Gregor Hoffleit
On Sun, Jun 24, 2001 at 07:49:40PM -0700, ender wrote: > On Saturday 23 June 2001 11:20, Erik Enge wrote: > >>[Simon Michael] > >> > >>| Now you're talking. Seconded. > >> > >>Me too! > > i'd very much like to see a GPL compatible zope license as well, both for > products i create and to integra

Re: [Zope-dev] Re: Problems with Transparent Folder and Zope 2.3.3

2001-06-25 Thread Shane Hathaway
On Monday 25 June 2001 04:47, Chris Withers wrote: > Shane Hathaway wrote: > > Again, it doesn't allow layers from outside the portal_skins tool > > because of security considerations, not performance considerations. > > Erm... I know I'm being dense, but coudl you explain these again? That's alr

[Zope-dev] ZPL and GPL

2001-06-25 Thread Shane Hathaway
According to management, there's a zope-license list somewhere and we expect to move to a GPL compatible license. Paul says: "I think the goal should be for Zope and Python to converge on the same license, with perhaps the new license being some off-the-shelf license like Apache's." Shane _

Re: [Zope-dev] ZPL and GPL

2001-06-25 Thread Jerome Alet
On Mon, 25 Jun 2001, Shane Hathaway wrote: > According to management, there's a zope-license list somewhere and we > expect to move to a GPL compatible license. Paul says: > > "I think the goal should be for Zope and Python to converge on the same > license, with perhaps the new license being so

[Zope-dev] 2.4 b1 binary doesn't run on win2k

2001-06-25 Thread [EMAIL PROTECTED]
hello to all i posted this on zope this morning and it appears that i'm not the only one with this problem, so i thought - give it a try at zope-dev: zope 2.4b1 doesnt start in manual mode from the cmd prompt - it exits without any output its no problem with ports or other zopes, because in su

[Zope-dev] dtml method question

2001-06-25 Thread Simon Michael
Context: I am within a python expression in a DTML Method being called on a ZWiki Page, eg via http://zwiki.org/FrontPage/method. "this" seems to refer to the method. How do I get a reference to the zwiki page ? Tips greatly appreciated. -Simon ___ Zo

Re: [Zope-dev] 2.4 b1 binary doesn't run on win2k

2001-06-25 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote: > hello to all > > i posted this on zope this morning and it appears that i'm not the > only one with this problem, so i thought - give it a try at zope-dev: > > zope 2.4b1 doesnt start in manual mode from the cmd prompt - it exits > without a

[Zope-dev] getattr for non-Folderish item

2001-06-25 Thread Johnson, Michael (MIJOHNSO)
When using getattr to obtain a dtml file, etc from a newly formed product, I am able to get the appropriate Zope object and use it. However, I am trying to abstract my class, and when I do, the getattr() function does not work properly. Here's some info: 1) it is not a folderish item 2) the ab

[Zope-dev] Re: ZPL and GPL

2001-06-25 Thread Fred Wilson Horch
Hi Shane, You wrote: > According to management, there's a zope-license list somewhere and we > expect to move to a GPL compatible license. Good news! When you get a chance, can you post the name of the zope-license list to zope-dev? I think there a few developers who are interested in licensin

Re: [Zope-dev] MountedFileStorage : absolute_path return / instead of mounted poing

2001-06-25 Thread Hannu Krosing
Sin Hang Kin wrote: > > I was playing with MountedFileStorage, and found that the absolute_path used > in breadcrumb is returning the / instead of the mounted point. Can somebody > give it a patch? > > Moreover, Can I mounted a Bsddbstorage with it? > Thats what Chris McDonough <[EMAIL PROTECT

Re: [Zope-dev] Speed up the learning curve

2001-06-25 Thread R. David Murray
On Sun, 24 Jun 2001, Dieter Maurer wrote: > Rene Pijlman writes: > > A suggestion to cut the Zope learning curve down by half a day... > > > > When the programmer forgets the docstring in a method of a Python-based > > product, instead of saying > > > >"Sorry, the requested resource do

Re: [Zope] Re: [Zope-dev] Zcatalog bloat problem (berkeleydb is a solution?)

2001-06-25 Thread Chris Withers
Chris McDonough wrote: > > This purpose aligns well with those of the ArmoredCatalog proposal as well.. > see http://dev.zope.org/Wikis/DevSite/Proposals/ArmoredCatalog . > > > But even using such a "lazy catalog awareness", you might get into > > trouble. Using the ZCatalog's "find objects" fun

Re: [Zope-dev] Zcatalog bloat problem (berkeleydb is a solution?)

2001-06-25 Thread abel deuring
Chris McDonough wrote: > > > A solution might be a kind of "lazy catalog awareness": Instead of > > mangling a new object through one or more catalogs when it is created, > > this object could be added to a list of objects to be cataloged later. > > This way, the transaction to insert a new objec

[Zope-dev] DCOracle2 and SP problem

2001-06-25 Thread Coi Giovanni
The situation: - Oracle 8.1.7 installed on a machine (excalibur) running SuSE Linux 7.0 (i386) - Kernel 2.2.16 (2). - Zope Version: Zope 2.3.3 (binary release, python 1.5.2, win32-x86) Python Version: 1.5.2 (#0, Jul 30 1999, 09:52:18) [MSC 32 bit (Intel)] System Platform: win32 installed on Wi

Re: [Zope] Re: [Zope-dev] Zcatalog bloat problem (berkeleydb is a solution?)

2001-06-25 Thread Chris McDonough
> Chris McDonough wrote: > > > > This purpose aligns well with those of the ArmoredCatalog proposal as well.. > > see http://dev.zope.org/Wikis/DevSite/Proposals/ArmoredCatalog . > > > > > But even using such a "lazy catalog awareness", you might get into > > > trouble. Using the ZCatalog's "find

Re: [Zope-dev] ZPL and GPL

2001-06-25 Thread R.
On 25 Jun 2001 10:26:10 -0400, Shane Hathaway wrote: > According to management, there's a zope-license list somewhere and we > expect to move to a GPL compatible license. Paul says: > > "I think the goal should be for Zope and Python to converge on the same > license, with perhaps the new license

Re: [Zope-dev] ZPL and GPL

2001-06-25 Thread Jerome Alet
On Mon, Jun 25, 2001 at 12:22:32PM -0700, Michael R. Bernstein wrote: > > Other than keeping the door open for this eventuality, is there any > other reason to choose a BSD style license over the GPL? > ... > Unless I've misunderstood something (which is certainly possible), DC > doesn't seem to

[Zope-dev] RFC: How-To on subclassing Shared.DC.Scripts.Script.Script

2001-06-25 Thread Lalo Martins
I'm thinking here that subclassing Script is the way to go for any object that needs finer control on how it is called - and I'll say that of any class that doesn't just do index_html = HTMLFile(foo, globals()) So, I wrote a How-To. It's definitely not ready for prime-time, as I haven't actual

[Zope-dev] Re: Zcatalog bloat problem (berkeleydb is a solution?)

2001-06-25 Thread Erik Enge
(I removed <[EMAIL PROTECTED]>.) On Mon, 25 Jun 2001, Giovanni Maruzzelli wrote: > Any hints on how to manage something like? We use both textindexes, > fieldindexes, and keywordsindexes (textindex on string properties, > fieldindexes on boolean and datetime, keywordindex on strings). Maybe > on

Re: [Zope-dev] ZPL and GPL

2001-06-25 Thread Erik Enge
On 25 Jun 2001, Michael R. Bernstein wrote: > Other than keeping the door open for this eventuality, is there any > other reason to choose a BSD style license over the GPL? Yes. A commercial one; an imperative one. If I make a Zope Python Product, I must license it as GPL to be able to redistr

Re: [Zope-dev] ZPL and GPL

2001-06-25 Thread Erik Enge
On Mon, 25 Jun 2001, Shane Hathaway wrote: > (Paul says:) "I think the goal should be for Zope and Python to > converge on the same license, with perhaps the new license being some > off-the-shelf license like Apache's." Wow, lobbying the management team at DC is pretty easy ;-). It's good to s

[Zope-dev] Re: Zcatalog bloat problem (berkeleydb is a solution?)

2001-06-25 Thread Chris McDonough
Part of the problem here is that if, in particular, you use the reindex_object method of CatalogAware, the database will grow unnecessarily even if the object hasn't changed. CatalogAware is arguably broken and should really not be used. I'd like to have the time to fix it, but fixing it implies

Re: [Zope-dev] ZClass not in a Product

2001-06-25 Thread Joachim Werner
> Maybe you search "python.org" for Guido's metaclasses article. > It tells that a Python class can be both a class and an instance > and that this view has interesting applications. > > You focus on the class aspects of a ZClass (a pattern for creating > instances providing them with basic common

Re: [Zope-dev] ZPL and GPL

2001-06-25 Thread Richard Jones
On Tue, 26 Jun 2001 05:22, Michael "R." Bernstein wrote: > On 25 Jun 2001 10:26:10 -0400, Shane Hathaway wrote: > > According to management, there's a zope-license list somewhere and we > > expect to move to a GPL compatible license. Paul says: > > > > "I think the goal should be for Zope and Pyth

Re: [Zope-dev] RFC: How-To on subclassing Shared.DC.Scripts.Script.Script

2001-06-25 Thread Stephan Richter
>It is at http://www.zope.org/Members/lalo/scriptclass-dev now; >this is a ZWikiPage, so you can comment right there. The "real" >address will be http://www.zope.org/Members/lalo/scriptclass >when it's ready. Mmmh, after reading the how-to (quickly), I do understand for what you are using Scrip

Re: [Zope-dev] ZPL and GPL

2001-06-25 Thread Anthony Baxter
>>> Jerome Alet wrote > I personnally would love to see both Python and Zope be GPLed. Why? No really. Exactly what do you gain from this? Assuming Zope's license becomes GPL compatible, any packages you release you can choose to GPL. Why do you think having the GPL is a good thing for the core

Re: [Zope-dev] ZPL and GPL

2001-06-25 Thread Anthony Baxter
>>> Michael "R." Bernstein wrote > Unless I've misunderstood something (which is certainly possible), DC > doesn't seem to have anything to lose by switching from a BSD style > license to the GPL (or a GPL style license with an additional optional > attribution clause), and quite a bit to gain.

Re: [Zope-dev] RFC: How-To on subclassing Shared.DC.Scripts.Script.Script

2001-06-25 Thread Lalo Martins
On Mon, Jun 25, 2001 at 06:36:30PM -0500, Stephan Richter wrote: > > But when I started reading it, I wanted to learn more of how I could > implement a new scripting language into Zope, such as a ZOQL (as mentioned > on the SmartObjects mailing list: > http://imail.iuveno-net.de/pipermail/smar

Re: [Zope-dev] getattr for non-Folderish item

2001-06-25 Thread Dieter Maurer
Johnson, Michael (MIJOHNSO) writes: > ... "getattr" does not work for attributes of inherited ZClasses ... "getattr" does no special things for folderish items. It simply accesses the attributes of an object in case, you can not use the attribute access syntax object.attribute because eith

[Zope-dev] Zcatalog bloat problem (berkeleydb is a solution?)

2001-06-25 Thread Giovanni Maruzzelli
Hello Zopistas, we are developing a Zope 2.3.3 (py 1.5.2) application that will add, index and reindex some tens of thousands objects (Zclass that are DTMLDocument on steroids) on some twenty properties each day, while the absolute number of objects cataloged keeps growing (think at content manag

Re: [Zope-dev] Zcatalog bloat problem (berkeleydb is a solution?)

2001-06-25 Thread abel deuring
Giovanni Maruzzelli wrote: > > Hello Zopistas, > > we are developing a Zope 2.3.3 (py 1.5.2) application that will add, index > and reindex some tens of thousands > objects (Zclass that are DTMLDocument on steroids) on some twenty properties > each day, while > the absolute number of objects cat

Re: [Zope-dev] Zcatalog bloat problem (berkeleydb is a solution?)

2001-06-25 Thread Chris McDonough
> A solution might be a kind of "lazy catalog awareness": Instead of > mangling a new object through one or more catalogs when it is created, > this object could be added to a list of objects to be cataloged later. > This way, the transaction to insert a new object would become much > "cheaper". I

[Zope-dev] Re: Zcatalog bloat problem (berkeleydb is a solution?)

2001-06-25 Thread Barry A. Warsaw
> "GM" == Giovanni Maruzzelli <[EMAIL PROTECTED]> writes: GM> We are almost decided to switch to berkeleydb storage (the GM> Minimal one) to get rid of the bloating, we are testing with GM> it, but it seems to be discontinued because of a lack of GM> requests. GM> Any li