Re: [Zope-dev] Zope 2.4.3 and Python 2.2

2002-08-21 Thread Shane Hathaway
Andre Schubert wrote: Hi there, are there any known issues or problem running Zope 2.4.3 under PYthon 2.2 instead of 2.1. I'am asking because my sysadmin has setup a new linux-box with RH7.3. RH7.3 only has Python 2.2 installed and there are no RPMs compiled against Python 2.2. If there

Re: [Zope-Coders] Re: [Zope-dev] DTML and REQUEST data changesaboutto be checked in

2002-08-12 Thread Shane Hathaway
Dieter Maurer wrote: Adrian Hungate writes: We should avoid sending the wrong message by making a hotfix for every little thing. Shane I'd like to second this. It was one of the contibuting factors in the decision of my former employers to opt for spectra instead

Re: [Zope-Coders] Re: [Zope-dev] DTML and REQUEST data changesaboutto be checked in

2002-08-09 Thread Shane Hathaway
Tres Seaver wrote: Whithout the fix, virtually every Zope site in the world is vulnerable to URL-based cross-site scripting exploits. For instance, any URL which contains invalid form variable marshalling can generate an error page which includes the erroneous value, unquoted. E.g.:

[Zope-dev] Re: The remaining spanner in the works :-)

2002-08-02 Thread Shane Hathaway
Chris Withers wrote: Shane Hathaway wrote: snip Wow! That was very very cool. I look forward to helping make this all a reality in Zope 3 ;-) I'm sure I left a few things out, so ask questions about the unclear parts. It's probably more info than you were expecting. ;-) Hmm

Re: [Zope-dev] Re: The remaining spanner in the works :-)

2002-08-02 Thread Shane Hathaway
Gary Poster wrote: I agree with Chris: *wow*! [re the original explanation] ... I'm sure I left a few things out, so ask questions about the unclear parts. Everything was wonderfully clear, except that the actual mechanism to convert the nested tuples flexibly to RDBMS record

Re: [Zope-dev] Zope components and revision control with cvs

2002-08-01 Thread Shane Hathaway
Mehran erfani wrote: I am a newbie to the zope world and recently started using zope in our corporate development environment. One thing that I couldn't find so far is an easy way to use cvs for revision control for individual components developed in zope. I understand that zope has its own

Re: [Zope-dev] Zope components and revision control with cvs

2002-08-01 Thread Shane Hathaway
On 1 Aug 2002, Gary Poster wrote: Given a hypothetical folder-like instance called myFLI, we would presumably want, in CVS (or Subversion, or whatever) a folder named myFLI containing the children and a file named, to borrow your example, myFLI.properties.zexp that *only* contains the

Re: [Zope-dev] bad bare except in PageTemplateFile.py

2002-07-18 Thread Shane Hathaway
Steve Alexander wrote: Shane Hathaway wrote: os.stat() raises OSError if the file is not found, in which case mtime should be set to 0. Surely if the file is not found, that's an error because the PageTemplateFile is pointing at a source file that doesn't exist. I cannot think

Re: [Zope-dev] bad bare except in PageTemplateFile.py

2002-07-18 Thread Shane Hathaway
Steve Alexander wrote: lib/python/Products/PageTemplateFile.py, line 110, method _cook_check try:mtime=os.stat(self.filename)[8] except: mtime=0 I've just spent an hour or so tracking down an awkward bug in some unit-tests. The true error was being hidden by this

Re: [Zope-dev] vulnerability in stock Zope

2002-07-11 Thread Shane Hathaway
seb bacon wrote: Production sites running a stock Zope are vulnerable to abuse of their server if they have not removed the 'Examples' folder. For example, anyone could use http://notcarefulenough.com/Examples/FileLibrary as a warez repository. Are you sure? I get an Unauthorized error

Re: [Zope-dev] vulnerability in stock Zope

2002-07-11 Thread Shane Hathaway
seb bacon wrote: Shane Hathaway wrote: seb bacon wrote: Production sites running a stock Zope are vulnerable to abuse of their server if they have not removed the 'Examples' folder. For example, anyone could use http://notcarefulenough.com/Examples/FileLibrary as a warez

