Re: [Zope-dev] The Application object

2000-07-18 Thread Shane Hathaway
Yves-Eric Martin wrote: Shane Hathaway [EMAIL PROTECTED] wrote: You *must* remember to close the connection: app._p_jar.close() This is not mentionned in the above document, so I was doing without so far, and did not run into any problem. Now that I see it, I believe this is the

[Zope-dev] Traceback

2000-07-18 Thread jpenny
How hard would it be to add more of the called URL to the traceback? Background: I have been developing relatively baroque SQL sites for internal use and find that when I am making changes to facilitate re-use higher up in the hierarchy, it can be relatively difficult to find out what failed.

Re: [Zope-dev] Re: Comments on ZPatterns

2000-07-18 Thread Chris Withers
"Phillip J. Eby" wrote: Yep, like "Acquisition" and "object publishing". :) Seriously, that is very much the level we're talking about here. I know, there are docs explaining acquisition and object publishing has an implicit meaning. Things like 'Specialist' and 'DataSkin' don't have

Re: [Zope-dev] Comments on ZPatterns

2000-07-18 Thread Chris Withers
Ty Sarna wrote: In article [EMAIL PROTECTED], Chris Withers [EMAIL PROTECTED] wrote: 1. Too much jargon... by far... Lots of complicated words that are meanlingless to the layman and don't help to convey the concepts. This Can you point out some examples of which ones you think are

Re: [Zope-dev] Zope Add-on Installation

2000-07-18 Thread Chris Withers
Dieter Maurer wrote: What is needed is a new way of installing Zope stuff for the following categories: 1. Python Base Products (Like ZPatterns, PTKBase and TrackerBase) 2. Instantiatable Products (like TinyTables, Squishdot and Tracker) 3. Interface Skins (none right now,

Re: [Zope-dev] More comments on ZPatterns

2000-07-18 Thread Chris Withers
"Phillip J. Eby" wrote: 2) I need a good way to make the methods overrideable without any subclassing (whether in Python or ZClasses), Ah, so it's not just me who wants this ;-) I think this may relate to an existing interest of yours regarding specification of interfaces and overriding

[Zope] Zope is memory intensive?

2000-07-18 Thread Firestar
Hi, i have installed Zope on a RH6 box, and looking at the processes, Zope(running as 'python') consumes abt 20% of the memory usage! A single apache daemon only takes abt 9-10%. Is Zope supposed to be so memory intensive? regards, firestar __ FREE

Re: [Zope] Zope is memory intensive?

2000-07-18 Thread Curtis Maloney
On Tue, 18 Jul 2000, Firestar wrote: Hi, i have installed Zope on a RH6 box, and looking at the processes, Zope(running as 'python') consumes abt 20% of the memory usage! A single apache daemon only takes abt 9-10%. Is Zope supposed to be so memory intensive? Well, it's all relative, isn't

RE: [Zope] Zope Components and ZPatterns

2000-07-18 Thread RC Compaan
Thanks Holger I used the source distribution and it worked. Why is this not part of the binary distribution? Roché -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Holger Hoffmann Sent: 17 July 2000 05:43 To: RC Compaan Subject: Re: [Zope] Zope

Re: [Zope] Zope Components and ZPatterns

2000-07-18 Thread Bill Anderson
RC Compaan wrote: Thanks Holger I used the source distribution and it worked. Why is this not part of the binary distribution? Because it is source :-) -- Do not meddle in the affairs of sysadmins, for they are easy to annoy, and have the root password.

Re: [Zope] Zope is memory intensive?

2000-07-18 Thread Wolfgang Strobl
On 18 Jul 2000, 2:15 Firestar wrote: Hi, i have installed Zope on a RH6 box, and looking at the processes, Zope(running as 'python') consumes abt 20% of the memory usage! A single apache daemon only takes abt 9-10%. Is Zope supposed to be so memory intensive? Well, I'm running both IIS and

Re: [Zope] Tim's Gripe Of The Week -- was: [Zope] (no subject)

2000-07-18 Thread Bill Anderson
Tim Cook wrote: Hi all, I have given myself permission to post this gripe. Thank You g While I do use the list archives and I try to get others that are new to Zope to do the same. I have a gripe for the Zen Masters. It's the subject line above. Granted most of the "No Subject"

RE: [Zope] Zope Components and ZPatterns

2000-07-18 Thread RC Compaan
And no source is distributed with the binary distro? It seems harless to include the zope components into the binary distro. Roché -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Bill Anderson Sent: 18 July 2000 10:40 To: RC Compaan Cc: Zope

