[Zope] newbie question: parameter passing for ZSQL Object

2000-05-26 Thread zope
Hi. With some values that I got from a formular, I wan't to do some calculation stuff, and insert the calculated values into a database. My Z SQL method'insertItem' looks like Arguments: param1, param2, param3, param4 INSERT INTO plan (field1, field2, field3, field4) VALUES (dtml-var param1,

Re: [Zope] ZScheduler

2000-05-26 Thread Graham Chiu
In article 019501bfc6c2$91e19b60$2101a8c0@pavilion, Loren Stafford [EMAIL PROTECTED] writes Graham, Thanks for sending all the info. I haven't had a chance to check it all out. But I want to ask one more thing: did you install the patch to client.py as mentioned in CHANGES.txt and

[Zope] km net news: missing rate and genpop?

2000-05-26 Thread George Donnelly
when i create a lm artticle store i only 5 files (plus the catalog of course) article_footer article_header incoming.html item_html popular.html although there are a tons of files inside the km net news folder in the products folder i am not

[Zope] Passing all POST variables?

2000-05-26 Thread Andrew H. Chatham
Hello Zope-people, I'm writing a LoginManager plugin for a quiz-taking website, and I have cookies which expire after a manager-defined time. If someone's taking a quiz for longer than the cookie duration and their cookie expires, they're going to have to relogin, but I would rather not lose

[Zope] Re: ANN: Perl for Zope

2000-05-26 Thread Sin Hang Kin
Oh no!!! Zope by itself is bad enough. Do pull in more trouble. Zope needed to clean up before it goes too bad. Zope is powerful, but is already too difficult for beginner to learn. It is not easy to do simple things, I think this will destroy zope because It will bring in more different

Re: [Zope] Add property ?

2000-05-26 Thread Rik Hoekstra
calvin33 wrote: Normally : "folder_F.object_O.manage_addProperty(id,file,content_type)" How to change "object_O" with another variable "var_V" ? Have you tried untested dtml-call "folder_F.getitem('var_V').manager_addProperty(id, file, content_type)" /untested or

[Zope] A new development model for Zope?

2000-05-26 Thread Paolo Bizzarri
Hi everybody, I was just wondering if Zope could not get a better development model. I will explain briefly. Currently, Zope seems to have a model for major releases, in which bugs are corrected and features (possibly large features) are added in each new release. This model, IMHO, performs

Re: [Zope] Help with simple dtml-if compare

2000-05-26 Thread Rik Hoekstra
snip yep.. well... this is quite a common question, all up. It comes from people using shorthand, but not relaising it. sometimes i wonder if this feature should be removed. the line: dtml-if "id == 'index_html'" is actually shorthand for: dtml-if expr="id == 'index_html'"

Re: [Zope] ANN: Perl For Zope

2000-05-26 Thread John Chandler
then educate people as to how to use YNPLOC in a way that matches the Zope philosophy. Ha, "educate people"! Educate people not to use Windows? Educate them at least not to be beaten by ILOVEYOE virus? Anyone succeede in this educating? A lot of people use Windows because they either

RE: [Zope] Re: [Zope-Annce] ANN: Perl For Zope - why I'm bummed

2000-05-26 Thread John Chandler
Actually, I'd like to see Zope interface with "more" languages (Java, C++ etc.) There are a number of areas that Python performs poorly (I'd prefer to write encryption algorithms in C, personally) and there are areas where Python performs very well (OO modelling). I think if people are

[Zope] Re: monitoring Zope with daemontools

2000-05-26 Thread Frank Tegtmeyer
I notice that your setup requires the -D switch to z2.py. This does a number of things other than preventing the controlling terminal from detaching. I overlooked that. Now I got Zope running without it's process manager so that is fully under control of daemontools. The document at

[Zope] dtml-break ?

2000-05-26 Thread calvin33
Catalog iterative break : dtml-in "my_catalog" dtml-if "my_condition" dtml-var "getobject(data_record_id_)" dtml-break . . . But i have get nothing ! Why ? I am sure that "my_condition" is right because it will show some object without "dtml-break" .