Re: [Zope-dev] vulnerability in stock Zope

2002-07-11 Thread Shane Hathaway
seb bacon wrote: Shane Hathaway wrote: seb bacon wrote: Production sites running a stock Zope are vulnerable to abuse of their server if they have not removed the 'Examples' folder. For example, anyone could use http://notcarefulenough.com/Examples/FileLibrary as a warez

Re: [Zope-dev] ?determine if x is a string or array in PythonScript

2002-07-11 Thread Shane Hathaway
Tim Hoffman wrote: Hi I must be stupid or something, but I can't for the life of me work out a simple way of determining if a variable contains a string or array, in a PythonScript in Zope. I can't import type and or use type() function. isinstance doesn't work because I can't give a

Re: [Zope-dev] Crash Burn with Zope 2.6.0a1 and ZEO 2.0a1

2002-06-18 Thread Shane Hathaway
Jeremy Hylton wrote: We recently discovered that there's a bad interaction between ZODB and Python without large file support running on a platform that supports large files. In this specific configuration, os.path.exists() returns false for files 2 GB and ZODB creates a new Data.fs. Wow...

Re: [Zope-dev] Changes to ZCatalog

2002-06-13 Thread Shane Hathaway
Max M wrote: Is information about Zope development only discussed orally at zope.com, or is attached as comments in the cvs, or where do you guys keep each other up to date about changes taking place? There are dozens (sometimes hundreds) of updates, usually posted with nearly complete

Re: [Zope-dev] __setattr__ and acquisition ( was RE: __getattr__and acquisition)

2002-06-05 Thread Shane Hathaway
Nicholas Henke (by way of Nicholas Henke ) wrote: Given the following code: I can see why access to self.thing fails in Inner::__setattr__, but the question is how do I do that -- can I not use __setattr__ and have to use a setAttr that is accessed via O.I.setAttr('help','me rhonda') ?

Re: [Zope-dev] Refresh makes all imported modules = None

2002-06-03 Thread Shane Hathaway
William Trenker wrote: Lennart Regebro wrote: Suddenly when I refresh products it seems that all imported modules in the refreshed product are set to None, because after a refresh, anything I try to do always ends up with an error message like None has no attribute foobar or None is not

Re: [Zope-dev] Refresh makes all imported modules = None

2002-06-03 Thread Shane Hathaway
William Trenker wrote: At 09:36 AM 6/3/02 -0400, Shane Hathaway wrote: Are you working with products that use the old style [of product initialization]? Are they still around? ;-) I'm developing a Zope Database Adapter (DA) for the SQLite (http://www.hwaci.com/sw/sqlite) embedded

Re: [Zope-dev] Zope logic

2002-05-30 Thread Shane Hathaway
Lennart Regebro wrote: From: Wei He [EMAIL PROTECTED] An object (say index_html) is inherited by child objects of the site say Document to make http://www.domain.com/Document share the upper level index_html. This sounds good but acutally not I think. It not only sounds good, but it is

Re: [Zope-dev] Re: [ZPT] Order of attribute execution Feature Request

2002-05-13 Thread Shane Hathaway
Florent Guillaume wrote: Jim Penny [EMAIL PROTECTED] wrote: Are you referring to what I call magic boolean attributes ? http://lists.zope.org/pipermail/zpt/2002-March/003013.html Yes, thanks very much, this is very helpful. I see that you could find no documentation on this, and got no

Re: [Zope-dev] how bad are per-request-write-transactions

2002-04-19 Thread Shane Hathaway
Paul Everitt wrote: Let's say we had a queue in Zope. We could asynchronously send changes into the queue. Later, based on some policy (e.g. idle time, clock ticks, etc.), those changes would be enacted/committed. Imagine the queue itself is in a different storage, likely

Re: [Zope-dev] how bad are per-request-write-transactions

