Re: [Zope-dev] Problems with LoginManager form-based login
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 the GUF, since any enhancement of the ZPublisher architecture to handle login forms properly won't happen until at least 2.2. The backward walk stuff (which I don't think ever worked - every time I fixed one case it seemed I'd break another) has been torn out and replaced with code that does what you are after. Grab a copy of the latest version and search for 'WooHoo' in GenericUserFolder.py Meanwhile, I suppose Ty and I should try to come up with a proposal for revising ZPublisher to be able to walk back on the user lookups but still use the login form closest to the URL being accessed. -- Stuart Bishop Work: [EMAIL PROTECTED] Senior Systems Alchemist Play: [EMAIL PROTECTED] Computer Science, RMIT ___ 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 )
Re: [Zope-dev] DateTime objects's and ZCatalog
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. Thanks. Basically I am wondering if calling my extenal method is creating the DataTime instances or the call to: _.int(date)/10 is? Here's the external method: external method: def calendar_day(self) return int(self.calendar_date)/10 The code that really matters I guess is : dtml-if "_.len(Catalog(recruiter=AUTHENTICATED_USER.getUserName(), meta_types=['Interview', 'Call', 'Appointment', 'Deal'], calendar_day=_.int(date)/10))" BTW, the memory issue is causing me to restart my *server* everyday. Even when I shut down the Zope process, the memory doesn't fall out of cache. I'm going to make this a separate message. Thanks again, Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544 Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats. ___ 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 )
Re: [Zope-dev] Re: Memory issue 2.1.6 (Hemophelia)
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 Linux to force that cache to clear? Also, after a clean reboot, I tried to pack, and there is nothing left of my 1 gig of memory, and it swapped a bit. :( Is there anyway to nail down what is causing the bleeding? I have reduced the number of object stored in cache and even flushed the cache in Zope, but it never reclaims all the memory. What can I do to keep investigating? Tools? Stats that will help? Hoping to nail this, I'm extremely curious that the cache doesn't clear when you restart Zope. One would normally not expect to see this. Can you do a "ps xauww" and mail it to me / the list? Also a "free" would be helpful too. Under linux, shared memory is amongst the last to be scavenged in low memory conditions. I'm curious to see if something is allocating that memory as shared or what. You might also try an "ipcs -a" command to make sure it's not SYSV type shared memory (which can stick around even after a process exits.) -- Matthew T. Kromer [EMAIL PROTECTED] [EMAIL PROTECTED] ___ 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 )
[Zope-dev] Using FSSession from an external method
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 permissions issue? I can't seem to track it down. -L ___ 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 )
Re: [Zope-dev] Memory 2.1.4-2.1.6 a.k.a. how to get objects out of the cache
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 shipping my machine somewhere off premisis. ;) Ok, let's dig up some more info ( or perhaps I missed it ). Server setup, as in pcgi/Zserver/Apache w/proxypass, etc? Compiled on the machine, or binary distribution? If source, did you start with a clean tree, or did use use the diff upgrade, or did you use a new 2.1.6 tarball, and drop it on top of the 2.1.4 install? Bill ___ 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 )
Re: [Zope-dev] Problems with LoginManager form-based login
- 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 reference, but in a really really ugly way (it does a run-time patch to BaseRequest.close() to remove the poked-in unauthorized() method). The GUF version, at least, doesn't need this drastic a fix. Adding the following line to the top of guf_unauthorized should suffice: del request.RESPONSE.unauthorized Cheers, Evan @ digicool 4-am ___ 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 )
Re: [Zope-dev] Problems with LoginManager form-based login
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 got a version that fixes the circular reference, but in a really really ugly way (it does a run-time patch to BaseRequest.close() to remove the poked-in unauthorized() method). The GUF version, at least, doesn't need this drastic a fix. Adding the following line to the top of guf_unauthorized should suffice: del request.RESPONSE.unauthorized You're making the assumption that unauthorized gets called. If it doesn't get called (because the current user *does* exist in a higher-level folder), then the hook will never get released. ___ 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 )
[Zope-dev] Z SQL: optional isn't?
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 http://yyy.zope.org/Documentation/Guides/ZSQL-HTML/ZSQL.1.5.3.html optional A flag indicating if the test is optional. If the test is optional and no value is provided for a variable, or the value provided is an invalid empty string, then no text is inserted. I thought I could just use "optional" with all of my sqltests. select * from course_catalog dtml-sqlgroup where dtml-sqltest subject type=nb optional dtml-and dtml-sqltest course_nbr type=nb optional dtml-and dtml-sqltest version type=nb optional dtml-and dtml-sqltest campus_code type=nb optional /dtml-sqlgroup This works only if I provide at least an empty string for all values. If I don't provide a value at all for one of the arguments, I get Error, Bad Request: ['version'] SQL used: Could not render the query template! Traceback (innermost last): File /data/www/Zope/Zope-2.2.0a1-src/lib/python/ZPublisher/Publish.py, line 224, in publish_module File /data/www/Zope/Zope-2.2.0a1-src/lib/python/ZPublisher/Publish.py, line 189, in publish File /data/www/Zope/Zope-2.2.0a1-src/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: list_courses) File /data/www/Zope/Zope-2.2.0a1-src/lib/python/ZPublisher/Publish.py, line 175, in publish File /data/www/Zope/Zope-2.2.0a1-src/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_test) File /data/www/Zope/Zope-2.2.0a1-src/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_test) File /data/www/Zope/Zope-2.2.0a1-src/lib/python/Shared/DC/ZRDB/DA.py, line 347, in manage_test (Object: list_courses) File /data/www/Zope/Zope-2.2.0a1-src/lib/python/Shared/DC/ZRDB/DA.py, line 324, in manage_test (Object: list_courses) File /data/www/Zope/Zope-2.2.0a1-src/lib/python/Shared/DC/ZRDB/DA.py, line 426, in __call__ (Object: list_courses) File /data/www/Zope/Zope-2.2.0a1-src/lib/python/Shared/DC/ZRDB/Aqueduct.py, line 150, in _argdata (Object: list_courses) Bad Request: (see above) Looking at Aqueduct.py, I don't understand why it's not catching the "optional" arg. Using my limited Python knowledge, I commented out lines 149 and 150 of Aqueduct.py and now it works great. Once again, I'm glad that I can add these awful kludges instead of waiting for the vendor, but this is something that I hope is fixed soon. --kyler ___ 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 )
[Zope] newbie question: parameter passing for ZSQL Object
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, dtml-var param2, dtml-var param3, dtml-var param4) (parameters should be integer values) Can anybody tell me how I can call this method and pass parameters from my DTML method? With dtml-call insertItem, Zope gives me following error message: Zope has encountered an error while publishing this resource. Error Type: Bad Request Error Value: ['param1', 'param2', 'param3', 'param4'] I was checking then "ZSQL Methods User's Guide" but, they don't give an example :-( Please help. Any idea? Thanks, Marc. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZScheduler
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 http://www.zope.org/Members/lstaffor/ZScheduler/ZSchedulerWiki/BugReports Loren, Since this bug referenced a reschedule operation, I didn't bother to apply the patch - should I? -- Regards, Graham Chiu gchiuatcompkarori.co.nz http://www.compkarori.co.nz/index.php Powered by Interbase and Zope ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] km net news: missing rate and genpop?
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 seeing anything else when i create the article store. is this right? am i missing something? zope 2.1.6 with python methods installed. tia Regards, GEORGE DONNELLY [EMAIL PROTECTED] http://cyklotron.com/ The problems of the world cannot possibly be solved by skeptics or cynics whose horizons are limited by the obvious realities. We need men who can dream of things that never were. --John F. Kennedy ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Passing all POST variables?
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 what data they've entered already. I have a separate login page so it can be under SSL, and I adapted the given loginForm and took it's ability to maintain GET data by passing the QUERY_STRING variable onto the login-success page and reconstructing the URL there and redirecting to it. This works great, but I'd rather not limit people to passing things in GET, for various reasons (quiz answers showing up in the browser history, requests being too large, etc.). But I don't know what the variables are beforehand, so I can't just pass them along. Is there any way to pass along all of the POSTed variables through the login page so that I can redirect to the desired page later with the values intact? Is this a lost cause? I don't mind if it would require Python to do it, but is it even possible? I have no idea how to tackle that, but I didn't even know about the QUERY_STRING variable before I saw the LoginManager DTML, so maybe there is hope. Of course, I'm not even sure this would even work HTML-wise, since I don't know a way to pass GET data and do a redirect at the same time. May not be possible (is there a workaround for that?) Oh, and I have absolutely no opinion on Perl ;-) Thanks, Andrew ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: ANN: Perl for Zope
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 syntax, inconsistent implementation. Recently, there is a lots of things happening in zope, some is deeply in the root, like security, zodb, patterns, zcatalogue. If perl is going to be enter zope, couldnt it wait a bit after you clean up zope a little bit. Re-write dtml syntax and make zope dtml more easy to learn. I think that will be a bigger userbase than those perl wizzard. rgs, kentsin ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Add property ?
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 untested dtml-with "whatever.whatever" dtml-call "_.getitem('var_V').manage_whatever" /dtml-with /untested Sorry, no time to test, but they should work Rik, (who is wondering why he is answering this getitem thing at least three times a week) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] A new development model for Zope?
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 poorly on the stability and bug fixing side. 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 major importance, because I would like to have Zope to increase stability on normal versions, without any further feature that I do not need. What do you think about it ? Paolo -- Paolo Bizzarri - Responsabile Marketing I3 Icube Srl Sede: Via Ridolfi 15 - 56124 Pisa (PI), Italia E-mail: [EMAIL PROTECTED] WWW: www.icube.it Tel:(+39) 050 97 02 07 Fax: (+39) 050 31 36 588 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Help with simple dtml-if compare
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'" which means your expression is handled as a python expression, not a DTML one. In which case, you are comparing a function object (id) with a string object ('index_html'). the simple fix is, of course, to 'call' the function dtml-if "id() == 'index_html'" should do what you're expecting. Um, except that id is not always a method ;-(, hence the _['id'] idiom (see discussion earlier this week) Rik ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ANN: Perl For Zope
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 aren't aware of alternatives or don't understand the alternatives. I've shown people alternatives to Windows, and some times it's worked, other times it hasn't. Education done well can work wonders, but I wouldn't say it works all the time - some people are never going to listen. :-( The important thing, IMHO, is to make the effort to get people to understand the philosophy behind Zope. Some people are going to ignore it irrespective, but many could well take notice and be "saved" from doing the wrong thing. If you don't try, those people will slip through the net and end up charging into Zope the wrong way. John -- John Chandler / Software Developer / New Information Paradigms Ltd [ Linux in the office, AmigaOS in the home, PalmOS in the pocket ] The opinions above aren't those of my company... ...but then, they aren't really mine either. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] Re: [Zope-Annce] ANN: Perl For Zope - why I'm bummed
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 upset that It comes down to a combination of using the right tool for the right job with a little bit of personal preference thrown in. Zope, through Python, already supports C. I personally don't like C very much, but I use it and it has certain advantages over other compiled languages - in an ideal world I'd do compiled coding in something like Modula-2, but it just isn't practical from a portability and support front. they may have to extend their knowledge base to be Zope "experts" than this is a little silly. Do I have to be an Oracle/MySQL/SyBase/etc. to know Zope. No - I benefit from Zope being able to handle all of these database sources. If someone has written a Zope product that "works" I really don't care what language it's in (ok, I "do," but not entirely :). If it's broken Exactly :-) For me personally, the implementation language of Zope is completely immaterial - it could be written in Cobol, Prolog or Forth but if it does exactly what it does at the moment I would still use it and enjoy it because it has so much power. When Simon and Chris in the office introduced me to Zope, the internals didn't matter - there was so much potential lurking on the outside, I just couldn't be anything but impressed. Zope is seriously cool stuff. I'd never touched a line of Python at the time, though I quickly learnt it from a curiosity point of view (remember, I was/still am a Perl coder). It wasn't useful at the time, but it has been since. eventually port them over if Python will make them better. And, if not, there are books on Perl that would enable a relatively competent Python programmer to hack their way through it. The thing is, if you are a reasonable to good programmer in one language, there's no reason why you can't pick up another language easily - in fact, it's very good practice to learn new languages even if you end up putting them to one side after a few weeks/months and go back to your language of choice. In some ways, going from a rigid (and I mean that in a nice way, just couldn't think of a better word) language such as Python that enforces good programming habits will make it easier for you to be a good programmer in a less-rigid language such as Perl. Pascal or Modula-2 to C or C++ is a much easier transition than the other way around because you've learnt the good programming habits from the start and have trained your mind not to abuse the darker side of C. When people ask me what's a good language to learn programming with, something like Python or Pascal is usually my first answer, C isn't even though it may be in more widespread use than Pascal. *phew* And some people think computing is dull ;-) John -- John Chandler / Software Developer / New Information Paradigms Ltd [ Linux in the office, AmigaOS in the home, PalmOS in the pocket ] The opinions above aren't those of my company... ...but then, they aren't really mine either. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: monitoring Zope with daemontools
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 http://www.lightwerk.de/zope/monitoring is now updated. Thanks for your feedback! Regards, Frank ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] dtml-break ?
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
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 offends you, branch the code and keep your own Python-only version running. If you don't think this is feasible, ask yourself why, and then rethink why other language support in Zope is a GoodThing(tm) (TCL ? mmm acs integration) OK, let's look at the issue of fragmentation...(this is one of my larger concerns). Right now DC is adamant about the being no perl products. But, as you say, it is Open, so one can branch and fragment. Now, let's do some math. How much larger is the perl community; let's be honest, they are at least an order of magnitude larger). So, let us _assume_ that as some are predicting, we get this huge influx of perlers, and their concomitant perl-method based apps. We are then confronted with the situation where we have the majority of users demanding perl products, so they can stay in the land of perl and zope. Will DC remain as strong? Likely, IMO. But, as you say, the code is open. So, they branch the code, and start maintaining their own. Guess what happens to the userbase and developerbase from perl? That would be it wavig goodbye, or perhaps thats not awave As I have said, I have a fair amount of confidence in DC's refusal to include perl products. But, I also am fully aware that either they will cave in, or their perlers we reportedly would gain would fork, and add it on their own, thus abandoning the rest of us, and gainig us very little, if anything in the meantime. Unless python supplants perl as the dominant language in the world of scripting for the web, the forked verison will always win in a marketing contest, as long as it has what the 'Real Zope' has, nad has the perl stuff ours doesn't. In the world of marketing, more is better. In order to avoid this, it will take significant effort on the part of DC, and us users and developers. Basically, python will have to be considered a 'first class' citizen (to borrow a phrase ;-), and perl will have to remain a second-class citizen at best, and this will have to be tactfully, yet unquestionably made known. Can or Will this be done? I guess we will see, won't we? These are not the fearfull meanderings of a Python Nerd, but observations of history, and trends. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] A new development model for Zope?
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 release. This model, IMHO, performs poorly on the stability and bug fixing side. 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 major importance, because I would like to have Zope to increase stability on normal versions, without any further feature that I do not need. What do you think about it ? I think we see this proposal about every three months on average. ;-) Personally, I would like to see a patch collector, for 'unofficial patches'. Kind of like the ac patches for linux (and now the aa and who knows who else is doing it now). ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] E-Commerce solution using Python and Zope.
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 Ollerenshaw Photography site, put things into my shopping basket, and managed to lose those items by stepping back a few pages :-( -- Regards, Graham Chiu gchiuatcompkarori.co.nz http://www.compkarori.co.nz/index.php Powered by Interbase and Zope ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Passing all POST variables?
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 name="myname:int" notation). It would be possible to handle some of these cases using an external method to interrogate the data type and generate the correct input type=hidden name="myname:int" code, but I can't see how to handle :record or :method etc. Here's a very silly idea: Could you pickle and Base64 encode the data you want to pass, and then shove it in a single hidden control? -- Steve Alexander Software Engineer Cat-Box limited ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ANN: Perl For Zope
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 agree with the scary part. Scaaary. I hope DC will do it right indeed, and that I can't *see* the Perl if I don't want to see it. DTML is bad enough already! :) Zope doesn't ship with any components written in SQL, it is probably the case that it won't ship with any components written in Perl. Also, this is through the web style perl methods ala PythonMethods (I believe, I'm not on top of this project). ALthought it may be possible, I'mguessing that writing a full fledged Zope product in perl would be trickier than it's worth. I certainly hope so1 :-) I echo another question: will this be a product we can choose not to install, just as PythonMethods is? Don't worry, like Paul said, Zope has methods in many languages and more to come, Perl is a great step forward in telling people that we are not interested in excluding, but including. Sooner or later, someone on the perl side is going to spend all of their effort and come up with something that tries to be like Zope, this is a waste of effort. Look at Gnome and KDE and how they are constantly working to cross purposes, inventing the same interfaces at thousands of levels in subltly or grossly different ways. It's actually pretty depressing when you think about how an unified effort would far exceed the sum of the two incredible efforts to date. Actually, there is good reason to doubt such a thing could exist. GNOME was born in no small part due to the GNOME folks not able to get along with (on a variety of levels)/or agree with the KDE folks. To think they could have produced a 'better' interface in a 'unified' effort is at best hopeful. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] newbie question: parameter passing for ZSQL Object
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, field2, field3, field4) VALUES (dtml-sqlvar param1 type=string, dtml-sqlvar param2 type=string, dtml-sqlvar param3 type=string, dtml-sqlvar param4 type=string) Andyman ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Tutorial
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 because you're not paranoid doesn't mean they're not out to get you. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Roxen patch
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 encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] python with thread
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 thread support! can you help me to run Python with thread on HP-UX 10.20 unix box ? thanks in advance LR ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] A new development model for Zope?
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 major importance, because I would like to have Zope to increase stability on normal versions, without any further feature that I do not need. What do you think about it ? I think we see this proposal about every three months on average. ;-) Well, perhaps I got my eyes too much closed... :=( Personally, I would like to see a patch collector, for 'unofficial patches'. Kind of like the ac patches for linux (and now the aa and who knows who else is doing it now). Exactly. For example, here two simple patches that should be collected and posted toward 2.1.6: - patch for renaming single objects (something I have seen in the new 2.2.0a version); - patch for the REQUEST object problem What do you think about it ? Ciao Paolo -- Paolo Bizzarri - Responsabile Marketing I3 Icube Srl Sede: Via Ridolfi 15 - 56124 Pisa (PI), Italia E-mail: [EMAIL PROTECTED] WWW: www.icube.it Tel:(+39) 050 97 02 07 Fax: (+39) 050 31 36 588 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Higher Education
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 area recently because of the time it takes to get married (January/February), change jobs (March/April), move across the country (April), and get settled in a new area. :-) The zope-edu project was doing well for a while but we were unable to define the scope of the project. There are a lot of facets involved and everybody was approaching it with a very different perspective. And nobody knew the technology well enough: it's too easy to re-implement things in Zope that have already been done by others. A battle ensued over naming conventions (ZSchool? ZopeEdu? Something else?) and the mailing list eventually reached an activity level of zero. We could start again with a new approach: a Wiki! Wikis work very well for initial designs. We could take the good posts from pi.slcc.edu and put them into the Wiki right away. How many are still interested in this? Shane ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] Controlling HTTP_REFERER
-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 controlling what gets sent in the HTTP_REFERER header when users click on links to pages outside your own site. We are setting up a secure server that may occasionally contain links to outside sites. Normally, the browser passes the complete URL of our current page in HTTP_REFERER when a user clicks on one of these links, but there may be information in the URL that we want to protect. I tried simply setting up a page on our site with a redirect to pass the links through, but the browser still passes the original URL. Any suggestions for a good way to handle this are welcome. 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. Shane Thanks for the suggestion, but it isn't the back button I'm concerned about. I'm concerned about not passing sensitive information encoded in the URI to an outside site via the HTTP_REFERER header that the browser creates. Our site normally uses SSL to protect the information, but if we include any links to outside pages and the user clicks one of those links, the browswer will include the complete URI of the referring page in the HTTP_REFERER header when it requests the outside page. MSIE doesn't create a problem because it doesn't include the HTTP_REFERER header when you click on a non-SSL link from within an SSL page, but the Netscape browser does. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] detecting when a page has been changed
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 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Controlling HTTP_REFERER
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 concerned about not passing sensitive information encoded in the URI to an outside site via the HTTP_REFERER header that the browser creates. Our site normally uses SSL to protect the information, but if we include any links to outside pages and the user clicks one of those links, the browswer will include the complete URI of the referring page in the HTTP_REFERER header when it requests the outside page. MSIE doesn't create a problem because it doesn't include the HTTP_REFERER header when you click on a non-SSL link from within an SSL page, but the Netscape browser does. HTTP_REFERER should change to the URL of the frameset document, John. Just make sure the frameset document is in a non-protected URL. I was helping you kill two birds with one stone. Shane ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: [Zope-Annce] ANN: Perl For Zope - why I'm bummed
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. So, were I to want to find a different job now coding Zope - perl will be expected to be in my skill set. Other companies using zope will almost certainly have perl methods laying around that need to be maintained. So, basically, in order to find a job using zope - I'll have to relearn, and code in perl at that job. Exactly! 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? Oleg.(All opinions are mine and not of my employer) Oleg Broytmann Foundation for Effective Policies [EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] 2 isp's, only 1 allows connection to http://localhost:8080
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 accepted by the isp. it is mentioned in the zap document very briefly. does anyone know an answer? thanks michael ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: [Zope-Annce] ANN: Perl For Zope - why I'm bummed
+[ 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 come? Where do you intend on going? If there was something better out there you'd be humping its leg already. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: problems with NTUserFolder.
"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 specific to microsoft. that's why you have to use IIS for example to do the authenticatio for you. I don't know of another browsers / ftp clients / mail clients that can perform that kind of authentication, beside those from microsoft (IE, Outlook, ...) You may also have a look at http://www.zope.org/Members/jephte/jcForceAuth for a way to force users to authenticate. they have to identify themselves to browse the site, but at least they can use their own nt account/password. be warned though: passwords are sent unencrypted over the wire with basic authentication. regards, jephte clain [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Building ZPyGreSQLDA on Linux
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 personal settings that noone can create an universal Makfile... make[1]: *** No rule to make target `/u/c2/hjlu/lwc_zope/lib/python1.5/config/Ma kefile', needed by `sedscript'. Stop. You forget to install python-dev RPMs. Just a guess, but reasonable guess. Oleg.(All opinions are mine and not of my employer) Oleg Broytmann Foundation for Effective Policies [EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] 2 isp's, only 1 allows connection to http://localhost:8080
+[ 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 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 accepted | by the isp. it is mentioned in the zap document very briefly. does anyone | know an answer? put localhost:8080 into your proxy exceptions. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: [Zope-Annce] ANN: Perl For Zope - why I'm bummed
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 you intend on going? If there was something better out there you'd be humping its leg already. Thanks goodness, I am not using Zope on production servers. I use Zope only to experiments and understand the technology. Looked good until yesterday. On production servers I use pure Python CGIs powered by ZTemplates. I think I can add ZPublisher and PersistentCGI without diving into full Zope. Of course, if perl wouldn't hurt Zope as much as I am afraid, I'll return to considering to use Zope on production servers. (Most of my sites are not interactive - just a "picture"; but there is one that during its development through last year became finally highly interactive; the site looks like first candidate for Zope and PTK and other Products). Oleg.(All opinions are mine and not of my employer) Oleg Broytmann Foundation for Effective Policies [EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Higher Education
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 09:35:24 -0400 Shane Hathaway [EMAIL PROTECTED] wrote: 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 area recently because of the time it takes to get married (January/February), change jobs (March/April), move across the country (April), and get settled in a new area. :-) The zope-edu project was doing well for a while but we were unable to define the scope of the project. There are a lot of facets involved and everybody was approaching it with a very different perspective. And nobody knew the technology well enough: it's too easy to re-implement things in Zope that have already been done by others. A battle ensued over naming conventions (ZSchool? ZopeEdu? Something else?) and the mailing list eventually reached an activity level of zero. We could start again with a new approach: a Wiki! Wikis work very well for initial designs. We could take the good posts from pi.slcc.edu and put them into the Wiki right away. How many are still interested in this? Shane === Phil Langton. Dept. Physiology, School of Medical Sciences, University of Bristol, Bristol BS8 1TD Tel: 44 (117) 928-8923; Fax: 44 (117) 928-8923 http://www.bris.ac.uk/Depts/Physiology/Staff/PDL/web_pdl.htm "But whatis it good for" (Engineer with the Advanced Computing Systems Division of IBM refering to the microchip in 1968) === ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Higher Education
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 area recently because of the time it takes to get married (January/February), change jobs (March/April), move across the country (April), and get settled in a new area. :-) The zope-edu project was doing well for a while but we were unable to define the scope of the project. There are a lot of facets involved and everybody was approaching it with a very different perspective. And nobody knew the technology well enough: it's too easy to re-implement things in Zope that have already been done by others. A battle ensued over naming conventions (ZSchool? ZopeEdu? Something else?) and the mailing list eventually reached an activity level of zero. Which IMHO was actually mainly due to the maillist server severely suffering from outage and millenium bugs, because before that I recall discussions were very much alive, and of a high quality. We could start again with a new approach: a Wiki! Wikis work very well for initial designs. We could take the good posts from pi.slcc.edu and put them into the Wiki right away. 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 product because of nesting ZClasses (sigh). Moreover, I was changing jobs as well, which did not exactly help in getting things from the ground. So - yes I'm still interested Shane. Rik ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: Zope
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 running FreeBSD, try starting zserver by hand first before you connect. For some reason, FreeBSD can't seem to start it thru the pcgi wrapper. -Th On 25 May, James Cummings wrote: I was looking in the mail list archives...and I saw the problem you posted about getting the following error: (116) unable to connect, fd=4 !-- Error receiving stdout pcgi-wrapper-version 2.0a5 -- Did you ever determine what was causing this? I just installed Zope...and I'm getting the same problem. Thanks, James ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Use of lambda expression in DTML
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 discussion groups. 2) In my index_html for the top level folder, I have the following: dtml-tree Outline leaves=dtcTemplate SPAN CLASS="tree" dtml-if tree-item-expanded dtml-if expr="objectValues(['Folder'])" IMG SRC="dtml-var BASE2/Outline/OpenBook.gif" ALIGN="TOP" BORDER="0" /dtml-if STRONG Idtml-var title/I /STRONG dtml-else dtml-if expr="objectValues(['Folder'])" IMG SRC="dtml-var BASE2/Outline/ClosedBook.gif" ALIGN="TOP" BORDER="0" /dtml-if dtml-var title /dtml-if /SPAN /dtml-tree which is cribbed straight from QuickStart. 3) I only want to ignore Zwiki groups, but they are out-of-the-box folders, so I can't filter on meta-class. 4) My approach is just to add a property to the Zwiki folder ('blockTreeBranching') 5) In the dtml-tree tag, I change it to: dtml-tree Technical leaves=dtcTemplate branches_expr="filter( lambda f: not f.hasProperty('blockTreeBranching', false), objectValues(['Folder']) )" which, all things equal, should DoTheRightThang. 6) The code can be published, but when I view it, it spits out a NameError, choking on "filter". Argh. Ideas gratefully recieved... Nick HyperSpace Ltd,Birmingham Research Park, Edgbaston, UK, B15 2SQ (e) [EMAIL PROTECTED] (t) +44 (0)121 414 7019 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Higher Education
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 product because of nesting ZClasses (sigh). Moreover, I was changing jobs as well, which did not exactly help in getting things from the ground. So - yes I'm still interested Shane. I'm still very much interested in this. School's out in a week or so, and I plan to work hard this summer worked on developing Zope stuff to be used here at school. I would love to renew the discussions. -Tim -- Tim Wilson | Visit Sibley online: | Check out: Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/ W. St. Paul, MN | | http://slashdot.org/ [EMAIL PROTECTED] | dtml-var pithy_quote | http://linux.com/ ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZScheduler
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 not on the default port and the patch is not applied), the whole transaction fails. By the way, what version of Zope are you using? I reported the bug in version 2.1.4. I wonder (because I haven't checked yet) if it was fixed in later versions. -- Loren - Original Message - From: "Graham Chiu" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: May 25, 2000 11:11 PM Subject: Re: [Zope] ZScheduler 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 http://www.zope.org/Members/lstaffor/ZScheduler/ZSchedulerWiki/BugReports Loren, Since this bug referenced a reschedule operation, I didn't bother to apply the patch - should I? -- Regards, Graham Chiu gchiuatcompkarori.co.nz http://www.compkarori.co.nz/index.php Powered by Interbase and Zope ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Higher Education
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 Shane an immature snapshot, but had to reimplement the product because of nesting ZClasses (sigh). Moreover, I was changing jobs as well, which did not exactly help in getting things from the ground. So - yes I'm still interested Shane. I'm still very much interested in this. School's out in a week or so, and I plan to work hard this summer worked on developing Zope stuff to be used here at school. I would love to renew the discussions. You know, there's the python edu-sig (http://www.python.org/sigs/edu-sig) - i wonder whether there's some point in crossing over the efforts? On the plus side, there's a number of educators there with real interest in teaching programming in a good way, on the minus side, their charter is pretty much python oriented, and zope may be a more narrow context than they would wish to dwell within. I mean, i'm not sure how the slightly different agendas would work out... Ken Manheimer [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: [Zope-Annce] ANN: Perl For Zope - why I'm bummed
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 me that I'm now either a perl developer or unemployed, because he hired me for my judgement decision skills as well as my keyboard pounding skills. If your boss didn't hire you for that reason - well, its an excellent time to be a skilled IT worker looking for a job. if your boss doesn't value your intelligence and also wants you to suddenly hack perl, then your boss didn't read your resume. to reinforce what Ken says: For all of you that love Python, and testify to either leaving perl with great relief or not being willing to learn it in the first place - why don't you trust your judgement? It's also an even more excellent time to be a sklled Zopista looking for a job. Find a good place looking to start a Zope project, build them a site, you'll be deciding whether to use Perl products or not. I can understand the fear of dilluting a good clean python/C environment with evil dirty perl, but if I didn't think that a Zope environment will continue to be a good place to be, I'd already have a different email address. -- Karl Anderson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] SQLSession and Memory leak
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 shoulders. I have seen this all too many times. Everytime I go through a problem and posted in to the mailing list, there are always people that try to say nonsense and refuse to accept that there is a problem. Guess what? Weeks later more and more people suffer similar problems. By now I am very sure that a huge memory leak is coming from SQLSession. Remember about one or two months ago I mentioned about memory leak in Zope? There were so many die-hard Zope mongers that the very first thing they feel is their pride being hurt, and instead of looking at possible sources of the problem, their attitude was: it can't be, you must be doing something wrong, Zope has no memory leak. Now, does that attitude help to find the source of the problem???! Perl mongers are bad enough, and now we have Zope mongers. The thing is, no one would complain about memory leak if there is no performance impact. When someone complains about memory leak, it's because the performance is getting to be unbearable. After using SQLSession with two different databases (Gadfly and Sybase), and after the problem persisted, and after using manage_debug in Control Panel, I have decided that enough is enough. I implemented my own RAM-based Session Management. And it's been about a month now. No more memory leak. Zope memory usage stayed nice and low. Performance improved substantially to the amazement of everyone. No more need to re-start Zope to bring the memory down. There are hundreds of people out there using SQLSession. I know for fact that someone using SQLSession has actually written a Unix cron job to restart Zope every night in order to keep the memory usage down. (Of course, the person does not know the memory leak is coming from SQLSession.) From the manage_debug screen, it seems that the leak has something to do with the SQLSession inheriting from Implicit class. I don't remember much anymore (since I got rid of SQLSession already a while ago.) I just remember the keyword "Implicit" showing up in the objects in the manage_debug screen. All I know is that after I stop using SQLSession (mainly with Gadfly, which was a temporary solution anyway), my problems stopped. regards, Hung Jung Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Roxen patch
"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 220?) and add: Content-Length: break; (or whatever the proper pike is, look at the neighboring pike to see). ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] Higher Education
|-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 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 product | because of nesting ZClasses (sigh). Moreover, I was changing |jobs as well, | which did not exactly help in getting things from the ground. | | So - yes I'm still interested Shane. | |I'm still very much interested in this. School's out in a week or so, and I |plan to work hard this summer worked on developing Zope stuff to be used |here at school. I would love to renew the discussions. | |-Tim Where do i find out how to subscribe to the zope-edu list? It doesn't seem to be listed on http://www.zope.org/Resources/MailingLists tmia, ~c ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] SQLSession and Memory leak
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 people who just shrug their shoulders. I have seen this all too many times. Everytime I go through a problem and posted in to the mailing list, there are always people that try to say nonsense and refuse to accept that there is a problem. Guess what? Weeks later more and more people suffer similar problems. Hung, if you recall, there were lots of people who when someone mentioned a memory leak, looked at their process and misinterpreted the threads' RAM reports. To be honest, it is exceedingly difficult to track down memory leaks when you get an abundance of misinformation (I know, not intentional, but is still makes it hard). Memory leaks are of prime concern to me, as I have mentioned. I apologize if I came of as being someone who thought there was _no_ memory leak, I just needed accurate info to help. We were getting an increasing number of people who suddenly thought they had memory leaks because of the way Linux reports threads. Information like you have just provided (that you tracked it down to SQLSession) is very useful, thanks for providing it. Though not the maintainer, I will look into it. There are hundreds of people out there using SQLSession. I know for fact that someone using SQLSession has actually written a Unix cron job to restart Zope every night in order to keep the memory usage down. (Of course, the person does not know the memory leak is coming from SQLSession.) Why not help them out and let them know? ;-) I believe you can switch from SQLSession to FSSEssion with little, if any DTML changes. From the manage_debug screen, it seems that the leak has something to do with the SQLSession inheriting from Implicit class. I don't remember much anymore (since I got rid of SQLSession already a while ago.) I just remember the keyword "Implicit" showing up in the objects in the manage_debug screen. All I know is that after I stop using SQLSession (mainly with Gadfly, which was a temporary solution anyway), my problems stopped. To be fair, Hung, SQLSession is not Zope, it is a third party product. I would also send the information to the maintainer of SQLSession, so he/she can be aware of it. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] Medusa vs. Apache
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 Paler [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, May 24, 2000 11:13 AM To: Jilani Khaldi Cc: Zope ML Subject: Re: [Zope] Medusa vs. Apache Hi All, I wonder if it is more convenient to stay with Apache or to move to Medusa for a best use of Zope? If you don't need any of the Apache features go with ZServer/Medusa. -Petru ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] A new development model for Zope?
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 features. This should be of major importance, because I would like to have Zope to increase stability on normal versions, without any further feature that I do not need. What do you think about it ? I think we see this proposal about every three months on average. ;-) Well, perhaps I got my eyes too much closed... :=( Fear not, I happen to like the proposal myself. Personally, I would like to see a patch collector, for 'unofficial patches'. Kind of like the ac patches for linux (and now the aa and who knows who else is doing it now). Exactly. For example, here two simple patches that should be collected and posted toward 2.1.6: - patch for renaming single objects (something I have seen in the new 2.2.0a version); - patch for the REQUEST object problem What do you think about it ? Well, unless anyone has any serious objections (or DC can pull it off soon), I can implement a site for this. On that note, I am now accepting suggestions and requests on it. ;-) Bill Anderson ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] HTML EDITORS
-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 anybody have anything they can really recommend? GVIM I'll second that. And it works just as nicely on Windoze as it does on *NIX. If you you're interested in using it, I'll send you my vimrc. It's well simple and well-commented. I don't have any special syntax stuff for dtml, but find that the standard html highting works just fine. If you haven't dealt with vi before, you'll find the learing curve a bit steep, but you'll _love_ it when you get the hang of it. And if you come from a GUI world, gvim gives you all the little niceites you're used to, like cut paste, scroll bars, mouse-based highlighting and that sort of thing. Of couse, once you get used to gvim, you can just hide your mouse under you desk form most of the day :) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ANN: Perl For Zope
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 packages for Perl on Win32 platforms. And commercial development tools, like a visual debugger, and special versions of Perl that plug into IIS and the ActiveScripting platform. At IPC8 this January, they announced they were extending their services to Python as well. This means that ActiveState now also does Python for Win32, with all extensions, support, and commercial products they do for Perl as well. It's what they are good at. No wonder Microsoft invests in ActiveState, because Microsoft wants Win32 to be a strong development platform. Now, for all of you who are worried about M$ domination, ActiveState only just announced that they'll be adding support for Perl and Python to Mozilla, not just on win32, but, IIRC, all platforms where both Mozilla and the scripting languages in question run. And they'll throw in an IDE built on Mozilla as well, which will therefor run on all platforms Mozilla can run on. And there was much rejoicing. -- Martijn Pieters | Software Engineermailto:[EMAIL PROTECTED] | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ | The Open Source Web Application Server - ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: language != newsgroup
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 start with how they act/ do not act as one. First place to look: usenet, the sewer. In c.l.perl, any mention of non-perl, or anything less than absolute praise for perl, will land you in a flame war the likes or which satan himself wears asbestos clothing for (and if you mention python, satan bows out due to heat). I have seen people _try_ to start flame wars on c.l.py, and fail 99% of the time. I have only once seen something close to a flame war on c.l.py in many years. And in that was due in a large part to the other person in it (those who witnessed it now who I am speaking of). The fallacy here is simply that Zope is adding a language, not a newsgroup. There are people who code Perl, Python and Zope every day and don't know, care about, read or post to comp.lang.anything. Bajillions of them in fact - a healthy majority. The decision whether to add a language should NOT be made on the basis of what a few Usenet addicts think. It should be made on the basis (among others) of whether it adds desirable functionality and "marketability" (for profit or otherwise) without fatally complicating the product. I think Perl methods will be very popular and not particularly difficult to maintain as a Zope feature, although I do anticipate some complications down the road as new Zope, Python and Perl releases see the light of day and have to co-exist on various platforms. I can pretty much gaurantee that oce we start getting perl people on the list, doing stuff in perl, the following scenario will occur repeatedly: "I want to do this, how do I do it?" "like this...python code" "I don;t want to use python, I want to use the all cool lnaguage of perl" "Sorry, can't help you" ... Actually what will probably happen is that someone will ask "I want to do this, how do I do it" and one or more Python enthusiasts will say "like this... python code" and one or more Perl enthusiasts will SIMULTANEOUSLY say "like this... perl code" and the user will pick what suits them, and get back to work. Only the professional arguers will have the time to fight over this stuff. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] SQLSession and Memory leak
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 really dislike the attitude of people who just shrug their shoulders. I have seen this all too many times. Everytime I go through a problem and posted in to the mailing list, there are always people that try to say nonsense and refuse to accept that there is a problem. Guess what? Weeks later more and more people suffer similar problems. Could you point us to archived posts that support this claim? I think that you missed the efforts on Zope-dev and a Zope.org Wiki on the subject where some very dedicated people were/are trying to find out if 1: what reported cases of alleged memory leaks are in fact genuine, and 2: what is/are the cause(s) of any memory leaks that _do_ exist. Could you please report some more detail about your setup and testing methods to that group of people? It might be of some help to them. It would be more constructive. -- Martijn Pieters | Software Engineermailto:[EMAIL PROTECTED] | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ | The Open Source Web Application Server - ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZScheduler
-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, whereas I recall seeing the bug applies if not on 80. "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 not on the default port and the patch is not applied), the whole transaction fails. Except that I scheduled a non-smtp event which worked fine without the patch. By the way, what version of Zope are you using? I reported the bug in version 2.1.4. I wonder (because I haven't checked yet) if it was fixed in later versions. Well, it's clear I need to install this patch and try again. I'm using 2.1.4. - -- Regards, Graham Chiu gchiuatcompkarori.co.nz http://www.compkarori.co.nz/index.php Powered by Interbase and Zope -BEGIN PGP SIGNATURE- Version: PGPsdk version 1.7.1 iQA/AwUBOS4xebTRdIWzaLpMEQIPWwCg5uZpGCphTW2SAnYt0nHBQ6m5IgsAn2xW 4n4onec3rtzBnz9ZB3SRmuzc =5YOQ -END PGP SIGNATURE- ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Higher Education
-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: 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 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 product | because of nesting ZClasses (sigh). Moreover, I was changing |jobs as well, | which did not exactly help in getting things from the ground. | | So - yes I'm still interested Shane. | |I'm still very much interested in this. School's out in a week or so, and I |plan to work hard this summer worked on developing Zope stuff to be used |here at school. I would love to renew the discussions. | |-Tim Where do i find out how to subscribe to the zope-edu list? It doesn't seem to be listed on http://www.zope.org/Resources/MailingLists Look at the sourceforge address mentioned before http://sourceforge.net/project/?group_id=3093 Rik ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope Email (syndication)
-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 written in python, and modular enough that we should be able to take it one step at a time. In browsing the MailMan lists, I recall reading about someone setting up an archiver script that received each mail message and saved it into Zope via WebDAV, so each msg became a document. I didn't save the link, but that might be the *fastest* way to get started with archiving (and potentially indexing, etc) mail in Zope: - script (in Python, of course!) receives mail, or add to Mailman - script talks WebDAV, and saves it into a folder (or subfolder by-date?) in Zope - this becomes a DTML document -- I don't know enoug Zope yet to know if this could be a customized/subclassed DTML doc that was smart enough to parse RFC822, save fielded and raw search info into ZCatalog, etc). - everything Zope can do with a collection of items is yours! This sounded cool to me... Anyone going to try? Not me. I just wanted to add that imho saving an rfc822 object (using the standard python module) might not be a bad idea. I used it for a product (using bobo that was, I changed it after ZOpe came) that eats a Netscape inbox, by way of a maillists digest. And what about an XML derivative of the rfc822? Rik ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: M$soft
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 other up -- blech!) Doh! Guess I should put thread locking in my JetDA before somebody hurts themselves, then. ;) --jfarr "Perl is worse than Python because people wanted it worse." Larry Wall, 14 Oct 1998 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Roxen+Zope = Static+Dynamic pages
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 knows how to change the redirect rules to do that? Yup, check out the HowTo on Zope.org You can find it under http://www.zope.org/Members/Bill/Documentation/ ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] sequence-*
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. http://www.zope.org/Members/jfarr/Patches/dtml-in-sv --jfarr "Perl is worse than Python because people wanted it worse." Larry Wall, 14 Oct 1998 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Use of lambda expression in DTML
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 expressions. You can access some of the builtin objects as attributes/methods the special variable "_". Look in the DTML reference (e.g. at URL:http://zdp.zope.org) for a list of available builtins in "_". Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: [Zope-Annce] ANN: Perl For Zope
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 someone else left? Most of the time, I am not at all concerned with the internals of software products. Be they implemented in C, assembler, Perl or whatsoever. Think of compilers, operating systems, databases. I treat these products as black boxes. If they fail, I look for upgrades, write a bug report, request technical support. If this does not lead to a solution, I look for workarounds. If this proves impossible, a replacement/correction/reimplementation may get a try provided this is sufficiently important for the paying customer. I do not see, why this should be different with Zope products -- provided, they have a clear interface (should be not a big problem, if they can be called via HTTP), a decent documentation and they do what the documentations promisses. and about the costs to try to fix the situation myself. Mostly this is a concern for individual sites to decide whether they want to risk contamination or not and it's certainly an option they _should_ have, but I'd like to ask that once Perl methods are out there that the products downloadable from the zope site be split into those that are "pure" python and dtml versus those that have other types of methods in them. I think, this is important mainly for experimental software. For field proved products, an indication of the implementation language may improve trust that in case of problems, I can more easily fix it. If, however, the product is sufficiently complex, understanding the product is much more difficult than learning the implementation language (e.g. a C++ compiler versus the C implementation language). Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ANN: Perl For Zope
-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 ). It's a great language for writing internet robots ( grabbing content off remote pages or ftp sites, retrieving mail, sending mail, scheduling jobs ) inter alia. Would fill a lot of the gaps that Zope has. - -- Regards, Graham Chiu gchiuatcompkarori.co.nz http://www.compkarori.co.nz/index.php Powered by Interbase and Zope -BEGIN PGP SIGNATURE- Version: PGPsdk version 1.7.1 iQA/AwUBOS5h87TRdIWzaLpMEQILLQCbBzAYZ90+UTWq1dWvm8EnOhd+k9gAoIaE kpoJVTSfQiK5eMstHi54zNSf =XWCR -END PGP SIGNATURE- ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )