Re: [Zope-dev] Python core dump zope 2.6.1+CMF1.3

2003-02-12 Thread R. David Murray
On Tue, 11 Feb 2003, Barry Pederson wrote: Sounds like you need the THREAD_STACKS_SIZE patch for FreeBSD's Python 2.1 Well, the others seeing the problem are *not* running FreeBSD. I was able to confirm that one saw it with Windows2000. Not sure about the others at the moment. If you've

[Zope-dev] Re: Bare except dangerous to ZODB? was Re: Accept-Charset hearderscausing 500 internal server error.[correct but not lenient]

2003-02-11 Thread R. David Murray
Paul Winkler [EMAIL PROTECTED] wrote: $ cd /usr/src/Zope-2.6.1-src/lib/python/Products/ $ find . -name *py -exec grep -H except: {} \; | wc -l 170 well, this is all stuff that comes with Zope, hopefully they have been vetted... but then there's all these 'fraid not. These days they tend to

Re: [Zope-dev] Track modification

2002-12-16 Thread R. David Murray
On Mon, 16 Dec 2002, Cornel Nitu wrote: I want to track modifications of objects and I don't know when Zope changes the bobobase_modification_time. Is there a method I could overwrite for this? No. Bobobase_modification_time is the timestamp in the ZODB (the database) when the object record

Re: [Zope-dev] Bugfix release?

2002-12-02 Thread R. David Murray
On Fri, 29 Nov 2002, Toby Dickenson wrote: On Wednesday 27 November 2002 5:50 pm, Brian Lloyd wrote: FYI I'd like to have a 2.6.1 beta out next week. Jeremy is still looking at a few ZODB bug reports - as soon as he's done we'll make the beta. Im not sure this is a good plan. Jeremy's

Re: [Zope-dev] Moving forward with Zope 2.7

2002-11-26 Thread R. David Murray
On Tue, 26 Nov 2002, Tino Wildenhain wrote: Tried it: os.environ['MYENVIRON']='FooBar' ^D echo $MYENVIRON nothing. What is wrong? rdmurray@stage:~cat temp.sh export TEST='abc' echo $TEST rdmurray@stage:~sh temp.sh abc rdmurray@stage:~echo $TEST ^ equally nothing. export (and

Re: [Zope-dev] Re: user roles authentication

2002-11-11 Thread R. David Murray
On Sat, 9 Nov 2002, Grant K Rauscher wrote: This is how the HTTP 1/1 specification requires it to be. Your browser follows this spec. Dieter, I understand the HTTP spec... but ZOPE does not work that way. I can use methods which require roles above where I logged in. The

Re: [Zope-dev] 2.6.1 Plan?

2002-10-30 Thread R. David Murray
On Wed, 30 Oct 2002, Chris Withers wrote: The flurry to get features into a 'stable' release is what I was on about. If you flurry, the release won't be stable. I like the pattern of having stable releases and CVS or nightly builds for people who want the latest and greatest. That way

Re: [Zope-dev] Can't edit CMF/Plone content if the creator is deleted

2002-10-11 Thread R. David Murray
On Fri, 11 Oct 2002, Adrian Hungate wrote: I don't know if this is a Zope, CMF, Plone or DCWorkflow issue, but I just got bitten by what appears to be a bug in someone's security handling. If you create some content as user A, then delete user A, no one can edit the content, or change it's

Re: [Zope-dev] Speaking of Structured Annoyances

2002-09-05 Thread R. David Murray
On Wed, 4 Sep 2002, Jeffrey P Shell wrote: Um, how does one escape * in STX-NG? As in - what if one is entering an equation inline like 2 * 2 * 3 = 12? Or, does one just fall back on using x? How about '2 * 2 * 3 = 12'? --RDM ___ Zope-Dev

Re: [Zope-dev] Speaking of Structured Annoyances

2002-09-05 Thread R. David Murray
On Thu, 5 Sep 2002, Jeffrey P Shell wrote: Doesn't work. At least, not where I tested it (ZWiki 0.7-ish). :\ Worked for me. Using StructuredText.py from 2.7, I think. --RDM ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] Re: Future of StructuredText

2002-09-04 Thread R. David Murray
On Wed, 4 Sep 2002, Jeffrey P Shell wrote: When writing books, however, you're most likely using an editor that makes it easy to reformat blocks at the proper indentation level. For a lot of web input where you still want to allow some simple structure, indentation It would be really sad if

Re: [Zope-dev] find unused objects: hopefully the last misunderstanding...:o)