2002-04-18 Thread Shane Hathaway
Jeremy Hylton wrote: CM == Chris McDonough [EMAIL PROTECTED] writes: Completely agreed. My disagreement is portraying the counter problem as impossible with the zodb. I think some people, as evidenced by some of the responses, are willing to live with the tradeoffs. Other

Re: [Zope-dev] Re: 2.3.3 - 2.5.1b2 upgrade problem

2002-04-17 Thread Shane Hathaway
Simon Michael wrote: R. David Murray [EMAIL PROTECTED] writes: Probably, but I naively imagined that I was sophisticated enough to be finding a real problem...but I'm obviously not smart enough to realize that a breakage this fundamental could be due to a package like ZDebug. I wasn't

Re: [Zope-dev] Re: 2.3.3 - 2.5.1b2 upgrade problem

2002-04-17 Thread Shane Hathaway
On Wed, 17 Apr 2002, Chris Withers wrote: Shane Hathaway wrote: I've been putting in code for Zope 2.6 that replaces the functionality of ZDebug. ZDebug was always woefully unsafe. Zope 2.6 will have improved tracebacks. Does that mean we can turn them off when we don't want them

Re: [Zope-dev] __after_publishing_traverse__

2002-04-15 Thread Shane Hathaway
Ivo van der Wijk wrote: Hi All, I would like to do some bookkeeping *after* an object has been published, i.e. imagine a request is done for: /a/b/c/d 'b' is the (folderish) object that does the accounting, 'd' is the object to be published. I would like 'b' to examine the RESPONSE

Re: [Zope-dev] Overriding HTTPResponse.unauthorized()

2002-04-15 Thread Shane Hathaway
Matt Behrens wrote: I've got some rather funky auth requirements where I need to stop Zope from challenging Basic authentication when Unauthorized is raised. I seem to be able to do this if I monkey-patch HTTPResponse.unauthorized(), but what I'd really like is to be able to hook into

Re: [Zope-dev] Re: [Zope] isecure XML-RPC handling.

2002-04-04 Thread Shane Hathaway
Rossen Raykov wrote: My point was that Zope is revealing internal information that is believed to be private and invisible for the Internet users. It happens in its default (debug) installation and even after -D option is removed from the startup script. Rossen and others interested in

[Zope-dev] Better tracebacks proposal

2002-04-03 Thread Shane Hathaway
I've created a proposal that details what I'm working on to improve tracebacks for Zope 2.6. (A lot of the work is also going into Zope 3X.) http://dev.zope.org/Wikis/DevSite/Proposals/BetterTracebacks Everyone who is interested in improving Zope's tracebacks, please review the proposal and

Re: [Zope-dev] __bobo_traverse__, restrictedTraverse and PageTemplates

2002-04-02 Thread Shane Hathaway
Florent Guillaume wrote: So I don't understand the different treatments, with bobo_traverse I get a None container, which makes the validate fail, whereas standard traversal calls ac_acquire with as a filter validate2, the filters receives a container, and this validation suceeds. If

Re: [Zope-dev] OpenSSH configuration between ZEO clients storage server

2002-03-27 Thread Shane Hathaway
Itamar Shtull-Trauring wrote: Toby Dickenson wrote: but ssh port forwarding is only one layer of TCP. ssh port forwarding is good. I'mp pretty sure it's TCP over TCP (ssh protocol does multiplexing). SSL OTOH is not TCP over TCP. I think you are mistaken. :-) The site you referred

Re: [Zope-dev] OpenSSH configuration between ZEO clients storage server

2002-03-26 Thread Shane Hathaway
Toby Dickenson wrote: On Mon, 25 Mar 2002 12:19:11 -0500, Shane Hathaway [EMAIL PROTECTED] wrote: There are some disadvantages: anybody who has an account on either zeoclient or zeostorage has full read/write access to the database. A VPN would also work, but you'd still have the local

Re: [Zope-dev] OpenSSH configuration between ZEO clients storage server

