Re: [Zope-dev] ANNOUNCE: Zope 2.4.0 alpha 1 released

2001-06-01 Thread Shane Hathaway
[EMAIL PROTECTED] wrote: My impression is that FileStorage implements a 32-bit id-type-thingy somewhere (look at ZODB docs, I think there is something about this somewhere), which limits it (in addition to the Linux kernel ext2 fs limit), to 2GB. With 7.5 GB, I'd use a more advanced

Re: [Zope-dev] ANNOUNCE: Zope 2.4.0 alpha 1 released

2001-06-01 Thread Shane Hathaway
marc lindahl wrote: Does anyone have any comments on the reliability of PartitionedFileStorage in this regard as a temporary solution? Is anyone using PartitionedFileStorage in a production environment? AFAIK no. Its functionality has already been superceded. by?

Re: [Zope-dev] Bulletproof ZCatalog proposal

2001-05-31 Thread Shane Hathaway
On Thu, 31 May 2001, Erik Enge wrote: On Wed, 30 May 2001, Shane Hathaway wrote: I have written a proposal. So, if I understand correctly, when this is implemented, will the ZCatalog always resolve conflicts and never raise ConflictErrors? If there are no ConflictErrors in the main

Re: [Zope-dev] Bulletproof ZCatalog proposal

2001-05-31 Thread Shane Hathaway
On Thu, 31 May 2001, Toby Dickenson wrote: On Thu, 31 May 2001 10:03:31 -0400 (EDT), Shane Hathaway [EMAIL PROTECTED] wrote: Right now ZCatalog randomly generates ConflictErrors even if there are no conflicts in the data being indexed. It's quite rare, however, and there's machinery

Re: [Zope-dev] Bulletproof ZCatalog proposal

2001-05-31 Thread Shane Hathaway
On Thu, 31 May 2001, Erik Enge wrote: On Thu, 31 May 2001, Shane Hathaway wrote: How did you miss the point? That's exactly the point! :-) Oh :) Right now ZCatalog randomly generates ConflictErrors even if there are no conflicts in the data being indexed. This is why I think I've

[Zope-dev] Bulletproof ZCatalog proposal

2001-05-30 Thread Shane Hathaway
I have written a proposal. http://dev.zope.org/Wikis/DevSite/Proposals/ArmoredCatalog Could it be that we're involved in yet another Battle of Fredericksburg and we're trying to save innocent ZCatalogs from a ZODB conflict? Nawww... ;-) Shane ___

[Zope-dev] LeakFinder product

2001-05-21 Thread Shane Hathaway
New product: http://www.zope.org/Members/hathawsh/LeakFinder This product assists in locating memory leaks in Zope code. It uses patterns we, at Digital Creations, often employ for fixing memory leaks. It provides a way to get a controlled refcount and the traceback of class instance creation.

Re: [Zope-dev] OR mapping proposal

2001-05-16 Thread Shane Hathaway
Albert Langer wrote: [Phillip] http://dev.zope.org/Wikis/DevSite/Proposals/ORMappingDB Comments encouraged! [Albert] I've added some there. Jim highlighted a project Risk there: Updates to RDBMS data outside of the OR mapping could cause cached data to be inconsistent. I agree!

[Zope-dev] OR mapping proposal

2001-05-15 Thread Shane Hathaway
http://dev.zope.org/Wikis/DevSite/Proposals/ORMappingDB Comments encouraged! Shane ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope-dev] Re-inventing ZPatterns? (was Experiments with ORMapping)

2001-05-15 Thread Shane Hathaway
On Mon, 14 May 2001, Phillip J. Eby wrote: At 04:13 PM 5/14/01 -0400, Shane Hathaway wrote: Regarding performance, this method is actually ideal IMHO. Data is read once, converted to an object, and kept for later connections, just like ZODB. [shrug] Not any different than ZPatterns

Re: [Zope-dev] Experiments with ORMapping

2001-05-15 Thread Shane Hathaway
On Mon, 14 May 2001, ender wrote: i want to thank DC (jim, shane, and paul) for inviting me to come to the new DC offices. i had a great time and learned a bunch... and met the BFDL. It was good to talk with you! i gave a quick overview of the smartobjects design/framework and jim and

Re: [Zope-dev] manage_workspace = index_html

2001-05-15 Thread Shane Hathaway
R. David Murray wrote: Now, if the ZMI were rewritten to be session based, and you used a non-basic-auth based session, you could avoid the problem. Want to volunteer to do the rewrite? grin Actually if you install the CMFCore product and put a CookieCrumbler at the root of your site, you get

Re: [Zope-dev] OR mapping proposal

2001-05-15 Thread Shane Hathaway
On Tue, 15 May 2001, Phillip J. Eby wrote: If we had a standardized manipulation API or idioms (like JavaBeans) for application objects, then having lots of ways to *implement* storage would be a good thing. Different products and offerings could co-exist and compete in the storage

Re: [Zope-dev] Experiments with ORMapping

