Re: [Zope-dev] xmlrpc: Syntax error at line 34: illegal character in content

2001-05-10 Thread Shane Hathaway
[EMAIL PROTECTED] wrote: Andy McKay wrote: Yeah, I am currently base64'ing the data, and it works. Ive seen this in some code but didnt want to say anything for fear of sounding stupid. It doesnt seem right somehow. See, this is the problem. I'm running into crunch-time at the

Re: [Zope-dev] Heads up -- big changes on trunk

2001-04-30 Thread Shane Hathaway
On Tue, 1 May 2001 [EMAIL PROTECTED] wrote: Shane Hathaway wrote: This notice only applies to developers who are following the bleeding edge of Zope, the CVS trunk. It does not apply if you downloaded Zope from a web site. As a broader issue, what's the story with bugfixes in the 2.3

[Zope-dev] Re: BTreeFolder

2001-04-27 Thread Shane Hathaway
Chris Withers wrote: will you be releasing a new version of BTreeFolder that makes use of the new funky BTrees at any stage? We've done some work on it; in fact Jim came up with a bold new idea that makes them inherently faster. Now to find the time. :-) Shane

Re: [Zope-dev] Re: BTreeFolder

2001-04-27 Thread Shane Hathaway
Phillip J. Eby wrote: Now, what *I*'d like to know is what the bold new idea is, since it sounds like it's something even newer than the forward-chained-buckets-plus-conflict-resolution stuff that's already been released. It's simple, really. BTreeFolders play havoc with acquisition because

Re: [Zope-dev] Re: BTreeFolder

2001-04-27 Thread Shane Hathaway
Hannu Krosing wrote: Shane Hathaway wrote: However, purely random IDs would cause all the buckets to be loaded in memory all the time, so Jim's third idea was to have each client increment sequentially from a random ID and move to a new random ID if conflicts ever occur. Can't

[Zope-dev] wxPython + ZODB = bliss

2001-04-24 Thread Shane Hathaway
Here is a script that lets you browse *everything* in your ZODB through a quick GUI client. I was looking at wxPython the other day and this idea occurred to me. It worked amazingly well. http://www.zope.org/Members/hathawsh/pyTree (BTW you can't hold me responsible if your password slips out

Re: [Zope-dev] Allowing secure 'import' access in zope folder hosting

2001-04-20 Thread Shane Hathaway
Ivo van der Wijk wrote: I tried to ask this on the standard zope list, but noone seemed to know anything about it. Perhaps you do? We provide zope hosting, both folder based (where people have access to their own folder, mapped to a domain, and no access to the zope server / source / var /

[Zope-dev] NewLoggingAPI

2001-03-20 Thread Shane Hathaway
I have written a proposal for the improvement of logging. It builds on ideas proposed by Chris and Andreas at Digital Creations. It is designed to augment Zope's enterprise-level capabilities. Please comment! http://dev.zope.org/Wikis/DevSite/Proposals/NewLoggingAPI Shane

Re: [Zope-dev] FTP interface being worked on?

2001-03-19 Thread Shane Hathaway
Chris McDonough wrote: That's one use, which is important to you. Another is to use Emacs or Dreamweaver on a representation of, for example, DTML methods on a filesystem, which is important to other folks. I think there is really only one issue nobody has been able to sort out: do we want

Re: [Zope-dev] Ensuring 'freshness' of dynamic pages (slightly offtopic)

2001-03-11 Thread Shane Hathaway
"Morten W. Petersen" wrote: Is it possible to ensure that pages are always fresh, even if it is specified on the client side that the client should never try to retrieve a 'fresher' page? Send an "expiration" header with a valid date that has already passed. This has always worked for me,

Re: [Zope-dev] Ensuring 'freshness' of dynamic pages (slightly offtopic)

2001-03-11 Thread Shane Hathaway
"Morten W. Petersen" wrote: Is it possible to ensure that pages are always fresh, even if it is specified on the client side that the client should never try to retrieve a 'fresher' page? Send an "expiration" header with a valid date that has already passed. This has always worked for me,

Re: [Zope-dev] TransWarp preview release (AOP tools only)

2001-03-09 Thread Shane Hathaway
"Phillip J. Eby" wrote: At 10:52 AM 3/6/01 -0500, Shane Hathaway wrote: Perhaps... but as I see it, pickling the aspect weaving information into each object makes it harder to vary the aspect weaving after objects have been created. That's not what I said. *Aspect ob

Re: [Zope-dev] _getOb or __getattr__?

2001-03-07 Thread Shane Hathaway
Chris Withers wrote: subobjects because acquisition only looks at object attributes. It doesn't know anything about _getOb(). (And it's not a good idea to teach it to use _getOb(); think what it would be like if a Xeon ran like a 386...) I remember the days when... ;-) Seriously