2002-08-30 Thread R. David Murray
On Fri, 30 Aug 2002 [EMAIL PROTECTED] wrote: Consider a tab for methods... which allows to parse them and produces a sortable list of links to the other referenced methods... Just to make it clear what I'm talking about when I say effectively impossible, consider the following bit of DTML:

Re: [Zope-dev] find unused objects: hopefully the last misunderstanding...:o)

2002-08-30 Thread R. David Murray
On Fri, 30 Aug 2002 [EMAIL PROTECTED] wrote: Consider a tab for methods... which allows to parse them and produces a sortable list of links to the other referenced methods... Good luck grin. You might manage a Quick and Dirty implementation, but to guarantee you've not missed anything you

Re: [Zope-dev] find unused objects: hopefully the last misunderstanding...:o)

2002-08-30 Thread R. David Murray
On Fri, 30 Aug 2002, Oliver Bleutgen wrote: If there is a central part in zope (ZPublisher?) which always runs when methods/scripts/etc are called, one could patch it to also log the path of the object which is called (the physical path!). Then just use a web spider which crawls the whole

Re: [Zope-dev] ZSQLMethod is stupid :o|

2002-08-14 Thread R. David Murray
On 14 Aug 2002, Axel Bock wrote: I tried the suggestion of Leonardo, but I got one simple - but nonetheless annoying - problem right now: Simple enough for the zope list rather than zope-dev grin. I defined an SQL method with the two parameters title and plicense. Now if I call

Re: [Zope-dev] A Modest Proposal Concerning Monkey Patches

2002-08-13 Thread R. David Murray
On Tue, 13 Aug 2002, Jim Penny wrote: B) If so, he makes whatever checks he can to determine if he can update the file in $(INSTANCE_HOME)/tmp. Updating a (disk based) file and monkey patching don't seem to go together in my mind. I'm really unclear what you are proposing here.

Re: [Zope-dev] A Modest Proposal Concerning Monkey Patches

2002-08-13 Thread R. David Murray
On Tue, 13 Aug 2002, Casey Duncan wrote: That is why it would be beneficial to make the thing being patched extensible in the first place thereby alleviating the need to patch it. This is a very good point. Now that we have comitters outside zope corp, Product authors probably ought to think

Re: [Zope-dev] saving dictionaries in MySQL database with usingexisting connection

2002-08-13 Thread R. David Murray
On 13 Aug 2002, Axel Bock wrote: it into the database), but this is not what I intend. I want to say something like this (very, very roughly!): db.save(dictionary) ...and Zope should put my dict into the db. Serialized. Does anyone know whether this is possible or not, and if

Re: [Zope-dev] Adding Items to Object Manager and Folders

2002-07-17 Thread R. David Murray
On Tue, 16 Jul 2002, Ross Boylan wrote: The Zope Developer's Guide and the API docs (Zope 2.5) present different stories about how to add things to object managers. I don't really follow what the API stuff is doing. This is a request for clarification. Devguide says do def

[Zope-dev] Buglet in Zope, or Bug in Python, you decide...

2002-06-24 Thread R. David Murray
Zope 2.5.1, Python 2.2.1 (yes, I know it's not supported yet grin). I just spent a day tracking down a weird initialization problem in Zope2. If you have the following circumstances: 1) an instance of a calss from a Product already in the ZODB 2) your Product 'initialize' uses __import___ to

Re: [Zope-dev] RFC 2616, side effects, and idempotence (was:Last-Modified....)

2002-06-18 Thread R. David Murray
On Tue, 18 Jun 2002, Oliver Bleutgen wrote: Toby Dickenson wrote: Rendering may produce side effects. But HEAD requests are required by HTTP not to have side effects. RFC 2616 section 9.4 states that HEAD is identical to GET in this respect, and both should have no side effects.

Re: [Zope-dev] RFC 2616, side effects, and idempotence (was:Last-Modified....)

2002-06-18 Thread R. David Murray
On Tue, 18 Jun 2002, Oliver Bleutgen wrote: First, your quoting is wrong, I didn't write that - talk about precisionist *g*. Check the number of s. I don't know who lost the attribution of the inner part, but I just replied to your message and cut off everything after the last line quoted.

Re: [Zope-dev] Last-modified and bobobase_modification_time

2002-06-16 Thread R. David Murray
On Sun, 16 Jun 2002, Chris Withers wrote: Why do you think that? Surely all zope users will care about this? ;-) Besides, that's not the point, re-read Casey's email more carefully... Although I'm new to Zope, I'm not new to mailing list. I know the mailing list rule but I just don't agree

Re: [Zope-dev] 2nd Zope Instance

2002-06-14 Thread R. David Murray
On Thu, 13 Jun 2002, William Trenker wrote: I appreciate the good advice I got here on starting a 2nd instance of Zope using a separate INSTANCE_HOME folder and a different HTTP port. That works great! I think maybe you wanted to post this to zope, not zope-dev Now I'm wondering where

