Re: [Zope-dev] acquisition, traversal, __roles__(, and zpt?)

2002-02-05 Thread Chris McDonough
Maybe silly questions, but: Do you call InitializeGlobals() on ObjectX's class (usually at the end of the module where it's defined)? Does ObjectX actually have a portal_url method defined on it (or inherited)? - Original Message - From: Gary Poster [EMAIL PROTECTED] To: [EMAIL

Re: [Zope-dev] hiding tabs in manage view

2002-02-05 Thread Chris McDonough
I think this is a bug. :-( - Original Message - From: Joachim Werner [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 05, 2002 1:05 PM Subject: [Zope-dev] hiding tabs in manage view Hi! I remember that someone posted that question before, but I didn't find it. So

Re: [Zope-dev] Zope 2.4.4b1 dumps core

2002-02-13 Thread Chris McDonough
This won't help the crashing problem, but for the leak problem you may want to consider using AutoLance: http://www.zope.org/Members/mcdonc/Products/AutoLance - Original Message - From: Leonardo Rochael Almeida [EMAIL PROTECTED] To: Zope Developers list [EMAIL PROTECTED] Sent: Wednesday,

Re: [Zope-dev] how can i add index_html

2002-02-18 Thread Chris McDonough
Hi, This discussion is probably more appropriate for the general Zope maillist. - Original Message - From: Michael L. Dean [EMAIL PROTECTED] To: sushant [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, February 18, 2002 12:03 PM Subject: Re: [Zope-dev] how can i add index_html good

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

2002-02-28 Thread Chris McDonough
I've modified HTTPResponse and ZServer/HTTPResponse.py to allow for gzip content encoding on a response-by-response basis. I'm mostly using this with xml-rpc, but it could be generalized and combined with a gzipper- cache manager. I'd like this. It would help with the lack of

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

2002-03-01 Thread Chris McDonough
I'd suggest starting with the combination of Evan's zopemake and zctl scripts. One thing that zopemake could be extended with is an autoconf-style configure that figures out where the appropriate version of Python is, which C compiler to use, etc. - C - Original Message - From: Paul

Re: [Zope-dev] improved logging

2002-03-01 Thread Chris McDonough
Have you looked at EventLogManager? http://www.zope.org/Members/mcdonc/Products/EventLogManager If I had it to do over again, I'd change lots, but it does do what you're asking for. what if I want to split the logs based on some condition I have to change code in Zope, and restart the

Re: [Zope-dev] Zope 2.6 project updated

2002-03-05 Thread Chris McDonough
I've also added the idea of a Startup Script Directory as a potential for Zope 2.5. This would be a filesystem directory that folks could place scripts that followed some sort of API which allowed them to make changes to a Zope site at startup - useful for en-masse data migration due to Product

Re: [Zope-dev] Cookie Crumbler and similar products (Re: Zope 2.6 project updated)

2002-03-05 Thread Chris McDonough
Which makes me think of another point. I haven't used Zope 2.5.1 yet, but I understand from some of the traffic on the mailinglists that some have wanted to disable the session tracking/session management beause it interferes with the solutions they allready use for session tracking. This is

Re: [Zope-dev] Zope 2.4.4b1 and Python 2.1.2 crash again

2002-03-08 Thread Chris McDonough
,name try: script.ZPythonScript_edit( script._params, script._body ) except: pass return OK (this code is not mine btw :) Ivo -- Chris McDonoughZope Corporation http://www.zope.org

Re: [Zope-dev] Unauthorized users can writelock helpfiles in /Control_Panel/Products

2002-03-09 Thread Chris McDonough
into the Catalog and into other places in instance space that have version. This is a bad pattern, and the only way to fix it is to prevent it from happening, which requires some helpsystem architectural changes that amount (IMHO) to a rewrite. - C -- Chris McDonoughZope

Re: [Zope-dev] Unauthorized users can writelock helpfiles in /Control_Panel/Products

2002-03-09 Thread Chris McDonough
Note that I volunteered to rewrite the help system in the Zope 2.6 plan. Chris McDonough wrote: There is no way to fix this? What other problems are there with the help system? Not that I can think of. Other problems with the help system are presentation, mostly. Would it somehow

Re: [Zope-dev] Unauthorized users can writelock helpfiles in /Control_Panel/Products

2002-03-10 Thread Chris McDonough
Chris McDonough writes: ... HelpSystem problems ... It then proceeds to do writes to the database when it appears that all you're doing is reading a pre-existing page. What does it write to the database? I do not see a reason for this behaviour... I don't know. IMHO

Re: [Zope-dev] Memory Leak Problem

2002-03-12 Thread Chris McDonough
Finding memory leaks is an exercise in binary search. Isolate half of the Zope (and Product) code and find out if it leaks. If it doesn't, you know the problem is in the other half. ;-) Ad infinitum. I'm sorry this is the case, but it almost always boils down to this particular recipe of

Re: [Zope-dev] Memory Leak Problem

2002-03-12 Thread Chris McDonough
A question and one remark. Wouldn't staring at the refcounts in the debug panel also give some info? At least for selfmade products? Maybe... depends on your level of Zope Zen. It's hard to tell which classes should and should not have high refcounts. For example, in your sample output, I

Re: [Zope-dev] Replaceable types?

2002-03-17 Thread Chris McDonough
___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope ) -- Chris

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

2002-03-19 Thread Chris McDonough
AutoLance is an implementation of the proposal, too: http://www.zope.org/Members/mcdonc/Products/AutoLance - Original Message - From: Toby Dickenson [EMAIL PROTECTED] To: Adrian Hungate [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, March 19, 2002 8:31 AM Subject: Re: [Zope-dev]

Re: [Zope-dev] Next steps on Zope 2.6 plan

2002-03-21 Thread Chris McDonough
FWIW, I think a better Zope install is desperately necessary, and since there's a fishbowl proposal and a willing contributor (you), IMHO it's a no-brainer.. the biggest hurdle is keeping you happy and willing to write code and docs. ;-) That said, since we don't have a less centralized or

Re: [Zope-dev] Re: [Zope] Having to keep typing ./start

2002-03-30 Thread Chris McDonough
1. There need to be a possibility to set the error severity just like with stupid_log_file, even for printouts to stdoutput. Maybe the stupid_log_file could be made to be the standard way of logging, and it could log to stdout if no stupid_log_file was set? STUPID_LOG_SEVERITY does this.

Re: [Zope-dev] zope CVS on cygwin (will sum)

2002-03-30 Thread Chris McDonough
When you ran cvs up, did you do it like this: cvs up -dP If not, try that and try it again. HTH, - C - Original Message - From: Didier Georgieff [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, March 30, 2002 5:52 AM Subject: [Zope-dev] zope CVS on cygwin (will sum) Hello,

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

2002-04-02 Thread Chris McDonough
You are running Zope in debug mode (with the -D switch in the start file). This is the default. Please try running Zope in non-debug mode (remove the -D switch) and try this again. - Original Message - From: Rossen Raykov [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED];

Re: [Zope-dev] Splitter problem #3

2002-04-04 Thread Chris McDonough
The tarballer tends to break stuff. I think it has something to do with long filenames. I submitted an issue to the zope-web tracker about this a while back, but I can't imagine it's a high-priority issue. - Original Message - From: Andreas Jung [EMAIL PROTECTED] To: Petter Enholm

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

2002-04-17 Thread Chris McDonough
That's only if you do it as a property. It doesn't have to be done that way. Shane and I discussed a counter that existed as a central datastructure. Objects that were being counted would simply have methods to increment the count and display the count. FWIW, this already mostly exists in

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

2002-04-19 Thread Chris McDonough
supported cross-storage object references. Yup. I don't think this is anywhere on the radar, though... -- Chris McDonoughZope Corporation http://www.zope.org http://www.zope.com Killing hundreds of birds with thousands of stones

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

2002-04-22 Thread Chris McDonough
/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope ) -- Chris McDonoughZope Corporation http://www.zope.org http://www.zope.com Killing hundreds of birds with thousands of stones ___ Zope-Dev

Re: [Zope-dev] Running methods on Zope startup.

2002-04-24 Thread Chris McDonough
Something like this is slated for Zope 2.6. If possible (and that's a big if at the moment, with the work we've got lined up), it is my intention to create a service which does the following: - Searches for an appropriately-named on-disk directory (var/startup probably). - Iterates over the

Re: [Zope-dev] Zope developer guide (up to Zope 2.3.3)

2002-05-28 Thread Chris McDonough
Gilles, The ZDG wasn't really completed until 2.4 was out. There is no ZDG for 2.3.3. Sorry, - C On Tue, 2002-05-28 at 08:36, Gilles Lenfant wrote: Hi, It seems that the Zope developer guide at http://www.zope.org/Documentation/ZDG is suited for Zope 2.4.x +. I need the one that's

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

2002-06-05 Thread Chris McDonough
You might be able to use the medusa monitor client. (ZServer/medusa/monitor_client.py). This requires that you have an access file in your Zope's software home. - Original Message - From: William Trenker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 04, 2002 11:32 PM

Re: [Zope-dev] Project manager ala Sourceforge in Zope ??

2002-06-07 Thread Chris McDonough
Ken Manheimer's Collector works for the bug tracking piece (see http://collector.zope.org). Kapil Thangavelu's Gideon may be helpful as a release manager: http://www.zope.org/Members/k_vertigo/Products/Gideon. HTH, - C On Fri, 2002-06-07 at 05:44, Thomas Weholt wrote: Hi, I need

Re: [Zope-dev] Who maintains ZPublisher?

2002-06-11 Thread Chris McDonough
It has no primary owner. Your best bet is to ask your questions here... On Tue, 2002-06-11 at 10:43, Chris Gray wrote: Who is _the_ or _a_ maintianer of the code for ZPublisher? I've been rummaging around in the source code, mainly as a learning exercise at this point. I have some

Re: [Zope-dev] Temp Folders and Transient Object Containers

2002-06-20 Thread Chris McDonough
So, why is the default Transient Object Container put in a Temporary Folder? If I want to use an application specific one that doesn't get lost on restart, is it OK to put it into a normal persistent folder? Yup. The TOC is put into the temp folder mostly because: 1) Sessions are

Re: [Zope-dev] Temp Folders and Transient Object Containers

2002-06-20 Thread Chris McDonough
I would probably work around this by creating a Product that gets a hold of the app object in its __init__ and creates all the necessary stuff. Actually, it would be kinda nice if instead of creating only the session_data object in the temp_folder initialization code we imported some

Re: [Zope-dev] rfc1123_date

2002-07-15 Thread Chris McDonough
You could use ModuleSecurityInfo (see Zope Developer's Guide), you could use an External Method, or you could write your own product. - Original Message - From: Magnus Heino [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 15, 2002 7:01 AM Subject: [Zope-dev] rfc1123_date

Re: [Zope-dev] rfc1123_date

2002-07-15 Thread Chris McDonough
Not hard, at least for an alias. It would be helpful for someone who cares deeply ( ;-) ) to either submit a collector issue or a patch... Tks, - C - Original Message - From: Adrian Hungate [EMAIL PROTECTED] To: Magnus Heino [EMAIL PROTECTED]; Chris McDonough [EMAIL PROTECTED] Cc

Re: [Zope-dev] Extension class and __init__

2002-07-22 Thread Chris McDonough
Ross, Please see the bit about inheritedAttribute in the document inside Zope's source tree named lib/Components/ExtensionClass/doc/ExtensionClass.html. HTH, - C - Original Message - From: Ross Boylan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Ross Boylan [EMAIL PROTECTED] Sent:

[Zope-dev] Bug Day Wednesday 8/14.

2002-08-11 Thread Chris McDonough
Hi Folks, We'd like to schedule a Bug Day for this upcoming Wednesday. A Bug Day is a day that we set aside to try to pay attention to unfixed bugs that have found their way into the Collector at http://collector.zope.org . Anyone who is capable and willing to participate in these

Re: [Zope-dev] Follow up: Coroner's toolkit for zope, or how to figure out what went wrong.

2002-08-12 Thread Chris McDonough
ReadConflictError: database read conflict error (oid bc8d, The conflict error you have likely has nothing to do with your data loss, it's a normal artifact of Zope operation. The first thing I would recommend trying today is shutting down, removing data.fs.index, and

Re: [Zope-dev] site-layout question

2002-08-12 Thread Chris McDonough
Did you download NZO_SiteLayout or site-layout? I think they are different... The entries in cvs.mk are just there to let us switch between Zope versions as necessary by aliasing. - Original Message - From: Robert Rottermann [EMAIL PROTECTED] To: zope-dev [EMAIL PROTECTED] Sent:

[Zope-dev] installer branch

2002-08-21 Thread Chris McDonough
I have created (yet another, perhaps) easy Zope install branch off the current Zope trunk. It allows for a ./configure; make; make install sort of Zope installation for the source release. It also includes a version of the nascent zctl.py that has been floating around unreleased to make

Re: [Zope-dev] Browser Stop Button and Zope REQUESTs

2002-08-28 Thread Chris McDonough
FWIW, I just checked in a signal handler to the trunk that makes it possible on UNIX to do kill -USR1 `cat var/Z2.pid` and pack the database to 0 days, so all this business about packing TTW and whether you need to let the browser wait or not is for naught. ;-) On Wed, 2002-08-28 at 07:49, Chris

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

2002-09-04 Thread Chris McDonough
IMHO, the indenting hassle is one of the best features of classic STX. It's a pain to line things up but it does make for very readable source documents. I think STX-NG is a little better than ReST for constructing readable source docs; especially if they are long, like chapters of a book due

[Zope-dev] Re: [Zope-CMF] Performance problem in ZOPE 2.5.1, 'getOwner' in/lib/python/AccessControl/Owned.py

2002-09-05 Thread Chris McDonough
What kind of user folder are you using? On Thu, 2002-09-05 at 09:25, Arnar Lundesgaard wrote: Hi, as I have written on this list before, we have had serious performance problems on one of our CMF based sites. ___ Zope-Dev maillist -

Re: [Zope-dev] Bump up the nr of ZOpe trhreads

2002-09-09 Thread Chris McDonough
You'll also want to change the number of database connections. If you use FileStorage, put the following in a custom_zodb.py file in your Zope software home or instance home (if you run an instance home setup): import ZODB.FileStorage import ZODB.DB filename = os.path.join(INSTANCE_HOME,

Re: [Zope-dev] Re: Bump up the nr of ZOpe trhreads

2002-09-10 Thread Chris McDonough
On Tue, 2002-09-10 at 06:51, Dario Lopez-Kästen wrote: But, am I still limited to max 7 zope threads? No. nrOfThreads could be set to whatever but Zope would not use more than 7 in any case. Is this so still? Can it be changed? And is -t a parameter for zserver or for the ZODB? You can set

Re: [Zope-dev] plone.org - chrism_installer_branch

2002-09-17 Thread Chris McDonough
PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope ) -- Chris McDonoughZope Corporation http://www.zope.org

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

2002-10-03 Thread Chris McDonough
except ReadConflictError: raise Or even better (since ReadConflictError inherits from ConflictError): except ConflictError: raise What would be nice is a way to define in Python a kind of exception that is not caught by bare except: statements but only by except SpecificClass:

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

2002-10-04 Thread Chris McDonough
On Fri, 2002-10-04 at 08:21, Guido van Rossum wrote: What would be nice is a way to define in Python a kind of exception that is not caught by bare except: statements but only by except SpecificClass: statements. Not quite an uncatchable exception, but one that is caught only by except

[Zope-dev] [Fwd: [Zope-Coders] silly windows request]

2002-10-08 Thread Chris McDonough
I should have sent this request here in the first place... but I didn't. ;-) -Forwarded Message- From: Chris McDonough [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Zope-Coders] silly windows request Date: 08 Oct 2002 19:49:36 -0400 If anybody has Win98/ME (not NT, I have

Re: [Zope-dev] [Fwd: [Zope-Coders] silly windows request]

2002-10-08 Thread Chris McDonough
Never mind, Tim Peters tried it and it failed miserably. ;-p - C On Tue, 2002-10-08 at 20:01, Chris McDonough wrote: I should have sent this request here in the first place... but I didn't. ;-) -Forwarded Message- From: Chris McDonough [EMAIL PROTECTED] To: [EMAIL PROTECTED

Re: [Zope-dev] Zope RPMs/debs and Linux FHS

2002-10-13 Thread Chris McDonough
On Sun, 2002-10-13 at 10:31, Adrian Hungate wrote: This looks GREAT!! Thanks a lot.. A couple of points: *) Python 2.2.x ?? This is scheduled for Zope 3 ?? Is there any way this could find its way in to a 2.x release? I believe Zope 2.7 will require Python 2.2.X. It's my hope to merge