Re: [Zope-dev] TransWarp preview release (AOP tools only)

2001-03-06 Thread Shane Hathaway
"Phillip J. Eby" wrote: At 12:39 PM 3/2/01 -0500, Shane Hathaway wrote: This could be achieved by generating a new Python module for each portal instance, but that would mean sys.modules would have to be pre-loaded with the information about each portal instance and that's not the

Re: [Zope-dev] TransWarp preview release (AOP tools only)

2001-03-02 Thread Shane Hathaway
"Phillip J. Eby" wrote: At 09:37 AM 3/1/01 -0500, Shane Hathaway wrote: What is your vision of integrating AOP into a persistent object system? Would one drop in an object that modifies the class loading mechanism so that the classes come from a TW component rather than Pyth

Re: [Zope-dev] TransWarp preview release (AOP tools only)

2001-03-02 Thread Shane Hathaway
"Phillip J. Eby" wrote: At 03:53 PM 3/2/01 -0500, R. David Murray wrote: I could be wrong, but I didn't read what Phillip wrote as saying he was suggesting TransWarp as a player in the Module Persistence implementation, but rather that he wanted people to see the value of TransWarp first

Re: [Zope-dev] ZDebug conflicts with MailHost?

2001-03-02 Thread Shane Hathaway
Dieter Maurer wrote: Itai Tavor writes: On Zope 2.3.0 and 2.3.1b1, the following method produces an error when ZDebug is installed; If I remove ZDebug, it works fine. A long time ago, there was firm evidence that ZDebug does not play well with "sendmail" (- list archives).

Re: [Zope-dev] TransWarp preview release (AOP tools only)

2001-03-01 Thread Shane Hathaway
This looks very interesting, Phillip. I haven't downloaded the package yet, but I read the wiki and it finally made sense once I understood the goal (I think): TW lets you set up the class inheritance hierarchy at runtime. In normal OO methodology, you can only extend classes. With TW, you can

Re: [Zope-dev] _getOb or __getattr__?

2001-02-27 Thread Shane Hathaway
Chris Withers wrote: Hi, I need a product with custom attribute getting code and so looked to the BTreeFolder product for inspiration. It implements both __getattr__ and _getOb which appear to do roughly the same thing. What's the difference? _getOb() is part of the ObjectManager

Re: [Zope-dev] RE: [Zope] Zope Good/Bad News Article

2001-02-27 Thread Shane Hathaway
Brian Lloyd wrote: DC should encourage and then force developers to be a bit better about documentation. I have seen product developers put up a new product with the full amount of documentation about it being "here it is... have fun." This certainly does not help all of those people

Re: [Zope-dev] Refresh vs Python Scripts