Re: [Zope-dev] Testing Zope Products with Python Debugger

2002-06-06 Thread R. David Murray
On Wed, 5 Jun 2002, Robert Rottermann wrote: Just install a second Zope and have it running from an other Port. You don't even have to install a second zope. Just use an INSTANCE_HOME setup to start zope with a different port and different Data.fs. --RDM

Re: [Zope-dev] Re: [Zope-Coders] ACTION: 2.6 project status updates...

2002-06-04 Thread R. David Murray
On Tue, 4 Jun 2002, Lennart Regebro wrote: From: Brian Lloyd [EMAIL PROTECTED] I suggest we leave this one deferred then, as I really would like any changes to the security architecture to be strongly informed by Zope3 work. I'm pretty sure it *is* informed, to be honest. :-) Well,

Re: [Zope-dev] Zope 3 Installation

2002-06-03 Thread R. David Murray
On Mon, 3 Jun 2002, Eddie Moench wrote: After correcting the verify-import (there was a case-problem), I get the error message cannot import name Interface by the command from Interface import Interface - which is called by many scripts. Does anyone had the same problem and knows a solution?

Re: [Zope-dev] Best practice for Zope-private copy of Python 2.1 onLinux?

2002-05-07 Thread R. David Murray
On Mon, 6 May 2002, Jeff Kowalczyk wrote: Python 2.2, I'll ask if there is, or suggest if there isn't, a shift due in the installation procedures on Linux to optionally use a private copy of Python 2.1, much like the Windows version of Zope does. That version Personally, I just do a 'make

Re: [Zope-dev] Does 'undo' scan the entire ZODB?

2002-05-02 Thread R. David Murray
On Thu, 2 May 2002, Toby Dickenson wrote: and all of them are eligible to be shown on the page. However if you are looking at the undo tab of an insignificant leaf object that rarely changes, it might have to scan through a very large number of transactions before it finds 20 relevant ones to

Re: [Zope-dev] SOAP and Zope

2002-04-24 Thread R. David Murray
On 24 Apr 2002, Tim Hoffman wrote: I have check the WebServices in cvs.zope.org, but it appears to me that it is a standalone implementation. Has anyone tackled this yet. If you search the mailing list archives for SOAP you might be able to find references to work someone did a while back on

Re: [Zope-dev] PHP vs Zope cost benefit

2002-04-24 Thread R. David Murray
On Wed, 24 Apr 2002, Joseph Cheek wrote: nope. that's a function of the DB, not PHP. if the DB is written right it will roll back/commit transactions automatically. so this becomes an argument for zope over php+some really lame DB, not zope over php regardless. 8-) [agreed that the

Re: [Zope-dev] PHP vs Zope cost benefit

2002-04-24 Thread R. David Murray
On Wed, 24 Apr 2002, Jason Spisak wrote: This means that every Update/Insert command make sthe ZODB grow, right? Has anyone had experience with Packing a site with high traffic in a case like this (RDBMS backend)? What happens? No, and RDBMS update or insert does *not* cause the zodb to

Re: [Zope-dev] Re: death to index_html; ObjectManager?

2002-04-16 Thread R. David Murray
On Tue, 16 Apr 2002, Casey Duncan wrote: However, you should know that the crux of this change is really to the publisher, the mixin is just the management piece. *any* object can define a browser_default hook that overrides 'index_html', not just objectmanagers. All the more reason to make

Re: [Zope-dev] Re: ZClasses useful! [Was: ZMI / JavaScript brainstorm]

2002-04-09 Thread R. David Murray
On Tue, 9 Apr 2002, Martijn Jacobs wrote: I will not stop dissing them until people stop using them and then complaining when they break, don't do what they want or behave unexpectedly. What's your efford on this task? If people like to use them, let them! It's not up to you to decide for

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

2002-04-06 Thread R. David Murray
On Sat, 6 Apr 2002, Rossen Raykov wrote: BUT: The developer has access to the system, and the dump doesn't have to be included in the HTML output. Maybe error dumps could be sent to a disk-log of some sort? Exactly that's my point. Log it with as many details as you can! From what he

Re: [Zope-dev] FW: Catalogs, Imports, and Path Awareness (was Re:[Zope-dev] ZClass Constructor Cleanup for 2.6)

2002-04-02 Thread R. David Murray
On Mon, 1 Apr 2002, Jeffrey P Shell wrote: subobjects and calls that. That's probably the right thing, but it is what's causing the double cataloging, regardless of how the item is cataloged. Catalog*Aware objects call into the catalog during manage_afterAdd, and I'm sure that the same