2002-03-25 Thread Shane Hathaway
Eric Roby wrote: Anyone had any experience trying to secure the transactions between ZEO clients and a storage server??? Our shop is already using OpenSSH, I have read some introductory information about OpenSSH. It is just not clear to me the level of effort required to implement this or

Re: [Zope-dev] A thought for 2.6 about various leaks and memory problems

2002-03-19 Thread Shane Hathaway
Anthony Baxter wrote: Adrian Hungate wrote moved to a different thread or earlier, before the fork, so that we could simply kill senile threads without killing the entire shooting match? unfortunately apache does this with seperate processes, not threads. memory corruption and leaks

Re: [Zope-dev] more on the segfault saga

2002-03-13 Thread Shane Hathaway
Leonardo Rochael Almeida wrote: Well, I have the energy, I just don't know where to start. But it's beginning to look like I'll just have to roll up my sleeves and dive in C code to hunt this beast down. And to think that I'd chosen Python as my official programming language to avoid just

Re: SV: SV: [Zope-dev] Small Alert - Temp Solution - more...

2002-03-07 Thread Shane Hathaway
On Thu, 7 Mar 2002, Magnus Heino wrote: What browser are you using? Strange things like this happen for me occasionally after a Mozilla upgrade, but I just delete the cookies for the site and everything goes back to normal. I figure someone at Netscape is just fiddling with the cookie

Re: SV: [Zope-dev] Small Alert - Temp Solution - more...

2002-03-06 Thread Shane Hathaway
Jean-Paul Smets wrote: I could find out that certain cookie names work, some others do not Works __ac_ __ac_ra __ac_rak1 __ac_nex1 __ac_erp5 Does not work __ac __ac_rack1 __ac_rack12 Really strange. What browser are you using? Strange things like this happen for me

Re: [Zope-dev] Zope 2.6 planning - call for contributors!

2002-03-02 Thread Shane Hathaway
Christian Theune wrote: On Fri, Mar 01, 2002 at 07:53:35AM -0500, Paul Everitt wrote: A gentle reminder on some of the posts in this thread. Please don't respond with I'd really like some good idea. Respond with I'm willing to do the work for some good idea. That's part of the point with

Re: [Zope-dev] Benchmarks: DTML vs. ZPT?

2002-02-08 Thread Shane Hathaway
seb bacon wrote: Well, I just ran a very naive test and it suggests that zpt may be about twice as slow as dtml. I made a DTML Method, and a ZPT, identical to each other, containing only HTML: html Test /html Then I ran the ab benchmarking tool against each method, thus:

Re: [Zope-dev] copy paste 'leakage'

2002-02-08 Thread Shane Hathaway
Martijn Faassen wrote: Another data point. Copy paste of ParsedXML documents is normal and fast when the object is in a folder not surrounded by too many other folders (or objects in general, not sure yet). If I create a bunch of very large folders sitting next to the ParsedXML document

Re: [Zope-dev] Dependency problem with SimpleItem

2002-02-06 Thread Shane Hathaway
Romain Slootmaekers wrote: Yo dudes, I have problems with dependencies on Zope 2.4.3: If I try to import OFS.SimpleItem directly, I get following problem. (snip) ImportError: cannot import name Persistent If you do 'import Zope' first, you don't have this problem. But I can't do that

Re: [Zope-dev] Re: Python 2.1.2 does not fix the signal 11 crashing problem !!!!!!!!!!!