Re: [Zope-dev] Zope RPMs/debs and Linux FHS

2002-10-13 Thread Chris McDonough
On Sun, 2002-10-13 at 10:54, Federico Di Gregorio wrote: - Jeff's puts pid files into /var/run, while mine creates pid files directly in INSTANCE_HOME/var. perfect. please do that for debian packages too and let /usr for official debian packages of Zope. Do you mean I should use /usr

Re: [Zope-dev] Idea: Awaking Zope to Life

2002-10-13 Thread Chris McDonough
Ulrich, You may also be interested in http://cvs.zope.org/Products/Scheduler/ (it has a dependency on http://cvs.zope.org/Products/Event/ and a Zope = than 2.6b1). It relies on an external clock process to tickle it every so often, but you could of course kick off a Zope thread to do this... -

Re: [Zope-dev] Zope RPMs/debs and Linux FHS

2002-10-14 Thread Chris McDonough
On Mon, 2002-10-14 at 03:14, Dirk Datzert wrote: Chris, please use always a buildroot ! You can set an option in the compile-all script that tell python to set the real realase path in the tracebacks. This is true, but the branch no longer uses compileall. Instead, distutils does the

Re: [Zope-dev] Zope RPMs/debs and Linux FHS

2002-10-14 Thread Chris McDonough
On Mon, 2002-10-14 at 11:50, Jim Penny wrote: I will be honest here. I don't care a lot about how the debian files are packaged, or where. But I do not want to see two sets of debs with differing layouts. I would rather that either Chris become an official debian maintainer and take over

Re: [Zope-dev] Zope RPMs/debs and Linux FHS

2002-10-14 Thread Chris McDonough
On Mon, 2002-10-14 at 13:03, Jim Penny wrote: I have no opposition to an attempt to standardize the location of ZOPE_HOME and LOCATION_HOME. (I also don't see it as that big a deal, people to whom this matters, who are presumed capable enough to be trusted with the root password, should be

[Zope-dev] Zope RPMs/debs and Linux FHS

2002-10-12 Thread Chris McDonough
Hi all, I am working towards a unified Zope configuration and installation system on a branch of Zope named the 'chrism-install-branch'. I have given the buildout process on that branch the ability to create an RPM distribution of Zope. I intend later to give the buildout process the ability to

Re: [Zope-dev] Unicode Support in 2.6 -- background infos?

2002-11-04 Thread Chris McDonough
Yes, its a PITA that the changes to the book were not available at the same time as the software. This is my fault. Can you tell me (again) where the changes to the book are so I can integrate them? ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] Simplifying the zdaemon package

2002-11-09 Thread Chris McDonough
/) ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope ) -- Chris McDonough

Re: [Zope-dev] DB.close() needs to be called

2002-11-13 Thread Chris McDonough
Maybe normal shutdown should manually call the shutdown signal handler function and normal restart should manually call the restart signal handler function? On Wed, 2002-11-13 at 10:28, Toby Dickenson wrote: On Wednesday 13 November 2002 2:10 pm, Barry A. Warsaw wrote: TD == Toby Dickenson