Re: [Zope-dev] Simplification via custom protocol handlers:cvs://server/project, zope://foo ?

2002-04-01 Thread R. David Murray
is bad. What happens when we switch to some other revision control tool (like clearcase, subversion, sourcesafe)? Either you have multiple classes like CVS-XSLTFile, Clearcase-XSLTFile, etc. or a single class that knows about every possible version control system. yuk. Clearly,

Re: Catalogs, Imports, and Path Awareness (was Re: [Zope-dev] ZClassConstructor Cleanup for 2.6)

2002-04-01 Thread R. David Murray
On Mon, 1 Apr 2002, Jeffrey P Shell wrote: If other people have come across this, I think finding a resolution to this would be a more-than-worthy 2.6 project. If I'm just smoking crack and it's only a ZPatterns/TransactionAgents behavior that I'm witnessing, then I'll just leave my huffing

Re: [Zope-dev] Tracing transactions

2002-03-26 Thread R. David Murray
On Tue, 26 Mar 2002, [iso-8859-1] Dario Lopez-Kästen wrote: I need it mostly to log what transacations failed, why they failed and what was involved. Any pointers in a general direction towards this are appreciated. The -M option of Z2 might get you part of what you want. --RDM

Re: [Zope-dev] Getting the count of hits while searching zcatalog

2002-03-26 Thread R. David Murray
On Tue, 26 Mar 2002, Deniz, Metin wrote: can you tell me how to get the count of hits searching a zcatalog. This is a [EMAIL PROTECTED] rather than a zope-dev question. The answer, I think, is 'sequence-length'. --RDM ___ Zope-Dev maillist -

Re: [Zope-dev] variables in zope (beginner question)

2002-03-12 Thread R. David Murray
On Mon, 11 Mar 2002, Mike Guerrero wrote: I the code below I want to be declare a variable 'tot_net_amt' and add 'net_amt' to it for each record returned. How can I: 1) declare the variable 2) add to it within the loop. Thanks. Is it in the Zope book? I'll read some more tonight. This

Re: [Zope-dev] re: zope3 tutorial (was Re: Zope vs. Cocoon)

2002-02-25 Thread R. David Murray
On 25 Feb 2002, seb bacon wrote: But IMO the tutorial doesn't really demonstrate *why* the component architecture is a Good Thing. If you're not familiar with the design patterns used, then I suspect it looks overly verbose and fairly opaque. If you are familiar with GoF or suchlike, then

Re: [Zope-dev] Newbie: manage_add DTML access to product variables

2002-02-08 Thread R. David Murray
On Tue, 5 Feb 2002, John Hall wrote: 1. How do I format an object to use in a dtml-in loop? (I'm thinking it needs to be a list of dict's). dtml-in will accept four differen formats: a list of objects with attributes, a list of values, a list of dicts, or a list of pairs. A list of

Re: [Zope-dev] Module changes not taking in external method

2002-02-08 Thread R. David Murray
On Fri, 8 Feb 2002, Ted Skolnick wrote: Hi I am a zope newbie getting started by using external methods. I am importing modules from another package in my external methods and having some problems. When I change code in the external method, I see thos changes take right away when I call

Re: [Zope-dev] dynamically using inheritance

2002-02-03 Thread R. David Murray
On Sat, 2 Feb 2002, Ed Colmar wrote: dtml-call REQUEST.set('skinname', 'skins.default') dtml-with _.string(skinname) This is a [EMAIL PROTECTED] question rather than a zope-dev question, but: dtml-with _[skinname] should solve your problem. That looks the string held in skinname up in the

Re: [Zope-dev] Dynpersist.so and makefile.pre.in

2002-02-01 Thread R. David Murray
On Thu, 31 Jan 2002, Jeffrey P Shell wrote: On 1/31/02 5:02 PM, Ed Colmar [EMAIL PROTECTED] wrote: Are there any other (simple) solutions to doing authentication through a SQL DB? Jumping through hoops to get Zpatterns working seems silly when all I need is basic authentication. Though

Re: [Zope-dev] Generating abstracts in ZCatalog