Re: [Zope] Creating Factory Objects (Products)

2000-07-18 Thread Pierre Rougier
Hi Fire, This should work: -Create a new product (here InstantSiteProduct) (from here, your product can be accessed through the "Add" list) -In this product, add a Z Class (name it Instant Site) -In this ZClass, create your DTML methods (Designer and Builder) If u need to store properties in

Re: [Zope] How to require an @ symbol in email form field??

2000-07-18 Thread Peter Be
The nicest way would be to use a JavaScript clientside script on the form page. I think you can find a good one @ javascript.internet.com If you don't want to use Javascript, you can use the regular expression found from the javascript and use it in a python method of module. - Original

Re: [Zope] Importing exchange rates

2000-07-18 Thread Peter Be
If you don't have too much traffic on your site, you can let the "first user of the day" be responsible for triggering new values to a db/file using the ZopeTime function. Something like this maybe: IF (SELECT day FROM currencytable == ZopeTime(day)): SHOW FROM DB ELSE: START THE

[Zope] user authentification

2000-07-18 Thread Wolfgang Klinger
Hi! How does the www.zope.org login procedure work? I need a way to authenticate users without LoginManager or GUF or whatever ... and without a popup window!! There should be a login site. How does this work? tia ___ Zope maillist - [EMAIL

Re: [Zope] ZEO and a front end...

2000-07-18 Thread Bill Anderson
Curtis Maloney wrote: On Tue, 18 Jul 2000, ethan mindlace fremen wrote: Curtis Maloney wrote: Yes, however his point is that by having each Zope instance 'predominantly' serving one portion of the site, its cache will contain more objects relevant, and thus be just that little bit

[Zope] Announce: ZBabel a Translation Assistant for Zope

2000-07-18 Thread Andrew Kenneth Milton
Some people have been bugging me to release this so here we go:- http://www.zope.org/Members/TheJester/ZBabel/ The doco is shambolic to say the least, and there are no examples at the moment and no list of what hooks are available. It does not automatically translate for you, it assists you to

[Zope] how to make an Product executable

2000-07-18 Thread Armando
hello I have a question .. I create a product and i would like to to use my product when I select it from the objects combo box. But It always puts me into the security screen !!! and not my index_html. I have several methods in that product .. Armando

RE: [Zope] how to make an Product executable

2000-07-18 Thread Andy Dawkins
I have a question .. I create a product and i would like to to use my product when I select it from the objects combo box. But It always puts me into the security screen !!! and not my index_html. I have several methods in that product .. To create a new object you must supply an addForm

Re: [Zope] Importing exchange rates

2000-07-18 Thread Gidon Friedman
hi i have a similar problem, i have to import live date (prices) from an excel application. i think they have a vb application that exchanges the data with other applications (i.e. reuters). but how do i get this data without conflicting with other apps and programming as little vb as possible

Re: [Zope] linuxworld article

2000-07-18 Thread Bill Anderson
Chris Withers wrote: Graham Chiu wrote: The author creates a straw man ( a shoe shop built upon a shoe object ) without mentioning that Zope users can use a relational database instead to build their store. I think that's a Zope Documentation problem ;-) Not when you can see that in

[Zope] Apache+mod_SSL+FastCGI+ZServer

2000-07-18 Thread Jasper
I am fairly new to zope and evaluating its use for a medium traffic commercial site where security is a requirement. After reading through a lot of opinions and info on the zope site (http://www.zope.org), I came to the conclusion that to get scalability and security, Apache + mod_SSL + FastCGI +

RE: [Zope] Announce: ZBabel a Translation Assistant for Zope

2000-07-18 Thread Albert Langer
Thanks for "ZBabel". I've only just downloaded it and haven't played with it yet, but from just reading through, it looks like it will be a great approach! http://www.zope.org/Members/TheJester/ZBabel/ One thing I'm not clear on, which you might want to deal with in future releases, either by

Re: [Zope] ZEO and a front end...

2000-07-18 Thread Toby Dickenson
On Tue, 18 Jul 2000 04:22:16 -0600, Bill Anderson [EMAIL PROTECTED] wrote: I think most people seem to be missing the point here. The idea is that ALL servers can serve ALL content. HOWEVER, the 'load balancer' will opt for a certain server for a certain URL, in order to improve cache

Re: [Zope] Announce: ZBabel a Translation Assistant for Zope

2000-07-18 Thread Andrew Kenneth Milton
+[ Albert Langer ]- | | Thanks for "ZBabel". I've only just downloaded it and haven't played with it | yet, but from just reading through, it looks like it will be a great | approach! Ta. | One thing I'm not clear on, which you might want to deal

[Zope] Zope 2.2.0 and UserDB-1.2.0 conflict

2000-07-18 Thread Tony McDonald
Hi, I've just set up a new 2.2 system and moved my Data.fs file across and started it up. That is, I *haven't* moved all my tar.gz products and rebuilt them. I have built MySQL (ZMySQLDA-1-1-3) , LocalFS-0.9.3 , TinyTableB2, and PythonMethod-0.1.7 (with do_XXX set to '1', ie devil methods)

[Zope] Re: GUF Permission Problem

2000-07-18 Thread Mario Premke
Thanks a lot Brad it also works for me ... Only now I have a new and extraordinary bizarre problem: The folder I want to protect has GUF, openticket and index.html. When I log in I see index.html *but* while downloading index.html he suddenly says Authorization failed. To go into openticket I

Re: [Zope] How to require an @ symbol in email form field??

2000-07-18 Thread Duncan Booth
Is there a way to require at least an "@" sign in the email field? The powers that be think this would be useful. dtml-unless "'@' in REQUEST.email"... complain here .../dtml- unless Here's the form processing code as it stands today. Any help is appreciated. Use javascript to check that

[Zope] Powered by Oasis?

2000-07-18 Thread Ng Pheng Siong
http://www.cyclic.com/CVS/Dev/codewindow/linkhere Gives a Zope error. Icon at bottom says "Powered by Oasis". -- Ng Pheng Siong [EMAIL PROTECTED] * http://www.post1.com/home/ngps ___ Zope maillist - [EMAIL PROTECTED]

[Zope] Need an SQL based auth system that works with Zope 2.2

2000-07-18 Thread Tony McDonald
Hi all, I think the time has come to bite the bullet and change our authentication engine to work in line with Zope 2.2 and above. UserDB-1.2 seems to have some problems with it (see my message today), and frankly, I haven't got the time to try and figure out why. Another point against UserDB

[Zope] tree expand_all

2000-07-18 Thread Tom Scheidt
Hi All, How can you get a tree to be expanded automatically upon initially loading the page? I did see that the documentation is wrong on the Zope.org site in that expand-all should be expand_all. I've seen other people ask this question, but haven't found any responses. Thanks. Tom Scheidt

Re: [Zope] product docs Re: [Zope] Zope docs ??

2000-07-18 Thread Andy McKay
Im curious too... But then I had to write a trivial class to do xyz yesterday morning and doing it in ZClasses was just quicker. - Original Message - From: "Chris Withers" [EMAIL PROTECTED] To: "ethan mindlace fremen" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; "Zope Mailing List" [EMAIL

RE: [Zope] Announce: ZBabel a Translation Assistant for Zope

2000-07-18 Thread Albert Langer
[Andrew] Yes you can embed DTML inside the block and it will resolve all of the DTML before translating the result. You can turn this behaviour off. This is why I opted for a container tag, rather than a simple tag. [Albert] That is what I am still not clear on. Noticed the container, but still

[Zope] dtml-if errors in sql method

2000-07-18 Thread Tim Hicks
dtml-if "which_table == 'Plays'" SELECT * FROM dtml-var which_table WHERE "Play title" like dtml-sqlvar "'%'+_.string.strip(form_string)+'%'" type=string; Can anybody explain to me what is going on with my zsql method? Zope gives me the following error when I try and change my method to what

[Zope] http://www.atomasoft.com/yahoo-yes!.something

2000-07-18 Thread Jonathan Desp
Hi, If you go there - http://www.atomasoft.com/yahoo-yes!.something You will see my "Not Found" page, because there is no such page in my database. But I'm always seeing those ugly sentences below, and I'd like to cut them and then don't see them anymore, what I can do ? Where is the file to

[Zope] Newbie: How to create a Oracle connection (DCOracle)

2000-07-18 Thread gustavo
Hi List, Finally, I installed DCOracle and works fine. But, how to create a Oracle connection inside Zope? I tried to add a SQL Method and received this warning: Warning: There are no SQL database connections. You need to add a Zope SQL database connection before you can use a Zope SQL Method.

[Zope] Re: Python or DTML

2000-07-18 Thread Andy McKay
...if I call an external method as an action resulting from a form post, and spit out raw html, it works great. BUT I cannot seem to use DTML objects very easily from within it. You can, its just very difficult. Not so if one of those DTML methods is an EXTERNAL method which would like to

[Zope] Products and 2.2 Final

2000-07-18 Thread Rogerio Atem de Carvalho
Just a simple question: I am using 2.1.6 with LocalFS, CachePool, SQL Input Wizard, MetaPublisher and others... I am thinking now in upgrading to 2.2 final. Is there any product that is not compatible with 2.2 final? regards, Rogerio Atem --- E-mail

Re: [Zope] dtml-if errors in sql method

2000-07-18 Thread Tim Hicks
- Original Message - From: "Gregory Haley" [EMAIL PROTECTED] To: "Tim Hicks" [EMAIL PROTECTED] Sent: Tuesday, July 18, 2000 7:35 PM Subject: Re: [Zope] dtml-if errors in sql method Hi, Are you searching for the exact word "Plays", or is there a variable called Plays against which

RE: [Zope] Importing exchange rates

2000-07-18 Thread Richard Folwell
It is also possible to set up an ODBC connection to Excel. Depending on your background, this might be simpler to set up. See the Excel help for the fine details. (No VB programming at all :-). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jim

Re: [Zope] Products and 2.2 Final

2000-07-18 Thread J. Atwood
Mine ZUBB - Zope Ultimate Bulletin Board But that is not important here. It would be nice if someone could compile a list of products that are 2.2 compatible. JMA From: Rogerio Atem de Carvalho [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Tue, 18 Jul 2000 16:11:35 -0400 To:

[Zope] Re: An oldnewbie writes (Was [Zope] DTML?)

2000-07-18 Thread Chris Withers
Paul Browning wrote: OK, this is true of most things (computer languages, foreign languages, mental arithmetic, parenthood, etc) - if you don't use it, you lose it. But there is something about DTML that distinguishes it (for me) from other languages - it's the rate at which it decays on

[Zope] The proper usage of Sequence-item

2000-07-18 Thread jesse
I'm improving on Smarter forms so that instead of having to hard code every field into the code that checks for errors, it automaticly reads the dictionary that is in REQUEST and checks every key in it. I'm trying to work with this... dtml-call "REQUEST.set('finished','true')"

[Zope] sequence-item and

2000-07-18 Thread Diego Rodrigo Neufert
Hi ppl... Why I cant use dtml-var "sequence-item"?? Every time I try to access sequence-item under "" in a dtml-call dtml-var or anything else I got this error: Error Type: NameError Error Value: sequence Well, I found a solution: dtml-let si=sequence-item dtml-var "si" /dtml-let Now

Re: [Zope] sequence-item and

2000-07-18 Thread Christopher J. Kucera
Diego Rodrigo Neufert wrote: Why I cant use dtml-var "sequence-item"?? Because anything inside quotes is evaluated as a Python expression. It's trying to subtract 'item' from 'sequence.' Try: dtml-var "_['sequence-item']" -CJ ___ Zope maillist

Re: [Zope] sequence-item and

2000-07-18 Thread Chris Withers
"Christopher J. Kucera" wrote: Try: dtml-var "_['sequence-item']" or dtml-var "_getitem('sequence-item',0)" If you don't want the object to be called ebfore being displayed... cheers, Chris ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] sequence-item and

2000-07-18 Thread Rob Miller
Diego Rodrigo Neufert writes: Hi ppl... Why I cant use dtml-var "sequence-item"?? Because, as I understand it, anything within "" gets treated as Python code by the DTML interpreter. Thus "sequence-item" is parsed as an expression: sequence _minus_ item. A dash is not a valid variable

Re: [Zope] http://www.atomasoft.com/yahoo-yes!.something

2000-07-18 Thread Nick Garcia
Jonathan Desp wrote: Hi, If you go there - http://www.atomasoft.com/yahoo-yes!.something You will see my "Not Found" page, because there is no such page in my database. But I'm always seeing those ugly sentences below, and I'd like to cut them and then don't see them anymore,

Re: [Zope] dtml-if errors in sql method

2000-07-18 Thread Tim Hicks
- Original Message - From: "Dieter Maurer" [EMAIL PROTECTED] To: "Tim Hicks" [EMAIL PROTECTED] Sent: Tuesday, July 18, 2000 9:51 PM Subject: Re: [Zope] dtml-if errors in sql method Tim Hicks writes: dtml-if "which_table == 'Plays'" SELECT * FROM dtml-var which_table

[Zope] New How-To on Cookies (need feedack)

2000-07-18 Thread J. Atwood
I started a little how-to on cookies. Take a look and send your feedback. http://www.zope.org/Members/BwanaZulia/cookies/index_html J ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope] ZEO and a front end...

2000-07-18 Thread Bill Anderson
Toby Dickenson wrote: On Tue, 18 Jul 2000 04:22:16 -0600, Bill Anderson [EMAIL PROTECTED] wrote: I think most people seem to be missing the point here. The idea is that ALL servers can serve ALL content. HOWEVER, the 'load balancer' will opt for a certain server for a certain URL,

Re: [Zope] New How-To on Cookies (need feedack)

2000-07-18 Thread Chris Withers
"J. Atwood" wrote: I started a little how-to on cookies. Take a look and send your feedback. http://www.zope.org/Members/BwanaZulia/cookies/index_html I found I got very confused unless I remembered to set path='/' with cookies.. Ask MJ about the fun we had on #zope ;-) cheers, Chris

[Zope] ZCatalog Reindex_object Problems

2000-07-18 Thread Manuel Schulte
Hi, I've been struggling trying to get the catalog to index catalog aware objects. There are several messages from people with similar problems, in the archives, but none of the solutions seem to work. I have created a Product with a catalog aware class called Job_Request. The Product

Re: [Zope] ZEO and a front end...

2000-07-18 Thread ethan mindlace fremen
Curtis Maloney wrote: I think most people seem to be missing the point here. While I think Bill addressed this, I am not missing your point. By subdomaining areas, you can assign those subdomains an IP address, which can be primarily served by a Zope Client. The idea is that ALL servers can

Re: [Zope] sequence-item and

2000-07-18 Thread Jonothan Farr
I've patched this for 2.1.6. Now you can use sequence_item in addition to sequence-item. http://www.zope.org/Members/jfarr/Patches/dtml-in-sv There's a much cooler and more elegant solution in the pipe for 2.2. http://www.zope.org/Members/4am/DTMLWiki/NamedDTMLInLoop --jfarr "Perl is worse

Re: [Zope] Need an SQL based auth system that works with Zope 2.2

2000-07-18 Thread Graham Chiu
In article v0422081ab59a36ddacad@[128.240.198.13], Tony McDonald [EMAIL PROTECTED] writes Can anyone who's using an SQL based authentication system with Zope 2.2 successfully please let me know which one you used and how you did it? What are the requirements for such a beast? -- Regards,

Re: [Zope] Announce: ZBabel a Translation Assistant for Zope

2000-07-18 Thread Andrew Kenneth Milton
+[ Albert Langer ]- [Charset iso-8859-1 unsupported, filtering to ASCII...] | [Andrew] | Yes you can embed DTML inside the block and it will resolve all of the | DTML before translating the result. You can turn this behaviour off. | This is why I

Re: [Zope] Need an SQL based auth system that works with Zope 2.2

2000-07-18 Thread Bak @ kedai
On Wed, 19 Jul 2000, Tony McDonald wrote: Hi all, I think the time has come to bite the bullet and change our authentication engine to work in line with Zope 2.2 and above. UserDB-1.2 seems to have some problems with it (see my message today), a i use userdb with 2.2 and it worked great.

Re: [Zope] Creating Factory Objects (Products)

2000-07-18 Thread Firestar
Hi Dieter, Surprisingly, even though there's an error message, the product still manage to 'perform' its function, i.e. build a site from its template. host:8080/manage still works ok; i guess Data.fs not corrupted. *scratch head* - does zope like to raise false alarms?? Anyway, thanks for your

Re: [Zope] Creating Factory Objects (Products)

2000-07-18 Thread Firestar
Hmm...Z Class was not mentioned in the guide that i'm reading now. Guess i have to check out on that later... thanks, firestar --Original Message-- From: Pierre Rougier [EMAIL PROTECTED] To: Firestar [EMAIL PROTECTED], [EMAIL PROTECTED] Sent: July 18, 2000 9:22:21 AM GMT Subject: Re:

Re: [Zope] Zope is memory intensive?

2000-07-18 Thread Firestar
oops...my mistake for not listing out my configuration. basically i am testing out zope on a junk machine - PPro 233 with 32MB RAM only:) At the same time, i'm running mysql, apache+php combo, and each process only consumes abt 8-9% of the memory usage. That's why the 20% from Zope surprised

[Zope] Re: Member Login

2000-07-18 Thread ethan mindlace fremen
Frank McNamara wrote: Thanks for the help. Wouldn't it be a good idea to include this information somewhere in the documentation, or have I missed it? Basic Authentication is part of the "architecture standards", like TCP/IP and HTML, are generally beyond the purview of zope documentation.