Re: [Zope-dev] Distributed ZODB-Transactions

2000-05-18 Thread Shane Hathaway
Heine Gregor wrote: I want to write an Product that mirrors every ZODB-Transaction to a Backup-Server. The idea was to trap every transaction (i.e. creation, change, deletion of zope-objects) and transfer a copy of the object to another server (via XML-RPC?!?) after the transaction got

Re: [Zope-dev] Zope 2.1.6 Memory issue

2000-05-22 Thread Shane Hathaway
Jason, Try /Control_Panel/manage_debug ... it will tell you exactly which kinds of objects are eating memory. Take a "snapshot" then refresh the page after a couple of minutes, and the table should list at the top the name of the class that's taking up more than its fair share. Shane Jason

Re: [Zope-Dev] Zope 2.1.6 Memory issue

2000-05-22 Thread Shane Hathaway
Jason Spisak wrote: After minimizing your in-memory cache, look at the manage_debug screen again. Are the refcounts still high? I bet they are... No. The ref counts drop to hundreds. That's a big relief. Okay, now we know that this isn't a memory leak, it's only related to the

Re: [Zope-dev] ZCVS Mixin class... feedback sought.

2000-05-24 Thread Shane Hathaway
Steve Spicklemire wrote: Hope that helps It's really shocking just how easy it was to do this makes me wonder why it hasn't been done already, and *that* makes me wonder if I'm doing something really dumb here. ;-) It seems kinda cool to me. I find that the same phenomenon keeps

Re: [Zope-dev] Expression syntax for sort= attribute in dtml-in .. tag.

2000-05-29 Thread Shane Hathaway
Adam Karpierz wrote: It's very, very... great news that Ross Lazarus's multikey sort patch for dtml-in tag is included in current Zope CVS and will be included in Zope 2.2. dtml in "foo" sort=akey,anotherkey But for me one important thing is very missed. Possibillity of use

Re: [Zope-dev] [announce] for the CVS junkies: multiple ZODB mounting product.

2000-06-01 Thread Shane Hathaway
Anthony Baxter wrote: I'm curious - could you elaborate on the security issues of this? The convenience of not having to write an External Method each time you want to mount or unmount a ZODB is high. :) Okay, I looked a little more and I see you're not allowing slashes in the filename.

Re: [Zope-dev] [announce] for the CVS junkies: multiple ZODB mounting product.

2000-06-01 Thread Shane Hathaway
Anthony Baxter wrote: Hm - it's not possible for a Manager in a higher level to remove privileges from a manager defined in a subfolder, I think. A pity. Will document it. My feeling is that _no_one_ should ever have the Manager role in a user folder besides the root user folder. The problem

Re: [Zope-dev] Repeating a piece of HTML code

2000-06-02 Thread Shane Hathaway
Alex Mendez wrote: Hello, it's the first time I write here and I'm a newbie at Zope, so maybe I'm asking a stupid question... Case is I retrieve from my movie database the value of the movie from 1 to 5 stars. I would like to repeat that n times the code img SRC="star.gif" height=15

[Zope-dev] Racks and Specialists Simplified

2000-06-11 Thread Shane Hathaway
Phillip, I believe I have come to understand the basics of ZPatterns and would like to be sure I understand correctly, as well as help others understand also. I like to think of a specialist as a filing clerk. A manager comes to the clerk asking for an employee's dental records. Because of

Re: [Zope-dev] Racks and Specialists Simplified

2000-06-11 Thread Shane Hathaway
"Phillip J. Eby" wrote: At 02:33 PM 6/11/00 -0600, Shane Hathaway wrote: I believe I have come to understand the basics of ZPatterns and would like to be sure I understand correctly, as well as help others understand also. Bravo! An exquisite introduction to the purpose of ZPatt

Re: [Zope-dev] package descriptions

2000-06-13 Thread Shane Hathaway
"LEE, Kwan Soo" wrote: Cool. Now it's more helpful. ... However, sorry to say, I can't read well the titles of the products. Would you make the grey lighter? I would also remove the numerous blue bars and just put them at the top and bottom of each section... but that's just me. Shane

Re: [Zope-dev] Logging for ZScheduler?

2000-06-15 Thread Shane Hathaway
"Phillip J. Eby" wrote: At 01:58 PM 6/15/00 +1000, Stuart 'Zen' Bishop wrote: Its not a problem with ZScheduler, it a problem that no one has written a plug-in logging system that is good enough for what you are trying to do. The existing zLOG API is fine (well - it could be better), but

Re: [Zope-dev] strange permission errors again

2000-06-19 Thread Shane Hathaway
Robin Becker wrote: After the latest round of CVS updates I am again getting strange requests for authorisation in unusual places. No matter that I use my admin to try and validate they still occur. (etc) Brian fixed this up before and it has crept back in somehow. Thanks for the bug

Re: [Zope-dev] Calendar tag 0.9.6 breaks with 2.2.0b3??

2000-06-28 Thread Shane Hathaway
"Dr. Ross Lazarus" wrote: The point that I find hard to understand is that namespace in DT_Util has changed from 2.1.6 as follows ===2.1.6== class namespace_: pass def namespace(self, **kw): """Create a tuple consisting of a single instance whos

Re: [Zope-dev] FWIW, ZCVSMixin now at 0.1.1... and rising. ;-)

2000-06-30 Thread Shane Hathaway
Steve Spicklemire wrote: I don't know if anyone out there is actually trying to *use* my ZCVSMixin/ZCVS Folder stuff, but if you are you certainly want to get the latest release, ZCVSMixin-0.1.1.tgz from the zope.org site: http://www.zope.org/Members/sspickle/ZCVSMixin Hi, Steve.

[Zope-dev] BTreeFolder released

2000-07-03 Thread Shane Hathaway
Zopistas, I had some inspiration today and discovered a simple way to write a BTreeFolder implementation. http://www.zope.org/Members/hathawsh/BTreeFolder/ It works better than I thought it would. It allows you to store thousands (well, I've tested it with only 1536, but I don't know of any

Re: [Zope-dev] Proposed interface: Restricted creation

2000-07-05 Thread Shane Hathaway
Itamar Shtull-Trauring wrote: I propose a Restricted Creation Interface - when an ObjectManager constructs it's Add list in manage_main, it first checks with each addable class if it's instances can be added in this specific ObjectManager. The place where this is needed most (IMHO) is for

Re: [Zope-dev] Overriding a method in an instance.

2000-07-10 Thread Shane Hathaway
Chris Withers wrote: Monty Taylor wrote: Make a folder that contains the overridden methods and call things through the context of that folder. Neat trick :-) We love acquisiton, but it won't quite do it :( The default index_html will get called, unless you put /folder/ on the end of

[Zope-dev] Re: Acquisition (was: [Zope-dev] Overriding a method in an instance.)

2000-07-10 Thread Shane Hathaway
Steve Alexander wrote: Shane Hathaway wrote: So it's mostly right-to-left, but sometimes left-to-right, and sometimes in a less than predictable order. I have an external method that makes it clearer, if you're interested. Yes please! This method, instead of showing

Re: [Zope-dev] More comments on ZPatterns

2000-07-10 Thread Shane Hathaway
"Phillip J. Eby" wrote: At 10:02 AM 7/10/00 -0400, Shane Hathaway wrote: Phillip, What if the management interface for specialists provided a way to manipulate, or at least view, the table of virtual objects (or, in ZPatterns-speak, DataSkins)? Wouldn't that make ZPat

Re: [Zope-dev] LoginManager patch considered harmful

2000-07-10 Thread Shane Hathaway
"Phillip J. Eby" wrote: At 09:22 AM 7/10/00 -0400, Shane Hathaway wrote: The new security machinery actually provides a different way to solve this problem. Since we now have an execution stack, we can limit that stack, causing an exception to be thrown rather than letting it

[Zope-dev] Re: Expanded access file (was Re: LoginManager patchconsideredharmful)consideredharmful)

2000-07-10 Thread Shane Hathaway
Jim, Phillip has an idea that could make life simpler for Zope newbies. This would be intended for the next major Zope release. "Phillip J. Eby" wrote: Well, I'm hoping you'll take a look at my Collector suggestion for a new Zope feature. :) Specifically, extending the "access" file to

Re: [Zope-dev] More comments on ZPatterns

2000-07-10 Thread Shane Hathaway
"Phillip J. Eby" wrote: http://www.zope.org/Members/hathawsh/ConfigurableInstances/ Looks pretty good. A suggestion, however. There isn't any need to do it as a patch to ObjectManager.py; you can implement this in a Product just fine. Just organize it like this: (...) Thanks for the

Re: [Zope-dev] manage_clone? (amongst others!)

2000-07-11 Thread Shane Hathaway
Chris, I'm sorry to hear about your challenges. I've had some myself. I think you're being bitten by a bug which prevented manage_clone from working in a lot of situations, but is solved in 2.2. The problem was that when a new object was placed in a container, it didn't get a _p_jar attribute

Re: [Zope-dev] External Method Missery

2000-07-12 Thread Shane Hathaway
Steve Alexander wrote: Chris Withers wrote: I have an external method called navTree (dtml-tree was too broken to fix in the time frame :( ) with a spec as follows: def navTree(self,start): It's called in some DTML as: dtml-var "nav_tree(PARENTS[-2])" which is fine, unless

Re: [Zope-dev] External Method Missery

2000-07-12 Thread Shane Hathaway
Chris Withers wrote: Shane Hathaway wrote: that last algorithm falls to pieces. The solution is to always provide the "self" argument. When calling or in the signature of your external method? If the former, then would that have to be: dtml-var "external_method(

Re: [Zope-dev] ZPatterns: BTree folder w/ customizer support

2000-07-13 Thread Shane Hathaway
Steve Alexander wrote: Or... I could alter Shane's BTree Folder product to split it into a mix-in class and a usable folder class. Would that work, I wonder? I just tried it and discovered some subtle problems with __getattr__. It could be the result of TransparentFolders, which is also

Re: [Zope-dev] ZEO and MountedStorage: Access DENIED!

2000-07-13 Thread Shane Hathaway
Bill Anderson wrote: I have been thinking, and I think I have got a good idea. So I figured I woudl toss it out for commentary. What we need now is a Mountable ZSS Product. This would be kind of a MountedStorage meets ZEO breed, where you would specify the ZSS host/port combo, and it could

Re: [Zope-dev] Redirecting from the manage interfaces.

2000-07-15 Thread Shane Hathaway
Erik Enge wrote: Hi. I've been browsing through the Zope and Zope-dev archives without finding anything related to this, please stop me if it has already been dealt with. :) technical person = someone who doesn't mind fuzzing around with the manage_main pages

Re: [Zope-dev] Multi-homed objects?

2000-07-17 Thread Shane Hathaway
Chris Withers wrote: Oleg Broytmann wrote: Hardlinks are prohibited on directories; and 5 minutes ago you said all objects are foldersih :) I'm not sure if my statement applies in this situation... ;-) Hardlinks are prohibited on directories because it'd cause infinite loops

Re: [Zope-dev] Multi-homed objects?

2000-07-17 Thread Shane Hathaway
Chris Withers wrote: Shane Hathaway wrote: This could be part of a "visitor" interface I've been pondering in the back of my mind. It would be capable of traversing, performing an arbitrary function, and never falling into a recursive trap. Cool :-) Let me know when it's

Re: [Zope-dev] The Application object

2000-07-17 Thread Shane Hathaway
Chris McDonough wrote: Sorry I wasn't clear enough. The Singleton is a design pattern from the Gang of Four book that fits this situation well. It is a class that is meant to control access to the one and only instance of a global variable. I was just using that as a frame of

Re: [Zope-dev] The Application object

2000-07-17 Thread Shane Hathaway
Chris McDonough wrote: So it's kosher then to reimport the Zope module and use app() in a constructor method, Shane? I was always afraid it would do something horrible. You certainly should not call reload(Zope), but the semantics of import are smart enough to only execute the module the

Re: [Zope-dev] The Application object

2000-07-17 Thread Shane Hathaway
"Jeff K. Hoffman" wrote: Do I need to commit or abort even if I don't make changes to the application object? The only thing I need it for is to get to the Control_Panel; I am instantiating ZClass instances in the constructor of a Python class, i.e.: class MyClass: def __init__(self,

Re: [Zope-dev] The Application object

2000-07-17 Thread Shane Hathaway
Chris McDonough wrote: So it's kosher then to reimport the Zope module and use app() in a constructor method, Shane? I was always afraid it would do something horrible. Now that I've read this again I realize what you're saying. You're right, what happens is you get two connections

Re: [Zope-dev] The Application object

2000-07-17 Thread Shane Hathaway
"Jeff K. Hoffman" wrote: All of my efforts are progressing towards one goal: How do I upgrade existing instances of a ZClass? Since I could find no __setstate__ method for ZClasses, I re-wrote the containing class as a Python class and figured I could leverage __setstate__ there,

Re: [Zope-dev] Zope crashing on

2000-07-17 Thread Shane Hathaway
Steve Alexander wrote: Zope 2.1.6 I'm using a "walk the tree" method of updating instances of a Python class, using an external method. Is there any reason that the following excerpt from an external method would cause Zope to crash shortly after it's been run on all suitable objects?

Re: [Zope-dev] The Application object

2000-07-18 Thread Shane Hathaway
Yves-Eric Martin wrote: Shane Hathaway [EMAIL PROTECTED] wrote: You *must* remember to close the connection: app._p_jar.close() This is not mentionned in the above document, so I was doing without so far, and did not run into any problem. Now that I see it, I believe

Re: [Zope-dev] Expanded access file (was Re: LoginManager patch consideredharmful)harmful)

2000-07-19 Thread Shane Hathaway
Chris Withers wrote: "Phillip J. Eby" wrote: Maybe, maybe not. I think perhaps the most compelling argument from Digital Creations' viewpoint for having an expanded "access" file might be the simplification of the setup process for customers. And it would also make it easier to:

Re: [Zope-dev] Expanded access file (was Re: LoginManagerpatch consideredharmful)harmful)

2000-07-19 Thread Shane Hathaway
"Phillip J. Eby" wrote: At 10:15 AM 7/19/00 -0400, Shane Hathaway wrote: Chris Withers wrote: "Phillip J. Eby" wrote: Maybe, maybe not. I think perhaps the most compelling argument from Digital Creations' viewpoint for having an expanded

Re: [Zope-dev] Expanded access file (was Re:LoginManagerpatch consideredharmful)harmful)

2000-07-19 Thread Shane Hathaway
"Phillip J. Eby" wrote: At 11:09 AM 7/19/00 -0400, Shane Hathaway wrote: Patch opportunity, perhaps? :) Ty and I would do it, no problem. Heck, I've been tempted to do it as a LoginManager function, since Zope doesn't pay attention to anything past the first line of t

Re: [Zope-dev] Overriding a method in an instance.

2000-07-19 Thread Shane Hathaway
Chris Withers wrote: Shane Hathaway wrote: I have an idea: the _objects attribute of ObjectManagers could include a "configurable" flag, which would tell _checkId that the object can be overridden. Shane, Is this what became the ConfigurableInstances thing at: http://ww

[Zope-dev] Re: ZCallable the Renderable Folders Patch

2000-07-19 Thread Shane Hathaway
Chris Withers wrote: Ah, so ZCallable is an inferior ZRenderable? *joke* :-) I made it 'cause it's simpler. And a memory lapse made me forget about Renderable. In fact I think ZCallable is a silly name. Actually the base class ought to be in standard Zope, not a product. And it should use

Re: [Zope-dev] Acquisition/cDocumentTemplate bug

2000-07-20 Thread Shane Hathaway
Oleg Broytmann wrote: Anyone is working on it? Should I put this into Collector or Tracker? Already there. The Zope project manager is gone for the week. Shane On Mon, 17 Jul 2000, Shane Hathaway wrote: This is an excellent bug analysis. I suggest that we create a new

Re: [Zope-dev] Zope Add-on Installation

2000-07-20 Thread Shane Hathaway
Bill Anderson wrote: Chris Withers wrote: Bill Anderson wrote: I believe he is talkin gabout the __init__ function checking to see if the .zexp has been imported, and if not, importing it for you. It's an idea I have kicked around, but haven't tried yet. IIRC, the

[Zope-dev] Namespace passing proposal

2000-07-20 Thread Shane Hathaway
Zopistas, I've added a proposal to the fishbowl. It's a relatively safe change that would simplify a certain things, but it could break existing code and I'd like to know what you think. Please comment in the Wiki. Actually, even if you don't have anything to say you might be able to learn

Re: [Zope-dev] getting request variables values

2000-07-21 Thread Shane Hathaway
Steve Alexander wrote: My question is "why was __getitem__ of HTTPRequest.py designed this way?". Is there a good reason that it filters the keys according to membership of a standard-cgi-keys list, or whether they start with 'HTTP_' ? Would there be any disadvantage to altering

Re: [Zope-dev] Incorrect Padding?

2000-07-24 Thread Shane Hathaway
Steve Alexander wrote: Chris Withers wrote: So what was causing the original error then? string.split('basic')[-1] was returning 'basic'. base64.decodestring('basic') causes an "Incorrect padding" error. base64.decodestring('basic ') causes an "Incorrect padding" error too.

Re: [Zope-dev] Use ZODB3 and ZCatalog for indexing purposes

2000-07-25 Thread Shane Hathaway
Thomas Weholt wrote: Hi, I'm wondering about using ZODB3 and ZCatalog for a CD-indexing project. The actual cd-roms will seldom change after they've been registered, and I'd like to have some sort of auto-full-text-search feature. How does ZODB3 and ZCatalog fit in this picture? I'm NOT

Re: [Zope-dev] MethodGeddon

2000-07-31 Thread Shane Hathaway
Chris Withers wrote: http://www.zope.org/Wikis/zope-dev/MethodGeddon Just been reading about this and I was wondering how is coming along... After more pondering I decided to throw out the idea for typed arguments. I was trying to solve a difficult problem with a roundabout, and in the

Re: [Zope-dev] MethodGeddon

2000-08-01 Thread Shane Hathaway
Chris Withers wrote: Shane Hathaway wrote: After more pondering I decided to throw out the idea for typed arguments. I was trying to solve a difficult problem with a roundabout, and in the end more difficult solution. I thought that's what the following proposal was all about? :S

[Zope-dev] Re: Replaceable Property question

2000-08-07 Thread Shane Hathaway
Chris Withers wrote: Will there be any access to the method/object that is being overridden from inside the one overriding it? Something like: 'self.__class__.my_method("blah")' Depends on whether the original method comes from a ZClass or product. If so, yes. But if it's a regular

Re: [Zope-dev] Server Side Trojan Issue really dead?

2000-08-07 Thread Shane Hathaway
Steve Alexander wrote: The problem with applying this principle in Zope is that the roles and permissions system is very expressive, and it is complex to know when one user has lower permissions than another. However... the zope security system could help with this. Here's an ill

Re: [Zope-dev] Re: Replaceable Property question

2000-08-07 Thread Shane Hathaway
Chris Withers wrote: Shane Hathaway wrote: Will there be any access to the method/object that is being overridden from inside the one overriding it? Something like: 'self.__class__.my_method("blah")' Depends on whether the original method comes from a ZClass

Re: [Zope-dev] Re: Replaceable Property question

2000-08-07 Thread Shane Hathaway
Chris Withers wrote: What happens if you override a method (say Squishdot.render) and then delete your overriding method? In that case the method will revert to that provided by the class. Does it depend on whether you're talking about python products or ZClasses? Nope. They will behave

Re: [Zope-dev] Re: Replaceable Property question

2000-08-07 Thread Shane Hathaway
Chris Withers wrote: Brian Lloyd wrote: So, how long before this becomes a project and gets finished? 2.2.1 would be great :-)) thanke for the great work, Chris Note that third-dot releases are bug-fix only. New features go into second-dot releases. D'oh ;-)

Re: [Zope-dev] .zexp Security Concerns

2000-08-08 Thread Shane Hathaway
Chris Withers wrote: A few people have recently been asking about the ability to import .zexp's into the FreeZope accounts NIP offers. This is something we'd like to offer but need to understand the security risks first. IIRC, the reason why import is not available straight 'through the

Re: [Zope-dev] Problems with Zap

2000-08-09 Thread Shane Hathaway
Alvaro Carneiro wrote: Apache is exiting! I must be getting tired... at first I thought I read "Apache is exciting!" :-) Shane ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

Re: [Zope-dev] Acquisition ( slightly less Confusion ;-)

2000-08-17 Thread Shane Hathaway
Chris Withers wrote: How should I got about petitioning for dtml-var anobject aq_context to become valid syntax? There's one little (okay, big) problem with this idea: aq_context strips the security context. In fact, it could be used to confuse the security machinery. Let's say I'm Joe

[Zope-dev] Re: __ac_permissions__ question

2000-08-21 Thread Shane Hathaway
Chris Withers wrote: If I define the following in an Article class (which subclasses Posting): __ac_permissions__ = Posting.__ac_permissions__ + ( ('View', ['prev_item','next_item','showSummary','desc_items'], ('Anonymous', 'Manager')), ) You don't need to concatenate the permissions

Re: [Zope-dev] Re: __ac_permissions__ question

2000-08-21 Thread Shane Hathaway
Chris Withers wrote: Okay, Posting has the following list of methods for the 'view' permission: ['date_posted','body_len','date_created','time_created','attachment','thread_path','index_html','showBody',

[Zope-dev] Re: Squishdot and Zope 2.2

2000-08-21 Thread Shane Hathaway
Chris Withers wrote: Shane Hathaway wrote: How do I do that? class Article: __ac_permissions__ = ( ('View', ('prev_item', 'next_item', 'showSummary', 'desc_items')), ) ... etc ... Globals.default__class_init__(Article) Okay, I've changed it to that now

Re: [Zope-dev] bug in CatalogAwareness?

2000-08-24 Thread Shane Hathaway
Steve Alexander wrote: In lib/python/Products/ZCatalog/CatalogAwareness.py, the method "url": def url(self, ftype=urllib.splittype, fhost=urllib.splithost): """Return a SCRIPT_NAME-based url for an object.""" if hasattr(self, 'DestinationURL') and \

[Zope-dev] New version of BTreeFolder

2000-08-28 Thread Shane Hathaway
Hi gang, This version just fixes a bug with the folder contents tab on Windows. For some reason, on Windows 95 (and perhaps other platforms) the Python interpreter behaves differently enough that if you use a class attribute from a different module and put it in your own class, you may in fact

Re: [Zope-dev] New version of BTreeFolder. Just a Newbie Question

2000-08-28 Thread Shane Hathaway
LEE Kwan Soo wrote: Oh, well, I'd bet this is a silly question. But I can not resist nor find answer by myself. Q: Why don't you BTree-fy all the subclasses of ObjectManager? Is there a reason that anyone but can a newbie see? Obviously what BTreeFolder does should be available in

Re: [Zope-dev] Transaction question

2000-08-28 Thread Shane Hathaway
Erik Enge wrote: [Shane Hathaway] | Johan Carlsson wrote: | | I just want to check if things work the way I think (hope) it does. | | In a transaction, are objects attributes safe from other threads. | | self._v_mytemp in my request does not conflict with other requests

Re: [Zope-dev] New version of BTreeFolder. Just a Newbie Question

2000-08-28 Thread Shane Hathaway
Bill Anderson wrote: Any chance at a BTree Folder w/customizer support in the near future? :) It should be quite easy to do. I vaguely recall Steve A or Steve S might have done it. Shane ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] New version of BTreeFolder

2000-08-28 Thread Shane Hathaway
Steve Alexander wrote: BTreeFolder doesn't do the from Globals import default__class_init__ default__class_init__(BTreeFolder) thing. Does that matter at all? As none of the classes it is derived from have a __init__ method, I guess not. Or, does default__class_init__ do anything

Re: [Zope-dev] New version of BTreeFolder

2000-08-29 Thread Shane Hathaway
Kapil Thangavelu wrote: semi-formal test i ran some basic tests comparing a btree folder against a folder. i'm not sure about my testing methodology but here are the results. the test code is at the end of this email. (snip) some quick conclusions. the btree folder is slower on

[Zope-dev] SynchronizationTab proposal

2000-08-30 Thread Shane Hathaway
Zopistas, I'd like to point out the new proposal at: http://dev.zope.org/Wikis/DevSite/Proposals/SynchronizationTab The goal is to integrate a UI that can be used to manage CVS, backups, other types of revision control, and coordination of development and production servers. Shane

Re: [Zope-dev] MailHost, 2.2.1, and tracebacks

2000-09-01 Thread Shane Hathaway
Bill Anderson wrote: OK, I've bee trailing this bug for quite some time, and haven't found a solution other than not use 2.2.1 :( (snip) File /local/ZopeSites/TestBed/lib/python/OFS/DTMLMethod.py, line 172, in __call__ (Object: mailPasswordTemplate) File

Re: [Zope-dev] BTree folders: opinions?

2000-09-05 Thread Shane Hathaway
Steve Alexander wrote: I've been reading the discussions on benchmarks of BTreeFolder verus standard ObjectManager dict based folders. I have a BTreeFolder w/ Customizer support that I'd like to include in the DataSkinAddons package for its next release. I'll probably release a LargeUI

[Zope-dev] Re: ZDebug questions

2000-09-06 Thread Shane Hathaway
Chris Withers wrote: Using your sample 'bad' DTML, I got the same but the 'Contains name?' column didn't show up :-( Any ideas? (yes, I was tracking down a security exception, and that column may have been really useful ;-) My guess is you're using Zope 2.1.6. ZDebug doesn't have a way to

Re: [Zope-dev] TCPWatch How-To

2000-09-06 Thread Shane Hathaway
Chris Withers wrote: Shane Hathaway wrote: TCPWatch is a simple Python script that lets you monitor a TCP connection. ...now this really is extremely useful to me, but not for Zope ;-) However, it did take me a while to wrap my head around it. So here's a little How-To/Example

Re: [Zope-dev] Acquisition in a DTML Tag

2000-09-07 Thread Shane Hathaway
Brett Carter wrote: "Brett" == Brett Carter [EMAIL PROTECTED] writes: Brett I've defined my own dtml tag (i.e. dtml-foo/dtml-foo) Brett and I am trying to look up an object depending on the Brett arguments passed to my tag. The python class that defines Brett the tag

[Zope-dev] For the Zope community

2000-09-05 Thread Shane Hathaway
Zopistas, It has been very rewarding to work with DC and the Zope community. I have learned a lot about software and community spirit. I have never had the opportunity to work with a more enthusiastic and dedicated group of developers. So at this time I'm releasing two new products designed

Re: [Zope-dev] HiperDOM xmlc

2000-09-15 Thread Shane Hathaway
[EMAIL PROTECTED] wrote: The only thing I _don't_ feel good about this kind of template is that, in practice, we will probably lose the benefits of things like dtml-var standard_html_header - meaning, when you want to change the header of your site, you'll have to edit all your templates. I

Re: [Zope-dev] HiperDOM xmlc

2000-09-17 Thread Shane Hathaway
[EMAIL PROTECTED] wrote: On Sun, Sep 17, 2000 at 12:42:00PM -0400, Paul Everitt wrote: [EMAIL PROTECTED] wrote: BTW, please don't call the solution "xHTML Template"; it's not xHTML, it's generic XML - it can easily be used for RSS or WML or MathML or NewsML for example. While it

Re: [Zope-dev] HiperDOM xmlc

2000-09-17 Thread Shane Hathaway
[EMAIL PROTECTED] wrote: On Fri, Sep 15, 2000 at 03:17:00PM -0400, Shane Hathaway wrote: This has been one of the points of discussion here at DC. The only reasonable solution we've come up with is automatically wrapping the results of the rendering in an acquired object with a fixed

Re: [Zope-dev] HiperDOM xmlc

2000-09-18 Thread Shane Hathaway
[EMAIL PROTECTED] wrote: Suppose that you could add to any element an hdom:asset="nameOrPath" attribute. When saving a template containing such elements, the content of the named document is compared against the tagged block in the template being saved, and against the previous version of

Re: [Zope-dev] HiperDOM xmlc

2000-09-18 Thread Shane Hathaway
[EMAIL PROTECTED] wrote: So the standard_page_template default wrapping is an attempt at a compromise. It's wrong. Please elaborate your position. :-) Why is it wrong? Shane ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] FYI: preliminary Zope 2.3 plan online...

2000-09-21 Thread Shane Hathaway
Ty Sarna wrote: Brian Lloyd [EMAIL PROTECTED] wrote: http://dev.zope.org/Resources/zope_230_plan.html The discussion pages for at least two of the wikis are broken. This is especially troubling considering that it looks like you're planning on moving forward with a proposal with serious

Re: [Zope-dev] aq_base, aq_base() and infinite recursion...

2000-09-26 Thread Shane Hathaway
Chris Withers wrote: Phil Harris wrote: Have you tried Christian Tismers Stackless Python, which has 'infinite' recursion capabilities? I'm not sure this would be entirely helpful here ;-) I wonder what aq_base(), over aq_base, does that causes an infinite recursion? Maybe I

Re: [Zope-dev] ZServer and ftp port-1 data channel

2000-09-26 Thread Shane Hathaway
Here's what Sam Rushing told me regarding this issue. Shane Hathaway writes: I hear that you have found a way to get Medusa to use the correct port in active mode FTP. This could be a great benefit to the Zope community. Anything you have (diffs, modified files, or any kind of info

Re: [Zope-dev] Soft links again

2000-09-26 Thread Shane Hathaway
"Ibañez Palomar Juan David" wrote: Hi all, First, I'm using Zope 2.2.1 (Debian package). I've been trying to implement zope objects that behave like unix soft links. The message http://lists.zope.org/pipermail/zope-dev/2000-July/005963.html by Shane proposes an implementation

Re: [Zope-dev] ZServer and ftp port-1 data channel

2000-09-26 Thread Shane Hathaway
Kent Polk wrote: So you are saying ZServer just isn't ever going to support Active ftp clients in the correct port-1 manner? If so, you might want to put a LARGE BANNER disclaimer about this matter as this makes ZServer unusable from most ftp clients that try to access it from behind

Re: [Zope-dev] Soft links again

2000-09-27 Thread Shane Hathaway
work and i don't know why. I use zope 2.2.2 and python 1.5.2. root: -myproductfolder -SoftLink to testdtmldoc -testfolder -testdtmldoc In myproduct i have the following function, the class SoftLink is the same as of Shane Hathaway. I wan't to add a SoftLink in mypro

Re: [Zope-dev] Soft links again

2000-09-27 Thread Shane Hathaway
Toby Dickenson wrote: On Wed, 27 Sep 2000 09:06:18 -0400, Shane Hathaway [EMAIL PROTECTED] wrote: Also, there's currently a buglet in acquisition that makes it so that you can only perform the actions on the symlink which "anonymous" is allowed to do. Woooh! So

Re: [Zope-dev] why cant i rename an object from an external method

2000-09-28 Thread Shane Hathaway
Andy McKay wrote: Heres a treat. I'm trying to write an external method to rename objects. I have approx 10,000 to rename so a script would be nice. No problem I thought, imitate a forms manage_renameObject and CopySupport.py can do the work. Rename works fine from the web form, but not

Re: [Zope-dev] Soft links again

2000-09-29 Thread Shane Hathaway
On Fri, 29 Sep 2000, Ibañez Palomar Juan David wrote: It would be great if the symbolic link could have a different id than the object referenced. But with the __of__ based solution "link.id" is always "referenced_object.id". How this could be done? I think you'd need a special kind of

Re: [Zope-dev] More almost __call__ ;-)

2000-10-13 Thread Shane Hathaway
Jim Fulton wrote: Chris Withers wrote: Toby Dickenson wrote: http://www.zope.org/Members/htrd/howto/FunctionTemplate you would use def a_method(self,md): do_stuff_with(md['param1'],md['param2']) a_method = FunctionTemplate(a_method) That looks

Re: [Zope-dev] More almost __call__ ;-)

2000-10-13 Thread Shane Hathaway
Jim Fulton wrote: The fact that ZPublisher will pass it is documented. Whether or not something else calls it is up to the something else. The method designer specified an interface that includes RESPONSE. If it requires RESPONSE, by not specifying a default, then it requires the clients to

[Zope-dev] Re: FW: [Support] [ZOPE Collector] Zope Bug entry: Ghost ZClasses

2000-10-13 Thread Shane Hathaway
Brian Lloyd wrote: A new bug entry was added with the following information: Title: Ghost ZClasses At: http://classic.zope.org:8080/Collector/1676/sview Submitter: lalo Email: [EMAIL PROTECTED] Description: Some ZClasses in a ZODB migrated from 2.1.6 did not handle the

Re: [Zope-dev] Reversing symlink namespaces ???

2000-10-19 Thread Shane Hathaway
Phil Harris wrote: Shane/All, Anybody using the symlink product? It seems to me it uses namespaces in the wrong order. Imagine the hierarchy below: Root Folder1 doc1 Folder2 symlink1 Now let's assume that Folder1 has a property 'copyright', and also

Re: [Zope-dev] __replaceable__ or whatever it is ;-)

2000-10-26 Thread Shane Hathaway
Chris Withers wrote: I was wondering how the stuff for attributes that are replaceable in instance and singleton attributesis getting on. Itamar says the code is in the CVS for Zope, but neither of us can find any documentation. FYI I actually added the docs in two places, but they were

Re: [Zope-dev] Using the monitor_client

2000-10-31 Thread Shane Hathaway
Yves-Eric Martin wrote: I am no Zope monitor expert, but maybe you will find my newbie point For some definition of newbie... :-) of view helpful. Here is my understanding of the magic of this very helpful tool: - Zope.app() gives you a *copy* of the *real* application object. -

Re: [Zope-dev] [Ann] ZUnit released

2000-11-02 Thread Shane Hathaway
Lalo Martins wrote: Okay, the cat is out of the bag (in fact, going to Rio for the weekend) and the worms are out of the can (better worms than bugs, anyway). ZUnit, the Product all lazy programmers were so afraid of, is available for review and download from your usual shop at

Re: [Zope-dev] Fw: 2gb file size

2000-11-04 Thread Shane Hathaway
Andy, Are you running Zope 2.2.1 or later? There were pointer arithmetic errors that occurred on earlier versions, even with operating systems that support 2 GB files. Shane Chris McDonough wrote: I didn't think this was a problem on Windows? I wonder if Python needs to be compiled in a

Re: [Zope-dev] Fw: 2gb file size

2000-11-06 Thread Shane Hathaway
: [Zope-dev] Fw: 2gb file size Shane Hathaway wrote: Are you running Zope 2.2.1 or later? There were pointer arithmetic errors that occurred on earlier versions, even with operating systems that support 2 GB files. So on W2K, Zope can have 2GB databases? I'd really like

[Zope-dev] Vote on the new name for Python Methods!

2000-11-07 Thread Shane Hathaway
Being Election Day in the United States, now is a good time to vote on the new name for Python Methods. Python Methods are a relatively new concept for Zope. They give you the features of DTML, such as through-the-web editing and security, while providing a familiar, refined syntax. But before

  1   2   3   4   5   6   7   >