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 cvsu

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

2003-02-11 Thread R. David Murray
I haven't touched Z2 in a while. But I need a Plone site (I think). So I downloaded 2.6.1, CMF1.3, and Plone 1.0. Installed all on FreeBSD 4.7. Created a plone portal. Going to the plone site URL causes a python core dump. Created a plain CMF site. Going to the site URL causes a python core d

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

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

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 nothin

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. Th

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 eve

Re: [Zope-dev] 2.6.1 Plan?

2002-10-21 Thread R. David Murray
On 21 Oct 2002, Chris McDonough wrote: > on a "stable release". Quis custodiet ipsos custodes? ;-) That's the job of the "release engineer". And the community as a whole gets to pass judgement on him or her . --RDM ___ Zope-Dev maillist - [EMAIL PR

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

Re: [Zope-dev] zdaemon fix

2002-10-07 Thread R. David Murray
On Sat, 5 Oct 2002, Guido van Rossum wrote: > There's a different use case where something changes in the > environment after the program has run successfully for a while, which > causes it to crash and causes subsequent restarts to crash > immediately. It is *possible* that the environment fixes

Re: [Zope-dev] ZEO cache instrumentation -- any takers?

2002-10-07 Thread R. David Murray
On Sat, 5 Oct 2002, Shane Hathaway wrote: > I think it's because its syntax is out of order. :-) Whenever I'm about > to write a "try...except...else" block, I really want to spell it > "try...else...except". This places the exceptional situation after the > common situation, where it should be.

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] http://lists.zope.org/mailma

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 mai

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 i

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] 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 . You might manage a Quick and Dirty implementation, but to guarantee you've not missed anything you pretty

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] 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 . > I defined an SQL method with the two parameters title and plicense. > Now if I call self.save_lic

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

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

[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 ). 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 do the

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

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

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 whe

Re: [Zope-dev] Disseminating big picturn info (was: Changes toZCatalog)

2002-06-13 Thread R. David Murray
On 13 Jun 2002, Casey Duncan wrote: > We have weekly "jam sessions" where we often hash out new ideas. > Certainly the CVS is commented, but it is at quite a low level. I think > we (ZC'ers) all know we can do a better job desseminating our ideas to > the community. It really a question of bandwid

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. :-)

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 sol

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 a

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

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

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

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 ma

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 dec

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

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

2002-04-03 Thread R. David Murray
On Tue, 2 Apr 2002, Eron Lloyd wrote: > The problem here seems to be that you are trying to do XML-RPC communication > with a version of Zope that doesn't support XML-RPC out of the box. You I think most people missed the point here. I don't think Rossen is asking for help on running zope or get

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 t

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 huffi

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: [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 - [EM

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] 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. Th

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

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] 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 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 objects i

Re: [Zope-dev] dynamically using inheritance

2002-02-03 Thread R. David Murray
On Sat, 2 Feb 2002, Ed Colmar wrote: > > This is a [EMAIL PROTECTED] question rather than a zope-dev question, but: should solve your problem. That looks the string held in skinname up in the namespace and passes it to dtml-with. --RDM ___ Zope

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 PRO

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.

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. --R

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 trigge

Re: [Zope-dev] How to automatically redirect publishing request toanother folder?

2002-01-25 Thread R. David Murray
On Fri, 25 Jan 2002, Joachim Schmitz wrote: > How about creating a body-dtml method in the root, with > > > > Or have that body method to a RESPONSE.redirect, if having the page have the "wrong" URL confuses things. --RDM ___ Zope-Dev maillist -

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] [Partial Solution] Re: Establishing root objects inZODB under Zope

2002-01-25 Thread R. David Murray
On Wed, 23 Jan 2002, Ross Boylan wrote: > I'm still wondering about class variables being persistent and the > efficiency of PersistentList, if anyone has any comments. Class variables are *not* persisted, since they are class data and not instance data. I believe that a PersistentList is a mono

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 me

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

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 exa

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 tryin

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 ?

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 h

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 > 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 modify the va

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 t

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. > <== only works

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

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

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 w

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 p

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] 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: > > "/images/Companies/100/manage_addProduct/OFSP/folderAdd(187)"> OFSP is Zope's Object File

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

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

2001-09-21 Thread R. David Murray
On Thu, 20 Sep 2001, Paul Everitt wrote: > So, let's begin what I'm sure will be a lively and illuminating > discussion. :^) First, would it be possible to put up a copy of the Contributor Agreement in html format? If you feel the only legal version for signing is the PDF one fine, but it would

Re: [Zope-dev] Structure-text :

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

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 do

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

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 edi

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

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 datab

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 comm

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

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.

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 wha

Re: [Zope-dev] manage_workspace => index_html

2001-05-15 Thread R. David Murray
On Tue, 15 May 2001, Chris Withers wrote: > If so many browsers do this wrong (the list seems to currently be IE, Mozilla, > Lynx and W3M... at Netscape and you'll have about 99% coverage ;-) maybe it's > Zope that's wrogn by way of being in the minorty? > > peanut-gallery-ly yours, The problem

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 i

Re: [Zope-dev] Object dereferancing Question

2001-05-08 Thread R. David Murray
On Tue, 8 May 2001, Jeff wrote: > I have created a product with a zclass that contains a zclass; classA contains >classB. [...] > Now for the part I don't understand. > I have a page where I would like dynamically display a classB object. I used the >following: > > > > Where 'index_objec

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 __

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 > ModuleSecurityInfo('Products').declarePublic('SignedE

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

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 sli

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 un

Re: [Zope-dev] turn off proxying TTW

2001-04-12 Thread R. David Murray
On Thu, 12 Apr 2001, Tim McLaughlin wrote: > How in the heck do I do this? (also, does anybody know how to make an owned > object "unowned"). It seems that once I select a proxy role, I can't turn > it off... You just deselect the proxy role in proxy screen and click save changes, as far as I k

[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 ). 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 went i

  1   2   >