2001-05-14 Thread Shane Hathaway
Phillip J. Eby wrote: At 05:42 PM 5/11/01 -0400, Shane Hathaway wrote: Phillip J. Eby wrote: I'm not quite clear on how exactly you suggest mapping from RDMBS - ZODB. There's a *significant* (IMHO) impedance mismatch between ZODB's arbitrarily identified variably structured single

Re: oodb philosophics ;) was: Re: [Zope-dev] Experiments with ORMapping

2001-05-14 Thread Shane Hathaway
Joachim Werner wrote: Probably I'm daft because it is Friday night, but AFAIK ZODB and most OODB's store an object only once, keyed by its object id. The rest is just references through that oid, so objects that belong to more than one container can be added to all these containers

Re: [Zope-dev] Experiments with ORMapping

2001-05-14 Thread Shane Hathaway
Chris Withers wrote: Shane Hathaway wrote: I'm telling you there's a lot more you can do with the code that makes snip The next thing to do is to write a fishbowl proposal. This sounds cool but made my head hurt :-S Can you try and bring this back down to the level of us mere

Re: [Zope-dev] Experiments with ORMapping

2001-05-14 Thread Shane Hathaway
Chris Withers wrote: Shane Hathaway wrote: One would define an ObjectMappingSchema whose job it is to store and retrieve objects of a specific type and in a specific location. It would usually grab a database connection object to do its work. When loading, it would perform a query

Re: [Zope-dev] Experiments with ORMapping

2001-05-14 Thread Shane Hathaway
Chris Withers wrote: Shane Hathaway wrote: ZPatterns implements storage logic on the application level. Applications have to be aware of (in fact they have to be centered around) ZPatterns. This alternate approach keeps storage logic independent of application logic. It lets you

Re: [Zope-dev] Experiments with ORMapping

2001-05-11 Thread Shane Hathaway
Joachim Werner wrote: Hi! Do you know that there already is a project for OR-Mapping in Zope (actually there are two ...)? Yes, and I think the projects need to look into replacing parts of ZODB rather than adding complexity. ZODB has pieces that can be split apart and

Re: [Zope-dev] Experiments with ORMapping

2001-05-11 Thread Shane Hathaway
Phillip J. Eby wrote: At 11:01 AM 5/11/01 -0400, Shane Hathaway wrote: Joachim Werner wrote: The current design plans of SmartObjects are mainly based on the assumption that we will not be able to change Zope itself. This is not a dogma for us, however. I guess doing OR-mapping

Re: [Zope-dev] Question about import code

2001-05-10 Thread Shane Hathaway
Fred Wilson Horch wrote: The problem that happens on import is a KeyError on line 194 of this bit of code: lines 192-197 of lib/python/ZODB/ExportImport.py ooid=h[:8] if oids: oid=oids[ooid] if type(oid) is

[Zope-dev] Experiments with ORMapping

2001-05-10 Thread Shane Hathaway
Kapil (and others), Although very sketchy and I can't guarantee anything works, my experiments with object-relational mapping in Zope are found at http://www.zope.org/Members/hathawsh/ormapping.tar.gz . If ORMapping.py is in the ZODB directory, you can use the following custom_zodb.py to run

Re: [Zope-dev] Experiments with ORMapping

2001-05-10 Thread Shane Hathaway
Tino Wildenhain wrote: But storage of binary pickles was never the intention anyway. I created a little interface that would allow you to store different classes in different PostgreSQL tables. Before I got to implementing anything, Is this much like the ZPatterns approach? Which part

Re: [Zope-dev] Question about import code

2001-05-10 Thread Shane Hathaway
Fred Wilson Horch wrote: You wrote: Importing multiple objects simultaneously could result in a fair amount of confusion... Can you elaborate? When you import a folder, for example, it imports the folder and all objects in it. If there are some objects in the folder that have

Re: oodb philosophics ;) was: Re: [Zope-dev] Experiments with ORMapping

2001-05-10 Thread Shane Hathaway
Tino Wildenhain wrote: I think the motivation people want an RDBMS storage beneth zodb is because they understand RDBMSes these days are performant, relieable and can quiete easy maintained. The other motivations for an RDBMS are (1) people have existing schemas and want Zope to access the

Re: [Zope-dev] Experiments with ORMapping

2001-05-10 Thread Shane Hathaway
Joachim Werner wrote: You know, it might be possible to get a team together to implement this. How many out there would be interested in pursuing it further? IMHO it's not as much work as it sounds at first. Zope being so object-oriented, you really can replace one of its most

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] xmlrpc: Syntax error at line 34: illegal characterin content

2001-05-10 Thread Shane Hathaway
On Fri, 11 May 2001 [EMAIL PROTECTED] wrote: Shane Hathaway wrote: The problem with sending binary data unencoded is line endings: \r\n might be helpfully converted to \n and vice-versa. Other characters can be encoded but apparently parsers treat #10; and #13;#10; as a real line

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

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

