[Zope-dev] External method

2000-12-19 Thread Roch'e Compaan
This is not a strictly zope related question but it is zopeish :) In an external method I need to call an executable and capture the output it generates. This executable however needs to connect to a running X Server. I used the popen2 command but it returns with the obvious error : "theprogram

[Zope-dev] 'Subclassing' another product

2000-12-19 Thread Morten W. Petersen
I think I read somewhere that it was, from version 2.2 of Zope, possible to 'subclass' products. Is this just somebody janking my chain, or is it actually possible? If it is possible, would someone care to explain? Thanks. -Morten ___ Zope-Dev

Re: [Zope-dev] Loginmanager and local roles

2000-12-19 Thread Morten W. Petersen
[Morten W. Petersen] | Any suggestions? Found the problem. There needs to be a method called user_names in the acl_users folder, which returns all the user ids: """ paramsself/params user_ids = self.UserSource.getPersistentItemIDs() user_ids2 = [] for id in user_ids:

Re: [Zope-dev] SQLAlias Memory Leak?

2000-12-19 Thread Jon Prettyman
The leaking SQLAlias I see is coming from: Shared.DC.ZRDB.Results I'm going to try the same type of fix in there and see what happens. -jon "Brian Lloyd" [EMAIL PROTECTED] writes: oops - I sent that before I had my coffee. I should have attached the checkin version, not the broken one

Re: [Zope-dev] A groupware package for zope

2000-12-19 Thread Morten W. Petersen
[Magnus Heino] | I'd appreciate to be able to download some code from zope.org :-) Uhmm. Yeah. http://www.zope.org/Members/morphex/ZopeGUM -- guess you don't know about the /Product and search facilities.. ;) Cheers, Morten ___ Zope-Dev maillist

[Zope-dev] regex (or re) modules

2000-12-19 Thread Tim McLaughlin
Does anybody know why these modules aren't available for DTML and Python Methods? (I already hacked my server, just wanna know what I'm riskin) Thanks, Tim ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev **

Re: [Zope-dev] regex (or re) modules

2000-12-19 Thread Christopher Petrilli
Because both are quite capable of crashing a thread (maybe the whole thing), with poorly written regex expressions. Creating infinate loops is easier than you think, esp if your regex requires backtracking to "solve". Perhaps there should be a simplified regex engine available, that I don't

[Zope-dev] Performance enhancements, ZCatalog

2000-12-19 Thread Jason Spisak
ZCatalog enthusiasts, I just upgraded our zope installation from 2.1.6 to 2.2.4, and the ZCatalog performance is aweful. Can someone remind me what the command for speeding up python on a dual processor machine is? python -T? I'm looking for any way to speed this up. I have a text index with

Re: [Zope-dev] Preliminary test of Membership on CVS

2000-12-19 Thread Bill Anderson
Michael Bernstein wrote: Bill Anderson wrote: On a related note, I am considering changing the python methods to Python Scripts, this way when 2.3 comes out, it drops the number of additional installs required by one, leaving Loginmanager and ZPatterns the only (current)

[Zope] [Zope-dev] [BUG] Background processes interfere with Zope's HTTP responses

2000-12-19 Thread Dieter Maurer
Today was again a hard Zope day. Did you ever hear, that usually (i.e. if you do not do special things) Zope renders a complete page before it starts sending the result back to the client. This implies that you should never see only half of a page. I heard it and I saw the code that does it.

[Zope-dev] POST METHOD

2000-12-19 Thread Anderson Ami
Is there a data limit if I am using the POST method ?I have been doing a form that has some input fields, when I do the post I receive a Zope Error The Zope don´t get one form field, but this one exists). Thanks so much !!! anderson ___ Zope-Dev

[Zope-dev] Re: [Zope] [BUG] Background processes interfere with Zope's HTTP responses

2000-12-19 Thread jimbo
He reported, that this response page is build only half, then stops, to be completed only half a minute later, Depending on how long the page is I never see the bottom. When I use the products page I have to refresh 2-3 times to see the bottom part. This is thru a proxy only.

[Zope-dev] RE: [Zope] [BUG] Background processes interfere with Zope's HTTP responses

2000-12-19 Thread Brian Lloyd
How to fix the problem: There should be a (file) control "CloseOnExec", that tells Unix to automatically close the file like object upon an exec. ZServer should probably use it on each of its sockets. I can not see a serious application that should have

[Zope-dev] A groupware package for zope

2000-12-19 Thread Morten W. Petersen
For the last couple of months I've been working on a groupware package for Zope, named ZopeGUM. It has reached version 0.1.63 now, and it's in steady progress. All the planned components, like messenger, address book, calendar, todos, etc. are there and working now; though it's definently not

[Zope-dev] Re: [Zope] POST METHOD

2000-12-19 Thread Martijn Pieters
On Tue, Dec 19, 2000 at 06:44:35PM -0200, Anderson Ami wrote: Is there a data limit if I am using the POST method ?I have been doing a form that has some input fields, when I do the post I receive a Zope Error The Zope don´t get one form field, but this one exists). Some older browsers have

Re: [Zope-dev] 'Subclassing' another product

2000-12-19 Thread Steve Spicklemire
Hi Morten, There are two ways to subclass products. You can use straightforward Python subclassing: e.g.,In your custom Product.. here is an example from Zwiff: import Products.PythonMethod.Guarded from Globals import HTMLFile, MessageDialog from App import Common