Re: [Zope] Re: [Zope-Annce] ANN: Perl For Zope - why I'm bummed

2000-05-26 Thread Bill Anderson
Andrew Kenneth Milton wrote: [...] The sad fact of the matter is that there is more concern for people's personal welfare, than that of the project as a whole. When in fact, what is good for Zope is good for the community. Zope is open source, if you don't like Perl, and it morally

Re: [Zope] A new development model for Zope?

2000-05-26 Thread Bill Anderson
Paolo Bizzarri wrote: Hi everybody, I was just wondering if Zope could not get a better development model. I will explain briefly. Currently, Zope seems to have a model for major releases, in which bugs are corrected and features (possibly large features) are added in each new

Re: [Zope] E-Commerce solution using Python and Zope.

2000-05-26 Thread Graham Chiu
In article [EMAIL PROTECTED], Itamar Shtull-Trauring [EMAIL PROTECTED] writes Jilani Khaldi wrote: Hi All, do you know about something written in Python Zope for e-commerce solutions? Etailer - http://e-tailer.adriot.net It's simple, but very nice. A bit buggy too! I went to the Jane

Re: [Zope] Passing all POST variables?

2000-05-26 Thread Steve Alexander
Stuart 'Zen' Bishop wrote: I almost got around to doing this for GUF. It would involve interrogating REQUEST.form, and generating a load of hidden controls. One problem to be solved is that in some cases Zope will have messed with your form data before your code sees it (The

Re: [Zope] ANN: Perl For Zope

2000-05-26 Thread Bill Anderson
Michel Pelletier wrote: Martijn Faassen wrote: J. Atwood wrote: Stunned. Totally and utterly stunned. I would have thought there would be Java floating around in Zope's bowl before Perl! Perl? Jeeze... what a great but very scary thing. I trust that DC will do it right. I'd

[Zope] newbie question: parameter passing for ZSQL Object

2000-05-26 Thread Andy Pahne
It's pretty easy: dtml-call "sql_method(argument1=value1, argument2=value2)" There's a problem with your SQL-statement: INSERT INTO plan (field1, field2, field3, field4) VALUES (dtml-var param1, dtml-var param2, dtml-var param3, dtml-var param4) It should be: INSERT INTO plan (field1,

[Zope] Tutorial

2000-05-26 Thread Daniel Fairs
Hi, I see Amos has a tutorial. Could this be added by default to each member's Zope area on Zope.org? Might me useful almost as a small 'demo' of Zope's features. Cheers, Dan Daniel Fairs [EMAIL PROTECTED], [EMAIL PROTECTED] http://www.darkalley.co.uk, http://listen.to/agentorange Just

[Zope] Roxen patch

2000-05-26 Thread Magnus Heino (Rivermen)
Hi. I have lost the patch for Roxen 1.3 to work properly when you enable RXML-parsing for CGI, i.e. Zope. Who has it? /Magnus Heino ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

[Zope] python with thread

2000-05-26 Thread Lorenzo Rondelli
I've installed python1.5.2 on a HP-UX unix box for me everything is running well but when I try to install zope2.1.6 I have an error in /usr/local/Zope-2.1.6-src I run this command : python1.5.2 w_pcgi.py but it returns me this error Building the PCGI wrapper: Error : Zope requires Python

Re: [Zope] A new development model for Zope?

2000-05-26 Thread Paolo Bizzarri
Hi Zopers, My proposal is that Zope should go through a stable/development version, in a similar way to the linux-kernel. New heavy features should be only for the development Zope, whereas the stable Zope should receive only the bugfixes and the (micro) new features. This should be of

Re: [Zope] Higher Education

2000-05-26 Thread Shane Hathaway
Phil Langton wrote: Someone has mentioned that Digital Creations has taken on someone who is to implement a zope-based virtual learning environment tool kit. Is this so? Any mailing lists or contacts or test areas? You're probably referring to me. I haven't taken an active role in this

RE: [Zope] Controlling HTTP_REFERER

2000-05-26 Thread John Hile
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Shane Hathaway Sent: Friday, May 26, 2000 9:19 AM To: John Hile Cc: zope-admin Subject: Re: [Zope] Controlling HTTP_REFERER John Hile wrote: Can anybody suggest a good technique for

[Zope] detecting when a page has been changed

2000-05-26 Thread Neil Burnett
I want to send myself an email when a page has been changed (actually a ZWiki page). Could someone point me towards some information which will help me work out how to do this please? I have searched for a while, but no luck. Thanks in advance Neil

Re: [Zope] Controlling HTTP_REFERER

2000-05-26 Thread Shane Hathaway
John Hile wrote: You might try creating a frameset. Make a very small frame at the top of the window that permits the user to return to your site and take up the rest of the window with the other site. Thanks for the suggestion, but it isn't the back button I'm concerned about. I'm

Re: [Zope] Re: [Zope-Annce] ANN: Perl For Zope - why I'm bummed

2000-05-26 Thread Oleg Broytmann
On 25 May 2000, Roman Milner wrote: Here is why I'm bummed about this. Like other people who have posted - after years of coding perl for money, I have vowed never to do it again. (I find that it produces encourages unmaintainable code.) Also, I think my main marketable skill now is Zope.

[Zope] 2 isp's, only 1 allows connection to http://localhost:8080

2000-05-26 Thread Michael Douglass
i am using internet explorer 5, trying to connect to this page, 1 isp allows connection every time, the other doesn't at all. i was hoping to change to the one that doesn't permanently get rid of the other. is there any way to get around this. i think its something to do with cgi scripts being

Re: [Zope] Re: [Zope-Annce] ANN: Perl For Zope - why I'm bummed

2000-05-26 Thread Andrew Kenneth Milton
+[ Oleg Broytmann ]- | | So, I believe this is enough reason for me to start considering other | web technologies for me, and my company. | |I am considering dismounting the Zope bandwagon, too :( It was good | techonology, but what will

[Zope] Re: problems with NTUserFolder.

2000-05-26 Thread CLAIN Jephte
"Jay, Dylan" a écrit : I see how it works now. I installed jcNTUSerFolder but couldn't get it to work. I thought it did the challenge response stuff for me. I didn't realize it had to go behind IIS. I'll give it a try. The challenge/response protocol authentication, as far as I know, is

Re: [Zope] Building ZPyGreSQLDA on Linux

2000-05-26 Thread Oleg Broytmann
On Fri, 26 May 2000, Hung Jung Lu wrote: I need help building the PostGreSQL database adapter on Linux. Welcome! Sigh... why is installing everything on Linux such a nightmare? ZPyGreSQLDA In the world of free software you must do it yourself - there are too many UNIX variants and

Re: [Zope] 2 isp's, only 1 allows connection to http://localhost:8080

2000-05-26 Thread Andrew Kenneth Milton
+[ Michael Douglass ]- [Charset iso-8859-1 unsupported, filtering to ASCII...] | i am using internet explorer 5, trying to connect to this page, 1 isp allows | connection every time, the other doesn't at all. i was hoping to change to | the one that

Re: [Zope] Re: [Zope-Annce] ANN: Perl For Zope - why I'm bummed

2000-05-26 Thread Oleg Broytmann
On Sat, 27 May 2000, Andrew Kenneth Milton wrote: | So, I believe this is enough reason for me to start considering other | web technologies for me, and my company. | |I am considering dismounting the Zope bandwagon, too :( It was good | techonology, but what will come? Where do

Re: [Zope] Higher Education

2000-05-26 Thread Phil Langton
Shane, Thanks for the reply. There will be interest in Bristol (probably). A wiki sounds like a good way to start, let's see what falls out of the ether! As for a name, how about ZEN? Connotations of enlightenment and could stand for 'Zope Education Network' Phil On Fri, 26 May 2000

Re: [Zope] Higher Education

2000-05-26 Thread Rik Hoekstra
Phil Langton wrote: Someone has mentioned that Digital Creations has taken on someone who is to implement a zope-based virtual learning environment tool kit. Is this so? Any mailing lists or contacts or test areas? You're probably referring to me. I haven't taken an active role in

Re: [Zope] Re: Zope

2000-05-26 Thread James Cummings
Ok, where can I find the command to launch Zope like the pcgi wrapper does? I'm trying not to have it run on a different port, but I haven't been able to get this to work yet. Thanks, James At 10:35 PM 5/25/00 -0700, [EMAIL PROTECTED] wrote: [forwarded to the list for archival] If you're

[Zope] Use of lambda expression in DTML

2000-05-26 Thread Nick Drew
I'm a newbie zopista, and python for that matter... In brief: I get a NameError when invoking "filter(...)" from DTML. I thought this was a built-in python method, so I'm a bit puzzled. In detail: 1) I want to display a dtml-tree of my folder hierarchy, but I want to exclude all Zwiki

Re: [Zope] Higher Education

2000-05-26 Thread Timothy Wilson
On Fri, 26 May 2000, Rik Hoekstra wrote: How many are still interested in this? I was among one of the first to be active in the zope-edu list and I am still interested and even working on a product for course maintenance. I even sent Shane an immature snapshot, but had to reimplement the

Re: [Zope] ZScheduler

2000-05-26 Thread Loren Stafford
Yes. The Client.py patch must be applied for any use of ZScheduler, if the server is not listening on the default port. "reschedule" is always called when an event is triggered, so that there is an opportunity to reschedule or disarm the event. If "reschedule" fails (as it will if the server is

Re: [Zope] Higher Education

2000-05-26 Thread Ken Manheimer
On Fri, 26 May 2000, Timothy Wilson wrote: On Fri, 26 May 2000, Rik Hoekstra wrote: How many are still interested in this? I was among one of the first to be active in the zope-edu list and I am still interested and even working on a product for course maintenance. I even sent

Re: [Zope] Re: [Zope-Annce] ANN: Perl For Zope - why I'm bummed

2000-05-26 Thread Karl Anderson
Ken Manheimer [EMAIL PROTECTED] writes: On 25 May 2000, Roman Milner wrote: Well, my point is that I don't think you will be able to ignore it. Your boss will give you a product to maintain that includes someone else's perl code - sooner or later. My boss isn't going to suddenly tell

[Zope] SQLSession and Memory leak

2000-05-26 Thread Hung Jung Lu
Hi, This is just for people's information on my own experience in Zope memory leak. It may not reflect your personal case. But if it does, please post a note to the mailing list. When there is a problem, people have to face it. I really dislike the attitude of people who just shrug their

Re: [Zope] Roxen patch

2000-05-26 Thread Bill Anderson
"Magnus Heino (Rivermen)" wrote: Hi. I have lost the patch for Roxen 1.3 to work properly when you enable RXML-parsing for CGI, i.e. Zope. Who has it? Basically, load up roxenhome/server/modules/scripting/cgi.pike FInd the case statement for Content-Header, etc. (IIRC around line

RE: [Zope] Higher Education

2000-05-26 Thread Charlie Derr
|-Original Message- |From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of |Timothy Wilson |Sent: Friday, May 26, 2000 12:44 PM |To: Rik Hoekstra |Cc: Shane Hathaway; Phil Langton; [EMAIL PROTECTED] |Subject: Re: [Zope] Higher Education | | |On Fri, 26 May 2000, Rik Hoekstra

Re: [Zope] SQLSession and Memory leak

2000-05-26 Thread Bill Anderson
Hung Jung Lu wrote: Hi, This is just for people's information on my own experience in Zope memory leak. It may not reflect your personal case. But if it does, please post a note to the mailing list. When there is a problem, people have to face it. I really dislike the attitude of

RE: [Zope] Medusa vs. Apache

2000-05-26 Thread Coleman, Bryan
If performance is a concern I would go with Apache. It is much more robust and faster than Medusa. I have load tested them both and Apache leaves Medusa far behind. - Bryan Patrick Coleman Questcon Technologies (336)273-2428 [EMAIL PROTECTED] -Original Message- From: Petru

Re: [Zope] A new development model for Zope?

2000-05-26 Thread Bill Anderson
Paolo Bizzarri wrote: Hi Zopers, My proposal is that Zope should go through a stable/development version, in a similar way to the linux-kernel. New heavy features should be only for the development Zope, whereas the stable Zope should receive only the bugfixes and the (micro) new

RE: [Zope] HTML EDITORS

2000-05-26 Thread Wright, Geoff
-Original Message- From: Bill Anderson [mailto:[EMAIL PROTECTED]] Sent: Friday, May 26, 2000 11:21 AM To: [EMAIL PROTECTED] Subject: Re: [Zope] HTML EDITORS Luis Cortes wrote: Hello, Has anyone found a really good HTML EDITOR that plays nice with dtml tags? Do

Re: [Zope] ANN: Perl For Zope

2000-05-26 Thread Martijn Pieters
On Fri, May 26, 2000 at 03:02:42PM +, Michael Bernstein wrote: In you hadn't noticed, ActiveState already has dealings 'with the dark side'. Bring on the paranoia people! Microsoft _invests_ in ActiveState. ActiveState originally started with a Win32 port of Perl, together with support

[Zope] Re: language != newsgroup

2000-05-26 Thread Tom Neff
Bill Anderson [EMAIL PROTECTED] wrote: Well, I think I can comment on som eof teh 'revulsion' of many of the persons on the list. Some of us have/do hang out on c.l.python and c.l.perl. We have witness _ferst_hand_ this 'community's collective 'gargabe'. TO compare the two communities, you

Re: [Zope] SQLSession and Memory leak

2000-05-26 Thread Martijn Pieters
On Fri, May 26, 2000 at 12:10:04PM -0700, Hung Jung Lu wrote: This is just for people's information on my own experience in Zope memory leak. It may not reflect your personal case. But if it does, please post a note to the mailing list. When there is a problem, people have to face it. I

Re: [Zope] ZScheduler

2000-05-26 Thread Graham Chiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In article 001301bfc731$2af9c480$2101a8c0@pavilion, Loren Stafford [EMAIL PROTECTED] writes Yes. The Client.py patch must be applied for any use of ZScheduler, if the server is not listening on the default port. The default port in Zope is 8080,

Re: [Zope] Higher Education

2000-05-26 Thread Rik Hoekstra
-Original Message- From: Charlie Derr [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: vrijdag 26 mei 2000 21:28 Subject: RE: [Zope] Higher Education |-Original Message- |From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of |Timothy Wilson |Sent:

Re: [Zope] Zope Email (syndication)

2000-05-26 Thread Rik Hoekstra
-Original Message- From: Karl Ulbrich [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: vrijdag 26 mei 2000 21:49 Subject: Re: [Zope] Zope Email (syndication) Well... I think that it's probably the shortest route to a functioning zope archive to use mailman- already

[Zope] Re: M$soft

2000-05-26 Thread Jonothan Farr
Jet is inherently thread-unsafe, and M$ has no plans to fix this (such a fix would cut into their ability to sell SQL Server). This issue has been a long-running problem in the Windows world; the only solution is to serialize *all* access to the DB (even concurrent *reads* can foul each

Re: [Zope] Roxen+Zope = Static+Dynamic pages

2000-05-26 Thread Bill Anderson
Adrian Esteban Madrid wrote: Is anybody using Roxen and Zope to serve both dynamic and static pages? I've seen some hacs and products to serve static pages from zope but I figure there must be a way to serve static directly from roxen instead of doing roxen-zope-roxen. Any ideas? Anybody

Re: [Zope] sequence-*

2000-05-26 Thread Jonothan Farr
Many of these variables cause problems for those starting out with Zope. Why not create alternate names such as sequence_* and degrade the former? Gotta agree with this :-) Here's the patch. I'll submit it to the collector too. Enjoy.

Re: [Zope] Use of lambda expression in DTML

2000-05-26 Thread Dieter Maurer
Nick Drew writes: I'm a newbie zopista, and python for that matter... In brief: I get a NameError when invoking "filter(...)" from DTML. I thought this was a built-in python method, so I'm a bit puzzled. For security reasons, Zope are removed all builtin-functions from DTML

Re: [Zope] Re: [Zope-Annce] ANN: Perl For Zope

2000-05-26 Thread Dieter Maurer
Evan Gibson writes: What happens when we have 4 or 5 different types of methods (perl, php, python, c, pascal, whatever...) and through multiple people working on a site or a product you suddenly have them all used and have to suddenly upkeep something you have no idea about because

Re: [Zope] ANN: Perl For Zope

2000-05-26 Thread Graham Chiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In article [EMAIL PROTECTED], Jim Fulton [EMAIL PROTECTED] writes In the future, I'd be happy (and expect) to see other languages supported, XQL, TCL, PHP, lisp, Fortran, . :) What I would like to see first is support for Rebol ( www.rebol.com

Re: [Zope-dev] Problems with LoginManager form-based login

2000-05-26 Thread Stuart 'Zen' Bishop
On Wed, 24 May 2000, Phillip J. Eby wrote: This is a problem that apparently can only be solved by replicating ZPublisher's backward walk, which is the wrong thing to do because the traversal will be O(n^2). Bleah. I guess we'll have to do something like Stuart Bishop's backward walk in

Re: [Zope-dev] DateTime objects's and ZCatalog

2000-05-26 Thread Jason Spisak
Shane Hathaway: Jason, I've looked over your DTML and I can't quite get a fix on what's going on (then again, I'm not very familiar with dtml-calendar.) If you'd send more details I might be able to help, but only in my spare time I'm afraid... That's actually a very generous offer.

Re: [Zope-dev] Re: Memory issue 2.1.6 (Hemophelia)

2000-05-26 Thread Matthew T. Kromer
on 5/26/00 1:04 PM, Jason Spisak at [EMAIL PROTECTED] wrote: Shane and others: Currently I have to restart the *server* that Zope runs on everyday in order to get the memory tat Zope claims in cache back. Even when I stop the Zope process, the cache doesn't clear. Is there a command in

[Zope-dev] Using FSSession from an external method

2000-05-26 Thread Lindell Alderman
I am trying to use FSSession from an external method. I have no problem reading from the Session or updating a dictionary in the Session. My problem is that I cannot delete or change any of the entries in the Session from my external method. Could this an initialization issue or could it be a

Re: [Zope-dev] Memory 2.1.4-2.1.6 a.k.a. how to get objects out of the cache

2000-05-26 Thread Bill Anderson
Jason Spisak wrote: [...] That's funny that I am experienceing the same symptoms as you, but my installation is totally different. I'm not using GUF, or any DA's, and I'm running on RH 6.1. We really need to figure this out as a community. I am willing to try just about anything short of

Re: [Zope-dev] Problems with LoginManager form-based login

2000-05-26 Thread Evan Simpson
- Original Message - From: Phillip J. Eby [EMAIL PROTECTED] Been there, done that. Yours doesn't work either, btw. Well, actually, it does, it's just that it causes a memory leak because it leaves an unintended circular reference. We've got a version that fixes the circular

Re: [Zope-dev] Problems with LoginManager form-based login

2000-05-26 Thread Phillip J. Eby
At 03:05 PM 5/26/00 -0400, Evan Simpson wrote: - Original Message - From: Phillip J. Eby [EMAIL PROTECTED] Been there, done that. Yours doesn't work either, btw. Well, actually, it does, it's just that it causes a memory leak because it leaves an unintended circular reference. We've

[Zope-dev] Z SQL: optional isn't?

2000-05-26 Thread Kyler B. Laird
I'd like to build a Z SQL method for *many* people to use to list courses that we offer. I don't want to require that all queries using it understand all of the columns, but I do want to be able to modify the query in many ways. So...after reading