2002-02-01 Thread R. David Murray
On Fri, 1 Feb 2002, Cuthbertson, Mark wrote: Hi, I'm quite new to all this Zope development but seem to be picking things up quite nicely. However, I am having a problem generating abstracts for my Search Engine. It's something that I used to be able Probably you should post to [EMAIL

Re: [Zope-dev] Dynpersist.so and makefile.pre.in

2002-01-31 Thread R. David Murray
On Thu, 31 Jan 2002, Christian Theune wrote: On my systems it is located at somewhere like /usr/lib/python(version)/config/Makefile.pre.in or /usr/local/lib/python(version)/config/Makefile.pre.in Just an FYI, Makefile.pre.in no longer exists (as far as I can tell) under python 2.2. --RDM

Re: [Zope-dev] Python 2.1.2 causes Error code 6?

2002-01-28 Thread R. David Murray
On Mon, 28 Jan 2002, Chris Withers wrote: I tracked it down to a python script that returned a data structure consisting of nested lists and dictionaries. Now, I remember there being a bug in RestrictedPython that would affect Zope 2.4.2, but why would the upgrade of Python suddenly trigger

Re: [Zope-dev] Use sql database in ZCatalog

2002-01-25 Thread R. David Murray
On Fri, 25 Jan 2002, Howard Zhang wrote: Does anyone use sql database to store index and meta data for performance and still provide same zcatlog api to keep compatibility ?. Why do you think storing metadata in an sql database would improve performance? I'm not saying it wouldn't, but it's

Re: [Zope-dev] Product upgrades

2002-01-24 Thread R. David Murray
On Wed, 23 Jan 2002, Max M wrote: Generally Zope uses pickle to save the objects. And pickel will not save the methods, nor the class attributes:: I'm surprised to have seen no mention of __setstate__ in this thread. Is doing simple upgrade-on-the-fly via __setstate__ now considered Bad Form?

Re: [Zope-dev] proxy role inheritence (was REQUEST.AUTHENTICATED_USERquestion)

2002-01-24 Thread R. David Murray
On 24 Jan 2002, Leonardo Rochael Almeida wrote: When you give a method one or more proxy roles, the user that can view/call it assumes these roles instead of his own. That means he has the permissions these proxy roles have, instead of the permissions his own roles would give him (which means

Re: [Zope-dev] Searching

2001-12-14 Thread R. David Murray
On Wed, 5 Dec 2001, Dieter Maurer wrote: Not out of the box. You could place something before ZCatalog (which parses subquerie for search term and expands them into a set of synonyms). But you would need to work quite hard to get true semantic search... A while back when I was working with

Re: [Zope-dev] Competition

2001-12-06 Thread R. David Murray
On Fri, 30 Nov 2001, Chris Withers wrote: Stephan Richter wrote: And they have their own issues, what with needing to make money out of Zope, which means intrinsically that all of us outside of Zope Corp are in competition with them. No that is not true. In Germany for example, noone

Re: [Zope-dev] from Globals import Persistent

2001-11-15 Thread R. David Murray
On Wed, 14 Nov 2001, Benjamin Buffereau wrote: I'm using the binary version of Zope 2.4.3 for Windows. I'm trying to run the PollProduct example of the Zope Developper's Guide, and it seems to me that there is a big problem with the import of the name Persistent. Here is what I get trying to

Re: [Zope-dev] Extending Zope with Eiffel

2001-10-26 Thread R. David Murray
On Thu, 25 Oct 2001, Eric Roby wrote: I like Python ... but I don't think (as a scripting language) it is up to the challenge of an expert system. A language that I feel is up to the challenge is Eiffel (especially in conjunction with ISE EiffelStudio .. an [...] Am I way off base here ? Or

Re: [Zope-dev] Re: [Bug+Patch] Microseconds in DateTime

2001-10-25 Thread R. David Murray
On Wed, 24 Oct 2001, Nicola Larosa wrote: OK, so nobody cares. Anyway, the BugCollector is down, what is a poor guy to do to get the fix in? Of course, if it is a very stupid thing to do, I would really like to know. :^) Well, I like the idea personally, but let me play devil's advocate here

Re: [Zope-dev] BUG or FEATURE?

2001-10-24 Thread R. David Murray
On Wed, 24 Oct 2001, Sidnei da Silva wrote: But i still dont understand why the first time i call REQUEST.set, and use dtml-var variable the variable has the value i set, and subsequent calls to REQUEST.set modify REQUEST['variable'] but not variable. This is not right for what i think. Or it

Re: [Zope-dev] STX and underline symbology

2001-10-23 Thread R. David Murray
On 19 Oct 2001, Alastair Burt wrote: 1) there are no spaces in strings to underline, only more '_' (_this_is_an_example_), or I'd vote for this. I think it makes underlining more visual when reading the stx in text mode. --RDM ___ Zope-Dev

Re: [Zope-dev] Versions (still)

2001-10-23 Thread R. David Murray
On Tue, 23 Oct 2001, Andy McKay wrote: and got into ZODB stuff I didnt understand. I would have thought having a little refactoring to give two more methods: getVersionContents and commitObject would be possible, but Im scratching my head at FileStorage now. To my understanding, versions are