2001-02-12 Thread Shane Hathaway
On 13 Feb 2001, Erik Enge wrote: [Shane Hathaway] | If no one reports any problems No problems so far :). Tried them with Zope 2.2.1. Good to hear! | But here's the biggest news: the Refresh product Excellent! When will this be included in standard Zope distributions? Probably Zope

Re: [Zope-dev] Storing part of an object on the file system

2001-02-09 Thread Shane Hathaway
Jimmie Houchin wrote: I think it would be interesting to see Zope fronted by Tux. If there were a Tux cache manager for Zope that would be awesome. Actually, if Tux works the way I think, an accelerated HTTP cache manager should be just what you're looking for. If you can just get Tux to

[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] external method and security

2001-01-29 Thread Shane Hathaway
Marty Stitt wrote: Is it up to me to write my own security code when using an external method? Basically, yes. You can protect access to the "stub" within the ZODB using the Security tab, but the body of the external method has free reign. Shane

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] Cache manager in zope 2.3.0b1

2001-01-24 Thread Shane Hathaway
"Bak @ kedai" wrote: sorry. my mistake. i think more info on how/what should/can be a cache key is good. currently, there's two cache key fields, one in the object itself, one in the cache manager instance. the field in object can contain more than one cache keys, while the cache key in

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] Mental disconnect help: Zope objects vs. Python objects in ZODB

2001-01-19 Thread Shane Hathaway
Michael Bernstein wrote: Max Mller Rasmussen wrote: Whops... The missing link http://www.zope.org/Members/maxm/HowTo/minimal_01/index_html Whoa. I am *seriously* impressed with the clarity you've brought to this subject. Thank You! Agreed, it's quite clear. It is good to

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] Burning pages

2001-01-18 Thread Shane Hathaway
Vincent Stoessel wrote: can Zope pages be exported as html pages. I want to burn some pages out that do not change often and thus do not need to be dynamic. May I suggest that you set up long-term caching instead? That way you get to retain the manageability of Zope while not consuming

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] Zope 2.3.0 beta 1 comments

2001-01-17 Thread Shane Hathaway
Martijn Pieters wrote: On Wed, Jan 17, 2001 at 10:07:30AM +, Chris Withers wrote: - When you resize the top frame, you get back a load of CSS (but as text and without a content type) This didn't happen in a2. If you switch to inline CSS (instead of linked CSS) this problem will go

Re: [Zope] NameError: Zope2.3a2 and LoginManager-0-8-8b1

2001-01-13 Thread Shane Hathaway
Janko Hauser wrote: Hello, I try to install LoginManager on a new Zope2.3. I have made the before mentioned changes regarding Super and the product shows up fine in the Product folder. But I can not add a LoginManager in a normal folder with the attached error message. I have seen,

Re: [Zope] OpenBSD 2.8 woes

2001-01-13 Thread Shane Hathaway
Jan Muenther wrote: However, after installing the Python packages that comes shipped with the OpenBSD 2.8 CDs, the Zope installation script runs nicely, but when I try and access the management screen, I only see LOADS of error messages: Zope Error Zope has

Re: [Zope] importing string module in python METHOD - a problem that shouldn't be aproblemproblem

2001-01-13 Thread Shane Hathaway
Lee wrote: I have a Python method that needs to use the string module. In the method body I have the 'import string' statement but when I try it = Error Type: ImportError Error Value: __import__ not found import is available in Python Scripts but not Python Methods.

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] Storing and Using Object references

2001-01-10 Thread Shane Hathaway
Tom Jenkins wrote: Hello all, i have a question and I hope someone can point me in the right direction to solve it. I need one zope object to hold a reference to another zope object so the first object can call methods of the second object. oh, these are python classes. Example:

Re: [Zope] Adding many users

2001-01-10 Thread Shane Hathaway
Ragnar Beer wrote: Howdy Zopistas and happy new year! I need to add about 150 users to an acl_users folder and I wouldn't like to do it manually since the data already exists in a python list. What would be an elegant way to add them all with a python script? A script to put in

Re: [Zope] Tux Zope?

2001-01-09 Thread Shane Hathaway
[EMAIL PROTECTED] wrote: What I would really like to see is this: Images and multi-media that can be served by Tux, but managed by Zope, so that all content is managed, but serving the images and multi-media is really fast, and not reliant on the ODB. I thought I saw something about a

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] LoginManager and Zope 2.3

2001-01-08 Thread Shane Hathaway
Austin Mayberry wrote: Has anyone tried get the LoginManager to work with Zope 2.3a1? When I try the LoginManager product is broken with error message: LoginManager 0.8.6 seems to work fine. 0.8.8b1 tries to use a class in User.py that no longer exists. In fact, it does things that are

Re: [Zope] Caching/http-acceleration and proxying Zope-served content

2001-01-08 Thread Shane Hathaway
[EMAIL PROTECTED] wrote: I have a question, for anyone experienced in working with Zope and caching proxies: I'm setting up a load-balanced server farm that has nodes that will run Apache and proxy (via mod_proxy) to ZEO clients running ZServer. This farm is routed (both ways) through a

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

<    1   2   3   4   5   6   7   >