Re: [Zope-dev] DB.close() needs to be called

2002-11-13 Thread Chris McDonough
Nevermind. I see what Toby did in the signals module and it makes sense. On Wed, 2002-11-13 at 11:01, Chris McDonough wrote: Maybe normal shutdown should manually call the shutdown signal handler function and normal restart should manually call the restart signal handler function? On Wed

Re: [Zope-dev] KeywordIndex and PersistentList (Bug?)

2002-11-25 Thread Chris McDonough
There is a workaround for this in the DocumentTemplate package. It implements a safe_callable function that seems to do the right thing with ext class instances: def safe_callable(ob): # Works with ExtensionClasses and Acquisition. if hasattr(ob, '__class__'): if hasattr(ob,

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

2002-11-25 Thread Chris McDonough
On Mon, 2002-11-25 at 20:42, [EMAIL PROTECTED] wrote: Could we get the Install and Configuration proposal cleaned up, with so many comments it's not clear what the actual proposal proposes to deliver now. Yes when possible. I agree that it is a bit of a mess. In the meantime, I think this

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

2002-11-25 Thread Chris McDonough
On Tue, 2002-11-26 at 01:29, Jamie Heilman wrote: * where possible, the banishment of environment variables as configuration. I have to say, I think this is a bad idea. What is it about environment variables do you find worthy of banishment? I can tell Banishment was a bad

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