Re: [Zope-dev] BUG or FEATURE?

2001-10-23 Thread R. David Murray
On Tue, 23 Oct 2001, Sidnei da Silva wrote: I dont know how it was supposed to work, but i think that if the REQUEST was immutable inside a dtml-with, it should be not allowed to call REQUEST.set inside it. It isn't immutable. The second and subsequent sets should work. dtml-call

Re: [Zope-dev] Re: Install doesn't start properly

2001-10-23 Thread R. David Murray
On Mon, 22 Oct 2001, Martijn Pieters wrote: First, actually, untarring as root sets the ownership of a lot of the stuff in my solaris bindist to 506:100 (brian:users, it says in the listing.) Default behaviour when using tar as root; it'll preserve the UID and GID of the person that

Re: [Zope-dev] GUF and SQL

2001-10-11 Thread R. David Murray
On Thu, 11 Oct 2001, Andre Schubert wrote: I'am using GUF with ZSqlMethods and found out, that every time a object is accessed the sql-method is called, [...] Is there a why to implement such a AUTHENTICATION-String cache in the GUF-Product, it brings a lot of performance, when using GUF with

Re: [Zope-dev] file descriptors on Solaris

2001-10-03 Thread R. David Murray
On Tue, 2 Oct 2001, John Ziniti wrote: Yeah ... something tells me it's a little more complicated than that. Like recompiling the kernel, quite possibly. On FreeBSD there's a sysctl, although you may still have to recompile the kernel in some cases I think; on Linux you can zap a variable in

RE: [Zope-dev] Create directory in LocalFS

2001-09-26 Thread R. David Murray
On Tue, 25 Sep 2001, Jeff Nielsen / UgoFast wrote: I don't think I'm understanding you. I want to create the subdirectory programmitcally inside a DTML Document. Are you suggesting something like: dtml-call /images/Companies/100/manage_addProduct/OFSP/folderAdd(187) OFSP is Zope's Object

Re: [Zope-dev] Z2.log file not showing user name correctly

2001-09-26 Thread R. David Murray
On Wed, 26 Sep 2001, George Nguyen wrote: I was looking in the entries in the Z2.log file and it lists the user as being Anonymous when I'm actually logged in as a validated user. This is very likely the result of an authentication...optimization?...done by the security machinery: if the

Re: [Zope-dev] DISCUSS: Community checkins for CVS

2001-09-25 Thread R. David Murray
On Tue, 25 Sep 2001, Paul Everitt wrote: Repugnancy aside :^) your second comment is on the mark. It isn't so much that you need to assign and lose ownership. Rather, the committer needs to ensure that they aren't violating your rights. We'll probably work up some boilerplate such as, I'm

Re: [Zope-dev] Structure-text : html

2001-09-21 Thread R. David Murray
On Thu, 20 Sep 2001, Jens Vagelpohl wrote: AFAIK this is the right behavior and not a bug. you ask for the StructureText document to be rendered and you inform the rendering machinery that the document is in structured text. the rendering process will output HTML. i think what you want is

Re: [Zope-dev] Patching Zope Products .. next Question

2001-07-11 Thread R. David Murray
On Wed, 11 Jul 2001, Ulrich Eck wrote: the CMFDefault.Document for example is still subclassed from CMFCore.PortalContent (the default) and therefore doesn't behave like a dataskin .. any ideas ? You can hotpatch the __bases__ attribute of the derived class. --RDM

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

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

Re: PossitionIndex (was: Re: [Zope-dev] ZCatalog phrase indexingrevisited)

2001-06-18 Thread R. David Murray
On Sun, 17 Jun 2001, Chris McDonough wrote: index_object, because the splitter return has all the words in order, even the dupes... as you iterate, you can mutate Is this part of the current formal Splitter Interface? If not, it needs to be if other code is going to depend on it. Oh, yeah,

Re: [Zope-dev] [Announce] API Documentation Fishbowl Project

2001-06-07 Thread R. David Murray
On Wed, 6 Jun 2001, jimbo wrote: I believe that if you are a true developer you will/can figure out the api given the vast information available today. For example the dcworkflow product was just released. I believe the best documentation would be how-to actually use the product. Ah,

Re: [Zope-dev] Streaming and PCGI

2001-06-06 Thread R. David Murray
On Wed, 6 Jun 2001, Andre Schubert wrote: Can anybody explain me why streaming over PCGI doesn't work, or has anybody a solution of streaming with PCGI ??? Perhaps the PCGI has its own timeout that doesn't wait even if it has been given some headers. I wonder if Apache ProxyPass has the same

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

