[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

Re: [Zope] Newbie question: adding a tinyTables objec

2000-12-19 Thread peter bengtson
If a product contains only a Help object, it means that the product is a Python Product, rather than a ZClass Product. No broken box in front of the Product name, hmm... Does Zope raise any errors when you try to start it? Try to remove the whole TinyTable folder and reinstall it again after

[Zope] Weired catalog_object problem in python product

2000-12-19 Thread Grégoire Weber
Hi, I read about ZCatalog been _the_ method of managing and searching objects in the ZODB. So I decieded to do searches and lists of object using ZCatalog. After reading all how-to's/API-doc about ZCatalog, a lot in mailings lists and studying a lots of code (ZDiscussions, Squishdot, PTK) I

Re: [Zope] ZCatalog raises index out of range exception error

2000-12-19 Thread Stephane Bortzmeyer
On Saturday 16 December 2000, at 19 h 21, the keyboard of "Stefan H. Holek" [EMAIL PROTECTED] wrote: Do you have a SiteRoot-ed environment? I do. I believe I saw this error when trying to use the Catalog in a SiteRoot-ed folder... Me too :-( No solution, sorry ;) :-(

Re: [Zope] Newbie question - Link between Methods based on Authorization

2000-12-19 Thread Oliver Bleutgen
I am still newbie in Zope, so my question may be stupid - sorry. I have problem with access to method. Example - There are two methods: A and B. Method A contains common information, accessible for all user (include anonymous). Source code in method B updates data for method A and access

RE: [Zope] Editing Property Sheet HTML

2000-12-19 Thread Brian Lloyd
The question is ... how do I do it? I'd like to make the default textarea field quite a bit bigger -- but I wasn't able to explore my way to success in the interface, and about 20 mins of seaching has yielded no answers. You could edit lib/python/OFS/properties.dtml, which renders the

Re: [Zope] To retrieve properties from a dtml document

2000-12-19 Thread jpenny
On Mon, Dec 18, 2000 at 09:10:54PM -0500, Ausum wrote: Hello Andy, thanks for the advice. It didn't work. Maybe I'm wrong at any point, so please tell me whether it worked for you. I'm aware that this problem has been discussed here before, that it happens because of Python's object

[Zope] parameters

2000-12-19 Thread Nuno Goncalves
Hi everybody ! I'm trying to pass some parameters to a dtml method. It's something like dtml-var expr="template(menu, menu2)" written in a dtml document XPTO. template is a dtml method ! Question is : Is it possible to catch in a dtml method the parameters passed by dtml-var

Re: [Zope] ZCatalog raises index out of range exception error

2000-12-19 Thread Marcin Kasperski
I believe I saw this error when trying to use the Catalog in a SiteRoot-ed folder... Me too :-( And me too. The most irritating Zope bug for me. No solution, sorry ;) :-( Partial solution: at something like 2:00 AM delete your SiteRoot rule, reindex with ZCatalog and create

Re: [Zope] Newbie question - Link between Methods based on Authorization

2000-12-19 Thread Timothy Wilson
On Tue, 19 Dec 2000, Michal Krejza wrote: I have problem with access to method. Example - There are two methods: A and B. Method A contains common information, accessible for all user (include anonymous). Source code in method B updates data for method A and access for method B is restrict

Re: [Zope] parameters

2000-12-19 Thread Tim Cook
Nuno Goncalves wrote: Hi everybody ! I'm trying to pass some parameters to a dtml method. It's something like dtml-var expr="template(menu, menu2)" written in a dtml document XPTO. template is a dtml method ! Question is : Is it possible to catch in a dtml method the parameters

[Zope] Import/Export error

2000-12-19 Thread Otto Pichlhoefer
Hello, This is a question concerning the Import/Export of *.zexp files. I am new to Zope and experimented during the last month. The installation went smoothly and all the features worked smoothly. However at some point the Import stoped working. I thought there might be a conflict with one of

[Zope] Re: [ZWeb] Feedback

2000-12-19 Thread Martijn Pieters
Hi Martin, I moved this thread over to the Zope mailinglist; the Zope-Web mailinglist is intended for discussion related to the Zope.org website itself. You'll get more feedback on the Zope mailinglist. On Tue, Dec 19, 2000 at 05:41:34PM +0100, Edwin Martin wrote: The last couple of months I

[Zope] test

2000-12-19 Thread Matthew Burleigh
test -- - Matthew Burleigh - Systems Administrator, Digital Creations - publishers of Zope. - (888)344-4332 -- http://www.digicool.com - http://www.zope.org ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No

[Zope] test

2000-12-19 Thread Matthew Burleigh
test -- - Matthew Burleigh - Systems Administrator, Digital Creations - publishers of Zope. - (888)344-4332 -- http://www.digicool.com - http://www.zope.org ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No

[Zope] test

2000-12-19 Thread Matthew Burleigh
test -- - Matthew Burleigh - Systems Administrator, Digital Creations - publishers of Zope. - (888)344-4332 -- http://www.digicool.com - http://www.zope.org ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No

[Zope] Zope's . vs _ unsolved issue (Re:To retrieve properties from a dtmldocument)document)

2000-12-19 Thread Ausum
[EMAIL PROTECTED] wrote: You still have given no cogent reason for using Zope. If you have only, or predominatly static content, you are paying a huge overhead penalty. If you have mixed static content and dynamic content, use apache and ProxyPass to front-end the dynamic content, and apache

Re: [Zope] Editing Property Sheet HTML

2000-12-19 Thread Geoffrey L. Wright
"Brian Lloyd" [EMAIL PROTECTED] writes: The question is ... how do I do it? I'd like to make the default textarea field quite a bit bigger -- but I wasn't able to explore my way to success in the interface, and about 20 mins of seaching has yielded no answers. You could edit

RE: [Zope] LoginManager - logging out

2000-12-19 Thread Mohan Baro
Thanks, I have tried it. dtml-raise type="Unauthorized" Logout!! /dtml-raise I guess it logs me out. But it also gives me a login dialog box it does not accept any of the account. So I cannot log back in! Why? What is going on here? Mohan. -Original Message- From: [EMAIL

Re: [Zope] To retrieve properties from a dtml document

2000-12-19 Thread Oliver Bleutgen
Hello Andy, thanks for the advice. It didn't work. Maybe I'm wrong at any point, so please tell me whether it worked for you. I'm aware that this problem has been discussed here before, that it happens because of Python's object naming, and also that there's a workaround at least (and

RE: [Zope] Zope's . vs _ unsolved issue (Re:To retrieve properties from a dtml document) document)

2000-12-19 Thread sean . upton
What kind of content is it that you are uploading to Zope, and what is your workflow? As someone working in the news industry with several online newspapers and also fairly experienced with Zope and content automation, I might be able to make some suggestions that might help you out. Zope has

Re: [Zope] Help save my sanity (DTML-in string comparison)

2000-12-19 Thread Dieter Maurer
Darin Lee writes: ... comparisons involving "id" do not work ... "id" is particularly difficult in DTML. For some objects, "id" is an attribute (a string), for others, it is a method. Due to Zope's acquisition magic, it is difficult to compare method's to one another: the "same" method

Re: [Zope] A groupware package for zope

2000-12-19 Thread Morten W. Petersen
[[EMAIL PROTECTED]] | Are you planning on making a win32 version. | I had a problem tring to run it. | Something about posix module missing. Hmm, I'll try to find out what depends on the posix module. (Maybe you could send me a traceback?) A win32 compatible package shouldn't be too hard to

RE: [Zope] Editing Property Sheet HTML

2000-12-19 Thread Brian Lloyd
If I want to make a custom Properties view for a specific ZClass, how do I proceed? Just create an additional method for the class and add it under Views? That's what I'd do. And if I do this, is there any kind of DTML templete (sort of like the default add and addForm methods) that I

RE: [Zope] POST METHOD

2000-12-19 Thread Farrell, Troy
Please be more specific: What type of field? What error is Zope giving you? What browser are you using? If you are curious about what form variables Zope is getting, set the form method to a DTML method with this in it: dtml-var name="standard_html_header" dtml-var name="REQUEST" dtml-var

Re: [Zope] LoginManager - logging out

2000-12-19 Thread Tim Cook
Mohan Baro wrote: Thanks, I have tried it. dtml-raise type="Unauthorized" Logout!! /dtml-raise I guess it logs me out. But it also gives me a login dialog box it does not accept any of the account. So I cannot log back in! Why? I'm not sure WHY it won't accept your username

Re: [Zope] Help save my sanity (DTML-in string comparison)

2000-12-19 Thread Martijn Pieters
On Tue, Dec 19, 2000 at 09:57:31PM +0100, Dieter Maurer wrote: Darin Lee writes: ... comparisons involving "id" do not work ... "id" is particularly difficult in DTML. For some objects, "id" is an attribute (a string), for others, it is a method. Due to Zope's acquisition magic, it is

Re: [Zope] LoginManager - logging out

2000-12-19 Thread Bill Welch
On Tue, 19 Dec 2000, Tim Cook wrote: Mohan Baro wrote: Thanks, I have tried it. dtml-raise type="Unauthorized" Logout!! /dtml-raise I guess it logs me out. But it also gives me a login dialog box it does not accept any of the account. So I cannot log back in! Why?

Re: [Zope] A groupware package for zope

2000-12-19 Thread jimbo
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. Are you planning on making a win32 version. I had a problem tring to run it. Something about posix module missing. Just to clarify

Re: [Zope] ZCatalog raises index out of range exception error

2000-12-19 Thread Aleksander Salwa
On Tue, 19 Dec 2000, Marcin Kasperski wrote: Partial solution: at something like 2:00 AM delete your SiteRoot rule, reindex with ZCatalog and create this rule again. Searching works (although I needed to edit the paths found a bit in the form responsilbe for search results presentation). You

Re: [Zope] Editing Property Sheet HTML

2000-12-19 Thread Tres Seaver
"Geoffrey L. Wright" [EMAIL PROTECTED] wrote: The question is ... how do I do it? I'd like to make the default textarea field quite a bit bigger -- but I wasn't able to explore my way to success in the interface, and about 20 mins of seaching has yielded no answers. Then again, it's

[Zope] Newbie: manage_changeProperties and wrong permission

2000-12-19 Thread Milos Prudek
I need to call manage_changeProperties but Zope refuses to accept my authentication. There's a "Fir" class with two subfolders ("cz" and "en"). The subfolders contain identically named properties: lst_name and lst_text. These properties are then displayed using simple acquisition:

Re: [Zope] Editing Property Sheet HTML

2000-12-19 Thread Geoffrey L. Wright
Tres Seaver [EMAIL PROTECTED] writes: "Geoffrey L. Wright" [EMAIL PROTECTED] wrote: The question is ... how do I do it? I'd like to make the default textarea field quite a bit bigger -- but I wasn't able to explore my way to success in the interface, and about 20 mins of seaching has

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

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

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

2000-12-19 Thread Steve Spicklemire
Hi Deiter, Hmm.. I just tried this with my highly experimental product (LocalProc 0.0.1) and I didn't observe the same effect that you did behind my Proxy Server. (I normally run with Rewrite... but when I got your note I tried ProxyPass and it worked on the first try.) (Good howto Anser!

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.

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] [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] 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] weired zope behaviour

2000-12-19 Thread [EMAIL PROTECTED]
hi all i have a zope site that uses ZEO, runs behind apache and on RH6.x what puzzles me is that only *one* zserver thread is alive after some time and it consumes most of the processors cycle. the top snapshots are at the bottom of this message anybody got any ideas why this happened? i

[Zope] Re: Network hangs

2000-12-19 Thread Rick Munday
Apache sit's on port 80 w/all static pages Zope is now on port 8080 until the move is completed (then it becomes primary on 80). So I was able to narow it down. With Apache now stopped, Zope is running great. I assume there was some arguement between Zope and Apache about who controlled what

[Zope] newbie zcatalog

2000-12-19 Thread Max M. Stalnaker
Please consider the following code fragment: dtml-if expr="REQUEST.REQUEST_METHOD=='POST'" dtml-call "REQUEST.set('ts', ZopeTime())" dtml-call "REQUEST.set('id',_.str(_.int(ts)))" dtml-call "postings.catalog_object(REQUEST.postingtext,REQUEST.id)" Classified:p dtml-var "REQUEST.postingtext" p

[Zope] ftp ZSQL Methods

2000-12-19 Thread Olaf Zanger
hi there, is it possible to externally edit ZSQL Methods? they show 0 bytes and no rights in my ftp client! thanks olaf -- soli-con Engineering Zanger Dipl.-Ing. (FH) Olaf Zanger Nusch Lorrainestrasse 23 3013 Bern / Switzerland Fon: +41-31-332 9782 Mob: +41-76-572 9782 mailto:[EMAIL