2002-11-26 Thread Chris McDonough
On Tue, 2002-11-26 at 02:47, Guido van Rossum wrote: I'd like to compare notes on this. Where's the control script that you are using? I'm hoping that we can use (some future evolution of) zdaemon/{zdaemon,zdctl}.py in the Zope 2.7 trunk. This separates the concerns of - the actual

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

2002-11-26 Thread Chris McDonough
On Tue, 2002-11-26 at 05:22, Tino Wildenhain wrote: Oh, while we are at it - how do I set an environment variable in a python script for use outside the script? E.g. like export does in shell scripts? Not from a Zope Python Script (it's restricted by the security machinery) but from any

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

2002-11-26 Thread Chris McDonough
On Tue, 2002-11-26 at 10:39, Jeffrey P Shell wrote: * configure; make; make install installation I thought that there was an effort to use distutils, or to at least use a distutils-ish setup. What happened to that? It does use distutils, owing to the work of Matt Behrens and Shane on

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

2002-11-26 Thread Chris McDonough
On Tue, 2002-11-26 at 11:28, Jamie Heilman wrote: Well you won't hear a peep out of me if z2.py gets the axe, as I mentioned I stopped using it long ago in favor of something that was only 39 lines and only did exactly what I needed and nothing more. z2.py is a dead man walking. ;-) I

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

2002-11-26 Thread Chris McDonough
On Tue, 2002-11-26 at 13:56, Dieter Maurer wrote: * where possible, the banishment of environment variables as configuration. Please do not! Do not what? ___ Zope-Dev maillist - [EMAIL PROTECTED]

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

2002-11-26 Thread Chris McDonough
I have updated this proposal to be in line with the current goals: http://dev.zope.org/Wikis/DevSite/Proposals/InstallationAndConfiguration Thanks for poking me, - C On Mon, 2002-11-25 at 20:42, [EMAIL PROTECTED] wrote: Hi Could we get the Install and Configuration proposal cleaned up,

Re: [Zope-dev] Bugfix release?

2002-11-27 Thread Chris McDonough
On Wed, 2002-11-27 at 12:31, Wolfgang Strobl wrote: On 27 Nov 2002, 11:18 seb bacon wrote: Can we have a bugfix release? Me too. I'd like to get the fix for Issue 597 (http://collector.zope.org/Zope/597) in such a bugfix release. ZCTextIndex, quite different from the old TextIndex,

[Zope-dev] bug day

2002-12-05 Thread Chris McDonough
I would like to announce a Zope 2 Bug Day for Monday Dec. 16, starting at 8:00am US Eastern Standard Time. We will be fixing bugs in preparation for the Zope 2.6.1 release. What is a Bug Day? A Bug Day is a day dedicated to squashing bugs lodged in the Zope2 collector at

[Zope-dev] Zope Book call for assistance

2002-12-05 Thread Chris McDonough
Hi, Time has rolled around for me to ask for assistance with editing the most recent edition of the Zope Book. A 2.6 edition of the Zope Book exists at http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/index_html. It has many new chapters and a most existing chapters have been

Re: [Zope] Re: [Zope-dev] Zope Book call for assistance

2002-12-06 Thread Chris McDonough
erm... would advanced DTML not be the short sentence: avoid DTML where you can? ;) That'd be ok, except that DTML can of course do things that ZPT can't, yada yada yada. Btw. did you think of putting the whole DTML stuff at the end for reference only to help migrating old products and turn