2001-06-03 Thread R. David Murray
On Fri, 1 Jun 2001, Ng Pheng Siong wrote: Actually I have wondered something about that... Why does it always show up as linux2 even when not on linux? I'm on FreeBSD using a compiled from source python and Zope and it still shows up as Linux. lib/python/version.txt Just edit it.

Re: [Zope-dev] Does creating REAL over-the-web Python code becomerealistic with Zope 2.4?

2001-06-01 Thread R. David Murray
On Fri, 1 Jun 2001, E. Seifert wrote: at http://dev.zope.org/Resources/ZopeDirections.html: The major goal will be to simplify how components (now called products) are built and used. For example, currently some products are built in the filesystem and some are built in the object database.

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

2001-06-01 Thread R. David Murray
On Fri, 1 Jun 2001 [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

Re: [Zope-dev] Browser Timeout

2001-05-31 Thread R. David Murray
On Thu, 31 May 2001, Andre Schubert wrote: I tested with lynx. If i type http://somewhere.com/foo/test i got no response because timeout, this means, that RESPONSE.setStatus and the first RESPONSE.write are sent back to the client if the body processing is done, but i would send every command

Re: [Zope-dev] Browser Timeout

2001-05-30 Thread R. David Murray
On Wed, 30 May 2001, Andre Schubert wrote: Is it right, the the browser send a request and got the response when the site is completly rendered( all queries executed ) ? If yes, how can i directly write to the client. First all headers, and after every query send the data to the client, if i

Re: [Zope-dev] What would *you* like to have in PropertyManager andfriends?

2001-05-29 Thread R. David Murray
On Tue, 29 May 2001, Chris Withers wrote: As for nicer interface... I guess you' ll have to elaborate a bit ;-) Well, I think it's manage_changeProperties (nasty name for starters) that deletes any property you don't include in its arguments, see the interfaces wiki for details. Nope,

Re: [Zope-dev] Fwd: [Zope] ZCatalog + Directory product question

2001-05-21 Thread R. David Murray
On Thu, 17 May 2001, Casey Duncan wrote: You should create an instance method (It will need to be a Python script, DTML methods cannot be indexed)to return the result of the value To my understanding, this is not true. DTML Methods *can* be indexed, they just can't make use of REQUEST in

Re: [Zope-dev] New IOBTrees have no 'map' method

2001-05-11 Thread R. David Murray
On Fri, 11 May 2001, Chris Withers wrote: Probably not appreciably... unless it is, of course. ;-) It depends how many things you're iterating over. Hehe, I'll leave it then, unless someone complains abotu Squishdot being dog slow... If you haven't already read it, you might be

Re: [Zope-dev] New IOBTrees have no 'map' method

2001-05-07 Thread R. David Murray
On Tue, 8 May 2001, Chris Withers wrote: Chris McDonough wrote: Have you read the Interfaces.py file in the BTrees directory? I have now, and to be honest, it didn't mean a lot to me :-( Sorry, it's late here, what am I missing? My guess, after searching for the keyword 'map' and

Re: [Zope-dev] ZCatalog comments

2001-04-30 Thread R. David Murray
On Fri, 27 Apr 2001, Chris Withers wrote: Wildcards? Hmmm... that's enticing, where and how will they be supported? Wildcards are supported (and have been for a while) in text index searches if you specify a globbing vocabulary at Catalog creation time. --RDM

[Zope-dev] how to add to the pythonscript allowed import list?

2001-04-19 Thread R. David Murray
I've got a little Product that does some init hacks. One of the things I want to do is expose a couple of python fuctions such that they can be imported into pythonscripts. After much spelunking in the mailing list and the PythonMethods wiki on zope.org, I *think* that what I need to do is

Re: [Zope-dev] how to add to the pythonscript allowed import list?

2001-04-19 Thread R. David Murray
On Thu, 19 Apr 2001, Chris McDonough wrote: http://www.zope.org/Documentation/ZDG/Security.dtml (see Using ModuleSecurityInfo Objects) I think it will be something along the lines of: from AccessControl import ModuleSecurityInfo

Re: [Zope-dev] cvs checkin?

2001-04-16 Thread R. David Murray
On Mon, 16 Apr 2001, Andy McKay wrote: I suppose, its just not really a bug and I've always thought of the collector as bug db. One of the options when you submit is "feature request w/patch". So the "bug collector" probably needs a name change... On the other hand, we all know about the

Re: [Zope-dev] un-own an object

2001-04-12 Thread R. David Murray
On Thu, 12 Apr 2001, Tim McLaughlin wrote: Ok, so imagine a DTML method has an owner, and as the docs say the method can do no more than the authenticated user and the owner's permissions combined. So, now delete the owner. No, it is the *intersection* of the two ownership sets, not the