2002-01-21 Thread Shane Hathaway
Anthony Baxter wrote: Behrens Matt - Grand Rapids wrote Anthony Baxter wrote: In that case, how about cutting a version which is 2.4.3 + the compiler fixes? Crashes are bad, and it would be very nice to Make Them Go Away. :) You already have that. Check out the Zope-2_4-branch from CVS (see

Re: [Zope-dev] Open Letters and Zope 3

2001-12-04 Thread Shane Hathaway
Andy Dawkins wrote: Zope 3X requires Python 2.2b2. Are you sure you mean Python2.2b2? I tried this but seem to get problems with the pyexpat module. Would a different version do, Or have you solved any problems with the pyexpat module in 2.2.b2? Make sure you have expat, including

Re: [Zope-dev] Acquisition, __getattr__ and making a Proxy/Symlink class

2001-09-26 Thread Shane Hathaway
Lupus Yonderboy wrote: I have tried hooking __getattr__ and have a hard time avoiding recursion; I have taken a look at the ever-productive Shane Hathaway's TransparentFolder product as well but I think I am let down by my lack of understanding of the particulars of acquisition. Here are

[Zope-dev] Re: Addressing client-side trojan problem

2001-09-25 Thread Shane Hathaway
Ken Manheimer wrote: Shane Hathaway [EMAIL PROTECTED] wrote: This hasn't been fixed because it's not well understood. Javascript can POST an invisible form, AFAIK. The problem occurs on the browsers of users who are *already authenticated*. It has nothing to do with Zope or any server

Re: [Zope-dev] Vulnerability: attacking can get file list and dir ectory

2001-09-24 Thread Shane Hathaway
[EMAIL PROTECTED] wrote: On a high-traffic site, wouldn't the log get really big, really quickly with tracebacks? It is also nice to have the tracebacks in the browser window for debugging... But the log won't grow more than Z2.log. Yes, it is nice to have the tracebacks in the browser

Re: [Zope-dev] Custom Login

2001-09-24 Thread Shane Hathaway
Ivan Raikov wrote: Recently, I had to replace ZPublisher's default authentication scheme, as part of a product I'm working on. I am aware of the existence of LoginManager, exUserFolder, etc., but in this case I needed to have a custom login screen at root level, i.e. completely get

Re: [Zope-dev] Vulnerability: attacking can get file list and dir ectory

2001-09-24 Thread Shane Hathaway
[EMAIL PROTECTED] wrote: Personally, I think this really should be an integration issue instead of a Zope issue: use a front-end proxy server (i.e. Squid) and set up ACLs to prevent this... This hasn't been fixed because it's not well understood. Javascript can POST an invisible form,

Re: [Zope-dev] Naive API question(s)

2001-09-17 Thread Shane Hathaway
Holger Blasum wrote: Dear *, naively I volunteered for a talk on zope in autumn to a (small) CS student audience. However, I must confess that do not understand the basics about the API: What is the most general and state-of-the-art way (including necessary imports from the zope

Re: [Zope-dev] Zope 2.4.1 bugfix in RestrictedPython/__init__.py

2001-09-14 Thread Shane Hathaway
Romain Slootmaekers wrote: Yo dudes, VSEval in Documenttemplate tries to set Eval No problem but RestictedPython has no Eval attribute by default so you need to import it add this line to RestrictedPython/__init__.py import Eval Actually, VSEval currently does *not* apply restrictions.

[Zope-dev] Password encryption--calling on the community

2001-09-10 Thread Shane Hathaway
Following the Zope 2.5 plan, I have just added to CVS the capability for user passwords to be encrypted in the standard user folder. Please try it out. If it works correctly there should be no outwardly visible differences. I'm also soliciting the assistance of developers and users of

[Zope-dev] Password encryption--calling on the community

2001-09-10 Thread Shane Hathaway
Following the Zope 2.5 plan, I have just added to CVS the capability for user passwords to be encrypted in the standard user folder. Please try it out. If it works correctly there should be no outwardly visible differences. I'm also soliciting the assistance of developers and users of custom

[Zope-dev] ZServerSSL proposal

2001-07-06 Thread Shane Hathaway
Zopistas, Please support or denounce this proposal. Integrated HTTPS support in Zope would be really nice IMHO. http://dev.zope.org/Wikis/DevSite/Proposals/ZServerSSLIntegration Shane ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] Bug in TransparentFolders ???

2001-07-05 Thread Shane Hathaway
Andre Schubert wrote: after searching the soures if found a way the point of disaster. in TransparentFolderPatch i changed the line: if tpids and not self._v_no_transparent and name[:3] != '_p_' : to: if tpids and not self._v_no_transparent and name[:3] != '_p_' and name[-11:] !=

Re: [Zope-dev] experiments bugs with data.fs 2GB

2001-07-03 Thread Shane Hathaway
marc lindahl wrote: From: Chris McDonough [EMAIL PROTECTED] 1. Trying the same thing with 2.4.0b2 and reporting the results Yikes... I need CMF! So far it's not recommended with 2.4! Are there plans to fix this in the 2.3 branch? Actually, it was only not recommended that you use

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

2001-06-27 Thread Shane Hathaway
Andy McKay wrote: It depends on your experience. In your opinion you find it easier (now I can write a Zope product in my sleep I agree). Most Zope users however, in my experience, try ZClasses first. When I came to Zope, within a week I was getting ready to write a Python product. (And I

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

2001-06-22 Thread Shane Hathaway
On Friday 22 June 2001 04:24, Erik Enge wrote: On Fri, 22 Jun 2001, Shane Hathaway wrote: Now, if the ZPL were GPL compatible, the GPL would be in full effect for products. Digital Creations would automatically have the rights to redistribute derivatives of ZWiki. I believe DC would even

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

2001-06-22 Thread Shane Hathaway
On Friday 22 June 2001 06:55, Eric Roby wrote: I'm glad to know the product is being used. I don't think it will be in the core distribution since it causes a performance hit. I use Transparent Folders HEAVILY in my site designs. There are some Gotchas' that I have learned to deal with

[Zope-dev] Transparent folders, CookieCrumbler, ZDebug

2001-06-22 Thread Shane Hathaway
A new release of Transparent folders is ready. The only real difference is compatibility with Zope 2.3.3. http://www.zope.org/Members/hathawsh/TransparentFolders CookieCrumbler has been re-released independently of CMF. Thanks to living in the CMF for a while, the security hole has been

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

2001-06-22 Thread Shane Hathaway
On Friday 22 June 2001 10:59, Chris Withers wrote: Shane Hathaway wrote: If we're willing to start changing things at the C level, however, there are more options. Well, given how extremely useful skins seem as a concept (rather than just in their CMF context), along with Transparent

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

2001-06-22 Thread Shane Hathaway
On Friday 22 June 2001 12:33, Simon Michael wrote: Thanks for a most illuminating thread. Slight clarification to a comment of yours Shane - Shane Hathaway [EMAIL PROTECTED] writes: GPL code together. ZWiki is just in a strange position because the GPL is not actually in effect. I'm

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

2001-06-21 Thread Shane Hathaway
On Fri, 22 Jun 2001, Joachim Werner wrote: Transparent Folders are used very often at iuveno. And we would like to do so in the future because they really provide an easy way to structure objects in folders. But with Zope 2.3.3 we get errors like that when we start an instance that uses

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

2001-06-21 Thread Shane Hathaway
On Fri, 22 Jun 2001, Joachim Werner wrote: Tomorrow I hope to release a version of TransparentFolders that works around the problem, so you can wait for that instead if you like. Cool! Could you maybe put the patch that currently is applied in OFS/__init.py__ into a Hotfix? This would

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

2001-06-21 Thread Shane Hathaway
Jim Penny wrote: DC and FSF somehow have to come to some understandings of the following questions. Here is my own view (not DC's offical word!) Can a GPL (unmodified) component be distributed for Zope (at all)? I think the message by Bradley Kuhn is a little misleading. If you are the

Re: [Zope-dev] Proposed proposals: password encryption, ZODB RAM

2001-06-19 Thread Shane Hathaway
On Tue, 19 Jun 2001, Toby Dickenson wrote: However, I dont think encrypting user passwords is enough. Data.fs may contain plaintext passwords for relational databases, and in many cases it contains arbitrary confidential information. True. The RDBMS passwords are probably more sensitive

Re: [Zope-dev] what transaction does get_transaction().commit() really commit?

2001-06-18 Thread Shane Hathaway
Jephte Clain wrote: the question is: what transaction is commited with get_transaction().commit() ? It is only the one associated with the connection, or also the transaction in which is the caller? I mean, if my method is called from within Zope, is the transaction of the caller commited?

[Zope-dev] Proposed proposals: password encryption, ZODB RAM

2001-06-18 Thread Shane Hathaway
Here are a couple of ideas I'd like to toss out. Proposals can take a lot of time to write and it might be easier this way to flesh out the details. 1) Optional password encryption. Right now passwords are stored as clear text. What's interesting is that Zope can already authenticate

Re: [Zope-dev] Proposed proposals: password encryption, ZODB RAM

2001-06-18 Thread Shane Hathaway
On Monday 18 June 2001 15:33, Martijn Pieters wrote: On Mon, Jun 18, 2001 at 12:28:54PM -0400, Shane Hathaway wrote: 1) Optional password encryption. Right now passwords are stored as clear text. What's interesting is that Zope can already authenticate against SHA encrypted passwords

Re: [Zope-dev] security question

2001-06-16 Thread Shane Hathaway
Tim McLaughlin wrote: root has a role called 'User' with 'View' permissions (anonymous is disabled) and acl_users has a user called joe. joe can access objects in folder2 according to the permissions set on the root by using acquisition like this: http://server/folder1/folder2/object1 joe

Re: [Zope-dev] Non-undoable storage

2001-06-12 Thread Shane Hathaway
Morten W. Petersen wrote: during testing of a mail product I've discovered that the Data.fs file may bloat considerably after storing 50 messages. Packing the database will reduce the Data.fs file to 20 MB (from 40 MB). Another thing is that storing 50 messages takes a *long time* on a

Re: [Zope-dev] Non-undoable storage

2001-06-12 Thread Shane Hathaway
On Tue, 12 Jun 2001, Morten W. Petersen wrote: On Tue, 12 Jun 2001, Shane Hathaway wrote: Did you catalog each message? What version of Zope? Yes, every message was cataloged. Zope version 2.3.2 3) Manually zap the caches periodically, which is a capability of Zope 2.4.x. Okay

Re: [Zope-dev] Bulletproof ZCatalog proposal

2001-06-07 Thread Shane Hathaway
On Thursday 07 June 2001 07:43, Toby Dickenson wrote: Large catalog updates (where every object is reindexed) also generate a lot of conflicts. Is that last bit true? I thought 'Update Catalog' created *new* indexes. There might be a conflict on the root catalog object, but not on the

Re: [Zope-dev] Bulletproof ZCatalog proposal

2001-06-07 Thread Shane Hathaway
On Thursday 07 June 2001 11:51, Erik Enge wrote: On Thu, 7 Jun 2001, Shane Hathaway wrote: It really doesn't matter how many conflicts there are. Within a single transaction, 1 conflict is as bad as 100. Why? Because in Zope it means the whole request is processed again (which can lead

Re: [Zope-dev] Bulletproof ZCatalog proposal

2001-06-07 Thread Shane Hathaway
On Thursday 07 June 2001 12:17, Phillip J. Eby wrote: At 09:34 AM 6/7/01 -0400, Shane Hathaway wrote: One thing I didn't make clear in the proposal is that I'm interested in repurposing ZCatalog as a general ZODB indexing mechanism and essentially moving it down from the application layer

Re: [Zope-dev] Bulletproof ZCatalog proposal

2001-06-07 Thread Shane Hathaway
Phillip J. Eby wrote: That is, in ZPatterns one can specify triggers such as: WHEN OBJECT DELETED, CHANGED CALL someCatalog.manage_uncatalog(self.absolute_url(1)) WHEN OBJECT ADDED, CHANGED CALL someCatalog.manage_catalog(self,self.absolute_url(1)) After I read this again I realized what

Re: [Zope-dev] Bulletproof ZCatalog proposal

2001-06-07 Thread Shane Hathaway
On Thu, 7 Jun 2001, Phillip J. Eby wrote: I was thinking that certain types of objects would be committed by the transaction manager before all others. In this case, the catalog (or a special object in the catalog) would be committed first. It would resolve all conflicts in the contained

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, 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

<    1   2   3   4   5   6   >