Re: [Zope] Re: [Zope-dev] Zope Book call for assistance

2002-12-06 Thread Chris McDonough
On Fri, 2002-12-06 at 19:13, Tino Wildenhain wrote: These are exactly the things you shouldn't neither do in DTML nor in ZPT :-) What do you suggest people use for a templating language for email, JavaScript, SQL, etc? I think it's too much to expect them to use Python to do this (esp. wrt SQL

Re: [Zope] Re: [Zope-dev] Zope Book call for assistance

2002-12-07 Thread Chris McDonough
On Sat, 2002-12-07 at 06:11, Tino Wildenhain wrote: Hi Chris, --On Freitag, 6. Dezember 2002 21:27 -0500 Chris McDonough [EMAIL PROTECTED] wrote: On Fri, 2002-12-06 at 19:13, Tino Wildenhain wrote: These are exactly the things you shouldn't neither do in DTML nor in ZPT :-) What

Re: [Zope-dev] Attempt to store an object from a foreign databaseconnection?

2002-12-09 Thread Chris McDonough
See Mounted Transient Object Container Caveats in http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/Sessions.stx for an explanation. The error you're getting means that somehow the code is trying to store an object that has references to objects in one ZODB database into another ZODB

Re: [Zope-dev] Attempt to store an object from a foreign databaseconnection?

2002-12-10 Thread Chris McDonough
not use sessions either. I am still suspecting that doing imports from a factory method sometimes gives me a strange _p_jar or something along that lines... Still at loss where this foreign connection could come from. Thanks, Stefan --On Montag, 09. Dezember 2002 13:09 -0500 Chris

[Zope-dev] zope book volunteering

2002-12-11 Thread Chris McDonough
I am incredibly happy to report that many folks are signing up to edits chapters of the Zope Book in preparation for the upcoming Zope 2.6.1 release! It's really beating the cynicism out of me! ;-) As a matter of fact, so many people are signing up that I'm getting *multiple* submissions of the

Re: [Zope-dev] zope book volunteering

2002-12-11 Thread Chris McDonough
On Wed, 2002-12-11 at 20:14, Chris McDonough wrote: Here are the chapters in the 2.6 edition of the Zope Book ( http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/index_html ) that are not yet spoken for: Maintaining Zope Extending Zope (ZClasses) Advanced DTML Searching

[Zope-dev] realtime Bug Day report

2002-12-16 Thread Chris McDonough
So far the good folks participating in the bug day on irc.openprojects.net #zope-dev have resolved 13 issues in the collector. Present in the channel are 9 people. Feel free to join in. Thanks, - C ___ Zope-Dev maillist - [EMAIL PROTECTED]

[Zope-dev] more bug day status

2002-12-16 Thread Chris McDonough
26 issues closed. Only 222 more to go. ;-) Notable bugs fixed: - multiple selection unicode bug (#697) - make sure passwords aren't encrypted twice ;-) (#256) - don't fail in History tab if Historical object is stored in a non-history-supporting storage (#700) 10 people currently in the

[Zope-dev] Re: [ZDP] Suggested documentation update.

2002-12-16 Thread Chris McDonough
Sounds good. Maybe we can just incorporate it into the Zope Book and ship the Book with Zope. On Mon, 2002-12-16 at 15:12, Lennart Regebro wrote: doc/WEBSERVERS.txt only mentiones CGI. I'd suggest that we rename it to CGI.txt and create a new APACHE.txt that takes up how to use Zope with

Re: [Zope-dev] zope and python compatibility

2003-01-09 Thread Chris McDonough
This is right although it's been reported that Zope 2.6 works with Python 2.2 with no detected problems (so far). - Original Message - From: Tena Sakai [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 09, 2003 12:06 PM Subject: [Zope-dev] zope and python compatibility

Re: [Zope-dev] [PATCH] Forking daemon in debug mode, and new startscripts

2003-01-21 Thread Chris McDonough
On Tue, 2003-01-21 at 18:45, Adrian van den Dries wrote: But this means I can't really write a start script that works (or makes sense) with debug mode both on and off. Redirecting stderr to EVENT_LOG_FILE doesn't really make sense if we're detaching, and is ugly, etc.. I could write some

Re: [Zope-dev] [BUG] maybe yet unknown BTREES bug

2003-01-24 Thread Chris McDonough
Tim has fixed lots of bugs in the BTrees code since 2.5.1. Also, there were cases in the Transience implementation where I was iterating over the .keys()/.items()/.values() of an OOBTree or IOBTree and also mutating its contents, which is disastrous. Is this one of those cases? On Fri,

Re: [Zope-dev] [Bug] Zope's transaction behaviour flawed

2003-02-02 Thread Chris McDonough
I am +1 on this. I suspect that before committing, though, we should ask people who make use of Zope's transaction manager in advanced ways like Phillip Eby. - C On Sun, 2003-02-02 at 10:40, Dieter Maurer wrote: The new behaviour would look something like this: ## request starts

Re: [Zope-dev] [Bug] Zope's transaction behaviour flawed

2003-02-03 Thread Chris McDonough
All that's fine by me, and allowing an error handler to have side effects explicitly is probably a good idea... will anybody volunteer to do this for 2.7? - C On Mon, 2003-02-03 at 03:44, Steve Alexander wrote: By conincidence I'm implementing something similar for error handling in Zope 3

Re: [Zope-dev] [Bug] Zope's transaction behaviour flawed

2003-02-03 Thread Chris McDonough
On Mon, 2003-02-03 at 11:11, Joachim Werner wrote: We are heavily depending on sessions, so the scenario you are describing could be our problem. Are you making a reference to a session (or another persistent object) in your standard_error_message? If not, this is probably not the problem. -

Re: [Zope-dev] override __of__

2003-02-06 Thread Chris McDonough
Is this what you're trying to do? Starting debugger /home/chrism/projects/TIProject/bin/python -i -c import user;import Zope;app=Zope.app() from Acquisition import Implicit class Foo(Implicit): ... def __of__(self, parent): ... return Implicit.__of__(self, parent) ... f =

[Zope-dev] Re: Bare except dangerous to ZODB? was Re: [Zope-dev]Accept-Charset hearders causing 500 internal server error.[correct but notlenient]

2003-02-10 Thread Chris McDonough
Could this be done by initializing a dictionary at startup keyed on thread-id that a ConflictError exception's __init__ could stick a marker into, then checking that dictionary at commit time and disallowing the commit if the marker still existed? On Mon, 2003-02-10 at 15:47, Shane Hathaway

Re: [Zope-dev] Transcience getId() KeyError

2003-02-18 Thread Chris McDonough
I think BTrees still have some bugs. 2.6.1 has a workaround for this very issue, or you can just replace the Transience package itself from CVS. On Tue, 2003-02-18 at 17:01, Alan Runyan wrote: Using Zope2.6.0 final on FreeBSD; Python 2.1.3 this is at iMeme. Question: I thought I read Tim

Re: [Zope-dev] Proposed installation changes for review

2003-03-10 Thread Chris McDonough
On Mon, 2003-03-10 at 18:07, Paul Winkler wrote: A few questions / concerns listed below, otherwise it looks fine to me... On Mon, Mar 10, 2003 at 04:41:48PM -0500, Chris McDonough wrote: debug mode does this still toggle a whole bunch of things? Yes. It's still the case that nobody

Re: [Zope] Re: [Zope-dev] Proposed installation changes for review

2003-03-10 Thread Chris McDonough
On Mon, 2003-03-10 at 19:51, Jamie Heilman wrote: - Environment variables are no longer used for configuration. I'll say it one more time. The roadmap[1] states under the Simplifying the Zope experience section: * simple tasks should be simple! Now, code required to extract a

[Zope-dev] Proposed installation changes for review

2003-03-10 Thread Chris McDonough
by Chris McDonough on the chrism-install-branch. Major changes - The following are the most important and user-visible changes compared to Zope 2.6 and the current CVS HEAD: - Configuration is normally done by editing a config file instead of passing command line options

Re: [Zope] Re: [Zope-dev] Proposed installation changes for review

2003-03-10 Thread Chris McDonough
On Mon, 2003-03-10 at 21:42, Jamie Heilman wrote: Chris McDonough wrote: The point I'm trying to make is that Zope has learned nothing from the UNIX philosophy. Yes, you can extend the config schema. You can grow new, better config files, of extraordinary magnitude. The all-powerful server

[Zope-dev] Re: [Zope] Proposed installation changes for review

2003-03-10 Thread Chris McDonough
On Mon, 2003-03-10 at 22:13, Edward Muller wrote: Hopefully I'll get to play with this later on in the week.. But here are the things I know I need as part of my business: -The ability to specify which python to use to build, install and run zope with. Our production machines have various

Re: [Zope-dev] Re: [Zope] Proposed installation changes for review

2003-03-11 Thread Chris McDonough
On Tue, 2003-03-11 at 00:24, Edward Muller wrote: Once zope is installed in /opt/zope-2.7.0 can it be moved without damaging the install say to /home/virtual/some.host.name/opt/zope-2.7.0 ? Yes. Its location is only meaningful to the instance files that need to find it. In our hosting

Re: [Zope] Re: [Zope-dev] Proposed installation changes for review

2003-03-11 Thread Chris McDonough
On Tue, 2003-03-11 at 16:12, Dan L. Pierson wrote: Very good! But in that case, shouldn't the new Zope 2.7 install and startup stuff support it? It does. It's just that the default setup is still to use a non-ZEOd FileStorage for your main database. But you can change options in the config

Re: [Zope] Re: [Zope-dev] Proposed installation changes for review

2003-03-11 Thread Chris McDonough
Cool! I didn't know. Do you think we should tell people that if they want to run a ZEO server to just run mkzeoinst from the software home resulting from Zope's make install and to edit zope.conf to use a ClientStorage? Chris, have you looked at ZEO/mkzeoinst.py? It uses a somewhat simpler

Re: [Zope-dev] Proposed installation changes for review

2003-03-11 Thread Chris McDonough
On Tue, 2003-03-11 at 17:11, Dieter Maurer wrote: All this is achieved by incorporating the result of hostname into the respective environment variables. I do not know how to do something like this in a configuration file (unless it provides for some form of shell functionality).

<    5   6   7   8   9   10   11   12   13   14   >