[Zope-dev] DTMLOverride

2001-04-08 Thread R. David Murray
I came across a need to modify a couple DTML Methods of a Product I was using. (It's my own product, but ignore that for now grin). I didn't want to modify the code of the product, because then I'd loose changes if I upgraded the product. First I just wrote a little product whose init method

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

2001-03-27 Thread R. David Murray
On 26 Mar 2001, Karl Anderson wrote: Is there a particular set of tools or editing paradigms that we have in mind when we say that a non-XML representation is suited for client side tools? I think the prime current example of this is the way you can use any text editor to edit the serialized

Re: [Zope-dev] Deleting objects by the users

2001-03-22 Thread R. David Murray
On Thu, 22 Mar 2001, Rik Hoekstra wrote: one small correction: the line: dtml-call expr="manage_delObjects(getId())" should read: dtml-call expr="manage_delObjects([getId(),])" as the manage_delObjects takes a list as argument Well, but the other would work, since

Re: [Zope-dev] Comment on CVS change of default textindex search operator

2001-03-21 Thread R. David Murray
On Tue, 20 Mar 2001, Casey Duncan wrote: It's so broken with OR for large datasets that the search results are virtually meaningless. We see this first-hand on Zope.org (which is now ANDed after an upgrade) and in most of our consulting projects. I strongly agree that there should be

[Zope-dev] Comment on CVS change of default textindex search operator

2001-03-20 Thread R. David Murray
To: [EMAIL PROTECTED] Date: Mon, 19 Mar 2001 19:47:31 -0500 (EST) From: [EMAIL PROTECTED] (Chris McDonough) Subject: [Zope-Checkins] CVS: Zope2 - UnTextIndex.py:1.33.2.9 Update of /cvs-repository/Zope2/lib/python/SearchIndex In directory

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

2001-03-20 Thread R. David Murray
On Mon, 19 Mar 2001, John D. Heintz wrote: I'm not sure that in the most general case this would solve the problem either. :-( How do we know when the value (or rather the change in value) of a property for some Zope object should trigger some method? This is a definate advantage of

Re: [Zope-dev] Adding a property to a batch of objects ?

2001-03-20 Thread R. David Murray
On Tue, 20 Mar 2001, Holger Lehmann wrote: I wanted to do sonething like this: dtml-in "objectIds(['DTML Document']) dtml-call manage_addProperty('foo','bar','string') /dtml-in But I am missing the part :-( I can happily add the property to myself or the folder above (if a DTML

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

2001-03-18 Thread R. David Murray
On Sun, 18 Mar 2001, Dan L. Pierson wrote: representation of Chris' proposal. FSDump has no read capability. At IPC9, someone from DC told me that Tres was worried that read capability would be a giant security hole. I can't remember if that someone was Tres or not. IMHO, the

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

2001-03-18 Thread R. David Murray
On Sun, 18 Mar 2001, Chris McDonough wrote: "Potentially lossy" also doesn't mean "leaky". It just means that folks who expose their objects to this sort of serialization can choose their own format, and if it represents the object adequately for their own use in both directions, it's good

Re: [Zope-dev] ZPatterns: getItem returns None

2001-03-17 Thread R. David Murray
On Sat, 17 Mar 2001, Roch'e Compaan wrote: When I call getItem(existing_id) on the specialist, it returns None. In my experience, getItem will return None if *anything* goes wrong with data retieval or object creation. Sometimes you get a traceback in the STUPID_LOG, and sometimes you don't

Re: [Zope-dev] Re: [Zope] Is ZFormulator alive?

2001-03-14 Thread R. David Murray
On Tue, 13 Mar 2001, Arno Gross wrote: Any hints? A *workaround* (that worked as of 2.2, not sure about 2.3 (of zope)) is to log in as the superuser to create the fields. --RDM ___ Zope-Dev maillist - [EMAIL PROTECTED]

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

2001-03-11 Thread R. David Murray
On Sun, 11 Mar 2001, Morten W. Petersen wrote: but no such luck. If I for example specify 'Check against server: Never' in IE, the pages are cached, no matter what. Is it possible to ensure that pages are always fresh, even if it is specified on the client side that the client should never

RE: [Zope-dev] is there a hook for before the transaction is committed

2001-03-05 Thread R. David Murray
On Mon, 5 Mar 2001, Tim McLaughlin wrote: manage_afterChange(oldItems, newItems) oldItems: dict of id - values before modifications newItems: dict of new values at end of transaction This would allow an elegant "reindex" or notification system for objects. It would also allow for

  1   2   >