[Zope-dev] Ids starting with _
Dieter Maurer wrote: I wonder why starting folders with _ is so bad in Zope? In the time, when everything was allowed what was not explicitely forbidden, an easy way was necessary to forbid access. Jim (and, therefore, Zope) used: anything starting with "_" is private: no DTML access, no Web access. Now, with the change to a security policy "Everything is forbidden when not explicitely allowed", the need for such a rule based on naming dwindles. Maybe, it will disappear sometime in the future. Maybe this is something for dev.zope.org? cheers, Chris ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] ZPatterns: bug in DataSkins.py
I'm using ZPatterns 0.4.1snap1. DataSkins.py line 377 method _v_currentSheets(self,_v_dm_=_v_dm_) l.extend(list(sp._PropertySheetsFor(client))) However, the variable "client" isn't declared elsewhere. -- Steve Alexander Software Engineer Cat-Box limited http://www.cat-box.net ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] ZPatterns: bug in DataSkins.py
Steve Alexander wrote: I'm using ZPatterns 0.4.1snap1. DataSkins.py line 377 method _v_currentSheets(self,_v_dm_=_v_dm_) l.extend(list(sp._PropertySheetsFor(client))) However, the variable "client" isn't declared elsewhere. ...and when I replace it with "self", I get this error when I try to iterate through a dataskin's propertysheets: AttributeError: _v_currentSheets Traceback (innermost last): File /usr/local/zope/SiteBox/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/zope/SiteBox/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/zope/SiteBox/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: address-964970042) File /usr/local/zope/SiteBox/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/zope/SiteBox/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: content_html) File /usr/local/zope/SiteBox/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: content_html) File /usr/local/zope/SiteBox/lib/python/OFS/DTMLMethod.py, line 167, in __call__ (Object: content_html) File /usr/local/zope/SiteBox/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: content_html) File /usr/local/zope/SiteBox/lib/python/DocumentTemplate/DT_In.py, line 636, in renderwob (Object: propertysheets) File /usr/local/zope/SiteBox/lib/python/OFS/PropertySheets.py, line 654, in __len__ (Object: Traversable) File /usr/local/zope/SiteBox/lib/python/Products/ZPatterns/PropertySheets.py, line 11, in __propsets__ (Object: Traversable) AttributeError: (see above) -- Steve Alexander Software Engineer Cat-Box limited http://www.cat-box.net ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] ZPatterns: bug in DataSkins.py
At 08:07 PM 7/30/00 +0100, Steve Alexander wrote: Steve Alexander wrote: I'm using ZPatterns 0.4.1snap1. DataSkins.py line 377 method _v_currentSheets(self,_v_dm_=_v_dm_) l.extend(list(sp._PropertySheetsFor(client))) However, the variable "client" isn't declared elsewhere. ..and when I replace it with "self", I get this error when I try to iterate through a dataskin's propertysheets: Would you try something for me? Stick a routine in that class, call it getCurrentSheets(), with exactly the same code as the _v_currentSheets method, then call it from your code in place of iterating through propertysheets? I have a feeling it'll provide a clearer error message. (That's the only problem with ComputedAttributes - errors that break them manifest as AttributeErrors, hiding the true error.) Thanks. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Membership and ZPatterns
OK, so I have been playing with ZPatterns quite a bit lately. And some old (current) issues with PTK comes back to mind. Among them are: o Not all portals will want a user to have a folder o username is not changeable With ZPatterns, I believe we can solve the first one. First things first, the first one. :) Proposal: On the Membership Add form, there be an option for user folders. If set, this option would install a trigger. This trigger would then, upon creation of a new user, fire off a MakeMemberFolder (that name is just a placeholder) method that would handle the creation of their folder. Of course, this is secondary in priority to getting some user management tools available, IMO. Now, something to remember, is that the lack of a user folder does not neccesarily elminate the capability of a user to contribute to the community site information base; though that is desireable for some sites. Through use of ZTopics, ZPatterns-based Content, and ZCatalog, one can build a site that stores types of content in it's own place, and provide a variable interface, for both browsing, and user management. I am actually working on a site built like this, so I know it is do-able. :) Thoughts, Opinions? Bill -- Do not meddle in the affairs of sysadmins, for they are easy to annoy, and have the root password. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] ZPatterns design question
Let's say I have an AddressBook specialist. It stores Address records as DataSkin-derived ZClass instances (meta_type Address). The AddressBook has various methods to list the addresses, search the addresses, enter new addresses. The Address ZClass has a single propertysheet: address. When I add a new Address, a Trigger causes the AddressBook's catalog to catalog the new address. When I delete an address, it gets removed from the catalog. Let's say I want to combine my AddressBook with a Suppliers specialist. The Suppliers specialist knows about DataSkin-ZClasses called Supplier. A Supplier has its own propertysheet "supplies" that has information about the kind of goods and services supplied. A Supplier also has an address. Suppliers appear in the AddressBook. When I get a Supplier from the Suppliers specialist, I want it to have two propertysheets: supplies and address. Implementation: When I create a new Supplier, I also create a new Address in the AddressBook that has the same key (read "id") as the new Supplier. The Suppliers specialist has some sort of SheetProvider that either asks the AddressBook for the "address" sheet for a particular key, or (not so good) delegates directly to the Rack where the Address objects are stored. Bunch of questions: Is this the ZPatterns ideomatic way to do this? Can I use SkinScript to get propertysheets from another specialist? Is the SheetProvider that gets the address for the Supplier objects also responsible for adding and deleting Address objects? Do I need an Address object for each Supplier object? What kind of propertysheet should I be using? Should the method in the AddressBook specialist be returning an Address object, or just an address propertysheet? Or, more generally: Adding sheets to a "party" seems to be one of the important ZPatterns ideas. What is the best way of implementing it, using the simple case of two specialists as an example? Thanks. -- Steve Alexander Software Engineer Cat-Box limited http://www.cat-box.net ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] ZPatterns design question
At 11:09 PM 7/30/00 +0100, Steve Alexander wrote: Let's say I have an AddressBook specialist. Why? :) Seriously, what is the function of "address book" in your application? Is it to find people in general? Or...? Let's say I want to combine my AddressBook with a Suppliers specialist. The Suppliers specialist knows about DataSkin-ZClasses called Supplier. A Supplier has its own propertysheet "supplies" that has information about the kind of goods and services supplied. A Supplier also has an address. Suppliers appear in the AddressBook. When I get a Supplier from the Suppliers specialist, I want it to have two propertysheets: supplies and address. I'm having a lot of trouble understanding your application. Can you tell me what you're trying to do in the problem domain? ZPatterns design is strongly rooted in the problem domain, not the programming side. The answer on the programming side is usually, "do whatever supports the problem domain." :) Bunch of questions: Is this the ZPatterns ideomatic way to do this? Dunno. Explain the problem you're trying to solve, and I'll tell you the simplest way I know to do it. Can I use SkinScript to get propertysheets from another specialist? No. I don't have SkinScript sheet providers yet. I'm not sure exactly how to make them just yet, because I haven't run into a spot where I've needed them. I hate trying to write something when I don't have a good feel for what's needed yet... :( Is the SheetProvider that gets the address for the Supplier objects also responsible for adding and deleting Address objects? Eh? A sheet provider is responsible for sheets. If you want to have the "same" sheetprovider being used for both objects' address sheet, that should work just fine. And it would be reasonable to have that sheet provider also act as a catalog trigger, if you want it to be an invariant that all address sheets are stored in the catalog. Do I need an Address object for each Supplier object? No, just a propertysheet. What kind of propertysheet should I be using? Depends on what your application needs. I can see circumstances where the best place for that sheet could be LDAP, SQL, or the ZODB. Your app's needs decide. (That's the nice bit about ZPatterns, too... you can always change your mind later, as long as you don't build in your assumptions.) Should the method in the AddressBook specialist be returning an Address object, or just an address propertysheet? Depends on what you want to do with it. Generally speaking, though, I have a hard time seeing what your addressbook specialist is FOR, unless it's just to provide a combination of general search location for anything that has an address plus a PIM-style addressbook. In which case, I think your confusion comes from terminology. I would expect to store "Contacts" or "Entries" in an addressbook, and these would have address sheets, as would "Suppliers" or whatever else. So the thing in an addressbook isn't a sheet by itself, but it's kind of confusing to be mixing address objects and address sheets. Anyway, to answer your question - I think that your getItem() for an address specialist wants to return some object with an address sheet. But not an address object. Contact, Entry, Supplier, TennisBuddy... whatever the heck kind of object it is. Or, more generally: Adding sheets to a "party" seems to be one of the important ZPatterns ideas. What is the best way of implementing it, using the simple case of two specialists as an example? Let's assume that the specialists are at different abstraction levels, e.g. "Addresses" and "Suppliers", where other things exist that have addresses, like "Customers". Customers and suppliers both have an "address" property sheet, which you want to be searchable, printable, etc. from your "Addresses" specialist. There are at least a few ways to do this: 1) Store all addresses in the same database, and implement a sheet provider which you place in all the specialists. Then create a Rack which returns generic "addressbook entry" objects from this database. (Downside: unless you store URL's in the database, there's no easy way to jump back to the "real" object from which the address entry derives.) 2) Store them in different places, but have all the sheet providers update a catalog in the addresses specialist (which takes care of the URL problem) 3) Combine 1 and 2 - use the same database for storage but use a catalog also anyway Which you select depends on your application and the things you're integrating. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope] Starting Zope
Nitesh Dhanjani wrote: yes, but it would solve the permission problem the original poster mentioned. No, because the orignal user wanted to _start_ Zope as user zope. Unless that user has a UID/GID of 0 (is, is root by another name), the file permissions are irrelevant. Now, as to _running_ (ie, switch to once bound), the directory permissions come into play. I was basing my response of of: How can I to start Zope whit a different user than root and cath the default HTTP port? AND I see Oleg, more exactly I would start ZServer with an user like 'zope', for example, but at the same time I want it links the port 80! Of course, it is entirely possible the user meant something other than s/he wrote. ;) But that last one doesn't seem to indicate that. To put it succinctly: If you want Zope to bind to port 80 on *nix you have few options: o Change Zope to run SID ** Bad Idea o Modify the kernel so _anyone_ can bind to ports under 1024 ** even worse o START Zope as root, run it as a non-priviledged user, preferably one without a login. File permissions are irrelevenat when binding to ports under 1024 on Unix. -- 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 )
Re: [Zope] dtml-in syntax
Would this do it? : dtml-let item=0 dtml-in wherever dtml-let level="level+1" /dtml-in /dtml-let Cheers, Manuel On Sat, 29 Jul 2000, Tim Cook wrote: Kyle Burnett wrote: so i have this loop and i want to count a variable: dtml-in wherever dtml-if sequence-start dtml-var count-id /dtml-if /dtml-in but what i really want to count is specific values for id. so let's say id=='value1', i want to try and do the following: dtml-in wherever dtml-if sequence-start dtml-var "count-id=='value1'" /dtml-if /dtml-in but no luck. and i have tried several other make-shift syntaxes to no avail. i do have some other logic that i could use over the course of the loop to determine the count of distinct values but i was try to do it in far less code. This may be what you already thought of. It does require a lot of code if you have several things to count. There may also be cleaner ways to do it??? dtml-call "REQUEST.set('this_count', 0)" dtml-in wherever dtml-call "REQUEST.set('current_id', _['sequence-item'])" dtml-if "current_id=='id_to_count'" dtml-call "REQUEST.set('this_count', this_count+1)" /dtml-if current_id /dtml-in wherever I counted dtml-var this_count items. (of course this is untested)g. -- Tim Cook -- FreePM Project Coordinator - http://www.freepm.org OS Healthcare Alliance Supporter - http://www.oshca.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 )
RE: [Zope] Interbase DA compiled for Windows?
Sorry, connect to Interbase (kinterbasdb-0.2.1.tar.gz and InterbaseStorage098.tgz), this was meant to be kinterbasdb-0.2.1.tar.gz and _ gvibDA-0.1.tar.gz _ Thanks again, -- Ralf Herold | mailto:[EMAIL PROTECTED], PGP 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] Confusing posts (was Re: [Zope] password)
Jonathan Desp wrote: Hi, the program zpasswd prompt. ... Filename is not option, and should be the name of the file to store the information in. ... What I should write in this source code from zpasswd ? -- What is your question, now? Generally, you should not write anything in the source code to zpasswd.py, unless you want to change how it works. But you know that, don't you. Jonathan, it happens often on the list that someone posts confusing questions, where people scratch their head for some time trying to figure out what the person's problem might be. This is rather inefficient, as the person does not get the answer they want, or get an answer that does not fit their problem (as the answering person did not understand it). Unfortunately, your posts fall rather often in this category. I would recommend that, when asking a question to the list, to - take time describing your problem clearly, assuming the reader knows Zope but not your application; - make clear what you want to achieve; - make clear if you either have a question how to do something, or if anything does not work as you expected; - wait at least one hour and re-read your post to verify that it is fully understandable before actually posting it; - if at all possible, have some other person read your post and ask them to rephrase your question back to you, i.e., make sure that they get your real question from your post. More work? For you, initially yes. For all together? No, a lot less. For you untilk you get an answer? Probably not, as you are much more likely to get an answer to your problem, without several exchanges back and forth. In any case, it is making better use of the time of people wanting to help you, and prevents them from just adding you to their kill file (as I was very nearly to do at some time). And it is likely to give you a better standing in the Zope community. This is not to say that I am perfect in that respect - even after some fourteen years on mailing lists I still manage to send out posts that I find less than perfect upon reading them when they come back from the listserver. But one must always strive for the best :-) Cheera, Jan ___ 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] dtml-in 'one record per page' problem
Cesar A. K. Grossmann writes: I'm using a report that must return one instance by page, but it's not working very well... If the query returns more than one result, Zope presents only two pages. I'm using Zope 2.1.6 in a Linux box. What does is mean: "presents only two pages"? Probably, you get wrong navigation elements. This would be due to a bug for "dtml-in size=1". There is a patch for this at URL:http://www.dieter.handshake.de/pyprojects/zope/dt_in.pat In fact, the patch does more (allows for uniform navigation elements at both start and end of sequence batch). There was an announcement in this list around June 10, 2000. AFAIK, the patch is integrated into Zope 2.2. Here are a excerpt of the dtml code used: dtml-in sqlQuery size=1 orphan=1 You should use "orphan=0". "orphan=1" allows for one "orphan" to be moved, i.e. you may get 2 records on a page. Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] What is the best method to enter more attributes about DTL Document?
Marcin Kasperski writes: Short and probably obvious problem: what can I do to be asked for more properties while creating DTML Document (say I wanna be asked about description and keywords which I use in meta tags)? Maybe, customize "OFS/methodAdd.dtml" and "OFS/documentAdd.dtml". You need to change the "action", too, and do something with the new properties. The code for this handling is in "OFS/DTMLMethod.py" and "OFS/DTMLDocument.py", respectively. Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope for secure transactions?
Rajil Saraswat writes: 1. Can Zope support SSL or https? There is an extension allowing ZServer to serve HTTPS requests. Search "zope.org" for the corresponding HowTo. 2. Is there some way in Zope through which i can use secure transactions. Recently, there was a discussion in Zope's Ecommerce mailing list (I think) about this issue. Look into its archive. 3. If Zope can run which Apache , can SSL be used? Yes. Again, search for the HowTo. Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] create DTML-Source-link like on zope.org
Deryk Barker wrote: snip how-to for view source Well I did and get a NameError looking for document_src. What object are you trying to view the source of? It's only work (and only makes sense) on things like DTML methods and DTML documents. 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] Using Zope and Worldpilot on a large site
Bill Anderson wrote: Paolo Bizzarri wrote: Hi Zopers, we would like to use Zope for an ISP, with more than 400.000 customers. Zope would be used with Worldpilot, in order to provide Webmail, Calendar, to do, etc. THis demonstrates a problem or two with Worldpilot. I would defintiely _not_ use worldpilot in that setting. Why not? Well, the sharing capability (IIRC) gives a list of people on the system you can share with. Think about that for a moment. Four hundred thousand people. One list. It would be nice if it were possible for people to not appear in the list, and for there to be groups. Yes, this is a problem. As a first step, we are going to remove sharing from Worldpilot (disabling it). Then we would like to give customers the possibility to "create" their own groups and subgroups, so that they can build their own "company-on-the-web". Has anyone tried the scalability of Zope till this level ? Well, what you are describing really isn't a test of Zope's scaleability. , but rather workdpilots (and the machines's). Zope's scalability in this case is more a matter of resource usage, than a funtion of the number of users. Thats is to say, what is the expected load of the machine/site. 400,000 users will not access all at once, will they? Zope can be scaled accross multiple machines, through the use of ZEO, so if your load gets too high, you can move to a ZEO solution, adding machines as neccessary. As far as I can understand, ZEO is still in alpha/beta stage, so I am not sure to use it immediately. One caveat to that is that worldpilot stores data on the filesystem, so that data would need replicated accross the sites. Perhaps NFS or Coda could server this function. There is one more problem. Worldpilot create a directory for each user. For 400.000 users this means 400.000 directories, which is not nice for Linux+ext2 (and in general I am not sure I want a directory with 400.000 files inside). So we are considering either hacking WP, so that it creates something like a p/a/paolo directory for the paolo user, or moving data to a relational database. The latter could be the preferred solution, but it could become a too long step right now. So probably we are going to use the former. BTW, I have seen WP has the directory /var/spool/worldpilot that is hard coded into the code. Perhaps we could create a configuration file for WP, in which one can specify these directories. Ciao Paolo -- Paolo Bizzarri - Responsabile Marketing I3 Icube Srl Sede: Via Ridolfi 15 - 56124 Pisa (PI), Italia E-mail: [EMAIL PROTECTED] WWW: www.icube.it Tel:(+39) 050 97 02 07 Fax: (+39) 050 31 36 588 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Zope 2.20 and SQLSession
Hi Since i upgrade my zope 2.14 to 2.20 i can't access to my all DTML Method's which use the SQLSESSION session. I try view these method's with superuser permissions but a have this error message: Zope Error Zope has encountered an error while publishing this resource. Unauthorized Sorry, a Zope error occurred. Traceback (innermost last): File /usr/local/ZopeNovo/Zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/ZopeNovo/Zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/ZopeNovo/Zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/ZopeNovo/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: novasessao) File /usr/local/ZopeNovo/Zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: novasessao) File /usr/local/ZopeNovo/Zope/lib/python/OFS/DTMLMethod.py, line 167, in __call__ (Object: novasessao) File /usr/local/ZopeNovo/Zope/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: novasessao) File /usr/local/ZopeNovo/Zope/lib/python/DocumentTemplate/DT_In.py, line 691, in renderwob (Object: validar(SENHA=senha)) File /usr/local/ZopeNovo/Zope/lib/python/DocumentTemplate/DT_In.py, line 691, in renderwob (Object: idprof(SENHA=senha)) File /usr/local/ZopeNovo/Zope/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: SESSION.set('idprofessor',profid)) (Info: profid) File string, line 0, in ? File /usr/local/ZopeNovo/Zope/lib/python/DocumentTemplate/DT_Util.py, line 142, in careful_getattr File /usr/local/ZopeNovo/Zope/lib/python/OFS/DTMLMethod.py, line 189, in validate (Object: novasessao) File /usr/local/ZopeNovo/Zope/lib/python/AccessControl/SecurityManager.py, line 139, in validate File /usr/local/ZopeNovo/Zope/lib/python/AccessControl/ZopeSecurityPolicy.py, line 159, in validate Unauthorized: set In Zope 2.14 all run ok :-) Jorge ___ 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] Starting Zope
I receive an error becouse root hasn't granted the need privileges on /Zope/var/ directory. That is what i was responding to. I am aware of the facts you mention regarding the 3 points you make below, and agree with them. nitesh. On Sun, 30 Jul 2000, Bill Anderson wrote: Nitesh Dhanjani wrote: yes, but it would solve the permission problem the original poster mentioned. No, because the orignal user wanted to _start_ Zope as user zope. Unless that user has a UID/GID of 0 (is, is root by another name), the file permissions are irrelevant. Now, as to _running_ (ie, switch to once bound), the directory permissions come into play. I was basing my response of of: How can I to start Zope whit a different user than root and cath the default HTTP port? AND I see Oleg, more exactly I would start ZServer with an user like 'zope', for example, but at the same time I want it links the port 80! Of course, it is entirely possible the user meant something other than s/he wrote. ;) But that last one doesn't seem to indicate that. To put it succinctly: If you want Zope to bind to port 80 on *nix you have few options: o Change Zope to run SID ** Bad Idea o Modify the kernel so _anyone_ can bind to ports under 1024 ** even worse o START Zope as root, run it as a non-priviledged user, preferably one without a login. File permissions are irrelevenat when binding to ports under 1024 on Unix. -- 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 )
Re: [Zope] Starting Zope
Cary O'Brien wrote: Well... If you are running on Linux you could simply edit the kernel code to elimitate the check on being root to bind to low ports. That's what we did. Which is an even worse idea. Why? On a sufficiently firewalled off box, where the few logins are completly trusted, what's the diff? If you were worried about people cracking a user account and getting underneath telnet, than limit the lifting of the restriction to port 80. If you are concerned that non-root users could launch attacks from low ports at other machines, assuming that only good guys can come from low ports is pretty naive. The whole business about not letting anyone but root bind to low ports makes sense for a public access machine where all the first year engineering students have an account, but for a dedicated application server it is kind of misdirected. You ought to be running next to nothing but the application, and you had better trust everyone that you give a login to, and you out to have the thing locked down/firewalled well. So the tiny bit of possible protection may not be worth the hassle/risks of writing your own suid-wrapper, or the complexity of having a redirect and messing with site-access so that the port numbers in the zope -- what it is that parameter -- base or whatever, comes out write. Just for fun - does NT have the same restriction? -- 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 )
Re: [Zope] Zope 2.20 and SQLSession
I've just sent him the RDB.py no more probs after that... :-) = Hugo Ramos - [EMAIL PROTECTED] ZopersORG - http://www.zopers.org = Do not meddle in the affairs of programmers, for they are easy to annoy, and have all the source code!!! - Original Message - From: "Jorge Magalhaes" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, July 30, 2000 11:15 AM Subject: [Zope] Zope 2.20 and SQLSession Hi Since i upgrade my zope 2.14 to 2.20 i can't access to my all DTML Method's which use the SQLSESSION session. I try view these method's with superuser permissions but a have this error message: Zope Error Zope has encountered an error while publishing this resource. Unauthorized Sorry, a Zope error occurred. Traceback (innermost last): File /usr/local/ZopeNovo/Zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/ZopeNovo/Zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/ZopeNovo/Zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/ZopeNovo/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: novasessao) File /usr/local/ZopeNovo/Zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: novasessao) File /usr/local/ZopeNovo/Zope/lib/python/OFS/DTMLMethod.py, line 167, in __call__ (Object: novasessao) File /usr/local/ZopeNovo/Zope/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: novasessao) File /usr/local/ZopeNovo/Zope/lib/python/DocumentTemplate/DT_In.py, line 691, in renderwob (Object: validar(SENHA=senha)) File /usr/local/ZopeNovo/Zope/lib/python/DocumentTemplate/DT_In.py, line 691, in renderwob (Object: idprof(SENHA=senha)) File /usr/local/ZopeNovo/Zope/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: SESSION.set('idprofessor',profid)) (Info: profid) File string, line 0, in ? File /usr/local/ZopeNovo/Zope/lib/python/DocumentTemplate/DT_Util.py, line 142, in careful_getattr File /usr/local/ZopeNovo/Zope/lib/python/OFS/DTMLMethod.py, line 189, in validate (Object: novasessao) File /usr/local/ZopeNovo/Zope/lib/python/AccessControl/SecurityManager.py, line 139, in validate File /usr/local/ZopeNovo/Zope/lib/python/AccessControl/ZopeSecurityPolicy.py, line 159, in validate Unauthorized: set In Zope 2.14 all run ok :-) Jorge ___ 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] create DTML-Source-link like on zope.org
Also, document_src() is a "Python method" function included in the "Python Method" product URL: http://www.zope.org/Members/4am/PythonMethod If you're pre-2.0 you have to install that one yourself. 2.0 contains "Python Methods", and document_src() comes for free (I think, but I'm not 100% sure). / Svante Kleist, NEMESIS systemDesign, Stockholm --On Sunday, July 30, 2000 10:37 +0100 Chris Withers [EMAIL PROTECTED] wrote: Deryk Barker wrote: snip how-to for view source Well I did and get a NameError looking for document_src. What object are you trying to view the source of? It's only work (and only makes sense) on things like DTML methods and DTML documents. 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 )
Re: [Zope] Starting Zope
Interesting argument. However, consider this: if you completely trust your 'firewalled' box, then why not run the web server as root? One response, in your case is the fact that you mention your trust on users(humans are the most easy to compromise, however that argument is a bit OT). However, do you trust all of your webserver code? Do you trust your cgi-bin scripts and applications? And by trust I not only mean harmful intent by the authors of software, but unintentional bugs which can be exploited, and will be given the privilege to bind to 1024 ports even when they run as a user with least privileges. Just my opinion. nitesh. On Sun, 30 Jul 2000, Cary O'Brien wrote: Cary O'Brien wrote: Well... If you are running on Linux you could simply edit the kernel code to elimitate the check on being root to bind to low ports. That's what we did. Which is an even worse idea. Why? On a sufficiently firewalled off box, where the few logins are completly trusted, what's the diff? If you were worried about people cracking a user account and getting underneath telnet, than limit the lifting of the restriction to port 80. If you are concerned that non-root users could launch attacks from low ports at other machines, assuming that only good guys can come from low ports is pretty naive. The whole business about not letting anyone but root bind to low ports makes sense for a public access machine where all the first year engineering students have an account, but for a dedicated application server it is kind of misdirected. You ought to be running next to nothing but the application, and you had better trust everyone that you give a login to, and you out to have the thing locked down/firewalled well. So the tiny bit of possible protection may not be worth the hassle/risks of writing your own suid-wrapper, or the complexity of having a redirect and messing with site-access so that the port numbers in the zope -- what it is that parameter -- base or whatever, comes out write. Just for fun - does NT have the same restriction? -- 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] Interbase DA compiled for Windows?
On Sun, 30 Jul 2000, R. Herold wrote: Sorry, connect to Interbase (kinterbasdb-0.2.1.tar.gz and InterbaseStorage098.tgz), this was meant to be kinterbasdb-0.2.1.tar.gz and _ gvibDA-0.1.tar.gz _ Thanks again, -- Ralf Herold I understand your position, and wish we could do something to help. However, we do not use Windows or Windows NT, internally, nor do we own a compiler for it. We are going to have to rely on the community to port our DA (gvibDA) to Windows. Patches accepted. :-) --Jeff --- Jeff K. Hoffman 704.849.0731 x108 Chief Technology Officer mailto:[EMAIL PROTECTED] Going Virtual, L.L.C. http://www.goingv.com/ ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Can multiple processes access a ZODB3 file?
As Chris already stated (many times 4 effects:) ZODB is process locked. The question than becomes what kind of process interaction do you want with the zodb. most everything can be done by having hooks into zope and interacting with those hooks from your external python process. examples are a cronned mail script that checks emails and sends them into zope, an external document retrieval system that grabs new docs and sits them on a file system or inserts into ZODB via hooks, a python zope product that gives a corba interface to selected zope objects... basically anything python can touch. if you're python process needs to be more intimate with the zodb than it might require a bit more planning. what were you trying to do? generally for external interactions i use xml-rpc (if the data sets aren't huge), but you could also script a monitor session. Kapil Ross Boylan wrote: If I have Zope running, using ZODB3 on Data.fs, can a separate process also use ZODB3 to access Data.fs? I have my suspicions, but I'm not sure. I'm interested in this because I'm in the middle of a balloting period. People email me their ballots. I will need to check them for validity, send out confirmation or error messages, and eventually tally the results. I definitely want a persistent store, so ZODB seems good. Also, I eventually would like this to be a Zope product, with people able to access the results on the web (and, in the future, vote on the web). But getting it Zoped may be too much work in the short run. So, I'll have a Zope server running on my Debian system, and another process will be going through the mail. It would be more straightforwad if that other process worked directly with the database, rather than going through Zope via http or xml-rpc or something similar. So I'm wondering if that's possible. I can always take the indirect route if, as I suspect, that's necessary. I'm cribbing from parts of the Poll product as appropriate. The polling machinery is considerably more complex though: a restricted list of voters, various muckings around to get the info out of the email, and preference voting (1 for first choice, 2 for second, etc with an instant run off). I know Zeo is more in the multi-process space, but I don't want to use it for this project because I don't have time to learn it; it's alpha; and it seems like overkill for my problem. ___ 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] AW: [Zope] search on www.zope.org
I can't argue with that. i get constant key-errors... i'd really like for someone from digicool to step up and give a reason. I'm not sure if its the size of the Catalog, or the internal Splitter giving errors, or if its just related to the recent hardware problems on zope.org the saving grace searching zope are the mail search interfaces at ntlpd linked off the mailing list page AND the general site search through google ( you can get to an interface by clicking search at the top of the zope pages.. not the form... btw it also searches the mailing lists) shamelessplug If you're interested in a search on the mailing lists at home... you might want to check out my mailman search interface... its still alphaware but pretty functional... improvements will be to file storage and indexing... i am looking at ripping libibex indexing machinery out of Evolution... /shameless Kapil Andy Pahne wrote: I didn't want to say it so clear but that's what I implied. Andy -Ursprüngliche Nachricht- Von: Peter Arvidsson [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 28. Juli 2000 14:15 An: Andy Pahne Cc: [EMAIL PROTECTED] Betreff: Re: [Zope] search on www.zope.org Well the fact is the searchengine on zope.org really s*cks. They really should do something about it... Peter ___ 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] OQL for ZODB - (SQL like for objects Databases)
Its probably possible but its probably more work than you're interested in. They speak different languages a relational system is built on relations in square/rectangular tables. an object system esp. the ZODB can store objects which can be of arbitrary nature, not to mention acquistion and inheritance. a couple of pointers (maybe misleading) what you need is an object relational mapping that understands the ZODB and SQL. it depends on what you want to do with it and what kind of queries looking at your original email, this sounds most like you just want... ie to be able to retrieve objects based on properties in which case ZCatalog is the way to go. A Catalog is an object indexing system built on top of the ZODB for maintaining knowledge of objects and they're properties for fast searching/retrieval. if you really want an sql syntax to the ZODB read on but be warned getting at acquired props will require some serious work/design. you could create an inherited catalog that can layer a simple sql syntax over its searches and design it to return objects instead of references. you could also write a custom ORB that could map into the ZODB according to SQL syntax. although i haven't looked at the source. chris m's Interbase storage might be worth a look (it probably stores everything as a BLOB which might not be helpful). Other systems that might be helpful are OZONE an open source java OODBMS and Lore an XML storage with searches. Kapil E. Discors wrote Hi, Is there a tool like SQL for ZODB ? Where to find more to do some query on ZODB objects ? Many Thanks. Emmanuel. -- Emmanuel DISCORS Tel Fax : 02 54 56 80 61 Conception, Informatique, Réseau ADVL ( Au-Delà de Vos Limites ) Site web : http://www.advl.org/ Archives mOdbc : http://www.advl.org/public/mOdbc/ ___ 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] Moving site from dev to prod.
Thats an interesting question most of the time for my work i just pack the zodb copy the fs file into a new system and it works... I wonder where you getting this request error. it could be related to internal changes in the zope machinery esp if its in an SQL method. generally most stuff in the Zope should transfer over pretty seamless between the two. There were some issues with the namespace security issues that were fixed between 2.1.4-.6 See the changelog for details Kapil Jeff Nielsen wrote: I can't quite seem to figure out how to move my web site from my development machine to my production machine with Zope v2.1.x. Under Zope v1.0.9, I simply copy the data.bbb file. Under Zope v2.1.x, this file seems to be data.fs, but copying it doesn't seem to work as I get a NameError on REQUEST. I've also tried to use the import/export capability, but I can't figure out how to get the entire site to export. I been through the zope.org sites, docs and recent emails, but can't seem to find guidance on this topic. My development machine is Zope v2.1.4 on NT and the production machine is Zopev2.1.6 on NT. Both installs use FSSession v0.3.1 and LocalFS v0.1.5 If someone could guide me to documentation, or give me the basics of what needs to happen, I would appreciate it. Thanks. --- Jeff Nielsen http://www.UgoFast.com/ "Where U Go Fast" ___ 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] OQL for ZODB - (SQL like for objects Databases)
Indeed it does. As a result, it doesn't help at all for O-R mapping. I've heard that PJE's DataSkins (part of ZPatterns) have features which make them useful for O-R mapping, though I haven't looked at them. although i haven't looked at the source. chris m's Interbase storage might be worth a look (it probably stores everything as a BLOB which might not be helpful). ___ 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] Using Zope and Worldpilot on a large site
Paolo Bizzarri wrote: Bill Anderson wrote: Paolo Bizzarri wrote: Hi Zopers, we would like to use Zope for an ISP, with more than 400.000 customers. Zope would be used with Worldpilot, in order to provide Webmail, Calendar, to do, etc. THis demonstrates a problem or two with Worldpilot. I would defintiely _not_ use worldpilot in that setting. Why not? Well, the sharing capability (IIRC) gives a list of people on the system you can share with. Think about that for a moment. Four hundred thousand people. One list. It would be nice if it were possible for people to not appear in the list, and for there to be groups. Yes, this is a problem. As a first step, we are going to remove sharing from Worldpilot (disabling it). Then we would like to give customers the possibility to "create" their own groups and subgroups, so that they can build their own "company-on-the-web". Cool. Has anyone tried the scalability of Zope till this level ? Well, what you are describing really isn't a test of Zope's scaleability. , but rather workdpilots (and the machines's). Zope's scalability in this case is more a matter of resource usage, than a funtion of the number of users. Thats is to say, what is the expected load of the machine/site. 400,000 users will not access all at once, will they? Zope can be scaled accross multiple machines, through the use of ZEO, so if your load gets too high, you can move to a ZEO solution, adding machines as neccessary. As far as I can understand, ZEO is still in alpha/beta stage, so I am not sure to use it immediately. That is stur aboiut the stage, but seems to be more One caveat to that is that worldpilot stores data on the filesystem, so that data would need replicated accross the sites. Perhaps NFS or Coda could server this function. There is one more problem. Worldpilot create a directory for each user. For 400.000 users this means 400.000 directories, which is not nice for Linux+ext2 (and in general I am not sure I want a directory with 400.000 files inside). Linux+ReiserFS ;^) So we are considering either hacking WP, so that it creates something like a p/a/paolo directory for the paolo user, or moving data to a relational database. The latter could be the preferred solution, but it could become a too long step right now. So probably we are going to use the former. I agree this is another issue of WP. Perhaps if it was modified to use ZPatterns ... BTW, I have seen WP has the directory /var/spool/worldpilot that is hard coded into the code. Perhaps we could create a configuration file for WP, in which one can specify these directories. Yeah, this is one of the my issues with WP. It just seems to be counter to the precepts of Zope and Linux to hard code this stuff. The other is that user login information is stored on the hard drive in plaintext. Ciao Paolo -- Paolo Bizzarri - Responsabile Marketing I3 Icube Srl Sede: Via Ridolfi 15 - 56124 Pisa (PI), Italia E-mail: [EMAIL PROTECTED] WWW: www.icube.it Tel:(+39) 050 97 02 07 Fax: (+39) 050 31 36 588 -- 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 )
Re: [Zope] How to start developing in zope
Firestar wrote: Hi, I have read through(and tried out) the tutorials and Guides at Zope.org, and now eager to port my company's website over to Zope. (The website was originally programmed in PHP) In my original design, I used OOP mainly. I defined each section(e.g. News, Events, Products) as a class by itself, inheriting from a "main" superclass. Each class would contain their own set of attributes(such as font-color, title) and methods(e.g. display news headline, or display events schedule). Common attributes method that are widely used are placed(shared) in the "main" class(e.g. talking to MySQL database). So, if there's any changes or updates, inheritance will propagate the changes to the rest of the subclasses. (As usual, management will require extra features such as personalised page, membership or web-based email to be added in future. Hopefully, this kind of structure would make adding new features a breeze.) I believe Zope is based on a similar way (and much more powerful). I was wondering how shld i start something like this in Zope - i read abt ZClasses(where you can define your own Folders), Products(for defining yr business logic) and DTML(for dynamic data display). Your opinions will be much appreciated. regards, firestar My Take. zope adds enough complexity and options that they're is invariable More than one way to it. i generally do pure logic suff in base classes in python. and then setup an inherited zclass to do the display and sql stuff. i think you should also take rely on acquistion more for your sql issues. you're classes can acquire the sql stuff. try sticking an SQL folder in your root zope and call your methods dtml-in "SQL.myMethod()" /dtml-in or alternatively in the section for each class. acquistion is an integral part of zope and is pretty powerful for simplifying design and implementation. 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] Starting Zope
(Quoting reversed for sake of continuity. On Sun, 30 Jul 2000, Cary O'Brien wrote: Cary O'Brien wrote: Well... If you are running on Linux you could simply edit the kernel code to elimitate the check on being root to bind to low ports. That's what we did. Which is an even worse idea. Why? On a sufficiently firewalled off box, where the few logins are completly trusted, what's the diff? If you were worried about people cracking a user account and getting underneath telnet, than limit the lifting of the restriction to port 80. If you are concerned that non-root users could launch attacks from low ports at other machines, assuming that only good guys can come from low ports is pretty naive. The whole business about not letting anyone but root bind to low ports makes sense for a public access machine where all the first year engineering students have an account, but for a dedicated application server it is kind of misdirected. You ought to be running next to nothing but the application, and you had better trust everyone that you give a login to, and you out to have the thing locked down/firewalled well. So the tiny bit of possible protection may not be worth the hassle/risks of writing your own suid-wrapper, or the complexity of having a redirect and messing with site-access so that the port numbers in the zope -- what it is that parameter -- base or whatever, comes out write. Just for fun - does NT have the same restriction? Nitesh Dhanjani wrote: Interesting argument. However, consider this: if you completely trust your 'firewalled' box, then why not run the web server as root? One response, in your case is the fact that you mention your trust on users(humans are the most easy to compromise, however that argument is a bit OT). However, do you trust all of your webserver code? Do you trust your cgi-bin scripts and applications? And by trust I not only mean harmful intent by the authors of software, but unintentional bugs which can be exploited, and will be given the privilege to bind to 1024 ports even when they run as a user with least privileges. Exactly. In addition, relying solely on a firewall is a bad idea from a security standpoint. Firewalls can. and do get breached. I don't run many services on _any_ of my machines for security reasons. I certainly don't want Joe Random User to fire them up either. Consider tftpd, or telnetd, or rlogin, rusers, rwho, ruptime, etc.. There are many ways a user can compromise, not only the machine he is on, but other machines by having the capability to bind to ports under 1024. Nearly all of them are off topic for this list; thus I would recommend a number of the security resources available on the web, such as: http://www.rootshell.com http://www.securityfocus.com Just a quick example: A user can upload a custom compiled version of (insert servie such as DNS, NIS, telnetd, httpd, etc that uses his/her local libraries, bypass /etc/services. since they can bind to ports under 1025, they can be started by the user. Whereas, for example, on other systems, their app would fail. Now, consider that if they used a version of, say ftpd, or fingerd, or named, that has known security openings, they can then exploit this to get root accounts; the firewall being bypassed by being local to the machine. Remember, Cary, if you don't think like a cracker/hacker, you can't stop them. If you can't see why allowing users (and users' programs) can be a problem, doing so is an violaiton of the basic premise of good security: That which is not specifically allowed, is denied. And, BTW, for the record, I handle Unix/Network security for a company known as Hewlett-Packard, so I think I have a good idea of the risks and potnetial exploits ;) -- 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 )
Re: [Zope] OQL for ZODB - (SQL like for objects Databases)
Thanks to all, Having Class wine Drinker in relation. Drinker can drink (0-N) wines. Want to do a query like : MyListOfWine = wine where driker like 'Emmanuel' (Pseudo code) Is there a way to do that in ZODB ? E.D. == Le dim, 30 jui 2000, vous avez écrit : Its probably possible but its probably more work than you're interested in. They speak different languages a relational system is built on relations in square/rectangular tables. an object system esp. the ZODB can store objects which can be of arbitrary nature, not to mention acquistion and inheritance. a couple of pointers (maybe misleading) what you need is an object relational mapping that understands the ZODB and SQL. it depends on what you want to do with it and what kind of queries looking at your original email, this sounds most like you just want... ie to be able to retrieve objects based on properties in which case ZCatalog is the way to go. A Catalog is an object indexing system built on top of the ZODB for maintaining knowledge of objects and they're properties for fast searching/retrieval. if you really want an sql syntax to the ZODB read on but be warned getting at acquired props will require some serious work/design. you could create an inherited catalog that can layer a simple sql syntax over its searches and design it to return objects instead of references. you could also write a custom ORB that could map into the ZODB according to SQL syntax. although i haven't looked at the source. chris m's Interbase storage might be worth a look (it probably stores everything as a BLOB which might not be helpful). Other systems that might be helpful are OZONE an open source java OODBMS and Lore an XML storage with searches. Kapil E. Discors wrote Hi, Is there a tool like SQL for ZODB ? Where to find more to do some query on ZODB objects ? Many Thanks. Emmanuel. -- Emmanuel DISCORS Tel Fax : 02 54 56 80 61 Conception, Informatique, Réseau ADVL ( Au-Delà de Vos Limites ) Site web : http://www.advl.org/ Archives mOdbc : http://www.advl.org/public/mOdbc/ ___ 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 with the export
Something strange happened when I tried to export a site. I tried many times but none worked. Anyone knows what could this be? Here follows the Zope error message: Zope Error Zope has encountered an error while publishing this resource. Error Type: AttributeError Error Value: Astral Troubleshooting Suggestions The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. Traceback (innermost last): File D:\Zope\lib\python\ZPublisher\Publish.py, line 214, in publish_module File D:\Zope\lib\python\ZPublisher\Publish.py, line 179, in publish File D:\Zope\lib\python\Zope\__init__.py, line 202, in zpublisher_exception_hook (Object: ElementWithAttributes) File D:\Zope\lib\python\ZPublisher\Publish.py, line 165, in publish File D:\Zope\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: manage_exportObject) File D:\Zope\lib\python\ZPublisher\Publish.py, line 102, in call_object (Object: manage_exportObject) File D:\Zope\lib\python\OFS\ObjectManager.py, line 450, in manage_exportObject (Object: ElementWithAttributes) File D:\Zope\lib\python\OFS\ObjectManager.py, line 226, in _getOb (Object: ElementWithAttributes) AttributeError: (see above) Regards Fabio Akita - Developer F/Nazca SS / Adversiting [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] Starting Zope
Not to continue offtopic for too much longer, but IMHO, the "only root can bind to ports under 1025" was, and continues to be, a terrible UNIX hack that was possibly reasonable at its time of inception, but that has since *caused* more security holes than it ever helped to prevent. The argument for the hack is backwards compatibility, any other explanation usually ends up as rationalization or circular logic. My $.02. -Original Message- From: Bill Anderson [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 30, 2000 5:04 PM To: [EMAIL PROTECTED] Subject: Re: [Zope] Starting Zope (Quoting reversed for sake of continuity. On Sun, 30 Jul 2000, Cary O'Brien wrote: Cary O'Brien wrote: Well... If you are running on Linux you could simply edit the kernel code to elimitate the check on being root to bind to low ports. That's what we did. Which is an even worse idea. Why? On a sufficiently firewalled off box, where the few logins are completly trusted, what's the diff? If you were worried about people cracking a user account and getting underneath telnet, than limit the lifting of the restriction to port 80. If you are concerned that non-root users could launch attacks from low ports at other machines, assuming that only good guys can come from low ports is pretty naive. The whole business about not letting anyone but root bind to low ports makes sense for a public access machine where all the first year engineering students have an account, but for a dedicated application server it is kind of misdirected. You ought to be running next to nothing but the application, and you had better trust everyone that you give a login to, and you out to have the thing locked down/firewalled well. So the tiny bit of possible protection may not be worth the hassle/risks of writing your own suid-wrapper, or the complexity of having a redirect and messing with site-access so that the port numbers in the zope -- what it is that parameter -- base or whatever, comes out write. Just for fun - does NT have the same restriction? Nitesh Dhanjani wrote: Interesting argument. However, consider this: if you completely trust your 'firewalled' box, then why not run the web server as root? One response, in your case is the fact that you mention your trust on users(humans are the most easy to compromise, however that argument is a bit OT). However, do you trust all of your webserver code? Do you trust your cgi-bin scripts and applications? And by trust I not only mean harmful intent by the authors of software, but unintentional bugs which can be exploited, and will be given the privilege to bind to 1024 ports even when they run as a user with least privileges. Exactly. In addition, relying solely on a firewall is a bad idea from a security standpoint. Firewalls can. and do get breached. I don't run many services on _any_ of my machines for security reasons. I certainly don't want Joe Random User to fire them up either. Consider tftpd, or telnetd, or rlogin, rusers, rwho, ruptime, etc.. There are many ways a user can compromise, not only the machine he is on, but other machines by having the capability to bind to ports under 1024. Nearly all of them are off topic for this list; thus I would recommend a number of the security resources available on the web, such as: http://www.rootshell.com http://www.securityfocus.com Just a quick example: A user can upload a custom compiled version of (insert servie such as DNS, NIS, telnetd, httpd, etc that uses his/her local libraries, bypass /etc/services. since they can bind to ports under 1025, they can be started by the user. Whereas, for example, on other systems, their app would fail. Now, consider that if they used a version of, say ftpd, or fingerd, or named, that has known security openings, they can then exploit this to get root accounts; the firewall being bypassed by being local to the machine. Remember, Cary, if you don't think like a cracker/hacker, you can't stop them. If you can't see why allowing users (and users' programs) can be a problem, doing so is an violaiton of the basic premise of good security: That which is not specifically allowed, is denied. And, BTW, for the record, I handle Unix/Network security for a company known as Hewlett-Packard, so I think I have a good idea of the risks and potnetial exploits ;) -- 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 )
RE: [Zope] password
Hi Jonathan, Try this from the console: python zpasswd.py --username="superuser" --password="TheNewPassword" "access" This is documented in the Zope installation files. Note that doing it this way, the command line will be stored in the command line buffer file on your system, which may be a security issue. HTH, Eric. // -Original Message- // From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of // Jonathan Desp // Sent: Saturday, July 29, 2000 3:21 PM // To: [EMAIL PROTECTED] // Cc: zope zope zope // Subject: [Zope] password // // // Hi, // // the program zpasswd prompt. // // they said: snip ___ 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] password
"Eric L. Walstad" wrote: Hi Jonathan, Try this from the console: python zpasswd.py --username="superuser" --password="TheNewPassword" "access" This is documented in the Zope installation files. Note that doing it this way, the command line will be stored in the command line buffer file on your system, which may be a security issue. To avoid this you could do: $ python zpasswd.py access And just answer the prompts ;) -- 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] Calender Tag SQL caching
Hi everybody, This is my first posting to this list. I have a website which will make use of a calender, with events on it stored in a MySQL database. Now, i wondered how to efficiently show this data from the database in the calender. I mean, not in a way that a sql query is made for each day on the calender (which would make up to 31 queries in the Calender Tag 'month' view...) So i wondered, is there some way to 'cache' the result of the SQL method, so that i can use just one query to fill up an entire month, for instance? regards, -- Arjan Scherpenisse [EMAIL PROTECTED] may the source be with you === http://www.gnu.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] Python/Zope API
Hello folks. I want to be able to render Zope objects from my python external method/product. Idea is to use it to render parent object. Here is code I came up so far with: def view(self, REQUEST): if self.meta_type == 'Folder': doc = self.aq_base.index_html(self, self.REQUEST) else: doc = self.aq_base(self, self.REQUEST) return doc It does return rendered parent object, but I have some questions and probably request for improvement ideas :) 1. The whole thing becomes broken with SiteAccess. Complains about premissions/PhysicalRoot (AFAIR) 2. Are there ways to improve it? For example I would love to know how you can check if you can actually render an object. (For example you can not render Control_Panel). Possible use for it (to make the whole idea a bit clearer) /index_html (some stuff in it) /view (above code in external method) /index_html/view returns rendered index_html doing some magic with HTML/whatever is in it (for example encrypts it with public key, strips down carriage returns/tabs/spaces etc...) In other words acts as a filter. Thanks for any advice, Regards, Simuran. ___ 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] Interbase DA compiled for Windows? gvibBase.pyd DONE
On 30 Jul 2000, at 13:34, Jeff Hoffman wrote: this was meant to be kinterbasdb-0.2.1.tar.gz and _ gvibDA-0.1.tar.gz _ Thanks again, -- Ralf Herold I understand your position, and wish we could do something to help. However, we do not use Windows or Windows NT, internally, nor do we own a compiler for it. We are going to have to rely on the community to port our DA (gvibDA) to Windows. Patches accepted. :-) This is done already, and patches already sent. I just got it working today after a slight problem with Py_Realloc. ftp://ftp.murkworks.com/misc/gvib.zip This has ONLY gvibBase.dll (currently, Debug version with symbols) Use at your own risk (seems to be working for me, but only tested 6 hours) Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com AOL-IM: BKClements ___ 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] Calender Tag SQL caching
On Mon, 31 Jul 2000, Arjan Scherpenisse wrote: Hi everybody, This is my first posting to this list. I have a website which will make use of a calender, with events on it stored in a MySQL database. Now, i wondered how to efficiently show this data from the database in the calender. I mean, not in a way that a sql query is made for each day on the calender (which would make up to 31 queries in the Calender Tag 'month' view...) So i wondered, is there some way to 'cache' the result of the SQL method, so that i can use just one query to fill up an entire month, for instance? hi have a look at CachePool at the download page. it cached based on URL1 and query string. it may or may not help you regards, -- Arjan Scherpenisse [EMAIL PROTECTED] may the source be with you === http://www.gnu.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 ) -- -- http://www.kedai.com.my/kk Am I Evil? ___ 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] How to start developing in zope
--Original Message-- From: Kapil Thangavelu [EMAIL PROTECTED] To: Firestar [EMAIL PROTECTED] Sent: July 30, 2000 3:21:54 PM GMT Subject: Re: [Zope] How to start developing in zope acquistion is an integral part of zope and is pretty powerful for simplifying design and implementation. Kapil --- Hi, thanks for your reply. Is acquisition similar to the concept of 'inheritance' in OOP? (or more?) I heard of this 'algebra of acquisition' written by someone...is it essential and where can i find it? TIA. regards, firestar __ FREE Personalized Email at Mail.com Sign up at http://www.mail.com/?sr=signup ___ 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] How to start developing in zope
On Mon, 31 Jul 2000, Firestar wrote: Hi, thanks for your reply. Is acquisition similar to the concept of 'inheritance' in OOP? (or more?) I heard of this 'algebra of acquisition' written by someone...is it essential and where can i find it? TIA. In many ways, yes. Acquisition is very similar to inheritance, in that it deals with the sharing of namespaces. After that, it starts to become a little more complex. (o8 An important thing to remember if you're coming from an OO background (like C++, for instance) is that EVERYTHING is an object. Even the folders. I highly recommend you read the Acquisition Algebra document on the Zope website (easy to search for). The main exception to the normal rules of acquisition, it seems, is the DTML Method, which directly inherits the namespace of the referring object, instead of using AA. regards, firestar Have a better one, Curtis. ___ 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] connection problem
Hi, I'm running Zope 2.1.6 on Redhat 6.2 Intel based system. It appear to start and when I go to manage page and enter username and password I get the following error: Traceback (innermost last): File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 214, in publish_module File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 179, in publish File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 151, in publish File /usr/share/zope/lib/python/Products/SiteAccess/ChangeBehaviors.py, line 244, in traverse File /usr/lib/python1.5/site-packages/ZPublisher/HTTPResponse.py, line 551, in unauthorized Unauthorized: i have used zpasswd.py and set a username and password but can't get any further. I have read and re-read docs to no avail. Please help! Best regards, Vance Stith Boplicity - http://www.boplicity.com [EMAIL PROTECTED] 610.807.9724 (phone) - 610.867.4291 (fax) ___ 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] connection problem
On Mon, 31 Jul 2000, vance wrote: Hi, I'm running Zope 2.1.6 on Redhat 6.2 Intel based system. It appear to start and when I go to manage page and enter username and password I get the following error: Traceback (innermost last): File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 214, in publish_module File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 179, in publish File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 151, in publish File /usr/share/zope/lib/python/Products/SiteAccess/ChangeBehaviors.py, line 244, in traverse File /usr/lib/python1.5/site-packages/ZPublisher/HTTPResponse.py, line 551, in unauthorized Unauthorized: i have used zpasswd.py and set a username and password but can't get any further. I have read and re-read docs to no avail. Please help! Just a quick question have you restarted Zope since changing the password? Best regards, Vance Stith Boplicity - http://www.boplicity.com [EMAIL PROTECTED] 610.807.9724 (phone) - 610.867.4291 (fax) Have a better one, Curtis. ___ 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] PTK question ..
Hi all I'm trying to get the PTK up and running. Everything works OK, but when I try to review a pending document, this is what I get: PSTRONGResource not found/STRONG/P Sorry, the requested Zope resource does not exist.pCheck the URL and try again.p !-- Document instance at 019E8DC0 -- !-- Traceback (innermost last): File C:\programs\ZopeJean\lib\python\ZPublisher\Publish.py, line 214, in publish_module File C:\programs\ZopeJean\lib\python\ZPublisher\Publish.py, line 179, in publish File C:\programs\ZopeJean\lib\python\Zope\__init__.py, line 202, in zpublisher_exception_hook (Object: ElementWithAttributes) File C:\programs\ZopeJean\lib\python\ZPublisher\Publish.py, line 167, in publish File C:\programs\ZopeJean\lib\python\ZPublisher\HTTPResponse.py, line 299, in setBody File C:\programs\ZopeJean\lib\python\ZPublisher\HTTPResponse.py, line 511, in notFoundError NotFound: (see above) -- The document is simply the default index_html document of the user 'test-portal' (a normal member user). I changed a few words and marked it pending. Then I logged out, logged in as the manager user, and tried to access http://roamer/portal/Members/test-portal/index_html This resulted in the above traceback. I notice that index_html was created by 'No owner'. If I create a document as 'test-portal', I can review it successfully as manager. Trying to access http://roamer/portal/Members/test-portal also results in the same traceback (with "Document instance at 0190FC70"). I intend to use the PTK for our company's intranet of 150+ employees, if at all possible. Is is ready for this? I'm running Zope-2.1.6-win32-x86.exe and ZopePTK-0.7.1.tar.gz (the PTK would require Zope 2.2, would it?). Any help would be most appreciated. Regards, -- jean ___ 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 )