Re: [Zope] Representing rows from a ZSQL method
Good and bad news.. There is no real "product" to do this.. but it is not at all hard to do with Zope tools.. For example: -Displaying an order on the web with the order header (consisting of the client name, address, ZIP, etc.) and the order lines with the products to purchase. This is a combination of a ZSQL Method (to database of you choice) and displayed using a DTML-IN tags. No biggy. -Displaying a list of invoices between two dates with several columns (Invoice date, amount, VAT, invoice number, etc.). Same thing. Create another ZSQL Method that calls the list and display it using DTML-IN to iterate over the list. Display the data you want with the DTML or limit it in the SQL statement. -Displaying a price list of our products with several columns (reference, description, price, weight, etc.) and grouping the products by different criteria. For example inserting a row with the brandname of the next group of products or inserting a row of the product type. Same deal.. same ease.. Take a look at http://fundraising.gotschool.com which is 100% pure Zope with a PostgreSQL backend that serves up almost everything (90% of what you see). I have about 25 ZSQL Methods doing the work for the entire site with lots of database interactivity (reading, writing, updating). Start with the ZSQL Guide some How-Tos, the ZDP and when you get stuck send a message to the group here. Enjoy, J ___ 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] Q; Date / ZCatalog / Search
I too have not been able to get this to work... anyone to help... please? J From: Jørgen Skogstad [EMAIL PROTECTED] Date: Tue, 23 May 2000 00:25:22 +0200 To: [EMAIL PROTECTED] Subject: [Zope] Q; Date / ZCatalog / Search Kindest sir, I have a small question I hope someone could share some wisdom with. I am not that familiar with the various objects available within the Zope framework yet. .. I have made a ZCatalog which works seamlessly for text only searches etc. However; I need to search on a date basis on the generated object in the ZCatalog. For now my "date" entry/column is [string] coded.. not "date" as would be apropriate? How can I use date .. and then make a search to get the last 5 entries in a table? http://www.zope.org/Members/Zen/howto/AdvZCatalogSearching .. shows some possible ways to do this; but I can't seem to get them to work properly; dtml-comment Items modified in the last 14 days /dtml-comment dtml-in "Catalog(bobobase_modification_time=_.DateTime(date)-14, bobobase_modification_time_usage='range:min')" New item: dtml-var "Catalog.getpath(data_record_id_)"br /dtml-in .. does anyone have any information on how they have used this and gotten it to work? .. and might have an example or two? ;) What exactly does the various elements in the above example do? .. like "Catalog(bobobase_modification_time=_.DateTime(date)-14, bobobase_modification_time_usage='range:min')" ?? .. mm .. any input? ;) Thanks in advance.. Kindest, Jørgen Skogstad ___ 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] Zope concepts
Title: Re: [Zope] Zope concepts I intend to build an intranet with zope...though it's not as simple as that...I'd like 90% of the site to be password protected (giving access to members of my company)...do I use acl_users for this? Yes or any of the other models (UserDB, etc) I'd also like parts of the site to be accessible (and maybe manageable albeit minimally) by clientsDo I have to create a second user/access model for this or can I use the acl_users to do this for me too. Yup. Create a role for them and limit that role. I'm having problems a. Making the acl_user stuff work...I can either login as admin or not all. and b. Getting to grips with the concept of the user/privs/access model in acl_users Create a user, give them a role and they will inherit all of the access levels of that role. Create a new role and give that role different access levels and you can manage it better through the role. It is not that much different than most user/group/role access scenarios, in that once you get started using it and understand the basic concepts it will all fit. Remember that users inherit permissions from parent objects which you can turn off if that model does not suit you. J
Re: [Zope] installing products.
in fact I never used a zope product from the zope site. I downloaded the SiteAccess product. what do I have to do to use it??? I was about to just send you the installation instructions when I saw that they are pretty meager. Actually, very. (shame shame) 1) Go to your root Zope directory 2) Unpack (tar, zip) the file 3) Restart Zope To use it consult http://yyy.zope.org/Members/4am/SiteAccess/info The basics are you create a DTML Method in your Zope root directory and tell it about each of the folders and what domain name they are hosting and then in each folder you add a site access instance (from the drop down menu) with nothing in it. J ___ 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 Advocacy FAQ redux
Shane, The Advocacy FAQ is much need here is some help.. Benchmarks: http://www.zope.org/Members/BwanaZulia/benchmarks.html Pro Zope Links: http://www.zope.org/Members/BwanaZulia/zope.html How the competition does it.. Tomcat User Guide: http://jakarta.apache.org/tomcat/index.html (a really nice start) Enhydra Tour: http://www.enhydra.org/software/enhydra/tour/index.html There are also some of the links at the ZDP. Let me know if you need anything else... I am trying to get involved with the Open Directory Project to get the Zope area cleaned up a bit and that might help as well. J From: srl [EMAIL PROTECTED] Date: Tue, 23 May 2000 17:48:11 -0400 (EDT) To: [EMAIL PROTECTED] Subject: [Zope] Zope Advocacy FAQ redux So, after poking around on Zope.org for awhile, I haven't found an Advocacy FAQ. Have I missed something? I hope not, because I started one. This is a very rough draft, hacked together from memory. As such, it's quite likely inaccurate on some particulars, and most certainly incomplete. I'll be working on it more over the next few days. If you've got comments or additions, please email me and I'll credit you. To make the Advocay FAQ more complete, I'd love to hear: if you're using Zope in a situation where you had to get management buy-in, what convinced them? What objections did they have, and how did you counter those objections? http://www.zope.org/Members/srl/advocacy_faq PS. this is my first try at any sort of public document for an open-source project. I'd love to hear criticism in email or onlist. srl - Shane Renee Landrum slandrum@cs.smith.edu ___ 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] Feeling like a newbie.. document id if statement?
Ok.. this is really dumb, but for some reason I can't get this to work. dtml-if "id=='index_html'" do something cool /dtml-if What am I missing? I tried it on a few pages.. nothing.. Thanks, J (duffus) ___ 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: problems with ZServer Medusa!
Check the permissions on the var directory. J From: Seb Bacon [EMAIL PROTECTED] Date: Wed, 24 May 2000 19:04:00 +0100 To: [EMAIL PROTECTED] Subject: RE: [Zope] HELP: problems with ZServer Medusa! does /usr/Zope-2.2.0a1-src/var/z2.pid exist? if not, touch z2.pid and try again. seb. Hi All, I have installed Zope on a Linux server (Slackware 7.0) apparently without problems; but, when I start the server with the command: ./start, I have in continuous this message error: -- INFO(0) ZServer Monitor Server (V.1.6) started on port 8099 Raceback (innermost last): File "/usr/Zope-2.2.0a1-src/z2.py", line 698, in ? pf=open(PID_FILE, 'w') IOError: [Errno 13] Permission denied '/usr/Zope-2.2.0a1-src/var/z2.pid' ___ 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] ZDiscussions and Zope 2.2
What version are you using? J From: "Cary O'Brien" [EMAIL PROTECTED] Date: Tue, 30 May 2000 10:31:44 -0400 (EDT) To: [EMAIL PROTECTED] Subject: [Zope] ZDiscussions and Zope 2.2 I can't seem to add a ZDiscussions topic any more. I keep getting authorization failures. Managers are allowed to all zdiscussion topics on the security page, though. Is this related to the problem with ZSQL queries and the new permissions scheme with 2.2? -- cary ___ 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] tree state cookie
I don't think you can disable the tree storing a cookie. I must say though, it is going to get harder and hard to find sites that don't use cookies. It is doable, but not pretty. Cookies are good for you (if you eat them sparingly) :) J Howdy! I just recently got complaints from people visiting my web site. They have activated the "website wants to set cookie" alarm and they got lots of alarms when visiting my website. Since I never use any cookies it wasn't hard to find the cause: I wasn't aware that trees use cookies to store their state. Is there an option to disable this? (Cuz I don't want no cookies;) --Ragnar ___ 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] www.mysite.com/Members/someone
Ian, Make "Members" a DTML Method and inside that method you call a ZSQL Method (made previously) that takes the parameter of 'userid=name'. Store the name of the member in the cookie and when the visit /members/ or /members/name it gets all the data from the SQL Database and publishes it any way you want. Build any other functionality in the "Members" DTML Method to allow for /members/name/preferences or any other parameter you want to pass it. Just pick it up in an DTML-IF statement and do the rest. Good luck. J The thought I had was that "Members" could be a SQL method which takes "username" as a parameter, Ian then is passed in as that Username and the necessary data is pulled from the DB. This is fine except that I still need some other method to render the HTML page for delivery to the user and this would extend my url to : www.mysite.com/Members/Ian/rendermethod. The other problem with this is that it clutters the root with the Members SQLMethod and the rendermethod DTML document. I might start adding more URL's like : www.mysite.com/Members/Ian/preferences or www.mysite.com/Members/Ian/pastposts and the "preferences" and "pastposts" documents would end up in the root too. All these things belong in a Members folder, not at the root. I'm missing something important, I'd appreciate any enlightenment you could bring to this. - Ian. ___ 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] !--#var title-- = Zope ?!
"Zope" is the name of the main folder so when you do dtml-var title you are getting that folder's title. dtml-var title_or_id will give you the title or id of the object that it is within (DTML Document title or id). That is probably what you want. J At 1:53 PM +0200 6/6/2000, Jonathan wrote: Hi all, Don't know if this has been discussed before, but I am experiencing a weird problem with 'title' and 'title_or_id'; no matter what I specify as 'title' value, Zope returns 'Zope' (every page is titled 'Zope') Vanilla binary install of Zope 2.1.6, just started a new project. Any ideas? Thnx Jonathan ___ 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] What is favicon.ico and why is it an error?
I have a few Zope sites email me any error reports and both of the sites (different machines) get this error about two or three times a day. Traceback: Traceback (innermost last): File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 151, in publish File /usr/local/zope/lib/python/Products/SiteAccess/ChangeBehaviors.py,line 124, in traverse File /usr/local/zope/lib/python/OFS/Application.py, line 249, in __bobo_traverse__ (Object: ApplicationDefaultPermissions) File /usr/local/zope/lib/python/ZPublisher/HTTPResponse.py, line 511, in notFoundError As it looks for this "favicon.ico" Anyone seen this? It is happening on two different instatallations (2.1.4, 2.1.6) on RH Linux 6.1 Thanks, J ___ 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] ANN: ZUBB 0.3.2 (Zope Ultimate Bulletin Board)
http://www.zope.org/Members/BwanaZulia/ZUBB/ A few bugs fixed. A few more features added. Almost ready for prime time. Take a look and email me with your comments. If you are using it and would like to be linked to as an "example" site please send me the url. The idea is to make sure the release works and then submit it for cataloging on Zope.org. Thanks, J ___ 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: ZUBB 0.3.2 (Zope Ultimate Bulletin Board)
At 11:31 AM +1300 6/9/2000, Graham Chiu wrote: How about default sorting the message threads so that the thread with the most recent reply is at the top? This would be possible but I think it would be confusing to the user (posts would jump to the top). See below... And instead of just having the number of messages in a thread in brackets at the end of the thread header, also include the last date, or the number of new messages since the visitor last was at the ZUBB ( since you're using a persistent cookie )? I would love to add the ability to include the "last viewed" cookie feature. I will add it to the future feature list. The big thing on my plate though, is how to limit the amount of threads shown. Once you get beyond 100 or so I am worried about performance and download size. If anyone has any knowledge about limiting tree views that would be great. Thanks, J ___ 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] What is favicon.ico and why is it an error?
At 9:43 AM +0100 6/9/2000, Toby Dickenson wrote: The user wont see error; just the default icon in the favorites menu. You are correct. They don't see the error but it still produces a Zope error. Add this to the many reasons that I hate MIE! do you have a robots.txt, or are webcrawlers evil too? ;-) This, on the other hand, does not product a Zope error, just is logged as a 404. It is also useful in keeping search engines away from certain areas of your site. The favicon.ico trick really has no use, no functionality, no deeming qualities. M$ also did it in a bitmap as opposed to a jpg/gif which makes it much bigger than it should be. It also tells the server that a user has bookmarked your site, which to some users might seem like yet another breach of privacy. J ___ 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] Costs of implementation
At 8:32 AM +0200 6/13/2000, D Swart wrote: I am trying to motivate the use of Zope / Zcommerce, and to do this need some timing ideas - Does anyone have thoughts on how long (man hours per expertise) it took them to go from no Zope to (Zope + Steve Spickelmire and Co's EMarket) and to a successful transaction? From 0 to Zope in under 6.2 seconds! :) If you are totally new (no Zope in your blood) here is what I would expect. This does take into account that you know "something" about programming and variables and really good HTML as well as some server stuff (how to set up, IP addresses, shell scripts). I have put what it would take a Zopista in parenthesis (not me though, I only play one on the web). 1 day (1 hour) - Install Zope 1 day (done) - Download, print, read all guides and "howtos" 5 Days (2 days) - To get a basic site up and running. Log in, look and feel, tested, management, feel the power of Zope 1 day (2 hours) - Set up database backend and connect 5 days (2 days) - Build catalog system, Z SQL Methods, etc 2 days (2 days) - testing, testing, testing This is very rough but should be around the amount of time. This does mean full "developing days" which are about 10-14 hours. I don't know about transactions so you might want to pad it a bit. I will say though, that once you get into developing with Zope you realize just how fast you can develop new products with it. It is an amazing working environment. J ___ 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] Selling Enhydra? Could they do this to Zope?
https://www.releasesoftware.com/_lutrisstore/cgi-bin/pd.cgi?sources=source= lutris09 I just came across this when surfing on /. They are basically selling a "boxed" version of Enhydra (a Open Source Java Web Application Development Environment) and support. I guess this fits into the Red Hat / Linux model but would it work for Zope? Good? Bad? BTW: 2.0b1 is great. WebDav works well (although not sure what it gives beyond FTP and the management interface). I have not done any benchmarks but... might. J ___ 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] Costs of implementation
Well, if you added it all up I was talking about 96 hours of development (8 days x 12 hours) which is a lot to bring up a site in Zope. I agree it does depend on the person but I have had graphics people once given a 10 minute intro to Zope not only start playing around with DTML but doing quick if/then statements. OO helps, and Python can help but some of things are not exactly the same as Python and TOO much Python can hurt. I wise man once said.. "There are only three timelines for programmers: 1) Something that can be done in 20 minutes 2) Something that can be done in a day 3) Something that can be done in a year" J From: Dan Rusch [EMAIL PROTECTED] Date: Tue, 13 Jun 2000 10:36:16 -0500 To: "J. Atwood" [EMAIL PROTECTED] Cc: D Swart [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: [Zope] Costs of implementation I think that the timeline J provided is unrealistically optimistic. The amount of time it will take someone to go from 0 to Zope varies wildly. We have had developers come in and in a matter of a few days they are very productive. Others take much longer. Several things affect this. Someone to show you the ropes being primary. Previous knowledge, especially in OOP and in python or pythonish language, is also crucial. So how long depends on you. If you don't have someone who knows Zope and python expect to struggle up the near vertical learning curve of Zope. After helping to train several people on Zope I would recommend not reading any Zope documentation until after you understand python. In other words, learn the basics of python first. Know what a list, dictionary and tuple are and their syntax and operations and many of the mysteries of Zope will be cleared up (i.e. when do you need tics instead of quotes etc.). After garnishing a working knowledge (you don't need to be a Zen master of python) of python ,then read the Zope documentation and start working in Zope. Just my experience working with newbies. Dan "J. Atwood" wrote: At 8:32 AM +0200 6/13/2000, D Swart wrote: I am trying to motivate the use of Zope / Zcommerce, and to do this need some timing ideas - Does anyone have thoughts on how long (man hours per expertise) it took them to go from no Zope to (Zope + Steve Spickelmire and Co's EMarket) and to a successful transaction? From 0 to Zope in under 6.2 seconds! :) If you are totally new (no Zope in your blood) here is what I would expect. This does take into account that you know "something" about programming and variables and really good HTML as well as some server stuff (how to set up, IP addresses, shell scripts). I have put what it would take a Zopista in parenthesis (not me though, I only play one on the web). 1 day (1 hour) - Install Zope 1 day (done) - Download, print, read all guides and "howtos" 5 Days (2 days) - To get a basic site up and running. Log in, look and feel, tested, management, feel the power of Zope 1 day (2 hours) - Set up database backend and connect 5 days (2 days) - Build catalog system, Z SQL Methods, etc 2 days (2 days) - testing, testing, testing This is very rough but should be around the amount of time. This does mean full "developing days" which are about 10-14 hours. I don't know about transactions so you might want to pad it a bit. I will say though, that once you get into developing with Zope you realize just how fast you can develop new products with it. It is an amazing working environment. J ___ 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] Does Zope support user authentication, sessions, etc?
From the specifications given, my first thought is to implement it in object-oriented way of programming. Zope (being open-source and OOP from ground-up) naturally came to mind. Therefore, i would like to know whether Zope is suitable (and stable enough) to develop this kind of websites, bearing in mind other criteria such as scalability, performance, and the "learning curve" involved. Yes. Yes and steep. (scalability = ZEO, performance is good, learning curve a bit steep) I have done programming in PHP before, and AFAIK to implement features such as user-authentication, sessions and permissions in PHP, we can either write our own libraries, or use PHPLIB. However, looking at PHPLIB, it seems to be quite buggy, and require a lot of work re-writing for some of its functions. Therefore, I would also like to know whether there's any authentication/session management modules(or classes) already written for Zope, and if they exist, is it easy to implement them(as in as easy as plug-and play, or a lot of coding required)? Zope has its own authentication/session management built in. You will see this when you set up your first Zope and go to manage something. There are a few products out there that let you create better login/user management as well as some that you can connect to SQL databases or LDAP. A new product in the works it the PTK (Portal Tool Kit) that will have a lot of this built into it. My suggestion: Start poking around Zope.org, read up on the stuff there and download and install Zope. That will give you a better idea of what you are dealing with. J ___ 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 Zope/Python Evangelism
http://www.zope.org/Members/BwanaZulia/zope.html My collection of articles and sites also study the case studies on Zope.org as well as Zope Newbies. J From: Joseph Santaniello [EMAIL PROTECTED] Date: Wed, 14 Jun 2000 12:17:13 -0700 (PDT) To: [EMAIL PROTECTED] Subject: [Zope] Help with Zope/Python Evangelism Hello Everyone, I've been using Zope and Python in my own projects for over a year now, and I am convinced well beyond a shodow of a doubt that "Zope Is The Answer" and have used it for several of our internal applications, and use Python almost exclusivly for our scripting needs. Here's the problem: Our main outside vendor (whom all managment besides me are very happy with) has a new agenda for forward development: "Industry Standards" such as Delphi (for backend!) and other things I deem silly. So I need as much information as anyone is willing to share on Zope/Python implementations in as large/corporate a setting as possible. Thanks, Joe PS: I've seen all the listings on the Python and Zope websites, but I need more! -- Joseph Santaniello Chief Technology Officer Westlake Financial Services 4751 Wilshire Blvd. Suite 100 Los Angeles, CA 90010 (323) 692 4129 http://www.westlakefinancial.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 ) ___ 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] ZDiscussions Problem
Title: Re: [Zope] ZDiscussions Problem Hey Pete, Your choices are really Confera (very old), ZDiscussions (semi old and not supported), ZUBB (pretty new, but may not do what you want), Squishdot (sounds more what you want) and waiting for the PTK (may or may not have you want). I can only really talk about ZUBB, though. ZUBB is used as a object with all the messages in the object. I have not heard of anyone successfully calling the index_html object from outside of the folder (nor have I tried). The topic runs in its own space and can be included as a part site by linking to it. (You can probably do some counts of messages or other things from outside the object though). If you are looking to have a discussion follow every article/person/page Squishdot is your better bet. J At 10:54 AM +1200 6/21/2000, Pete Black wrote: First up, i'd like to whine a bit. WHINE-MODE ON Which product should i use to add a Discussion component to my site? Confera? ZDConfera? ZDiscussions? ZUBB? Squishdot? PTK? Was the Zope 'Portal' deliberately designed to obfuscate the choices available and their respective pros/cons, as well as to make it practically impossible to find useful documentation, or has it just happened this way? I'm just about ready to give up on Zope and go back to hacking Perl, because, even though i have to write 10 times as much difficult-to-read code to get a job done, at least i know that the job is doable, doable in a way that suits me, and that if there is a module to do what i want to do, it will be findable and documented on CPAN. WHINE-MODE OFF I don't like to whine, and i think Zope promises to be a great product, and i am persevering with it because i think it will (once i get implemetation out of the way) make me a great intranet. Many thanks to the developers, you have, on the whole, done a wonderful job. Anyway, my problem is this: I have a ZDiscussion set up in a folder (off the root folder) called TMLDiscussion. I want to put the contents of the discussion in the index_html method of my root folder. So, i put the following in my root index_html method: dtml-with TMLDiscussion /dtml-with (normally there would be code beteen those two tags to output a dtml-tree of messages in the TMLDiscussion object) Even with nothing between the dtml-with tags, i get this error: Error Type: NameError Error Value: r Whats going on? And how do i display the discussion on my index page? Thanks for any Help -Pete
Re: [Zope] Newspaper site
Powered By Sites: http://www.zope.org/Members/BwanaZulia/zope.html and the best really.. http://weblogs.userland.com/zopeNewbies/zopesites/ You should find a good combination of content/newspaper sites there. Also take a look at the KM news product. http://www.zope.org/Members/taz/kmnn Good luck, JMA At 12:13 PM +0200 6/21/2000, Wesley Anderson wrote: Hi all, I'm just wondering if there are any newspaper/magazine sites out there that are using ZOPE for content management and subscriber management. I wouldn't think it would be suitable, but what do you think of using Squishdot for this purpose? Also, is there a list of "powered by" sites on zope.org? I'm doing a site that has both public and private content - hence the need for subscriber-based access. Thanks much Wesley ___ 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] Local File System (LocalFS) install problems
(I have searched the newsgroups and zope.org) I downloaded and installed LocalFS (untar in zope dir) restarted Zope (2.1.6 on Linux running as Nobody). The Local File System is an available object but when I try to add it to any folder I get.. Error Type: IOError Error Value: [Errno 13] Permission denied: '/usr/local/zope/lib/python/Products/LocalFS/methodAdd.dtml' And: Traceback (innermost last): File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 179, in publish File /usr/local/zope/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 165, in publish File /usr/local/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: methodAdd) File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 102, in call_object (Object: methodAdd) File /usr/local/zope/lib/python/App/special_dtml.py, line 120, in __call__ (Object: methodAdd) File /usr/local/zope/lib/python/DocumentTemplate/DT_String.py, line 443, in __call__ (Object: methodAdd) File /usr/local/zope/lib/python/DocumentTemplate/DT_String.py, line 381, in cook (Object: methodAdd) File /usr/local/zope/lib/python/DocumentTemplate/DT_String.py, line 374, in read (Object: methodAdd) File /usr/local/zope/lib/python/DocumentTemplate/DT_String.py, line 538, in read_raw (Object: methodAdd) IOError: (see above) I tried changing some of the permissions but to no avail. J ___ 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] Validating page entry help
I find the best way is to do dtml-if itemdtml-var itemdtml-else* needed/dtml-if on the fields of the form and have dtml-try trying to do something with all the values (email, write, update database). If they are not all there it brings you back the the form (I always build it in one method which makes it easier). Examples: http://market.gotschool.com/register.html?type=school - in production so leave out your email http://fundraising.gotschool.com/tell_a_friend.html J From: Stuart Foster [EMAIL PROTECTED] Date: Wed, 21 Jun 2000 10:39:48 -0700 To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED] Subject: [Zope] Validating page entry help I was wondering what the best way to validate a users input on a page. Currently I submit a page to an interim page that checks for certain values using dtml-if's and dtml-unless'. If everything is fine I go on to the next page. If something is missing I need to go back, I haven't figured out how to do this part. If I use META HTTP-EQUIV="refresh" content=5;URL=dtml-var "REQUEST['HTTP_REFERER']" all the input is lost from the form. So my questions are: 1. What is the best way to do page validation before it is submited. 2. If the way I am doing it seems to be an ok way, how do I go BACK with out losing everything (equivalent of pressing the back button) Stuart Foster MediServe Information Systems http://www.mediserve.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 ) ___ 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] Writing to LocalFS
(thanks to Jonathon and Dieter... for the permissions problem. That did the trick) Again, after some searching, I am looking for the syntax to write a file / append to a file in a Local File System. This is certainly where my Python days seem to slow my down b/c I would have just: contents = open('/path/file.txt', "r") to read and contents = open('/path/file.txt', "a") to append. I am sure that I am missing some bit of Zope Zen here... Please point me in the right direction... J ___ 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] Getting anonymous permissions
This should be easy, but has me a little confused. to get a an AUTHENTICATED_USER permission I use... dtml-if "AUTHENTICATED_USER.has_permission('Permission Name', '')" Do something /dtml-if But how do I test to see if ANONYMOUS has a permission? Thanks, J ___ 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] Getting anonymous permissions
so dtml-if "AUTHENTICATED_USER.has_permission('View', '')" Do something /dtml-if Should work, but does not. J From: Oleg Broytmann [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Wed, 28 Jun 2000 14:36:36 + (GMT) To: "J. Atwood" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Zope] Getting anonymous permissions On Wed, 28 Jun 2000, J. Atwood wrote: But how do I test to see if ANONYMOUS has a permission? Anonymous is AUTHENTICATED_USER, too :) 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] Passing Parameter without ?
http://www.zope.org/Members/mcdonc/HowTos/direct_traversal That might get you started.. it applies to most of what Zope can do. J From: saif [EMAIL PROTECTED] Date: Thu, 29 Jun 2000 15:33:00 +0530 To: [EMAIL PROTECTED] Subject: [Zope] Passing Parameter without ? Hi, How do u pass parameter from one html page to another without using ? and REQUEST. i.e I wnat to pass the parameter as /. eg:- www.localhost.com/para1/para2 Thanzs for the help Saif... http://systemprg.hypermart.net ___ 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] Available Object List (Was Re: [Zope] GOOD)
they should put their "Available Object" white box, you know what I mean ? -ABOVE- the files. See, when you have 900 files in one directory, Aye! I second that. I know it is bad behavior to just say "me too" and send it to the list.. but... ME TOO! This is one of those things that would seem like it would take DC about 10 minutes to do and would greatly improve our (Zope Programmers) lives. What say DC? 2.2b4? J ___ 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] Confera problem
Confera is pretty old I would try ZDiscussions, ZUBB or Squishdot. J At 12:30 PM +1000 7/3/2000, Terry Kerr wrote: Hi, I just downloaded Confera-1.2.0-nonbin.tgz, installed it, and created a Confera topic instance. I posted a mesage to the topic, and then posted a reply to this messge. This is what i get: Traceback (innermost last): File /home/tejay/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /home/tejay/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 179, in publish File /home/tejay/Zope-2.1.6-src/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook File /home/tejay/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 165, in publish File /home/tejay/Zope-2.1.6-src/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: addMessage) File /home/tejay/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 102, in call_object (Object: addMessage) File lib/python/Products/Confera/Confera.py, line 565, in addMessage File /var/tmp/python-root/usr/lib/python1.5/regsub.py, line 38, in gsub AttributeError: (see above) Has any one had this problem? I don't really have time to go hunting for the problem at the moment. I am running a Zope 2.1.6 from src on RH linux 6.2. terry -- Terry Kerr ([EMAIL PROTECTED]) Adroit Internet Solutions Pty Ltd (www.adroit.net) Phone: +613 9563 4461 Fax: +613 9563 3856 Mobile: +61 414 938 124 ___ 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] Is Zope slow?
No. Not when compared to other applications that do the same *type* of thing (which there are very very few). Check out an interesting set of benchmarks I ran against Zope and Tomcat connecting to a PostgreSQL database. http://www.zope.org/Members/BwanaZulia/benchmarks.html J From: Firestar [EMAIL PROTECTED] Date: Wed, 5 Jul 2000 22:13:32 -0400 (EDT) To: [EMAIL PROTECTED] Subject: [Zope] Is Zope slow? Hi, I'm considering using Zope as the development tool for my next web project. However, I read from a recent benchmark test (from Qube, i think) that Zope(running thru Zserver?) is much SLOWER than Apache and AOLserver. Is that true? To all Zope users and 'guru's, what is yr experience using 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] Stability - can you give us some advice?
I have about 8 Zope websites of varying sizes and complexities. Early on when I was developing in Zope I had it hang a few times but since then (and I have done a lot of stuff for the last six months) I have really never had it hang. Two of the sites use PostgreSQL (6.5.3 and 7.0) and four of them are served off of one instance and an old Pentium 166. It has been my experience that Zope itself (non-betas which you should never be using in a production environment) is very stable and only hang due to OS issues or really bad DTML coding (loops). If the problems continue I would suggest trying a different OS environment (I am a very very happy RH Linux person). J At 1:50 AM -0300 7/7/2000, [EMAIL PROTECTED] wrote: Hi, I'm new to this list (to Zope too!)and I'm really impressed with its traffic. This show us that this project is in active development. In our company we are currently working to create a Web site with lots of dynamic content, database access, webmail, etc.. so we decided to try Zope. Although it's lack of documentation ( this would not be fair, with a search engine we can dig out lots of useful info from the web) we experienced a very fast development cycle. Now we're concerned about its stability. We are almost finishing the first stage of project and some times Zope hangs. It was working ok, and then, all of a sudden, it just stops answers requests. Last time it happend we changed a DTML Method to a DTML Document and it worked again (if you like i'll try to tell you exactly what was happenning). So, I'd like some advice to make it more stable. ( or tell me what i might be doing wrong) ___ 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] Is Zope slow?
I have a lot of time and exposure to Tomcat so it made it easy for me to run those tests (BTW, now in production, on the same machine Zope is about 3 times faster!) but none really with PHP or Mason. In the end of the day, though, as most of the people have been saying on this list, you really shouldn't be focusing on comparing the raw speed of two totally different applications with different feature sets. I would challenge you to find something as powerful /useful / extendable as Zope written in any language and if you did, we could run those benchmarks. What I *would* suggest focusing on is can Zope provide you with the right amount of features and functionality and can you scale it? So, and god willing, your site that you build in Zope goes from 0-1,000,000 hits a day, can you handle it? The answer is yes (a mix of Pentium, 256 MB Ram and fast drives with Linux will do that). What about if you double that or go to 10,000,000 a day? Well, that is where ZEO and load balancing will come in. I can personally tell you that you could set up four Pentium 300 MHz Zope installations running a ZEO instance behind a load balance (not nearly are complicated as it seems) and you would be able to handle most of your Yahoo dreams. So, keep researching, asking the right questions and looking for those answers but don't get caught up in the benchmarking game too long, it is only one very small piece to the equation. Good luck. J At 10:19 PM -0400 7/6/2000, Firestar wrote: Thanks for your info. The benchmarks look impressive! However, what would be interesting is how Zope performs compared to Apache+PHP or mod_perl/mason and other open-source solutions... If you happen (and have the time) to compare them, do tell me:) regards, firestar --Original Message-- From: "J. Atwood" [EMAIL PROTECTED] To: Firestar [EMAIL PROTECTED] Sent: July 6, 2000 2:55:02 PM GMT Subject: Re: [Zope] Is Zope slow? No. Not when compared to other applications that do the same *type* of thing (which there are very very few). Check out an interesting set of benchmarks I ran against Zope and Tomcat connecting to a PostgreSQL database. http://www.zope.org/Members/BwanaZulia/benchmarks.html J ___ 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] Is Zope slow?
Well, i don't think my site will ever get that much hits:) Anyway, i check out Digicool website on this ZEO thing, and it seems that they charge abt $25,000 for this product alone(+consulting)? Not to belittle their effort, but that's a huge amount of money, considering that everything nowadays is "open-source":). Or did i interpret it wrongly? TIA. ZEO is open source now. It used to be (a few months ago) that $25,000 but now is completely open source (search for ZEO on Zope.org). It is in Alpha/Beta and will be out soon. It probably one of the biggest things that gets the littlest attention. It will bring Zope to a whole new level of scaling the only 1,000,000 solutions offer now. J ___ 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] Writing a Zope Help System
Has anyone posted a help on writing Zope help into your product for 2.2? J ___ 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] Products and 2.2 Final
Mine ZUBB - Zope Ultimate Bulletin Board But that is not important here. It would be nice if someone could compile a list of products that are 2.2 compatible. JMA From: Rogerio Atem de Carvalho [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Tue, 18 Jul 2000 16:11:35 -0400 To: [EMAIL PROTECTED] Subject: [Zope] Products and 2.2 Final Just a simple question: I am using 2.1.6 with LocalFS, CachePool, SQL Input Wizard, MetaPublisher and others... I am thinking now in upgrading to 2.2 final. Is there any product that is not compatible with 2.2 final? regards, Rogerio Atem --- E-mail enviado pelo servidor do CEFETCampos ___ 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] New How-To on Cookies (need feedack)
I started a little how-to on cookies. Take a look and send your feedback. http://www.zope.org/Members/BwanaZulia/cookies/index_html J ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZDiscussions and Zope 2.2
Are you using the old ZDiscussions or ZUBB? I have not had the time to fix ZUBB to work with 2.2 but will try this weekend. J From: Gidon Friedman [EMAIL PROTECTED] Date: Thu, 20 Jul 2000 12:33:58 +0200 To: [EMAIL PROTECTED] Subject: [Zope] ZDiscussions and Zope 2.2 hi Anybody tried to use ZDiscussion with Zope 2.2 ? I somehow can't manage to get it to work First I wasn't able to use 'regenerate method' because of a TypeError : keyword parameter redefined then i copied the methods by hand, but each time i try to view a non-empty Topic (as Manager) it shows: Zope Error: Unauthorized I can view the page as superuser without problems. I can also view an old Topic that i created in Zope 2.1.6 and imported into the new site as Manager. As long as i don't ad new Items ... Anybody? I add the tracebacks at the end, my os is aix 4.3. thankx gidon - traceback I: regenerate methods: Traceback (innermost last): File /home/gfried/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /home/gfried/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py, line 187, in publish File /home/gfried/Zope-2.2.0-src/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: ElementWithAttributes) File /home/gfried/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py, line 171, in publish File /home/gfried/Zope-2.2.0-src/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_regenerateDefaultMethods) File /home/gfried/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_regenerateDefaultMethods) File /home/gfried/Zope-2.2.0-src/lib/python/OFS/DTMLMethod.py, line 167, in __call__ (Object: manage_regenerateDefaultMethods) File /home/gfried/Zope-2.2.0-src/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: manage_regenerateDefaultMethods) File /home/gfried/Zope-2.2.0-src/lib/python/DocumentTemplate/DT_In.py, line 691, in renderwob (Object: default_methods.objectIds()) File /home/gfried/Zope-2.2.0-src/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: manage_addProduct['OFSP'].addDTMLMethod( this(), _['sequence-item'], title=_.getattr(default_methods, _['sequence-item']).title, file=_.getattr(default_methods, _['sequence-item']))) (Info: this) File lt;stringgt;, line 0, in ? TypeError: (see above) traceback II: index_html as Manager in non-empty Topic. Traceback (innermost last): File /home/gfried/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /home/gfried/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py, line 187, in publish File /home/gfried/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py, line 171, in publish File /home/gfried/Zope-2.2.0-src/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: index_html) File /home/gfried/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: index_html) File /home/gfried/Zope-2.2.0-src/lib/python/OFS/DTMLMethod.py, line 167, in __call__ (Object: index_html) File /home/gfried/Zope-2.2.0-src/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: index_html) File /home/gfried/Zope-2.2.0-src/lib/python/TreeDisplay/TreeTag.py, line 155, in render (Object: a tree tag) File /home/gfried/Zope-2.2.0-src/lib/python/TreeDisplay/TreeTag.py, line 261, in tpRender (Object: ElementWithAttributes) File /home/gfried/Zope-2.2.0-src/lib/python/TreeDisplay/TreeTag.py, line 337, in tpRenderTABLE (Object: ElementWithAttributes) Unauthorized: [0] ___ 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] Anyone built a classifieds or review product?
On my list of products that I would like to build / help build ZCLassifieds: A product that allows users to post classifieds for sale with categories, pictures, start and end dates, email contacts, etc. Could be anonymous or require a log in that plays upon the strengths of Zope. ZReview: A generic review product that allows people to post reviews of "things" and have other people comment on the review. A lot of what is in Zope Treasures but maybe with pictures etc. Has anyone starting building these, need these, or would be interested in helping build these? J ___ 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] cookies
http://www.zope.org/Members/BwanaZulia/cookies/index_html That should help. J From: "Vincent Maton" [EMAIL PROTECTED] Date: Tue, 4 Jul 2000 15:45:55 +0200 To: "Zope" [EMAIL PROTECTED] Subject: [Zope] cookies Hello !!! can you tell me how can I use the "cookies" Thank you very much ___ 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] ZDiscussions and Zope 2.2
Good.. that means that it was an inherited problem. :) J From: Gidon Friedman [EMAIL PROTECTED] Date: Thu, 20 Jul 2000 15:08:25 +0200 To: "J. Atwood" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Zope] ZDiscussions and Zope 2.2 I used the old ZDiscussions 0.2, but i installed the new ZDiscussions 0.3.2 now, and the results are _exactly_ the same. cheers gidon Are you using the old ZDiscussions or ZUBB? I have not had the time to fix ZUBB to work with 2.2 but will try this weekend. J ___ 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] ZServer Statistics
At 8:31 AM -0700 7/21/2000, Demos Economacos wrote: Is there way to determine how many (and which)pages ZServer serves? I am running ZServer as my primary server. What kind of statistics should I be looking for? Zope writes to a log file called "Z2.log" which in log terms is a "combined log file" format. You should be able to run any log analysis package against it and get most of the information you want. If you want to pay for a GUI go for Webtrends, otherwise you can use very powerful and free Analog (http://www.analog.cx) which can be customized to do almost anything. For example should I be concerned about how long it takes to load pages, and how long users stay on a specific page etc? For that kind of information you need to do some pretty tricky mathematics that are not always very accurate. J ___ 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 performance ratios
Well, if you "ARE" anal about numbers try http://www.zope.org/Members/BwanaZulia/zope_benchmarks/benchmarks.html which has a lot of information. Zope is certainly not going to compare to any static webserver in terms of speed so I would not be upset when you see that it does not. It does, however, come out much faster than other things like Apache Tomcat. I have done a lot of testing so let me know if you have any specifics. J From: [EMAIL PROTECTED] Date: Mon, 24 Jul 2000 13:54:09 -0400 To: [EMAIL PROTECTED] Subject: [Zope] Zope performance ratios I'm interested in getting performance statistics for Zope. I'm scouring the mailing lists for previous messages but I would also be interested in anything else people may want to say about it. For example, what is the record for average web hits from a Zope site? Does someone have a feel for useful ratios like: "a Zope page takes, on average, twice as a static page to serve"? I'm not interested in being anal about the numbers, seat of the pants estimates are what I'm looking for. -- Andres Corrada-Emmanuel Email: [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] Zope and Tomcat
To start you might want to look at some benchmarking I did between Zope and Tomcat http://www.zope.org/Members/BwanaZulia/zope_benchmarks/tomcat1.html (1 of 4 rounds) To answer your question though, since Zope can sit behind Apache (cgi based, proxy pass, etc) and Tomcat can sit behind Apache (writes its own config file NOTE TO DC THIS IS REALLY NICE!) you should be able to mix and match. Tomcat will not server Zope and Zope will not serve Tomcat but you could get them to talk to the same databases and serve off the same instance of Apache. Good luck. J From: "Christophe Lombart" [EMAIL PROTECTED] Date: Thu, 27 Jul 2000 16:25:05 CEST To: [EMAIL PROTECTED] Subject: [Zope] Zope and Tomcat Hi all, I'm currently analysing this wonderfull product named Zope and I'm wondering if it is possible to integrate Zope with the JSP technology via why not Tomcat. The reason is the devevelopment team has a good experience with JSP and our current project - write in java - should plugged in a portal like ZOPE can do ! Thanks you for your information Christophe Lombart 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 ) ___ 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] Full path var on Zope.org login link (Ethan!)?
What DTML-VAR do they use on Zope.org to populate the came_from variable for the 'login' link? I have used dtml-var absulute_url but it does not seem to return the full path 'http://www.thedomain.com/folder/page.html' Any help would be great. Thanks, J ___ 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] ANN: ZUBB (Zope Ultimate Bulletin Board) 0.5.0 Release
I have uploaded the update to ZUBB. Both the changes and readme are linked below. There are a few major presentation and feature changes but It still does not work with Zope 2.2. I will work on that when I have a chance (if anyone would like to help that would be great). http://www.zope.org/Members/BwanaZulia/ZUBB/ http://www.zope.org/Members/BwanaZulia/ZUBB/README http://www.zope.org/Members/BwanaZulia/ZUBB/CHANGES As always the sample / test / development board is http://www.bwanazulia.com/kenya/discussions/test/ I have about 6 of these boards in production environments and things seem to be pretty stable as I work to squash bugs. My major concern for now is to see how many posts it can handle before I have to move to something like the SQL based version (which is still in the basic planning stages and will be a whole new game). Suggestions, comments are welcome. J ___ 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] ANN: ZUBB 0.5.0 Release (Now works with Zope 2.2)
After further testing I have a work around for 2.2 users. See the install doc for more information. I have uploaded the update to ZUBB. Both the changes and readme are linked below. There are a few major presentation and feature changes. http://www.zope.org/Members/BwanaZulia/ZUBB/ http://www.zope.org/Members/BwanaZulia/ZUBB/README http://www.zope.org/Members/BwanaZulia/ZUBB/CHANGES http://www.zope.org/Members/BwanaZulia/ZUBB/INSTALL As always the sample / test / development board is http://www.bwanazulia.com/kenya/discussions/test/ I have about 6 of these boards in production environments and things seem to be pretty stable as I work to squash bugs. My major concern for now is to see how many posts it can handle before I have to move to something like the SQL based version (which is still in the basic planning stages and will be a whole new game). So far I have been able to push it up to about 500 posts. If you are using it and have pushed it farther let me know. Suggestions, comments are welcome. J ___ 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] ZUBB / ZDiscussions Users or Examples
I have started a page (http://www.zope.org/Members/BwanaZulia/ZUBB/EXAMPLES) to list sites that are building / using ZUBB or ZDiscussions. I would love if you are using it to send me a link and you permission to add you to the list. I will also add you to a mailing list to let you know what the future looks like it. Thanks, J ___ 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] ZUBB / ZDiscussions Users or Examples
Hey Bill, You da man. that worked like a charm. I am going to fix a few other little 'features' (bugs) release a another version. I have been testing speed and scalability and I have a board up and running with over 800 messages and it seems to be working great. Thanks, J From: Bill Anderson [EMAIL PROTECTED] Date: Mon, 31 Jul 2000 21:35:30 -0600 To: "J. Atwood" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Zope] ZUBB / ZDiscussions Users or Examples "J. Atwood" wrote: I have started a page (http://www.zope.org/Members/BwanaZulia/ZUBB/EXAMPLES) to list sites that are building / using ZUBB or ZDiscussions. I would love if you are using it to send me a link and you permission to add you to the list. I will also add you to a mailing list to let you know what the future looks like it. Umm, not using it quite yet, but ... I have worked arounf the keyword error in ZUBB's regenerate methods method. In the method, delete the 'this()' line. Works for me, YMMV. -- Do not meddle in the affairs of sysadmins, for they are easy to annoy, and have the root password. ___ 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] ANN: ZUBB (Zope Ultimate Bulletin Board) 0.5.3 Release
I have uploaded ANOTHER update to ZUBB. Both the CHANGES and README are linked below. Most of them are minor and have to do with Zope 2.2 and the regenerate feature, which is now a bit tricky depending on what version of Zope you are using (see INSTALL). I have also managed to test 0.5.3 with over 900 posts (working my way towards 1000) on Zope 2.2. http://www.zope.org/Members/BwanaZulia/ZUBB/ http://www.zope.org/Members/BwanaZulia/ZUBB/README http://www.zope.org/Members/BwanaZulia/ZUBB/CHANGES http://www.zope.org/Members/BwanaZulia/ZUBB/INSTALL http://www.zope.org/Members/BwanaZulia/ZUBB/EXAMPLES As always the sample / test / development board is http://www.bwanazulia.com/kenya/discussions/test/ Suggestions, comments are welcome. J ___ 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] How do I count children?
So In ZUBB (my discussion product) I want to be able to show how many replies there have been to any one main topic. All replies are 'children' of the main post and when I state it with dtml-tree branches=children Stuff /dtml-tree It works and knows that each message is a child of the message. When in go through a searchResult to list the message I want to show many replies there are to that message. Q: How do I count the 'children' of any one onject? Thanks, J ___ 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] Requested Zope feature
A lot of the time I end up going into a document/folder/method just so I can click on the 'view' tab popping up a new window so I can see it (option click / right click). It would be very nice if DC could add a icon (or take over the existing icon) to pop a new window with the object ( a target="top" href="object" ) so you could view the object without having to edit it. This would save about 2 steps for something that, personally, I do all the time. The link to the object would still be for editing it. Just a thought. Thanks, J ___ 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 - long running process
There is a switch in z2.py that allows you to point to a PID file. It will automatically restart your Zope installation once it goes down (if). Like so... (start script) ___ #! /bin/sh reldir=`dirname $0` PYTHONHOME=`cd $reldir; pwd` export PYTHONHOME exec /usr/local/zope/bin/python \ $PYTHONHOME/z2.py \ -w80 -Z /usr/local/zope/var/Z2.pid "$@" ___ It is the -Z /usr/local/zope/var/Z2.pid part. Do a more on your z2.py and check out all the options. J From: George [EMAIL PROTECTED] Organization: OK Studio Date: Sat, 12 Aug 2000 01:10:53 +1000 To: [EMAIL PROTECTED] Subject: [Zope] Zope - long running process Could someone please explain how to make sure ZOPE does not stop working and if it does then it restarts again? My platform is FreeBSD 4.0 -stable. Do I use CRON ? Do I turn the debug option off to detach ZOPE from the terminal it was started from? Regards, George [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 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] Newbie Q from non-Newbie: Where does my HTML go?
Dead on balls accurate. Works like a charm. Thanks Chris. (now have to figure out why I couldn't figure that out!) :) J From: Chris Withers [EMAIL PROTECTED] Organization: New Information Paradigms Date: Wed, 16 Aug 2000 23:17:01 +0100 To: "J. Atwood" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Zope] Newbie Q from non-Newbie: Where does my HTML go? "J. Atwood" wrote: EX1: dtml-var expr="_.whrandom.choice(tips.objectValues())" untested... dtml-var expr="_.whrandom.choice(tips.objectValues())(_.None,_)" cheers, Chris ___ 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 is very slow!
Hi Christiano (nice first message... :) ) First of all, lets define slow. What does slow mean? Have you tested it with AB (apachebench)? You sure it is not your connection? Watched it in TOP? My guess is that with 2.1.6 (straight) on that system you should be able to get about 200 requests per second which is not SLOW at all. Check your Apache, Proxycache and SiteAccess my guess it is there. Turn off debugging. Upgrade to 2.2.1 (60% faster on dual processors). Take a look at http://www.zope.org/Members/BwanaZulia/benchmarks.html to get an idea of what you system should be doing. Just some suggestions. J From: Christiano Anderson [EMAIL PROTECTED] Date: Thu, 17 Aug 2000 11:12:00 -0300 (BRT) To: [EMAIL PROTECTED] Subject: [Zope] Zope is very slow! Hi, This is my first message to the list... I'm currently running Zope 2.1.6 + Apache 1.3.12 (with proxycache). The system is a Solaris 5.6 on a E450 with 2GB Ram and 2 X 450mhz... The Zope is running with Apache, using the ProxyCache and SiteAccess to convert all requests from port 8080 to 80. My problem is: The system is *too slowly*! Does anyone know how to optimize the Zope to run quicker? Is there anything wrong with this configuration?? Thanks a lot, Christiano 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 ) ___ 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 is very slow!
I am pretty sure (61%) that in the original release of 2.2.0 there was something about a speed increase. One talked about on single processor (20-40%) and the other was dual processor (60-80%). It partly has to do with that "one line of magic code" in the z2.py. Ethan? Paul? DC? Care to shed some light? J From: Chris Withers [EMAIL PROTECTED] Organization: New Information Paradigms Date: Thu, 17 Aug 2000 17:15:57 +0100 To: Andy McKay [EMAIL PROTECTED] Cc: "J. Atwood" [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: [Zope] Zope is very slow! Andy McKay wrote: Upgrade to 2.2.1 (60% faster on dual processors). Really? I didnt see anything about this in the Changes file... has something else changed I didnt see? I noticed that 2.1.6 wasnt making the best use of dual processors. I thought only ZEO would make good use fo dual processors? Chris ___ 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 and VirtualHost
From: William JOYE [EMAIL PROTECTED] Date: Thu, 17 Aug 2000 18:06:08 +0200 To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED] Subject: RE: [Zope] Zope and VirtualHost Are there restrictions or problems to use SiteAccess ? I have been using it for a couple of different sites (2 served off of one Zope and 5 served off another) and it has been pretty good. There are few products that are not crazy about it (breadcrumbs) but there are easy work arounds. I think Zope.org is now using it for dev.zope.org J ___ 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 is very slow!
I have limited experience with ProxyPass. I have many Zope installations (2.1.4, 2.1.6, 2.2.0b2, 2.2.0) on all sorts of different hardware configurations (all RH Linux) and non of them are slow. Most are running just plain ZServer but one (and the most hit) is running behind Apache with Zope.cgi. I suggest trying that and seeing if it makes a difference. J From: Christiano Anderson [EMAIL PROTECTED] Date: Thu, 17 Aug 2000 14:36:42 -0300 (BRT) To: "J. Atwood" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Zope] Zope is very slow! Hi J, Thanks a lot for replying my message! :) Do you have any example of the best Apache and ProxyCache configuration to running zope? My configuration looks like this: IfModule mod_proxy.c ProxyRequests On #ProxyReceiveBufferSize 65536 ProxyReceiveBufferSize 0 CacheRoot "/www/proxycache" CacheSize 5000 CacheGcInterval 1 CacheMaxExpire 48 CacheLastModifiedFactor 0.1 CacheDefaultExpire 5 ProxyPass /paginas/ http://200.xxx.xxx.xxx:8080/ ProxyPass /p_/ http://200.xxx.xxx.xxx:8080/p_/ ProxyPass /misc_/ http://200.xxx.xxx.xxx:8080/misc_/ ProxyPassReverse /paginas/ http://200.xxx.xxx.xxx:8080/ ProxyPassReverse /p_/ http://200.xxx.xxx.xxx:8080/p_/ ProxyPassReverse /misc_/ http://200.xxx.xxx.xxx:8080/misc_/ The TOP result is: Memory: 2048M real, 524M free, 7184K swap in use, 2041M swap free PID USERNAME THR PRI NICE SIZE RES STATE TIMECPU COMMAND 8035 nobody11 310 13M 13M cpu0 174:10 29.70% python Only the Zope pages are slowly... The Apache is working properly... Thanks a lot for any help, Christiano On Thu, 17 Aug 2000, J. Atwood wrote: Hi Christiano (nice first message... :) ) First of all, lets define slow. What does slow mean? Have you tested it with AB (apachebench)? You sure it is not your connection? Watched it in TOP? My guess is that with 2.1.6 (straight) on that system you should be able to get about 200 requests per second which is not SLOW at all. Check your Apache, Proxycache and SiteAccess my guess it is there. Turn off debugging. Upgrade to 2.2.1 (60% faster on dual processors). Take a look at http://www.zope.org/Members/BwanaZulia/benchmarks.html to get an idea of what you system should be doing. Just some suggestions. J From: Christiano Anderson [EMAIL PROTECTED] Date: Thu, 17 Aug 2000 11:12:00 -0300 (BRT) To: [EMAIL PROTECTED] Subject: [Zope] Zope is very slow! Hi, This is my first message to the list... I'm currently running Zope 2.1.6 + Apache 1.3.12 (with proxycache). The system is a Solaris 5.6 on a E450 with 2GB Ram and 2 X 450mhz... The Zope is running with Apache, using the ProxyCache and SiteAccess to convert all requests from port 8080 to 80. My problem is: The system is *too slowly*! Does anyone know how to optimize the Zope to run quicker? Is there anything wrong with this configuration?? Thanks a lot, Christiano 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 ) ___ 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] Zserver vs Apache
(man this is coming up a lot today) It is not ZServer vs Apache but ZServer alone or behind Apache. Either way you are using ZServer. ZServer will do all of your http requests and as a stand alone server it will work just fine. It is faster than putting Apache in front of it and is certainly easier to set up. It does not however offer SSL (think there is a product for this) and if you are in a mixed environment (meaning you don't control the webserver) it is easier to put behind Apache (many ways). I have a couple different sites doing to both ways. I, PERSONALLY, like ZServer alone. I find the logging situation better, the speed better and is less things running on the server. J From: Corey [EMAIL PROTECTED] Date: Thu, 17 Aug 2000 09:57:00 -0700 To: [EMAIL PROTECTED] Subject: [Zope] Zserver vs Apache I keep seeming to notice that the docs are constantly referring to Zserver as the recomended choice for the http backend. Why is this? Should I not attempt to integrate our Apache server with Zope, and simply use Zserver instead? Thanks, Corey ___ 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] Re: Zope appears to be busy ;-)
30% is not bad... depends on what it is doing and for how much time. My experience is that it can pop up to as much as 90% (on a slower CPU like 166 Mhz) but only for a split second. At idle (no one doing anything) it should be using no CPU. PID USER PRI NI TSIZE SIZE SWAP RSS SHARE STAT LIB %CPU %MEM CTIME COMMAND 23344 nobody 0 0 403 58876 1284 56M 1280 S 0 0.0 22.3 22:33 python 23347 nobody 0 0 403 58876 1284 56M 1280 S 0 0.0 22.3 0:00 python 23348 nobody 0 0 403 58876 1284 56M 1280 S 0 0.0 22.3 23:46 python 23349 nobody 0 0 403 58876 1284 56M 1280 S 0 0.0 22.3 16:47 python 23350 nobody 0 0 403 58876 1284 56M 1280 S 0 0.0 22.3 28:55 python 23351 nobody 0 0 403 58876 1284 56M 1280 S 0 0.0 22.3 12:24 python Like that. J From: Chris Withers [EMAIL PROTECTED] Organization: New Information Paradigms Date: Thu, 17 Aug 2000 18:54:17 +0100 To: Christiano Anderson [EMAIL PROTECTED] Cc: "J. Atwood" [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Zope appears to be busy ;-) Christiano Anderson wrote: The TOP result is: Memory: 2048M real, 524M free, 7184K swap in use, 2041M swap free PID USERNAME THR PRI NICE SIZE RES STATE TIMECPU COMMAND 8035 nobody11 310 13M 13M cpu0 174:10 29.70% python 30% seems qutie high to me. What are your Zope pages doing and how many people are hitting them? Cheers, Chris ___ 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] Broken Site Access and domain name capitalization?
I just started messing around with some of my Domain names trying caps in the name and broke right through the Site Access product. So my question is to I have to add all the variants of the domain name to the virtual_host method or is there a way to simply lowercase the HTTP_HOST before checking it? Anyone done this or shall I forge ahead? Thanks, J ___ 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] Broken Site Access and domain name capitalization?
That is what I thought (believe it or not). I was wondering if anyone had done it or figured out another solution. Will try it this morning (tough to do since can't deal with versions). J From: Chris Withers [EMAIL PROTECTED] Organization: New Information Paradigms Date: Sun, 20 Aug 2000 17:18:20 +0100 To: "J. Atwood" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Zope] Broken Site Access and domain name capitalization? "J. Atwood" wrote: So my question is to I have to add all the variants of the domain name to the virtual_host method or is there a way to simply lowercase the HTTP_HOST before checking it? string.lower()? ;-) cheers, Chris ___ 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] Stupid SiteAccess Question
You should have two things in your "Available Objects" menu. Set Access Rule Site Root Those are the ones you need to do it. http://www.zope.org/Members/4am/SiteAccess2/info Good luck, J From: Terry Babbey [EMAIL PROTECTED] Date: Wed, 23 Aug 2000 15:57:45 -0400 To: [EMAIL PROTECTED] Subject: [Zope] Stupid SiteAccess Question OK. I just downloaded SiteAccess 2.0.0b3 and untarred it in my Zope directory. I shutdown and restarted Zope but when I go to Control Panel/Manage Products I do not see SiteAccess listed. AM I missing something here ( quite probable )? Terry -- __ Terry Babbey Technical Support Specialist Lambton College, Sarnia, Ontario, Canada __ ___ 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] Where do I find out about cookies?
No How-Tos on Cookies? how about http://www.zope.org/Members/BwanaZulia/cookies/ (I had forgotten to request it to be cataloged now down). Enjoy, J From: Jean Jordaan [EMAIL PROTECTED] Date: Thu, 24 Aug 2000 09:53:10 +0200 To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED] Subject: [Zope] Where do I find out about cookies? Hi Zopers It looks like I'm going to be using cookies now, and I don't find any How-To on cookies. What's the most instructive place to look? "UTSL" is fine as an answer, especially if it points me somewhere, and even more if it's DTML source .. The *ZQR* is a bit too cryptic for me. The *DTML Ref* has a bit more:: 8. Dictionaries are objects that support looking of data by name (e.g. REQUEST.cookies['CUST_ID'] to look up a cookie named CUST_ID). Dictionaries have has_key methods for checking whether a dictionary contains a value (e.g. REQUEST.cookies.has_key('CUST_ID') ) and methods keys , values , and items , for updating lists of dictionary keys, values, and key-value pairs (e.g. REQUEST.cookies.keys() to obtain a list of cookie names). .. but I don't understand yet how 'keys', 'values' and 'items' are going to help me *update* the lists -- it seems to refer only to querying them, AFAICS .. -- Jean Jordaan --technical writer-- Mosaic Software--Zope 2.1.6 on WinNT and W2K ___ 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] 2.2.1 and zdiscussion
It is a known bug and will be squashed in the next release (pretty major thanks to Mr. Harris). Stay tuned. J- At 2:58 PM +0100 8/26/2000, J M Cerqueira Esteves wrote: Hi On Sat, Aug 26, 2000 at 12:20:29PM +0800, Bak @ kedai wrote: hi a clean install won't start properly with ZDiscussion product install. the same thing also with ZDiscussion based classes created. There is a missing comma in the definition of __ac_permissions__ in class ZDItem (file ZDiscussions.py): __ac_permissions__ = ( ('Manage properties', ('manage_addProperty', 'manage_editProperties', 'manage_delProperties', 'manage_changeProperties',)) ) Just add a comma before the last parenthesis: __ac_permissions__ = ( ('Manage properties', ('manage_addProperty', 'manage_editProperties', 'manage_delProperties', 'manage_changeProperties',)), ) In this way, __ac_permissions__ becomes a tuple of permissions (one, in this case), as it should be. -- jmce: +351 919838775 ~ http://artenumerica.com/ ~ http://artenumerica.org/ ___ 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] OT: Website design / spec / development resources
Hey Zopers, I am looking for some good guidelines in designing, spec'ing and developing large complex websites. Anything like guidelines, steps, howtos, etc would be much appreciates. From theory to practice. Thanks, J ___ 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.2.1 and zdiscussion
By the way, if I now create a forum with ZUBB, are there any expected migration problems when I upgrade it to your next release? Ummm... ahem no? That is actually one of the things keeping the release back. Mr. Harris did some fine work but it does not upgrade very easily so I am trying to figure out how to include all / some of his functionality as well as be able to upgrade (since I am running a lot of production boards that I do not want to wipe out). I would say to play with the current release, get to know it and I will figure out how to make a mostly painless upgrade path. J Thanks again for your work on this. Best regards J Esteves -- jmce: +351 919838775 ~ http://artenumerica.com/ ~ http://artenumerica.org/ ___ 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] Newbie question: FORM processing in Zope.
Easy and hard answer. The easy answer is forget what you know about scripts/cgi and pulling in form variables from some sort of CGI method (perl module). Since Zope is a constant running process it does not require that you point to a script. Hard Answer: The basics are that all you have to do is give the form element a name (as you would in any form) and point the action of the form to another DTML Method/Document. In that M/D all you have to do to get the variable is call it with DTML-VAR variable_name 1) Create a form page with 'submit' with one text input box with a name of 'email_address'. 2) Point the action to a method called 'result' and create that 3) In the 'result' method include this code dtml-var email_address 4) Play around. When you submit from one you should be taken to the second page and the email_address should be there. Now, for validation you can do all sorts of tricky things. I happen to like to have the form point back to itself and have one method handle the entire activity. You can validate things by asking for them, or trying to do something else like put them into a database/email. If they are not there you will get an error so you can use dtml-try. What makes Zope great is that I can have the form and function in the same page (easier to update/check). Examples: (these are live and in production so please be kind) http://fundraising.gotschool.com/tell_a_friend.html http://market.gotschool.com/ (click on register for either school or supplier and notice how the form is different for both). Same thing done twice. J From: Amit Redij [EMAIL PROTECTED] Date: Mon, 28 Aug 2000 17:15:03 +0530 To: [EMAIL PROTECTED] Subject: [Zope] Newbie question: FORM processing in Zope. hi, I am a Perl/CGI programmer, trying out Zope. I am confused right now about HOW TO process FORM variables? and most important thing is how to validate form inputs.(like same thing is best done in PERL using regex) that is, if I have a html having some form variables and a submit button. I click on the submit button. it should call some script..right? My question is how to pass values from one script to another. how is this done in Zope? thanks a lot in advance. regards Amit .--. |o_o | |\_/ | // \ \Amit Redij (| | ) mailto:[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 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] Advice for new zope installation
From: "Henk Schets" [EMAIL PROTECTED] Date: Mon, 28 Aug 2000 09:08:44 +0200 To: [EMAIL PROTECTED] Subject: [Zope] Advice for new zope installation - how easy and reliably can I manage my virtual hosts (about 8 sites right now) ? Very important. Much easier than you can imagine. I have 5 sites (different domains) right now running off of one installation and I can't tell you how much easier it has made my life. I can 'manage' into the root of the installation and play with all the sites. Any products I install can be used on all of them and yet to the outside user they are all totally different. I am moving over 3 more so within a few months should be at 8. - how stable is Zope regarding to Apache on Linux ? Very. Most of my Linux boxes stay up forever (150+ days and counting). Zope is harder to tell since you have to restart it with some products. Out of the 4 or 5 Zope instances I have running they all stay up as long as I don't reboot them (usually 30-50 days). Plus, since you can configure Zope to watch its own process you are doubly sure it will stay up. Apache is well, bulletproof. - we have a MySql database, is it easy to connect with Zope ? Haven't done it but PostgreSQL is a bit tough on the install (a half day) but very stable after that. - can I access the Zope internal database with e.g. ODBC ? Nope. Not that kind of database. Think more flat file. - can I use log analyzers to get some statistics about our site ? Oh yes. I find that Zope alone (no Apache) produces the best logs. it is CLF so most log analyzers will get it. I use Analog and it is great. (http://www.analog.cx). - any advice about migrating an existing site ? There is a program call LoadSite (look on Zope.org) But that only gets you half way there. I would suggest that you start from scratch but you will soon see that since Zope is so good at content management and design it will be much easier to move over lots of data and you will learn new and better ways of displaying it. J ___ 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] Where is news section how-to?
It is also in the Tutorial. Enjoy, J From: Kapil Thangavelu [EMAIL PROTECTED] Date: Mon, 28 Aug 2000 20:55:34 -0700 To: Radim Gelner [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Zope] Where is news section how-to? Radim Gelner wrote: Hello, few weeks ago, on Zope site I came across a document describing how to build news section with features like displaying with five most recent items from a folder, etc. But now I can't recall, where it was. Can someone point me in a right direction. something along the lines of dtml-in "objectValues(['NewsItem', 'DTML Document']) sort=bobobase_modification_time reverse size=5 dtml-with sequence-item a href="dtml-var.absolute_url;"dtml-var title_or_id/a /dtml-with /dtml-in Kapil ___ 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] FTP crashing Zope?
I have seen it in a beta version. Every time I connect a FTP client it crashed. Tried it 4 - 5 times. J From: Chris Withers [EMAIL PROTECTED] Organization: New Information Paradigms Date: Wed, 30 Aug 2000 13:49:58 +0100 To: Dario Lopez-KXsten [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Zope] FTP crashing Zope? Dario Lopez-KXsten wrote: Is this a bug in latest Zope (2.2.1) or is this expected behaviour? If, the latter is the case, what can I do to a) turn off FTP access, b) make sure that my Zope is up and running automagically after a crash? Ewww.. this seems quite nasty :( If you can reproduce this, I'd stick it with a really detailed description into the collector Has anyone else seen this? cheers, Chris ___ 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] Case Studies (good!)
Does anyone else love those case studies? I have was grinning ear to ear reading the new one about replacing all Notes/Domino (which I know and respect) with Zope. I would love to see more studies on all sorts of different sites (big, small, database driven, not). They are also really useful for those of us who need to try and convince management that 'others are doing it too', which is a cold hard fact of the corporate world. I would love to see much more (weekly) as well as more on hardware and hits. Keep up the great work DC. Cheers, J ___ 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.org is soooooo slow (not really)
Umm.. what makes you say it is slow? It popped up just as fast as Microsoft.com and Apple.com this morning (with each page after even faster). Might be your connection. Certainly not slow from here (NYC, DSL) J From: Erik Enge [EMAIL PROTECTED] Organization: EMM Solutions Date: 31 Aug 2000 14:45:15 +0200 To: [EMAIL PROTECTED] Subject: [Zope] Zope.org is soo slow. Zope.org is slow as hell. A couple of days a week at least. It doesn't exactly work in favor for Zope when I try to show of Zope.org to friends, collegues or potential customers and the site won't even respond. Argh! Why is it so slow? Do something about 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 ) ___ 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] ZServer Statistics
Is there way to determine how many (and which)pages ZServer serves? I am running ZServer as my primary Have a look into /path_to_your_zope/var/Z2.log And run a log analyzer like Analog (http://www.analog.cx) on it. J ___ 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] Looking for Zope vs. Others at-a-glance comparison
Sorry.. the second link should have been... http://www.zope.org/Members/BwanaZulia/zope.html J From: J. Atwood [EMAIL PROTECTED] Date: Mon, 11 Sep 2000 11:44:33 -0400 To: Jason Cunliffe [EMAIL PROTECTED] Subject: Re: [Zope] Looking for Zope vs. Others at-a-glance comparison Try http://www.camworld.com/cms/ And more at http://www.camworld.com/misc/cms.html Cheers, J From: "Jason Cunliffe" [EMAIL PROTECTED] Date: Sat, 9 Sep 2000 09:17:43 -0400 To: [EMAIL PROTECTED] Subject: [Zope] Looking for Zope vs. Others at-a-glance comparison Hello I need to present the arguments for why we haev chosen Zope vs. Others. Does anyone know of a clear at-a-glance table or anything with the main contenders, features, price, licensing etc. Thanks - Jason Jason CUNLIFFE = NOMADICS.(Interactive Art and Technology).Design Director ___ 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] Looking for Zope vs. Others at-a-glance comparison
Try http://www.camworld.com/cms/ And more at http://www.camworld.com/misc/cms.html Cheers, J From: "Jason Cunliffe" [EMAIL PROTECTED] Date: Sat, 9 Sep 2000 09:17:43 -0400 To: [EMAIL PROTECTED] Subject: [Zope] Looking for Zope vs. Others at-a-glance comparison Hello I need to present the arguments for why we haev chosen Zope vs. Others. Does anyone know of a clear at-a-glance table or anything with the main contenders, features, price, licensing etc. Thanks - Jason Jason CUNLIFFE = NOMADICS.(Interactive Art and Technology).Design Director ___ 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] ZServer Statistics
I have Analog running on a bunch of Zope servers (some behind Apache some not) here are the only lines that make a difference. LOGFILE /usr/local/zope/var/Z2.log DIRSUFFIX index_html I know that seems simple but that is all the is custom in my analog.cfg that I took from the examples/big.cfg and made those two changes to (and a lot of others that are site specific). The best thing to do is get down and dirty with the fairly-good documentation. J From: [EMAIL PROTECTED] Date: Mon, 11 Sep 2000 14:54:26 -0500 To: [EMAIL PROTECTED] Subject: Re: [Zope] ZServer Statistics Is there way to determine how many (and which)pages ZServer serves? I am running ZServer as my primary Have a look into /path_to_your_zope/var/Z2.log And run a log analyzer like Analog (http://www.analog.cx) on it. Analog is a great tool and I have used it under other Web Servers. I wonder if anyone has a working config file which can read the Zope logs and would be willing to share with everyone. I'd be happy to write one, but being realistic since it has been on my to-do list for six months ( I believe that it is item number 351 ;-$ ) I would be fooling myself to think that I could do it in a reasonable time for everyone. ___ 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] zope 2.2.1 and python 1.6
Stick with 1.5.2 or beware the pitfalls. J From: Jon Nathan [EMAIL PROTECTED] Date: Wed, 13 Sep 2000 11:35:44 -0400 (EDT) To: [EMAIL PROTECTED] Subject: [Zope] zope 2.2.1 and python 1.6 hello, i couldn't find anything in the list archives or the docs about python 1.6 from python's site, it looks like there are a lot of changes that could break code. can i run zope 2.2.1 on python 1.6 or should i stick with 1.5.2? thanks, -jon -- Jon Nathan [EMAIL PROTECTED] http://www.rupture.net/~jon/ ___ 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] Zope 2.2.1 Vrs Apache Benchmarks using Apache Bench (AB)
I have done this before (http://www.zope.org/Members/BwanaZulia/benchmarks.html) but I just got my hands on a brand new server and thought I would see how 2.2.1 does. Machine: 600 MHz, 128 MB Ram, 20 GB EIDE drive, Linux 6.2 Ran it 5 times.. always came out close to this (+/- 1 RPS) Server Software:Zope/Zope Server Port:80 Document Path: /index_html Document Length:184 bytes Concurrency Level: 25 Time taken for tests: 9.715 seconds Complete requests: 1000 Failed requests:0 Total transferred: 387387 bytes HTML transferred: 184184 bytes Requests per second:102.93 Transfer rate: 39.88 kb/s received Connnection Times (ms) min avg max Connect:0 5 254 Processing: 100 23436 Total:100 239 290 And Apache which I ran a lot. The RPS were anywhere from 250-850.. so this was about average of all of them. Server Software:Apache/1.3.12 Server Port:8080 Document Path: /index.html Document Length:231 bytes Concurrency Level: 25 Time taken for tests: 1.896 seconds Complete requests: 1000 Failed requests:0 Total transferred: 520520 bytes HTML transferred: 231231 bytes Requests per second:527.43 Transfer rate: 274.54 kb/s received Connnection Times (ms) min avg max Connect:0 327 Processing:1842 706 Total: 1845 733 Interesting as I upped the anti (requests and concurrency) Zope stuck to about 95-100 RPS and Apache started to lower (250-650). Disclaimer: This was a totally static test and it only shows how fast Zope can serve up static pages as Apache certainly does not have all the features of Zope. This is not very scientific just interesting. Take a look the page linked at the top if you want to have look at some other tests. J ___ 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] Static pages
The best way is the product called Loadsite. You can point it to a directory and it will suck up all your images and html. Zope will have no problem serving it up. J At 9:56 AM +0100 9/14/2000, Nick Trout wrote: Hi, I would like to incorporate a load of static HTML pages into my Zope website. My question: what is the best way to do this? Is there a product to this.? I don't really want to have to use Apache. Regards, Nick. ___ 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] Broken 'What's New' on Zope.org?
I looked at the source once and tried to figure it out. Mostly it looks like they keep it all in a catalog (duh) and set a cookie as to your last visit. When login and go to the 'What's New' page they check the cookie, compare it against the items recently added and show you the list. I guess it would only require the site catalog and the users logging in. They might also write the 'last visit' into the ZODB. It is also something I have wanted to do for awhile but have not really built that many user based sites. Let me know what you come up with or if you want further description. I am also going to try (someday) to build a simple version into ZUBB (as you probably are going to into Squishdot). Hope it helps... J From: Chris Withers [EMAIL PROTECTED] Organization: New Information Paradigms Date: Fri, 15 Sep 2000 18:18:39 +0100 To: Chris McDonough [EMAIL PROTECTED] Cc: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: [Zope] Broken 'What's New' on Zope.org? Chris McDonough wrote: This is a longstanding bug. Send complaints to [EMAIL PROTECTED] If anyone fixes it, please let us all know... I'm looking for just the same functionality for a site here adn I was hoping to do a view_source for the answer :-S cheers, Chris ___ 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] Newbie - Zope won't start
Read the /doc/INSTALL When you run install you should give it the username and group ./install -g nobody -u nobody Try that and start it again. J From: John VanDyk [EMAIL PROTECTED] Date: Fri, 15 Sep 2000 15:13:43 -0500 To: [EMAIL PROTECTED] Subject: [Zope] Newbie - Zope won't start I downloaded and installed Zope for Linux as per the instructions at zope.org. When I try to start Zope with ./start I get a report that it has started up on ports 8080, 8021, and 8099. Then I get this: Traceback (innermost last): File "/usr/zope/Zope-2.2.1-linux2-x86/z2.py", line 708, in ? pf = open(PID_FILE, 'w') IOError: [Errno 13] Permission denied: '/usr/zope/Zope-2.2.1-linux2-x86/var/Z2.p id' I installed it as root and am root when I issue the start command. This is a stock Red Hat 6.2 Intel box. ___ 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] sendmail
It looks like the email address you are sending (testing) to is not valid. "host not found" J At 7:10 AM -0400 9/19/2000, Jason Cunliffe wrote: Hello Trying to automate some sendmail messages but we keep getting Error Type: error Error Value: host not found Traceback (innermost last): File /Zope-2.2.0/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /Zope-2.2.0/lib/python/ZPublisher/Publish.py, line 187, in publish File /Zope-2.2.0/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File /Zope-2.2.0/lib/python/ZPublisher/Publish.py, line 171, in publish File /Zope-2.2.0/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: sendmail_test) File /Zope-2.2.0/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: sendmail_test) File /Zope-2.2.0/lib/python/OFS/DTMLMethod.py, line 167, in __call__ (Object: sendmail_test) File /Zope-2.2.0/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: sendmail_test) File /Zope-2.2.0/lib/python/Products/MailHost/SendMailTag.py, line 188, in render (Object: dolphinsMailHost) File /Zope-2.2.0/lib/python/Products/MailHost/MailHost.py, line 220, in send (Object: dolphinsMailHost) File /Zope-2.2.0/lib/python1.5/smtplib.py, line 452, in sendmail File /Zope-2.2.0/lib/python1.5/smtplib.py, line 303, in ehlo error: (see above) Any clues to what is wrng here? tia - Jason Jason CUNLIFFE = NOMADICS.(Interactive Art and Technology).Design Director ___ 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] Problems upgrading 2.1.6 - 2.2.2
I followed the HOW-TO here http://www.zope.org/Members/mcdonc/HowTos/zopeinstall/ZOPE-INSTALL-HOWTO And looked around for different documentation but, alas, was left without much help. I can move over the Data.fs file, and reinstall the products but every product is broken when I start it back up (again and again). I have tried removing them and reinstalling them but it will not let me import the .zexp files (any of the products). I get the following error (for more than one product) Error type: SystemError Error value: Failed to import class _ZClass_for_ZPhotoAlbum from module Products.Photo Traceback (innermost last): File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_importObject) File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_importObject) File /usr/local/zope/lib/python/OFS/ObjectManager.py, line 519, in manage_importObject (Object: Traversable) File /usr/local/zope/lib/python/ZODB/ExportImport.py, line 208, in importFile SystemError: (see above) Even products that there is no .zexp file like SimpleURL 1.0 the product is just broken. Is there another way of going about this? Anyone done it successfully? I guess my next step is to try out each and every one of these products in Zope 2.2.2 to see if they actually work. Thanks, J ___ 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] Suggestion: Zope.org, products and testing...
At 12:29 PM +0900 9/29/2000, Alexander Schonfeld wrote: ?On the zope.org site, how about adding a property for products: "tested versions of Zope". That way we could know, without doing all the testing ourselves, whether or not a product was useable. I second that. It should also be by release version and be able to handle multiple entries. (2.1.6, 2.1.4, 2.2.1, 2.2.2). J ___ 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] WebTechniques Web Tools Awards
Done and done. You can also go directly to http://www.webtechniques.com/wtawards/2000/form.shtml It is not a quick form but well worth it. Enjoy, J At 2:52 PM -0400 9/30/2000, Gary E Graham wrote: We have entered Zope in WebTechniques "Web Tools Awards" contest. We would appreciate your help by voting for Zope for your Open Source choice. Starting Monday, October 2nd, please visit http://www.webtechniques.com and place your vote for Zope. Thank you for your support. --Gary Gary Graham [EMAIL PROTECTED] Digital CreationsFredericksburg, Virginia Creators of Zope: The Open Source Application / Content Management Server www.zope.org www.digicool.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 ) ___ 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] ANN: ZUBB/ZDiscussions 0.6.0 Released
http://www.zope.com/Members/BwanaZulia/ZUBB With the help of Jeffrey and Angel here is 0.6.0 Changes in Version 0.6.0 Fixed the problem (again) with 2.2.2 (submitted by Angel Garcia) Added message count to the main view (submitted by Jeffrey Harris) Added last post to main view (submitted by Jeffrey Harris) Modified thread view so it will show entire thread (Submitted by Jeffrey Harris) Modified both README and header of ZDiscussions.py Upgraded status to STABLE from DEVELOPMENT as it has now been in production on five of my sites with no problems. Example Sites: http://www.zope.org/Members/BwanaZulia/ZUBB/EXAMPLES Report bugs and such to: http://www.bwanazulia.com/discussions/test/ If you have a ZUBB/ZDiscussion installation and would like to be added to the list please let me know. Thanks, J ___ 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] Zope bug collector on zope.org available?
http://classic.zope.org:8080/Collector/ Does anyone know what product this is and if it is available for download? I am looking for something that is similar to BugZilla. Ethan? Paul? Anyone? Thanks, J ___ 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 bug collector on zope.org available?
Hey Steve, Exactly. It is really full-featured. I am impressed. Thanks, J From: Steve Spicklemire [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Mon, 2 Oct 2000 16:21:54 -0500 (EST) To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Zope] Zope bug collector on zope.org available? Hi J., Is this what you're looking for? http://www.zope.org//Members/klm/TrackerWiki/TrackerCVSInstructions -steve "J" == J Atwood [EMAIL PROTECTED] writes: J http://classic.zope.org:8080/Collector/ J Does anyone know what product this is and if it is available J for download? I am looking for something that is similar to J BugZilla. J Ethan? Paul? Anyone? J Thanks, J J ___ Zope maillist - J [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No J cross posts or HTML encoding! ** (Related lists - J http://lists.zope.org/mailman/listinfo/zope-announce J 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] Wierd 2.2.2 start up problem
I have installed 2.2.2 on more than a few machines on my fifth machine I got this after doing the install. 2000-10-04T19:54:35 ERROR(200) ZODB Couldn't load state for '\000\000\000\000\000\000\000\003' Traceback (innermost last): File /usr/local/Zope-2.2.2-linux2-x86/lib/python/ZODB/Connection.py, line 446, in setstate ImportError: No module named Document I have tried wiping it away and trying again like three times. Anyone know what this? Why it is not happening in installs. All RH Linux. Thanks, J ___ 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] Newbie with little questions about Zope
From: Antonio Navarro Navarro [EMAIL PROTECTED] Date: Thu, 05 Oct 2000 16:35:37 +0200 To: [EMAIL PROTECTED] Subject: [Zope] Newbie with little questions about Zope Hi All ! I am a newbie in the Zope world. I've benn working several years with IIS, Apache, Perl, ASP, PHP, etc.. in Windows and Unix environments, and want to try Zope, but have some questions about it. 1.- Can I made virtual hosts (www.domain1.com, www.domain2.com, and so on) using the Zope web server, or must I use Apache and install pcgi ? Yes. The product to do this is called SiteAccess and I have been running it for 10 months (5 sites) with no problems. 2.- Where can I find information about running Zope + Zserver + Php + PostgreSQL under Linux ? Search for PHP on Zope.org. Zserver is Zope (part of) and there are database connectors (a couple) for PostgreSQL (been using that for 10 months as well). 3.- I have installed Zope from the rpms and works fine, but I'm unable to change the HTTP port from 8080 to 80. When I made the change and then restart Zope, I can see during a few seconds two processes running with the new port (-w 80) but after a few seconds the server stpos. Send the error but my 90% guess is that you already have apache running on the system at port 80 and they are fighting for the port. Look for 'httpd' under top. Cheers, J ___ 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] tell-a-friend product?
Sure.. http://fundraising.gotschool.com/tell_a_friend.html Is that what you want? J From: [EMAIL PROTECTED] Date: Mon, 9 Oct 2000 11:02:36 -0700 To: [EMAIL PROTECTED] Subject: [Zope] tell-a-friend product? Hi, I am still new to zope and am wondering if there is a tell-a-friend script/product/example floating around for me to look at? If not, and I made my own form with Zope (which I have not done yet), what variable would call the existing page the user was on ? Thanks in advance. --Sean ___ 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] tell-a-friend product?
Well.. a few extra minutes in my day get you... http://www.zope.org/Members/BwanaZulia/tell_a_friend/index_html Enjoy. J From: [EMAIL PROTECTED] Date: Mon, 9 Oct 2000 12:18:56 -0700 To: "J. Atwood" [EMAIL PROTECTED] Subject: Re: [Zope] tell-a-friend product? Yes, exactly. On 9 Oct 2000, at 14:53, J. Atwood wrote: Sure.. http://fundraising.gotschool.com/tell_a_friend.html Is that what you want? J From: [EMAIL PROTECTED] Date: Mon, 9 Oct 2000 11:02:36 -0700 To: [EMAIL PROTECTED] Subject: [Zope] tell-a-friend product? Hi, I am still new to zope and am wondering if there is a tell-a-friend script/product/example floating around for me to look at? If not, and I made my own form with Zope (which I have not done yet), what variable would call the existing page the user was on ? Thanks in advance. --Sean ___ 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] tell-a-friend product?
Hey... no problem. I have answered a few questions in the past about form validation and since this is a good example of it and a neat little piece of code I thought it could help. Besides, there is probably some sort of good Karma in the world of programming that I will benefit from (or already have!) :) Enjoy, J From: [EMAIL PROTECTED] Date: Mon, 9 Oct 2000 15:18:41 -0700 To: "J. Atwood" [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: [Zope] tell-a-friend product? Now this is service! Thanks a lot for the effort. --Sean On 9 Oct 2000, at 17:41, J. Atwood wrote: Well.. a few extra minutes in my day get you... http://www.zope.org/Members/BwanaZulia/tell_a_friend/index_html Enjoy. J From: [EMAIL PROTECTED] Date: Mon, 9 Oct 2000 12:18:56 -0700 To: "J. Atwood" [EMAIL PROTECTED] Subject: Re: [Zope] tell-a-friend product? Yes, exactly. On 9 Oct 2000, at 14:53, J. Atwood wrote: Sure.. http://fundraising.gotschool.com/tell_a_friend.html Is that what you want? J From: [EMAIL PROTECTED] Date: Mon, 9 Oct 2000 11:02:36 -0700 To: [EMAIL PROTECTED] Subject: [Zope] tell-a-friend product? Hi, I am still new to zope and am wondering if there is a tell-a-friend script/product/example floating around for me to look at? If not, and I made my own form with Zope (which I have not done yet), what variable would call the existing page the user was on ? Thanks in advance. --Sean ___ 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] Web statistics
At 2:03 PM + 10/7/2000, Stephan Goeldi wrote: Is there something like webalizer for Zope? I would like to create a statistic of my website's visits. Webalizer and Analog will work great. Zope logs are standard. J ___ 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] Zope.org Feature Request - Product Download Counter
It would be really nice to know how many people are downloading the products. This would also be a great feature to add to the actual Zope distribution. I know you could get this from the logs (easily) but you could also add a small counter to the product 'view' method, something along the lines of what is in the Simple Url products (BTW one of my favorites) and make it something you can turn on or off for your products. dtml-call "REQUEST.set('hitcount', hitcount + 1)" dtml-call "propertysheets.public.manage_editProperties(REQUEST)" dtml-call "RESPONSE.redirect(url)" Thanks, J ___ 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.org Feature Request - Product Download Counter
Yup... the ZODB does grow with each hit. Not much of course, but some. I am sure for a site such as Zope.org it would not be unmanageable. They most certainly have automated ways of packing the DB. J From: "Andy McKay" [EMAIL PROTECTED] Date: Tue, 10 Oct 2000 10:05:24 -0700 To: [EMAIL PROTECTED], "J. Atwood" [EMAIL PROTECTED] Subject: Re: [Zope] Zope.org Feature Request - Product Download Counter Of course the only problem with a hit counter is that high traffic requests mean continually writing the object into the ZODB each time it gets hit / downloaded, whatever. Thats why I release FSCounter which uses the file system. I would like to expand this to cover multiple objects... - Original Message ----- From: "J. Atwood" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 10, 2000 5:17 AM Subject: [Zope] Zope.org Feature Request - Product Download Counter It would be really nice to know how many people are downloading the products. This would also be a great feature to add to the actual Zope distribution. I know you could get this from the logs (easily) but you could also add a small counter to the product 'view' method, something along the lines of what is in the Simple Url products (BTW one of my favorites) and make it something you can turn on or off for your products. dtml-call "REQUEST.set('hitcount', hitcount + 1)" dtml-call "propertysheets.public.manage_editProperties(REQUEST)" dtml-call "RESPONSE.redirect(url)" Thanks, J ___ 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] Zope.org Feature Request - Product Download Counter
Ooops... sorry Ethan, didn't mean to send this to the wrong place. Just wanted to see what others felt about it. If it is undoable, cool. If someone figures out a way, it would be really appreciated and certainly a boost to Zopista's and product developers to see how popular and used our products are. That is all. Thanks, J From: mindlace [EMAIL PROTECTED] Date: Tue, 10 Oct 2000 16:15:44 -0400 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Zope] Zope.org Feature Request - Product Download Counter Andy McKay wrote: Of course the only problem with a hit counter is that high traffic requests mean continually writing the object into the ZODB each time it gets hit / downloaded, whatever. Thats why I release FSCounter which uses the file system. I would like to expand this to cover multiple objects... The problem is slightly more complicated than this: We have Apache cache file and image objects. This is a good thing, because they are static, and Apache will *always* be better than Zope at serving static content. This is a bad thing, because direct requests for files don't ever make it to Zope. Nonetheless, this doesn't affect the /view method. Further, we now have the feature that the listing of products shows the latest version, no /view method in the middle, for your direct download. I may be able to do some parsing of the apache log files for those things that end in tgz, tar.gz , and zip. This would be somewhat canonical, except for the fact that because we have cache headers set on the file objects, they are cached downstream, and so many requests for cache objects will never make it to our Apache at all. ~ethan p.s. I'd really appreciate it if requests for improvements of zope.org be sent to [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 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] If/And statements?
Ok.. a very simple question. How do you do a if statement with an 'and'. If this, and that.. Was just asked of me and I had really not come up against it in Zope. (must be Wednesday) Thanks, J ___ 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] If/And statements?
That was the stuff... Thanks, J From: Daniel Rusch [EMAIL PROTECTED] Date: Wed, 11 Oct 2000 16:29:52 -0500 To: "J. Atwood" [EMAIL PROTECTED] Subject: Re: [Zope] If/And statements? dtml-if "a==b and c==d" blah dtml-elif "e==f" blah blah dtml-else blah blah blah /dtml-if "J. Atwood" wrote: Ok.. a very simple question. How do you do a if statement with an 'and'. If this, and that.. Was just asked of me and I had really not come up against it in Zope. (must be Wednesday) Thanks, J ___ 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 )