2001-02-19 Thread Shane Hathaway
Chris Withers wrote: Do these two play nicely together? If you mean to refresh the Python Scripts product, I don't know of a reason why that wouldn't work. I just tried it and it seems to be fine. Shane ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] The structure of lib/python/*

2001-02-17 Thread Shane Hathaway
Dieter Maurer wrote: Erik Enge writes: I've been reading a lot of Zope code the last couple of years, but still I really don't see any overall structure of lib/python. Is this documented somewhere? I find the names quite self explanatory. Yes, I am a person that believes in self

Re: [Zope-dev] Problem upgrading to Zope2.3

2001-02-16 Thread Shane Hathaway
"Jay, Dylan" wrote: I did a clean install (on w2k), then copied across my products and Data.fs etc and when I restarted I got the following when I tried to access manage_main on the root folder. Funny thing is this doesn't happen on any other folder. Error type: SystemError Error value:

Re: [Zope-dev] Zope 2.2.4 Dying

2001-02-16 Thread Shane Hathaway
Andre Schubert wrote: Hi, since the last time i had some problems with my zope server. The zope 2.2.4 running under linux dies unexpectly with the following messages. 2001-02-16T01:50:08 ERROR(200) zdaemon zdaemon: Fri Feb 16 02:50:08 2001: Aiieee! 5451 exited with error code: 13

Re: [Zope-dev] How to read ZODB with Python script?

2001-02-15 Thread Shane Hathaway
Steve Alexander wrote: Petr Knapek wrote: I would like to know how to connect to running Zope ZODB from a python script. I would like to have possibility to read only objects from ZODB? Is there any possibility how to do it when Zope application server is running and not

[Zope-dev] Re: More Feedback on ZDebug and/or Refresh

2001-02-14 Thread Shane Hathaway
Chris Withers wrote: Shane Hathaway wrote: http://www.zope.org/Members/hathawsh/ZDebug http://www.zope.org/Members/hathawsh/Refresh Just noticed, since I installed these yesterday, the icon for the Python product I'm developing has changed to a ZCatalog icon. I'm using refresh

Re: [Zope-dev] Refresh DoubleTake :-S

2001-02-13 Thread Shane Hathaway
Chris Withers wrote: Shane Hathaway wrote: But here's the biggest news: the Refresh product, which makes life just a little bit easier for filesystem product developers, now has an auto-refresh feature and the ability to set up dependent products. This means changes to your Python

Re: [Zope-dev] Refresh DoubleTake :-S

2001-02-13 Thread Shane Hathaway
Chris Withers wrote: Shane Hathaway wrote: Any idea why that is? What product are you refreshing? Maybe it's specific to the product. An NDA'd one ;-) Sorry, that's not a lot of help I know, but what sort of things should I be looking for that'd cause refresh to not work

Re: [Zope-dev] Re: ThreadSafeCounter

2001-02-13 Thread Shane Hathaway
Steve Alexander wrote: Shane's ExternalMount product is here: http://www.zope.org/Members/hathawsh/ExternalMount However, I couldn't find it from searching on zope.org, and it isn't listed on Shane's zope.org page. Oops, I forgot to get it cataloged. Shane

Re: [Zope-dev] Refresh DoubleTake :-S

2001-02-13 Thread Shane Hathaway
Chris Withers wrote: Shane Hathaway wrote: apparently not. However, I have an idea that might solve it. Thanks for the heads-up! Pleasure :-) (as a workaround we've developed the 'Pound on the Refresh button like a monkey' technique *grinz*) I've added logic to sort the modules

[Zope-dev] Updates! Refresh, BTreeFolder, and ZDebug products

2001-02-12 Thread Shane Hathaway
Gang, BTreeFolder, now at version 0.2, has been updated for Zope 2.3.0, including the managment interface and the fix for a clipboard bug. Come'n get it! http://www.zope.org/Members/hathawsh/BTreeFolder If no one reports any problems, I think we can consider this version "stable" and re-label

[Zope-dev] Security hole in CookieCrumbler

2001-01-30 Thread Shane Hathaway
Hi folks, It turns out that the released versions of the CookieCrumbler product have a terrible security hole. I recommend you uninstall it immediately. I'm not going to be able to deal with the problem fully today, but if you're interested in getting a solution right away you can grab today's

Re: [Zope-dev] ZDebug patch for 2.3.0

2001-01-29 Thread Shane Hathaway
Chris Withers wrote: The patch below got ZDebug working with Zope 2.3.0 for me. Hope I didn't miss anything ;-) Good job, Chris! I patched it in a similar way. I planned to release a new version as soon as I was sure it worked well with 2.3. Shane --- debugsecuritypolicy.py.old Sun Jan

Re: [Zope-dev] 2.3.0 release badness

2001-01-29 Thread Shane Hathaway
[EMAIL PROTECTED] wrote: Of course, embedding the style in the page (a-la the Zope management interface) gets around this problem, but this is not an option for us. This is a known bug in Netscape. The management interface does user-agent sniffing; "Mozilla/4*" that doesn't contain the string

Re: [Zope-dev] 2.3.0 release badness

2001-01-29 Thread Shane Hathaway
Steve Alexander wrote: Shane Hathaway wrote: [EMAIL PROTECTED] wrote: Of course, embedding the style in the page (a-la the Zope management interface) gets around this problem, but this is not an option for us. This is a known bug in Netscape. I'm intrigued to know what

Re: [Zope-dev] Re: Refresh and debugging product creation issues.....

2001-01-29 Thread Shane Hathaway
Jaan Kaer wrote: It seems that on page http://www.zope.org/Members/hathawsh/Refresh is still only link to the old version (2000/05/15) of Refresh product :-( Could you please put there also link to the version where you are corrected the "multiple names in the product add list problem"? I

Re: [Zope-dev] zope 2.3.0 upgrade bug: inituser trashes existing user

2001-01-29 Thread Shane Hathaway
Zope mailing lists wrote: The problem is that the inituser *replaced* the single existing user in the acl_users folder. This must be a bug. Nope, it's intentional. Think about this scenario: you install Zope for the first time by running the install script. You see a lot of messages but you

Re: [Zope-dev] Possible TransparentFolders bug?

2001-01-25 Thread Shane Hathaway
Itai Tavor wrote: The TransparentFolders Product seems to make everything transparent... not just transparent folders. Zope/ Folder_A/ method_A Folder_B/ (transparent folder) method_B I'd expect the only effect of the transparent folder to be that

Re: [Zope-dev] Problem using External Method

2001-01-24 Thread Shane Hathaway
"Espen S. Frederiksen" wrote: The problem occur when I try to split up the function as shown below. I would like to store the data list, update it if nessesary and return it when appropriate. Am I making it unessesary complex when I use the class? Is there maybe a way to declare the data

Re: [Zope-dev] Problem using External Method

2001-01-24 Thread Shane Hathaway
On Wed, 24 Jan 2001, Espen Sorbye Frederiksen wrote: I did what you suggested, but I am still a bit stuck. Maybe I call them wrong in my code. I use the call below but get an error. dtml-call expr="createdata('test1','test2','test3')" dtml-var expr="returndata()" Error Type: AttributeError

Re: [Zope-dev] MountedFileStorage

2001-01-19 Thread Shane Hathaway
Johan Carlsson wrote: Is it possible to mix a local storage (a filestorage as the root) and mount a ZEO server storage as a "mounted storage". Yes. It's pretty straightforward. What I really want is several independent Zope servers sharing a mounted database (containing shared resources,

Re: [Zope-dev] MountedFileStorage

2001-01-18 Thread Shane Hathaway
Steve Alexander wrote: I've just been trying out the MountedFileStorage product (by Anthony Baxter) with Zope 2.3. I've got it mostly working, by patching a couple of typos, and making the SubApplication class derive from Traversable before Application. I've *almost* got ZClasses

Re: [Zope-dev] MountedFileStorage

2001-01-18 Thread Shane Hathaway
Johan Carlsson wrote: http://www.zope.org/Members/hathawsh/ExternalMount Sound interesting. Is it possible to mount a read-only database from several different Zope-clients? Yes. The database should be inside a ZEO storage server. ExternalMount can mount ZEO ClientStorages (that's

[Zope-dev] Re: [Zope-PTK] Fw: PythonMethods and ZClass generation problem

2001-01-18 Thread Shane Hathaway
Alexander Limi wrote: From: "Shane Hathaway" [EMAIL PROTECTED] You were *SO* close. :-) I think you want this: return self.artists.manage_addProduct['Artist'].Artist_add(_.None,_) to be like this: return self.artists.manage_addProduct['Artist'].Artist_add(_.None

Re: [Zope-dev] mounting obj to more than one zodb location

2001-01-17 Thread Shane Hathaway
ender wrote: whats happens when you create a persistent object and mount it to multiple points on your zodb. do you get a shared ref or multiple copies of the object? It depends on the product you use for mounting, but generally you'll get a shared database with independent connections. So

Re: [Zope-dev] New UI for 2.3

2001-01-12 Thread Shane Hathaway
Andy McKay wrote: Come on, can someone post some sample screenshots? http://www.zope.org/Members/hathawsh/new_ui.png Shane -- Andy McKay. - Original Message - From: "Andy Dawkins" [EMAIL PROTECTED] To: "Brian Lloyd" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday,

[Zope-dev] ANNOUNCE: CookieCrumbler product

2001-01-12 Thread Shane Hathaway
CookieCrumbler lets you set up cookie-based authentication even when your user folder does not support cookies. Zope 2.2.x or above is required since this product depends on a new publisher traversal hook. Enjoy! http://www.zope.org/Members/hathawsh/CookieCrumbler Shane

Re: [Zope-dev] ZDESIGN IDEAS = How to improve 'manage' ?

2001-01-08 Thread Shane Hathaway
Jason Cunliffe wrote: The need to improve the manage interface has grown urgently clear to me while using Zope myself, designing for all sorts of community and collaborative Zope-based projects, demos for a number of innocent bystanders, interested parties and potential clients. Zope

Re: [Zope-dev] PartitionedFileStorage - Eek!

2001-01-08 Thread Shane Hathaway
Jason Cunliffe wrote: Shane Hathaway [EMAIL PROTECTED] wrote: Now BerkeleyStorage is on its way and once that's ready, PartitionedFileStorage will have such a small audience that it won't be worth the trouble. Oh well, it was a fun experiment. Can you pleae expand on this.. what

Re: [Zope-dev] Product dev

2001-01-05 Thread Shane Hathaway
Chris Withers wrote: Shane Hathaway wrote: when a product has syntax errors. One of the first things I did at Digital Creations was make sure that got fixed. :-) Does this mean this bit from your average product's __init__.py isn't neeeded anymore? except: # If we can't

Re: [Zope-dev] Product dev

2001-01-05 Thread Shane Hathaway
Chris Withers wrote: Shane Hathaway wrote: when a product has syntax errors. One of the first things I did at Digital Creations was make sure that got fixed. :-) Does this mean this bit from your average product's __init__.py isn't neeeded anymore? except: # If we

Re: [Zope-dev] Acquisition wishlist :-)

2001-01-05 Thread Shane Hathaway
There's a (much) simpler way: class MyClass(Acquisition.Explicit): your_attribute = Acquisition.Acquired # index_html isn't index_html = None "Acquired" is a special object that the acquisition module looks for. However, I wasn't aware you could add a "1" to the ComputedAttribute

Re: [Zope-dev] case insensitive sorts

2001-01-04 Thread Shane Hathaway
Chris Withers wrote: Dieter Maurer wrote: Chris Withers writes: Andrew bart David sophie Wayne Why in hell do you switch caseness for similar objects? Who said anything about objects? I was just talking about lists of strings and in general, people prefer sorting

Re: [Zope-dev] case insensitive sorts

2001-01-04 Thread Shane Hathaway
Shane Hathaway wrote: def sort_strings(data): sortable_data = list(map(lambda s: (lower(s), s), data)) sortable_data.sort() return map(lambda s: s[1], sortable_data) ... Or better, you could pass a comparison function to sort() like Tres suggested. :-) Shane

Re: [Zope-dev] Product dev

2001-01-04 Thread Shane Hathaway
Dieter Maurer wrote: For some problems during product import, Zope decides to keep the old state rather than show the error. I wonder whether the product's version.txt might have something to do with it. Remove version.txt and see if it has any effect. Then try creating a new

Re: [Zope-dev] Local Factories in Products

2001-01-02 Thread Shane Hathaway
Itamar Shtull-Trauring wrote: Chris Withers wrote: In ZClasses it is possible to control where a ZClass instance should be permitted to be added, in other words show up in the factory listing in a ObjectManagers manage_main view. Didn't Itamar have a proposal/project on this?

Re: [Zope-dev] ANNOUNCE: PartitionedFileStorage

2001-01-02 Thread Shane Hathaway
Chris Withers wrote: Shane Hathaway wrote: I just realized I could use the "patch" command to backport. So I made a new tarball. Have fun! http://www.zope.org/Members/hathawsh/PartitionedFileStorage/PartitionedFileStorage-0.0.1-2_2.tar.gz/view great :-) It's

Re: [Zope-dev] PartitionedFileStorage - Eek!

2001-01-02 Thread Shane Hathaway
Chris Withers wrote: Shane Hathaway wrote: BTW, Evan helped me find and correct a bug. You'll only run into it if you set your partition size to less than the size of the largest ZODB objects. That's fixed in 0.0.2, right? Should be, although I just realized I don't know whether

Re: [Zope-dev] ANNOUNCE: PartitionedFileStorage

2001-01-02 Thread Shane Hathaway
Steve Alexander wrote: Shane Hathaway wrote: BTW, Evan helped me find and correct a bug. You'll only run into it if you set your partition size to less than the size of the largest ZODB objects. The new version of FileStorage.py in PartitionedFileStorage for 2.3 overwrites some

[Zope-dev] ZClass registry repair utility

2000-12-13 Thread Shane Hathaway
I've written a utility you can use to clean up the global registry of ZClasses. The registry can become corrupt through product upgrades--not ZODB corruption, but missing base classes and so forth. This utility recreates the registry. http://www.zope.org/Members/hathawsh/ZGlobalsRepair It's

Re: [Zope-dev] CVS emergency_user bug

2000-12-07 Thread Shane Hathaway
Robin Becker wrote: z2.py makes references to AccessControl.User.emergency_user which causes an exception. Is it ok to use SpecialUsers.super instead? No, it is not ok. :-) Have you updated AccessControl/User.py as well? If you have, this exception should not occur. Are you using special

Re: [Zope-dev] case insensitive sorts

2000-12-07 Thread Shane Hathaway
Chris Withers wrote: Who thinks the default python sort should stay like it is? Who thinks it should change? (reasons of course would be helpful, particularly if you want it to stay like it is ;-) Python's sort() lets you sort based on not only strings but also tuples, lists, and numbers,

Re: [Zope-dev] CVS emergency_user bug

2000-12-07 Thread Shane Hathaway
Robin Becker wrote: In article [EMAIL PROTECTED], Shane Hathaway [EMAIL PROTECTED] writes Robin Becker wrote: z2.py makes references to AccessControl.User.emergency_user which causes an exception. Is it ok to use SpecialUsers.super instead? No, it is not ok. :-) Have you updated

Re: [Zope-dev] fixing security problems HOW?

2000-11-28 Thread Shane Hathaway
Robin Becker wrote: How can I find out exactly what is causing my security permissioning to fail. I have put extra stuff into ZPublisher\BaseRequest.py at line 463 so I know that I'm failing on UnauthorizedYou are not authorized to access this resource.

Re: [Zope-dev] ANNOUNCE: PartitionedFileStorage

2000-11-27 Thread Shane Hathaway
Chris Withers wrote: Phil Harris wrote: Chris, Any hints/tips on how you did this (just to save me from having to do any work of course ;)) I just used WinZip to extract the tarball in the /ZODB directory. Sadly, it didn't work, and won't do until the next version fo Zope is

Re: [Zope-dev] PartitionedFileStorage Fun @;-S

2000-11-23 Thread Shane Hathaway
On Thu, 23 Nov 2000, Chris Withers wrote: Chris Withers wrote: Error Type: AttributeError Error Value: _tstatus Problem found... Shane, you did your stuff on version 1.48 of FileStorage.py, while Zope 2.2.x uses version 1.37.12.8 of SileStorage.py Sadly, it appears the two are

[Zope-dev] ANNOUNCE: PartitionedFileStorage

2000-11-22 Thread Shane Hathaway
For all who are interested in breaking database size barriers without moving to Oracle or Berkeley Storage, here's something to try out. http://www.zope.org/Members/hathawsh/PartitionedFileStorage I *highly* recommend you back up Data.fs before installing. What is known to work: - Reads and

Re: [Zope-dev] Two glaring omissions

2000-11-14 Thread Shane Hathaway
Alexander Limi wrote: I've been working with Zope for almost two years now, and there are two things that I feel is missing in the interface: 1. The ability to add a Base class after the class is created This is a feature we'd like to have, but the way ZClasses work currently makes it

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

2000-11-10 Thread Shane Hathaway
Itamar Shtull-Trauring wrote: Shane Hathaway wrote: Not long ago I created a wrapper around File objects which automatically splits the file before it reached a predefined limit. It could handle any number of partitioned file segements. Yes please! Perhaps it could be integrated

[Zope-dev] Re: New Name for Python Methods

2000-11-09 Thread Shane Hathaway
(CC'ed to zope-dev.) Steve Jibson wrote: I just took the poll for the new name for Python Methods and so far, it looks like people like the existing name. Based on this, I have a suggestion for another name to add to the list: "pyMethod" (or "plMethod" for Perl) The same

[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

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

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] [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] 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] __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] 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] 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] 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-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] 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] 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] 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] 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] 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] 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

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

[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] 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] 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

<    1   2   3   4   5   6   >