Re: [Zope-dev] searching for __call__
Stephen Simmons wrote: P.S. ChrisW, searching NIP for "__call__" returns every message with 'call' in it, which is not quite the same thing! That's not my experience :-S 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] CatalogTNG
Christopher Petrilli wrote: Chris Petrilli is working on a fishbowl proposal for CatalogNG; I'm pretty sure he intends to adopt some kind of observer/event scheme to make it work. CatalogTNG is definately going to be top down, rather than bottom up (its current design). I'm trying to collect a set of requirements currently, which will be used to drive the architecture. I have some ideas on that, but would rather not publicize them until all the requirements are gathered. Where are the requirements being gathered? 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 )
Re: [Zope-dev] ZCatalog + ZCatalog
Casey Duncan wrote: OK, what this patch does is allow you to concatenate ZCatalog result sequences (Lazy sequences) without loading the whole enchilada into memory. It also dispenses with the funky workaround/hack notation that currently exists (although it still works AFAIK). Once this patch is in place, you will be able to write code as follows: snip This looks great. Have you put it in the collector yet? (http://classic.zope.org:8080/Collector/ as a 'Feature w/patch') You should chat to Chris Petrilli as he too seems to be on a Catalog mission, ATM :-) 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] how do i check if it is an array
i use a form with different input-fields like form method="" action="" first place for field_1br input type="text" name="field_1"br input type="text" name="field_2"br input type="text" name="field_3"br input type="text" name="field_4"br br images/tables second place for field_1br input type="text" name="field_1"br /form at two different places on my site i offer the input into formfield field_1 the point is that i do not know the names of that fields i will hafe 2 or 3 times on my site when i submit this form and look for all this fields like dtml-in "REQUEST.form.keys()" dtml-var sequence-item - dtml-var "REQUEST.get(_['sequence-item'])" /dtml-in i get for example the value for field_2 field_2 - value but field_1 is looking like field_1 - ['14','12'] in my opinion field_1 is an array now how do i check out if any of my fields are arrays or strings is there a function like php: is_array() if someone could help me would be great I'm not a native english speaker sorry ;-) thanx a lot ___ 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] how do i check if it is an array
[Veiko Schnabel] | how do i check out if any of my fields are arrays or strings | is there a function like php: is_array() I can't think of any clean way to do this; zope developers, why isn't the type() function available from DTML? On the other hand, you can explicitly cast all your form fields to be sequence-like objects (in other words, an array), by doing this: input type="text" name="field1:list" HTH. -Morten ___ 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: Dataskin property sheets
I'm not as clear as I'd like to be on when to use Dataskin property sheets and when to use common instance property sheets. I understand that with a Dataskin Property Sheet attributes are stored in way that is compatible with attribute providers making overriding of default values possible. If this is the case shouldn't one always use a Dataskin Property Sheet to retain this flexability. Roché ___ 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] PythonMethods: Can't Slice context.REQUEST.PARENTS
From: The Doctor What [EMAIL PROTECTED] Using context.this().id, self.this().id, m_self.this().id all get me the same things: Folder, Zope, and my method. None give me the DTML Document foo_html. This would seem to be an important thing. The only information about your caller that you can get is the contents of their namespace. So, in the final release, you would be able to bind the caller's namespace to "_" and write _.this().id. That requires a change to Zope, though, so it doesn't work yet. You *could* work around this by explicitly passing the namespace (or this(), for that matter). Cheers, Evan @ digicool 4-am ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Re: [Zope] FIX for the infamous __call__ bug - testers needed!
Brian Lloyd wrote: Hi all - One of the things I _really_ _really_ wanted to fix for the upcoming 2.2.3 release is the infamous "__call__" bug. I have a fix that works according to my limited testing - what I really need is for a few volunteers familiar with the problem to take a few minutes to verify the fix and let me know if the problem goes away for them as well. Attached is an updated version of cDocumentTemplate.c. You can drop this into the lib/python/DocumentTemplate directory of your installation and rebuild it - after restarting the Zope site, the __call__ problem should be gone. I'd really like to hear from some folks on this so I can get the 2.2.3 release wrapped up - thanks! What was the manifestation of this problem again? 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 )
Re: [Zope-dev] License issues
On Mon, Nov 13, 2000 at 06:40:31PM +0100, Juan David Ibáñez Palomar wrote: has come to my ears that there's people who doesn't use Zope because its license is GPL-incompatible, more info here: http://www.fsf.org/philosophy/license-list.html#GPLIncompatibleLicenses They say it's an instance of "the obnoxious advertising clause". I tend to agree, this clause should be removed. All my non-Zope software is GPLed, all my Zope software has a very permissive X11-like license without the obnoxious adv. clause. []s, |alo + -- Hack and Roll ( http://www.hackandroll.org ) News for, uh, whatever it is that we are. http://zope.gf.com.br/lalo mailto:[EMAIL PROTECTED] pgp key: http://zope.gf.com.br/lalo/pessoal/pgp Brazil of Darkness (RPG)--- http://zope.gf.com.br/BroDar ___ 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] FIX for the infamous __call__ bug - testers needed!
Brian Lloyd wrote: Attached is an updated version of cDocumentTemplate.c. You can drop this into the lib/python/DocumentTemplate directory of your installation and rebuild it - after restarting the Zope site, the __call__ problem should be gone. I'd really like to hear from some folks on this so I can get the 2.2.3 release wrapped up - thanks! I just tested this using a ZWikiPage from ZWiki 0.7.1 that is set for structuredtextdtml and has the following content dtml-with someFolder dtml-var objectIds /dtml-with With the current cDocumentTemplate.so, I get the __call__ error. With the new cDocumentTemplate.so, it works as expected. So in summary, it works for me. -- 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: Remapping object from on to another specialist
At 05:51 PM 11/13/00 +0200, Roch'e Compaan wrote: Should I still set up a rack and set it's storage to the Customer ZClass and add a skinscript method to copy attributes from the Customer specialist? or Should I simply write a method for Requester, getRequester, which asks the Customers specialist for a Customer. Do the former if you need to implement different behavior. Do the latter if Customer already provides the needed interface for a requester. Be careful, however, that you do not mix the interface of Customer and Requester, but have clearly defined them seperately (even if both interfaces may share a method, or one interface is derived from the other.) Another question: If I pass an attribute that is not registered with any attributeproviders in a manage_changeProperties call to the object's propertysheet, will that attribute automatically be added on top of the object? Should one explicitly call manage_addProperty? Yes, it would be necessary for you to add the property, since Zope security ordinarily frowns on setting arbitrary object attributes. :) ___ 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] Membership and latest LoginManager
At 01:37 PM 11/13/00 -0500, Dan L. Pierson wrote: I've been trying to get Membership 0.7.6 working with LoginManager-0-8-8b1 (and it's associated ZPatterns) under Zope 2.2.2 on RedHat 6.2. After probing around it seems that there is a problem storing member passwords. The following trace from print statements inserted in PersistentUserSource illustrates the problem: Dan, can you check what class you're using for users, what kind of propertysheet SystemProperties is on that class (DataSkin or CIPS), and whether it actually has a "password" property? 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] OracleStorage, and possibly others
Well, two betas of OracleStorage in one day, then a month and a half of silence. What's the status? What about the other Storage projects? BerkeleyStorage has been dead for an year, and I heard pretty nasty words about InterbaseStorage. What about someone who wanted to try to port OracleStorage to Postgres or some other RDBMS? Please help stamp out Data.fs! :-) []s, |alo + -- Hack and Roll ( http://www.hackandroll.org ) News for, uh, whatever it is that we are. http://zope.gf.com.br/lalo mailto:[EMAIL PROTECTED] pgp key: http://zope.gf.com.br/lalo/pessoal/pgp Brazil of Darkness (RPG)--- http://zope.gf.com.br/BroDar ___ 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] Membership and latest LoginManager
"Phillip J. Eby" [EMAIL PROTECTED] writes: At 01:37 PM 11/13/00 -0500, Dan L. Pierson wrote: I've been trying to get Membership 0.7.6 working with LoginManager-0-8-8b1 (and it's associated ZPatterns) under Zope 2.2.2 on RedHat 6.2. After probing around it seems that there is a problem storing member passwords. The following trace from print statements inserted in PersistentUserSource illustrates the problem: Dan, can you check what class you're using for users, what kind of propertysheet SystemProperties is on that class (DataSkin or CIPS), and whether it actually has a "password" property? Thanks. PortalMember is a ZClass in the PortalMembership product with bases: ZObject, _ZClass_for_DataSkin, _ZClass_for_LoginUser It has what appears to be a standard ZClass property sheet SystemProperties with a string property "password" (it also has other ZClass property sheets CommonProperties, RestrictedProperties, and UserProfile). PortalMembership is a .zexp file created by installing the Membership product. ___ 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] FW: Mailman results for Zope-Dev
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, November 13, 2000 2:31 PM To: [EMAIL PROTECTED] Subject: Mailman results for Zope-Dev unsubscribe 23007790 An unknown Mailman error occured. Please forward on your request to [EMAIL PROTECTED] MMBadUserError None traceback object at 8179830 ___ 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] unbuffered html from external method
Is it possible to print unbuffered html output to the user from an external method. It looks to me like I can't, output occurs upon the return and I cant see a way of getting around that. (I have a very long running and expensive external method, I'd like to print out status to the user) TIA. -- Andy McKay, Developer. ActiveState. ___ 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] Specialists, Racks, and Objects, oh my!
I want a specialist to have two (or more hypotheticaly) racks, and each rack is to contain one type of object. I then want to be able to add objects. I have the two racks set up, but I am unclear as to how to specify that I want to add an item of a certain type, or to a certain rack. Ideas appreciated ... -- Bill Anderson Linux Specialist HPSO Thursday, November 02, 2000 Random Quote: Portable: survives system reboot. ___ 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, and ttw products distribution
. I've managed to change the simple ttw example into a product. Are you suppose to be able to distribute ttw type programs like that? When I create the tar file its empty. Latest everything on win98 ___ 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] unbuffered html from external method
[Andy McKay] | Is it possible to print unbuffered html output to the user from an external | method. It looks to me like I can't, output occurs upon the return and I | cant see a way of getting around that. Try hacking the BaseResponse, located in lib/python/ZPublisher. (implement the flush method, add some logic here and there to handle responses that are flushed). Or maybe just override the RESPONSE class, and use RESPONSE.stdout .. -Morten ___ 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] Specialists, Racks, and Objects, oh my!
At 04:14 PM 11/13/00 -0700, Bill Anderson wrote: I want a specialist to have two (or more hypotheticaly) racks, and each rack is to contain one type of object. I then want to be able to add objects. I have the two racks set up, but I am unclear as to how to specify that I want to add an item of a certain type, or to a certain rack. Ideas appreciated ... You can either give your specialist methods to create objects of each type, which call the respective Racks' newItem() methods, or give your specialist a single method that determines based on input parameters which class would be better suited. The choice depends on the requirements of your problem domain. In either case, the specialist is also the natural place to put the UI ("add forms") for creating the objects. ___ 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: Remapping object from on to another specialist
Hi Jimbo, I'm not sure what you mean by 'not getting anywhere...' but I've generally found it useful to work on problems like this one little step at a time. I might be tempted to just try: WITH EmployZManager.getItem(self.id) COMPUTE original_object = (RESULT is _.None) and NOT_FOUND or RESULT and WITH self.original_object COMPUTE name=emp_id, description=first and then put some objects into EmployZManager 'manually' with known attributes for emp_id and description. Then try to trigger the script by displaying the 'original_object' attribute. (You should set the rack to be non-persistent and 'original_object' as the existence attribute.) Once that's working, then worry about the other skinscript statements. If that's not working... the you have some other problem. -steve ___ 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] Specialists, Racks, and Objects, oh my!
Hi Bill, The 'type' of object is set in the Storage tab of the rack. The specialist can decide which rack to use based on circumstances that dicate one type of object or another. -steve "Bill" == Bill Anderson [EMAIL PROTECTED] writes: Bill I want a specialist to have two (or more hypotheticaly) Bill racks, and each rack is to contain one type of object. I Bill then want to be able to add objects. Bill I have the two racks set up, but I am unclear as to how to Bill specify that I want to add an item of a certain type, or to Bill a certain rack. Bill Ideas appreciated ... Bill -- Bill Anderson Linux Specialist HPSO Thursday, November Bill 02, 2000 Random Quote: Portable: survives system reboot. Bill ___ Zope-Dev Bill maillist - [EMAIL PROTECTED] Bill http://lists.zope.org/mailman/listinfo/zope-dev ** No cross Bill posts or HTML encoding! ** (Related lists - Bill http://lists.zope.org/mailman/listinfo/zope-announce Bill http://lists.zope.org/mailman/listinfo/zope ) ___ 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] ZPatters: Roles and remapping
An Organisation can play the role of Customer and of Requester. In this case the Requester specialist will remap from the Customer specialist. In terms of roles all Customers do not play the role of Requester. Would it be correct to say that the remapping to Requester only occurs at that point in time, when the Customer plays the role of Requester and therefor becomes a Requester, as opposed to mapping the Customer to a Requester as soon as the Customer is created? In the latter case the Customer's rack pushes attributes to the Requester's rack and in the former the requester will first ask the Customer specialist for all Customers and then create a Requester for the Customer selected from the list. The reason I ask this is: Remapping in some way implies that the existence of the one implies the existence of the other. This is one place where frameworks colloborate and I think that colloboration should be carefully exercised so any input would be greatly appreciated. Roché ___ 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] FIX for the infamous __call__ bug - testers needed!
Hi all - One of the things I _really_ _really_ wanted to fix for the upcoming 2.2.3 release is the infamous "__call__" bug. I have a fix that works according to my limited testing - what I really need is for a few volunteers familiar with the problem to take a few minutes to verify the fix and let me know if the problem goes away for them as well. Attached is an updated version of cDocumentTemplate.c. You can drop this into the lib/python/DocumentTemplate directory of your installation and rebuild it - after restarting the Zope site, the __call__ problem should be gone. I'd really like to hear from some folks on this so I can get the 2.2.3 release wrapped up - thanks! Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital Creations http://www.digicool.com cDocumentTemplate.c
[Zope-dev] strange error on first load of zope page
The first page I try and load after restarting the zserver invariably contains the following error. It always occurs *after* the page has successfully been rendered (I have added debugging so that I can see the path traversal, and SQL statements executed). Hitting reload will then display the page properly, and I won't see the error again until i restart the server. (The actual text from the html source is 'Cannot pickle type 'module' objects') It seems perfectly reasonable to me that you can't pickle a module, but what I'm having trouble understanding is why zope is trying to. Can anyone suggest a way that I could try and track down why this is happening? thanks, toby. === Zope has encountered an error while publishing this resource. Error Type: UnpickleableError Error Value: Cannot pickle objects ... Traceback (innermost last): File /export/home/toby/zope/Zope2/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /export/home/toby/zope/Zope2/lib/python/ZPublisher/Publish.py, line 187, in publish File /export/home/toby/zope/Zope2/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: proj) File /export/home/toby/zope/Zope2/lib/python/ZPublisher/Publish.py, line 175, in publish File /export/home/toby/zope/Zope2/lib/python/Zope/__init__.py, line 235, in commit File /export/home/toby/zope/Zope2/lib/python/ZODB/Transaction.py, line 251, in commit File /export/home/toby/zope/Zope2/lib/python/ZODB/Connection.py, line 349, in commit (Info: (('Products.ExternalMethod.ExternalMethod', 'ExternalMethod'), '\000\000\000\000\000\000\032 ', '')) UnpickleableError: (see above) -- [ Toby Sargeant : Inpharmatica : Developer : [EMAIL PROTECTED] ] [ http://www.inpharmatica.co.uk : 020 7631 4644 fax 020 7631 4844 ] ___ 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] cross-referencing product
I need to cross-reference a bunch of links in my pages so that I can tell which of my documents is using the one I'm editing. This must be a common requirement so has anyone else already done this? -- Robin Becker ___ 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] LDAP variable problem
Hi. I was inserting the "missing=nbsp;" statement into the dtml-var sn key. In fact, I don't get the key error anymore. But unfortunately, I don't get the values of the sn attribute either. The method just returns me an empty line for every LDAP entry. How can I access the LDAP attributes? any ideas? Thanks a lot. Marc Ludwig Luxembourg At 14:29 12.11.2000 +1100, you wrote: Hi Zopistas, Firstly, a big thank you to all thos epeople who helped me with KeyError problem when accessing LDAP entries. Just so the solution makes it onto the mailing list archive (for the next bunny who has the same problem) the solution was to add the following to each of your variables missing=nbsp; ...so that when Zope came across entries without that attribute it didn't barf. I now have one last problem. I can now access all entries from the LDAP directory using the notation dtml-var sn missing = nbsp;- all except one - the "title" attibute . I am guessing that it is because Zope uses "title" to reference the title of the object in the zope database, and therefore won't let you get at the ldap variable using the normal: dtml-var title notation. Is there any way I can pinpoint the LDAP variable instead of the object title in zope? I have no control over the ldap server and attributes name, so I can't change it at that end. When I test the LDAP filter method I can see the variable (it lists all of the attributes of the LDAP record), but I can't reference it in DTML. My filter method is called 'Academics' and just extracts a list of academics in the biology department here at Monash University. I'm sure there must be a way using python notation, but not being a python expert (yet!), I could do with a few clues... Any ideas? Thanks again... - Michael ~~~ Michael Blewett Computer Support Mgr - Biological Sciences Monash University (Clayton Campus) Victoria Australia 3168 "I'm out of my mind at the moment, but feel free to leave a message..." ___ 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 question(s)
"Bowyer, Alex" wrote: Hi, I have what I'm sure is a very simple question about Zope programming style: I want to count how many objects are contained in the current container object and then do something with that value, but I can't do the bit I need to do at the point of reading the count variable because I am in the wrong namespace. I can't begin a dtml-let because I would need to close dtml-if before dtml-let, which is not allowed. dtml-in objectValues dtml-if sequence-end dtml-var count-id !-- this is the value I want to use -- /dtml-if /dtml-in !-- this is the scope in which I want to do something with the value. -- try (untested): dtml-call expr="REQUEST.set('countids', _.len(objectValues())" dtml-in objectValues dtml-if sequence-end dtml-var countids /dtml-if /dtml-in !-- do something with the value. -- What is the "accepted" way of passing a value into a different scope? Do I have do a REQUEST.set or is there a tidier way? dtml-let Also I think I read somewhere that you can use the object.subobject or object.property syntax but I never got that to work, what's the catch? dtml-var expr="object.subobject" note that this is a Python expression and the code between quotes has Python behaviour. One last thing, I sent a couple of mails to the list about problems I had with manage_delObjects. I still haven't got it to work. Since the best way to learn Zope is by example, I wonder if anyone could direct me to a sample piece of code where a container of some sort deletes one of its children subobjects? try (untested): dtml-call "subobject.manage_delObjects([id1, id2, ..])" hth Rik ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Cloning a ZClass-Instance
Hallo Chris, my reply is late but the problem is already not solved. I've build a simple ZClass 'News' with base-classes 'ZObject, ZObjectManager'. I haven't changed the permission-settings in the product. The script working on the objects is this: -- dtml-in "objectValues(['news'])" dtml-let x="_.getitem('sequence-item')" dtml- call "manage_clone(x,'test',REQUEST)" /dtml-let /dtml-in -- The response of Dieter Maurer was, that it is a permission problem --"Either you are not allowed to call the ZClass constructor at the destination, or you are not allowed to access the object to be cloned at the destination." I'm trying to execute the operation with the role 'manager' That's the traceback: -- The object holle does not support this operation Traceback (innermost last): File C:\Zop\lib\python\ZPublisher\Publish.py, line 222, in publish_module File C:\Zop\lib\python\ZPublisher\Publish.py, line 187, in publish File C:\Zop\lib\python\Zope\__init__.py, line 221, in zpublisher_exception_hook (Object: ElementWithAttributes) File C:\Zop\lib\python\ZPublisher\Publish.py, line 171, in publish File C:\Zop\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: NewsPruefer) File C:\Zop\lib\python\ZPublisher\Publish.py, line 112, in call_object (Object: NewsPruefer) File C:\Zop\lib\python\OFS\DTMLMethod.py, line 167, in __call__ (Object: NewsPruefer) File C:\Zop\lib\python\DocumentTemplate\DT_String.py, line 502, in __call__ (Object: NewsPruefer) File C:\Zop\lib\python\DocumentTemplate\DT_In.py, line 607, in renderwob (Object: objectValues(['news'])) File C:\Zop\lib\python\DocumentTemplate\DT_Let.py, line 147, in render (Object: x="_.getitem('sequence-item')") File C:\Zop\lib\python\DocumentTemplate\DT_Util.py, line 337, in eval (Object: manage_clone(x,'versuch',REQUEST)) (Info: REQUEST) File string, line 0, in ? File C:\Zop\lib\python\OFS\CopySupport.py, line 321, in manage_clone (Object: holle) File C:\Zop\lib\python\OFS\CopySupport.py, line 402, in _verifyObjectPaste (Object: holle) Copy Error: (see above) Thanks and Bye Sven ___ 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] make sequence-item into sequence_item!
Steve Drees wrote: It might be that fixing one or both of the above would reduce the DTML pain factor quite a bit. Certainly, it's time to do whatever it takes to banish these "-"-named variables, IMHO. Agreed. But DC always raises objections when this is brought up. why?! 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] HiperDom
Lalo Martins wrote: On Fri, Nov 10, 2000 at 10:28:44AM +, Chris Withers wrote: Oh yeah, while I'm here, how's the HiperDOM project getting on? That stuff would be raally useful for a project here... HiperDom is usable right now; we've been quite quiet because we're working on documentation and unit testing (and to have unit testing, we had to have ZUnit). Right now, we would "raally" encourage you to use HiperDom in your project, specially if the deployment schedule = 2 months, and then please send us that feedback :-) I'd love to, but it'd be 'raally' helpful to have some documentation and a download with some explanation/help for someone as brain dead as me on a Monday morning ;-) Is that available yet? 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] User Source choices
We had a close look at all products available for sroting users in a sql db. We tested: GUF-- did not work with Zope 2.2.x (yet) MySQLUserFolder -- colleague of mine had some trobles o this thing being outdated UserDB -- works for us, but has some logical problem that has an impact on performance when having a lot of users. We will try to fix that asap. LoginManager -- thoug being called the best here is it did not yet work for us. We would like to get things started up with LoginManager but constantly fail to get it up and running. As a Database we are using MySQL without any problems so far. - Holger PS: you might want to visit zdp.zope.org and look under Zope FAQ - Topic 14. "Scalability" for a FAQ about user folders. Am Dienstag, 7. November 2000 14:35 schrieben Sie: This is a bit off-topic, but I wondered if anyone has any opinions on the matter. I'm going to use LoginManager for my user folder stuff, and I'm wondering which type of DB to use to store user information. Has anyone any advice about this? Here's some of the free choices with what I know about them: MySQL is my first choice because I know it well postgres has transactions, stored procedures, but can scale badly SyBase I know nothing about LDAP (e.g. OpenLDAP) is optimised for this kind of thing, but I'm not sure I've quite grokked it yet Should my choice be dependent on the quality of the adapters available, or are all the adapters much the same? any comments appreciated, seb ___ 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 ) -- --- catWorkX GmbH Hamburg Dipl.-Ing. Holger Lehmann Stresemannstr. 364 22761 Hamburg Tel : +49 40 890 646-0 Info: 0700 catWorkX ( 0700 22 89 67 59 ) Fax : +49 40 890 646-66 mailto:[EMAIL PROTECTED] http://www.catworkx.de http://www.catbridge.de ___ 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] Higher Educatoin Portal/Admin
Greetings! I'd like to know if there are any activities regarding use of Zope to build/support educational systems. I have searched the list and there seem to be a few, but I cannot find out how to contact the peoiple involved. My main interest lies in building administrative systems that ease the task of planning and administering courses, staff and student info, schedules, publishing info about courses, events, etc, as well building or supporting systems that will let teachers build and integrate on-line courses with existing admin systems (although this is secondary; there are better systems that do this allready). This is not an easy task, of course, because it involves a lot of analysing the needs of an educational organisation as well as reviewing how the organisation works, how the students preceivethe service the receive, etc, etc. In other words, a lot of process development, instead of "technical" development. I am currently heavily involved in such a project. Among other things, I'd like to have a serious discussion on the pros and cons of building such a site/portal/whatever with Zope and why it is better to choose Zope, instead of, say, Turbine in a combination with Jetspeed, which much more "buzzword" (read Java) compliant. The recent instabilities and slow response times experienced with the zope.org site and the incomplete, possibly unstable, state of DCOracle, the Oracle adapter (and similar concerns with some other needed Zope Products) has been raising some questions of the suitability of Zope for this kind of project. On the other hand, I fail to see an alternative to Zope; of course there are better CMS'es, better development platforms, better Oracle support elsewhere, and so on, but neither of those systems has the combination of integrated features and modularity of Zope. I am very interested in talking, even building a Zope SIG, with more people that interested in these issues. The traffic on the main Zope list is too heavy, and I feel this issue is better of maintained in a parallel list. I also would like to know if there is interest from Digital Creations in this matter. What do you people think? Feed(back) me! :) Sincerely, /dario - Dario Lopez-Kästen Systems Developer Chalmers Univ. of Technology [EMAIL PROTECTED] ICQ will yield no hitsIT Systems Services ___ 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] Website search
All the docs I found about searching are for searching inside the manage interface or for dtml-code only etc. I am just looking for a simple description, of how to include a simple search interface on my website (not in the manage interface). The available descriptions of ZCatalog are so complicated and programmer-oriented that I am not sure, if it is really the thing I need. So what's the simplest way to do a search on a website? _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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] HiperDom
Chris Withers wrote: Lalo Martins wrote: On Fri, Nov 10, 2000 at 10:28:44AM +, Chris Withers wrote: Oh yeah, while I'm here, how's the HiperDOM project getting on? That stuff would be raally useful for a project here... HiperDom is usable right now; we've been quite quiet because we're working on documentation and unit testing (and to have unit testing, we had to have ZUnit). Right now, we would "raally" encourage you to use HiperDom in your project, specially if the deployment schedule = 2 months, and then please send us that feedback :-) I'd love to, but it'd be 'raally' helpful to have some documentation and a download with some explanation/help for someone as brain dead as me on a Monday morning ;-) Is that available yet? I believe you should be able to import it and use the example document in the distribution (after you applied the patch also in the distribution and imported it into Zope). On the other hand: I did that, and Hiperdom would neither expand nor display, in both giving some xml Node exception. So in fact I thought it was still under construction. The 'patching' was on win32 and manual, so I probably did something wrong ;-(. However, in a python test setup the module did work (?) Rik ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Website search
[Stephan Goeldi] | So what's the simplest way to do a search on a website? If you're running Zope in combination with other web applications, ht://Dig may be the Right Thing (tm). See http://www.htdig.org for more info. HTH. -Morten ___ 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] Test - Is both the maillist and www.zope.org down?
??? ___ 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] Test - Is both the maillist and www.zope.org down?
Max Møller Rasmussen wrote: ??? Hm, the list seems to be up, but not so zope.org ... I've bee trying now for about 4 hours or so ... regards, ta -- smartferret it-consulting Dipl.-Ing. Linzbichler KEG Dipl.-Ing. Takashi Veikko Linzbichler Tannhofweg 28/3 A-8044 Graz, Austria Tel.: 0316 / 39 89 40 -0 Fax:0316 / 39 89 40 -20 Mobil: 0676 / 31 26 286 eMail: [EMAIL PROTECTED] WWW:http://www.smartferret.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 I run Zope with i-Planet?
Hi, I did it when its name was still Netscape Enterprise server, so I suppose it should not be too big a problem. I can't remember how to do that... you have to use FastCgi I believe. -Original Message- From: Plaza Diez, Antonio To: '[EMAIL PROTECTED]' Sent: 11/13/00 8:49 AM Subject: [Zope] Can I run Zope with i-Planet? - Can I run Zope with i-Planet Web Server? - How can I do this? -Where can I found some Documentation 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] Advanced search in Zcatalog...
Hi! I´m trying to discover how to make a ZCatalog perform queries on several "fields" (as in the property sheets) of the cataloged objects, but with no sucess. I´d like to execute queries using a "or" chain of tokens, to be applied on several fields of the cataloged objects, given that each field has a priority in the search results. Any ideas on how to implement this? I´ve tried several approaches with absolutely no sucess, and I´m pretty stuck, so any help will be welcome. Thanks, Daniel Dias Do You Yahoo!? Crie o seu e-mail grátis do Yahoo! Mail com 6 Megabytes livres! http://mail.yahoo.com.br ___ 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] HiperDom
I believe you should be able to import it and use the example document in the distribution (after you applied the patch also in the distribution and imported it into Zope). Hurgh? Where di you find all this out? Hwo do you use it when it is installed? The patching is from the readme in the distribution. The download is/was(?) on http://www.zope.org/Members/lalo/Hiperdom The use of the thing is not quite clear, but there is a help included with it, including syntax help. i think I figured out the example template by myself, but I wouldn't describe that as hard ;-) On the other hand: I did that, and Hiperdom would neither expand nor display, in both giving some xml Node exception. So in fact I thought it was still under construction. The 'patching' was on win32 and manual, so I probably did something wrong ;-(. However, in a python test setup the module did work (?) Hmmm _I f_ you get it to dance for you, please mail me how you did it. I'd like to get this working as well Rik ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Sybase (again?)
Hi, We are using Zope 2.1.6, Sybase 11.9.2, Sybase DA 2.00b2 on Suse Linux 6.4 and 7.0, stored procedures just work fine. Zope 2.2.x has a problem with Sybase, a patch has been submitted and should come with the next release. Ralph On Fri, 10 Nov 2000, Chris McDonough wrote: SybaseDA AFAIK does not support stored procedures. "Manuel Amador (Rudd-O)" wrote: Well, After no one else answered my last email about zope, I've decided to summarize what's going on with the ZSybaseDA so as to see if someone takes interest. STORED PROCEDURES DO NOT WORK. Anything else, however, does. Once a stored procedure was called, the db object is blocked till zope restarts. Any patches, solutions, suggestions? Manuel -- Chris McDonough Digital Creations, Publishers of Zope http://www.zope.org -- -- Ralph Heinkel Cenix Bioscience GmbH Director of the IT-UnitTel : +49 6221/387 915 Meyerhofstr. 1 Fax : +49 6221/387 971 69117 Heidelberg, Germany 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 )
[Zope] How to access column names in DTML Methods
Hi all, I'm trying to display the column names of a Record object without success. I'm able to access column data using sequence-item but I don't know how to display column names. dtml-var standard_html_header dtml-in "desc(cmd=cmd_sql)" size=50 start=query_start dtml-if sequence-start dtml-if previous-sequence A HREF="dtml-var URLdtml-var sequence-queryquery_start=dtml-var previous-sequence-start-number"(Previous dtml-var previous-sequence-size results)/A /dtml-if previous-sequence TABLE TRTH?HEADER/TH/TR /dtml-if sequence-start TR dtml-in sequence-item TD BGCOLOR="WHITE"dtml-var sequence-item null="NULL"/TD /dtml-in /TR dtml-if sequence-end /TABLE dtml-if next-sequence A HREF="dtml-var URLdtml-var sequence-queryquery_start=dtml-var next-sequence-start-number" (Next dtml-var next-sequence-size results)/A /dtml-if next-sequence /dtml-if sequence-end dtml-else There was no data matching this dtml-var title_or_id query. /dtml-in dtml-var standard_html_footer Thanks for any help José ___ 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] Building dynamically class instances using external methods.
Question: I am running Zope2.2.2 under python1.5.2 on a linux machine. The following situation: I have an external Method which creates dynamically an instance from of a class depending on some input to a function contained in this method. In short the code (of the external method) class Classname: def function1 def function2 ..etc. def createInstance(argument) x = Classname(argument) return x Where createinstance is the method that is invoked initially from zope. Everything works fine, the method returns something like ?.Classname instance at 8546e70 using "__allow_access_to_unprotected_subobjects__ = 1" in the class definition it is possible to access all methods of the class within Zope. Among others the class holds a method 'dump' who should 'pickle' the objects instance (using the python 'pickle' module), more precise should return a string represantion of itself. This works fine when tested in a normal python session. (where the method returns contrary to above: __main__.Classname instance at ...) Called from Zope this does not work. The pickle module raises an error: .. File /usr/lib/python1.5/pickle.py, line 818, in dump File /usr/lib/python1.5/pickle.py, line 97, in dump File /usr/lib/python1.5/pickle.py, line 198, in save File /usr/lib/python1.5/pickle.py, line 400, in save_inst Error type: Attribute error, Error Value: __module__ QUESTION: Is there any possibility to get these things work. ? (or is it really awkward stuff ???) Maybe related questions: QUESTION 2: What does the "?" mark in the generated objects string representation means ? Is it neccessary to 'anchor' (sorry for my terminology) the object within some other object ? And: QUESTION 3: The lifetime of an instance has should not to be longer than the current REQUEST is performed, is there any possibility to create the instance as an subobject of the current REQUEST ?? Any help and advice would be highly appreciated... regards Hannes. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Higher Educatoin Portal/Admin
On Mon, 13 Nov 2000, Dario Lopez-Kästen wrote: dario I am very interested in talking, even building a Zope SIG, with more people dario that interested in these issues. The traffic on the main Zope list is too dario heavy, and I feel this issue is better of maintained in a parallel list. I dario also would like to know if there is interest from Digital Creations in this dario matter. dario dario What do you people think? Feed(back) me! :) I'm experiencing the same kind of situation and problems you are. We are in the process of choosing a tool for educational purposes (an integrated service for thousands of public instituitions, mainly schools). The choice will be between zope and oracle portal 3.0 (zope is my personal choice). If we choose zope I'd be very interested in your idea of a Zope SIG for these matters. Best regards, Tiago Antão ___ 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] HiperDom
On Mon, Nov 13, 2000 at 01:14:51PM +0100, Rik Hoekstra wrote: On the other hand: I did that, and Hiperdom would neither expand nor display, in both giving some xml Node exception. So in fact I thought it was still under construction. The 'patching' was on win32 and manual, so I probably did something wrong ;-(. However, in a python test setup the module did work (?) Which version of the XML-utils are you using? Please send me the traceback (privately), I'd like to see that. []s, |alo + -- Hack and Roll ( http://www.hackandroll.org ) News for, uh, whatever it is that we are. http://zope.gf.com.br/lalo mailto:[EMAIL PROTECTED] pgp key: http://zope.gf.com.br/lalo/pessoal/pgp Brazil of Darkness (RPG)--- http://zope.gf.com.br/BroDar ___ 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] HiperDom
On Mon, Nov 13, 2000 at 10:03:06AM +, Chris Withers wrote: Lalo Martins wrote: HiperDom is usable right now; we've been quite quiet because we're working on documentation and unit testing (and to have unit testing, we had to have ZUnit). Right now, we would "raally" encourage you to use HiperDom in your project, specially if the deployment schedule = 2 months, and then please send us that feedback :-) I'd love to, but it'd be 'raally' helpful to have some documentation and a download with some explanation/help for someone as brain dead as me on a Monday morning ;-) Is that available yet? As I said, we're currently focusing on documentation and unit testing; there is some quite basic documentation in the HelpSys which explains the syntax, and there is an example in the webpage at zope.org, plus one more (more or less the same example, but with the text in Portuguese) in exemplo_pt.html in the distribution. Better documentation is in the works, you can check the "Projects" wiki on dev.zope.org. []s, |alo + -- Hack and Roll ( http://www.hackandroll.org ) News for, uh, whatever it is that we are. http://zope.gf.com.br/lalo mailto:[EMAIL PROTECTED] pgp key: http://zope.gf.com.br/lalo/pessoal/pgp Brazil of Darkness (RPG)--- http://zope.gf.com.br/BroDar ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Higher Educatoin Portal/Admin
"Dario Lopez-Kästen" wrote: I'd like to know if there are any activities regarding use of Zope to build/support educational systems. I have searched the list and there seem to be a few, but I cannot find out how to contact the peoiple involved. http://www.zope.org/Wikis/zope-edu Shane ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] DatabaseAdaptor Problem
Hi I'm having trouble to use a database adaptor. I attempted to use gvibDA for interbase but I got a python error (in a previous mail) so I tried with MySql but make procedure didn't find a mysql.h . My question is: where can I find this file? Is there anyone who can help me for interbase? Thank you Claudio Biasiolo Web Developer [EMAIL PROTECTED] VenicePlaza S.p.A. Padova, Italy ___ 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] Website search
I think installing ht://Dig is "programmer-oriented" and is not much more simple... ZCatalog is your best bet and its not that complicated really, its about as simple as you are going to get. The docs should give you a fairly simple explanation of how to add one. -- Andy McKay, Developer. ActiveState. - Original Message - From: "Morten W. Petersen" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, November 13, 2000 4:18 AM Subject: Re: [Zope] Website search [Stephan Goeldi] | So what's the simplest way to do a search on a website? If you're running Zope in combination with other web applications, ht://Dig may be the Right Thing (tm). See http://www.htdig.org for more info. HTH. -Morten ___ 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] Higher Educatoin Portal/Admin
[..] The recent instabilities and slow response times experienced with the zope.org site Zope.org isnt a typical site though, it has tens of thousands of pages of dynamic content and it's kept quite uptodate (in terms of Zope updates). They also recently admitted they will be moving to a faster box because their commodity box can't cope. I'm not saying it isn't somtimes slow, its just that its not typical. ___ 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] [ANNOUNCE] New Minimal product How-To
I think thats great. I like the move from Python to Zope. Nitpick: classes dont actually need a docstring. I'm thinking of doing one for folderish objects since I have used these quite a bit and think they are great. -- Andy McKay, Developer. ActiveState. - Original Message - From: "Bak @ kedai" [EMAIL PROTECTED] To: "Max M" [EMAIL PROTECTED]; "Zope@Zope. Org" [EMAIL PROTECTED] Sent: Sunday, November 12, 2000 5:55 PM Subject: Re: [Zope] [ANNOUNCE] New Minimal product How-To On Monday 13 November 2000 09:02, Max M wrote: Hi I have just added this Product How-To: http://www.zope.org/Members/maxm/HowTo/minimal_01/index_html this kind of handholding is really great for us newbies. hoping to see the continuation, e.g. nested products --Folderish_product |-Product_item thanks for the enlightening doc. -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine use Zope? then you got HOPE! ___ 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] Dr.Watson on NT
I have been running a Netscape WEB Server on an Alpha NT for 3-4 years and the Doctor Watson window being open has always denied access to the web server from a browser although other access is not stopped such as telnet and mapped disks. Finally, I set Doctor Watson not to pop up on alerts so I have to regularly access the Dr. Watson log file, but have not had web access denied since doing that. So, I don't think this is actually Zope related specifically but maybe WEB server in general. Thomas "Júlio Dinis Silva" wrote: Hi all, Is there a NT guru in the house :-) Zope 222 Sometimes Zserver goes Zombie, I login on the machine and I see a DrWatson Window. I close DrWatson window and the process automagically restarts, and everything ok. Whenever this happens two logs are written in EventLogger: -one is a Warning: Restarting Zope... -one is a Info: starting Zope... With a couple of seconds of distance in time between them. I can see something is puting ZServer zombie and I'm looking at debug to find the sucker method :-) but this DrWatson behaviour never seen by me before: could be Zope doing a Zombie Timeout and restarting himself? If yes why does he hangs and only by closing the DrWatson Window the python.exe process really restarts? Any comments, tips, Dr.Watson Guru? Best Regards, Júlio Dinis Silva _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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 ) -- Rock and Rule Zope Rocks -- http://www.zope.org Python Rules -- http://www.python.org Thomas McMillan Grant Bennett Appalachian State University Computer Consultant IIIUniversity Library [EMAIL PROTECTED] http://www.library.appstate.edu/webmaster/ Voice: 828 262 6587 FAX:828 262 3001 Windows 95 is a 32-bit extension to a 16-bit patch for an 8-bit operating system that was originally coded for a 4-bit microprocessor. - Chris Dunphy Boot Magazine ___ 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 declining?
hi, I might atribute any decline in this list to one of several things: 1. Documentation has much improuved, thus people can look up the answers and not soly rely on this list. - Zope Book specificaly. - Training clases. 2. Many of the people are now way past the general skill level in this list and have lost interest. 3. Alt. sources of info like: irc.zope.net #Zope It's obvious when you see companies like www.cbsnewyork.com runing zope that it is gaining in market penetration. j. .. . Jason C. Leach ... University College of the Cariboo. .. On Mon, 13 Nov 2000, Max M wrote: From: Hung Jung Lu From the mailing list volume in the last 3 months, it is not hard to see that there is a steady decline. This compared to the trend of last two years (doubling volume every year), should probably raise a red flag. My experience here is that the list isn't much help. It can be very hard to get a question answered! Especially when it gets out of the "Hello World" level. And when a question eventually do get answered it is often terse and hard to understand. It would be nice if more of the devlopers would spend some time on this list, as it would really save those of us still learning a LOT of time. Coming from the Python list this is really a big difference. If I have a Python question I get an answer very quickly from the top Python guys. On this list I hardly ever see the top guys, and it can be really frustrating sitting with a problem for hours or days knowing that somebody could solve it in a few minutes. I am using the 2 minutes rule myself. Any qustion that I can answer in less than 2 minutes I will. 2 minutes isn't to much so I can answer a reasonable amount of questions and still get work done. When I get better I will be able to solve harder problems in 2 minutes. If only somebody better would take 2 minutes to solve some of my questions :-) Regards Max M ___ 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] Advanced search in ZCatalog
Hi! I´m trying to discover how to make a ZCatalog perform queries on several "fields" (as in the property sheets) of the cataloged objects, but with no sucess. I´d like to execute queries using a "or" chain of tokens, to be applied on several fields of the cataloged objects, given that each field has a priority in the search results. Any ideas on how to implement this? I´ve tried several approaches with absolutely no sucess, and I´m pretty stuck, so any help will be welcome. Thanks, Daniel Dias Do You Yahoo!? Crie o seu e-mail grátis do Yahoo! Mail com 6 Megabytes livres! http://mail.yahoo.com.br ___ 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] Form variables with same name as folder names
Hi. I am new to using Zope and just got stuck on the following problem. I am trying to use forms with an SQL database. I have a form with checkboxes and I use variables like FOO to capture the value. For example: input type="checkbox" name="FOO" value="1" The form has a post with the action to call a DTML document. In my DTML document I call a Z SQL Method called InsertMethod with REQUEST as the argument, for example InsertMethod(REQUEST). My Z SQL Method InsertMethod has arguments including FOO="" And then in the body of the Z SQL method I have: dtml-if FOO {code to insert into a database table} This working UNTIL I created a Folder named FOO. Then the value of FOO in the Z SQL method seemed to be the FOO folder and not FOO from REQUEST. My workaround was to call the variable FOOCHECKBOX. Two questions: 1) the ZSQL manual, http://www.zope.org/Documentation/Guides/ZSQL-HTML/ZSQL.1.4.4.html, says that the first lookup should be variables in HTTP_REQUEST. So why is FOO referring to my folder FOO? 2) is there some way I could have referred to the variable FOO in my Z SQL method without resorting to renaming the variable in my form? Thanks! *becky* ___ 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] Advanced search in ZCatalog
http://www.zope.org/Members/Zen/howto/AdvZCatalogSearching is probably your best bet. -- Andy McKay, Developer. ActiveState. - Original Message - From: "daniel dias" [EMAIL PROTECTED] To: "ZopeList" [EMAIL PROTECTED] Sent: Monday, November 13, 2000 9:50 AM Subject: [Zope] Advanced search in ZCatalog Hi! I´m trying to discover how to make a ZCatalog perform queries on several "fields" (as in the property sheets) of the cataloged objects, but with no sucess. I´d like to execute queries using a "or" chain of tokens, to be applied on several fields of the cataloged objects, given that each field has a priority in the search results. Any ideas on how to implement this? I´ve tried several approaches with absolutely no sucess, and I´m pretty stuck, so any help will be welcome. Thanks, Daniel Dias Do You Yahoo!? Crie o seu e-mail grátis do Yahoo! Mail com 6 Megabytes livres! http://mail.yahoo.com.br ___ 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] Advanced search in ZCatalog
Usually, I use an external method returning a string containing the text from all the fields I want to search on, and I index THAT field in the Catalog. It works great! Jean-François Ménard Intranet DPAS Pratiques d'affaires et orientations *(514) 840-3000 poste 3939 * (514) 840-5585 * [EMAIL PROTECTED] * 855 Ste-Catherine est, 6e étage Montréal, Qué. H2L 4P5 -Message d'origine- De : daniel dias [mailto:[EMAIL PROTECTED]] Envoyé : lundi 13 novembre 2000 12:51 À : ZopeList Objet : [Zope] Advanced search in ZCatalog Hi! I´m trying to discover how to make a ZCatalog perform queries on several "fields" (as in the property sheets) of the cataloged objects, but with no sucess. I´d like to execute queries using a "or" chain of tokens, to be applied on several fields of the cataloged objects, given that each field has a priority in the search results. Any ideas on how to implement this? I´ve tried several approaches with absolutely no sucess, and I´m pretty stuck, so any help will be welcome. Thanks, Daniel Dias Do You Yahoo!? Crie o seu e-mail grátis do Yahoo! Mail com 6 Megabytes livres! http://mail.yahoo.com.br ___ 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] help
Well I Installed Zope But When I Want To Add A Folder Or A File The Next Mesagge Apearse to me Well I have This Permitions in every file of the zope 777 nobody:nobody With Red Hat 6.2 Zope Error Zope has encountered an error while publishing this resource. Error Type: SuperCannotOwn Error Value: Objects cannot be owned by the superuser 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 /root/src/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /root/src/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 187, in publish File /root/src/Zope-2.2.2-src/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook File /root/src/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 171, in publish File /root/src/Zope-2.2.2-src/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_addFolder) File /root/src/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_addFolder) File /root/src/Zope-2.2.2-src/lib/python/OFS/Folder.py, line 116, in manage_addFolder File /root/src/Zope-2.2.2-src/lib/python/OFS/ObjectManager.py, line 267, in _setObject (Object: ApplicationDefaultPermissions) File /root/src/Zope-2.2.2-src/lib/python/AccessControl/Owned.py, line 271, in manage_fixupOwnershipAfterAdd (Object: Traversable) SuperCannotOwn: (see above) Well I Will Be Waiting your Answer thanks For Your Help Sincerly Manuel Alejandro Peña Sànchez ___ 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] Calling obj. in index_html
hi, I have an external fs object called ftp, in a folder called ftp. I had to put it in the folder so I could add users and what not. I would like to call the object in my index_html so I can do: http://www.bla.com/ftp rather than http://www.bla.com/ftp/ftp Can somone help w/ the dtml call? Thanks, j. .. . Jason C. Leach ... University College of the Cariboo. .. ___ 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] Calling obj. in index_html
dtml-with "ftp" dtml-var index_html /dtml-with Put in the first ftp folder. This will only work on the index_html. To "skip" the entire folder you will need an access rule. -- Andy McKay, Developer. ActiveState. - Original Message - From: "Jason C. Leach" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 13, 2000 11:12 AM Subject: [Zope] Calling obj. in index_html hi, I have an external fs object called ftp, in a folder called ftp. I had to put it in the folder so I could add users and what not. I would like to call the object in my index_html so I can do: http://www.bla.com/ftp rather than http://www.bla.com/ftp/ftp Can somone help w/ the dtml call? Thanks, j. .. . Jason C. Leach ... University College of the Cariboo. .. ___ 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] help
This refers to the user in Zope and has nothing to do with the file system. You must go into acl_users create a new user, then close your browser an log back in again as that user. The superuser is kind of an "emergency access only" user. I think we need an FAQ on this question, isn't there one around? -- Andy McKay, Developer. ActiveState. - Original Message - From: "Padrino" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 13, 2000 11:23 AM Subject: [Zope] help Well I Installed Zope But When I Want To Add A Folder Or A File The Next Mesagge Apearse to me Well I have This Permitions in every file of the zope 777 nobody:nobody With Red Hat 6.2 Zope Error Zope has encountered an error while publishing this resource. Error Type: SuperCannotOwn Error Value: Objects cannot be owned by the superuser 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 /root/src/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /root/src/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 187, in publish File /root/src/Zope-2.2.2-src/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook File /root/src/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 171, in publish File /root/src/Zope-2.2.2-src/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_addFolder) File /root/src/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_addFolder) File /root/src/Zope-2.2.2-src/lib/python/OFS/Folder.py, line 116, in manage_addFolder File /root/src/Zope-2.2.2-src/lib/python/OFS/ObjectManager.py, line 267, in _setObject (Object: ApplicationDefaultPermissions) File /root/src/Zope-2.2.2-src/lib/python/AccessControl/Owned.py, line 271, in manage_fixupOwnershipAfterAdd (Object: Traversable) SuperCannotOwn: (see above) Well I Will Be Waiting your Answer thanks For Your Help Sincerly Manuel Alejandro Peña Sànchez ___ 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] help
You need to add a user. The superuser cannot own any objects inside zope. Go to the folder called acl_users and add a user with manager permissions. Close all copies of your browser. Open a new one and login as the new user. Then you will be able to add objects. See also: http://www.zope.org/Members/michel/ZB/ Troy -Original Message- From: Padrino [mailto:[EMAIL PROTECTED]] Sent: Monday, November 13, 2000 1:24 PM To: [EMAIL PROTECTED] Subject: [Zope] help Well I Installed Zope But When I Want To Add A Folder Or A File The Next Mesagge Apearse to me Well I have This Permitions in every file of the zope 777 nobody:nobody With Red Hat 6.2 Zope Error Zope has encountered an error while publishing this resource. Error Type: SuperCannotOwn Error Value: Objects cannot be owned by the superuser 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 /root/src/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /root/src/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 187, in publish File /root/src/Zope-2.2.2-src/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook File /root/src/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 171, in publish File /root/src/Zope-2.2.2-src/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_addFolder) File /root/src/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_addFolder) File /root/src/Zope-2.2.2-src/lib/python/OFS/Folder.py, line 116, in manage_addFolder File /root/src/Zope-2.2.2-src/lib/python/OFS/ObjectManager.py, line 267, in _setObject (Object: ApplicationDefaultPermissions) File /root/src/Zope-2.2.2-src/lib/python/AccessControl/Owned.py, line 271, in manage_fixupOwnershipAfterAdd (Object: Traversable) SuperCannotOwn: (see above) Well I Will Be Waiting your Answer thanks For Your Help Sincerly Manuel Alejandro Peña Sànchez ___ 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] Advanced search in ZCatalog
Hi ! [EMAIL PROTECTED] wrote: Usually, I use an external method returning a string containing the text from all the fields I want to search on, and I index THAT field in the Catalog. It works great! Isn't that what PrincipiaSearchSource is used for ? BTW: I know that PrincipiaSearchSource can be an external method, but maybe someone knows whether it could also be a DTML Method ? Regards, Maik Röder ___ 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
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Padrino Error Type: SuperCannotOwn Error Value: Objects cannot be owned by the superuser This is a Zope security feature that is confusing the first time you meet it. the Zope super user cannot own objects in Zope. Just add a new user in acl_user in your Zope root and give that user Manger rights. Then you can do what you expect. Regards Max M Btw. You should probably use a more descriptive subject in your e-mails. It was by coincidence that I opened it. "Help" isn't terribly descriptive and time is short. ___ 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
-Original Message- From: Padrino [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: 13 íîÿáðÿ 2000 ã. 22:40 Subject: [Zope] help Error Type: SuperCannotOwn Error Value: Objects cannot be owned by the superuser ^^ this is the answer (: create a new user, login as the newly created user and try to do what you wanted. regards -- pashah ___ 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
BTW: Im not a Unix guru but I dont think having everythin 777 is the most secure way of maintaining your installation... -- Andy McKay, Developer. ActiveState. - Original Message - From: "Andy McKay" [EMAIL PROTECTED] To: "Padrino" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, November 13, 2000 11:37 AM Subject: Re: [Zope] help This refers to the user in Zope and has nothing to do with the file system. You must go into acl_users create a new user, then close your browser an log back in again as that user. The superuser is kind of an "emergency access only" user. I think we need an FAQ on this question, isn't there one around? -- Andy McKay, Developer. ActiveState. - Original Message - From: "Padrino" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 13, 2000 11:23 AM Subject: [Zope] help Well I Installed Zope But When I Want To Add A Folder Or A File The Next Mesagge Apearse to me Well I have This Permitions in every file of the zope 777 nobody:nobody With Red Hat 6.2 Zope Error Zope has encountered an error while publishing this resource. Error Type: SuperCannotOwn Error Value: Objects cannot be owned by the superuser 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 /root/src/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /root/src/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 187, in publish File /root/src/Zope-2.2.2-src/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook File /root/src/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 171, in publish File /root/src/Zope-2.2.2-src/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_addFolder) File /root/src/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_addFolder) File /root/src/Zope-2.2.2-src/lib/python/OFS/Folder.py, line 116, in manage_addFolder File /root/src/Zope-2.2.2-src/lib/python/OFS/ObjectManager.py, line 267, in _setObject (Object: ApplicationDefaultPermissions) File /root/src/Zope-2.2.2-src/lib/python/AccessControl/Owned.py, line 271, in manage_fixupOwnershipAfterAdd (Object: Traversable) SuperCannotOwn: (see above) Well I Will Be Waiting your Answer thanks For Your Help Sincerly Manuel Alejandro Peña Sànchez ___ 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 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] Advanced search in ZCatalog
PrincipiaSearchSource is a method that returns the (for example) text of you object. If you have a class that is being catalogued, as it catalogs it calls each index (be it a method or a property). So you can fiddle with your indexes by fiddling with your methods, such as PrincipiaSearchSource. -- Andy McKay, Developer. ActiveState. - Original Message - From: "Maik Röder" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, November 13, 2000 11:39 AM Subject: Re: [Zope] Advanced search in ZCatalog Hi ! [EMAIL PROTECTED] wrote: Usually, I use an external method returning a string containing the text from all the fields I want to search on, and I index THAT field in the Catalog. It works great! Isn't that what PrincipiaSearchSource is used for ? BTW: I know that PrincipiaSearchSource can be an external method, but maybe someone knows whether it could also be a DTML Method ? Regards, Maik Röder ___ 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] Form variables with same name as folder names
1) the ZSQL manual, http://www.zope.org/Documentation/Guides/ZSQL-HTML/ZSQL.1.4.4.html, says that the first lookup should be variables in HTTP_REQUEST. So why is FOO referring to my folder FOO? Its true it does and I found the exact problem. A chance to lob this bug into the collector. 2) is there some way I could have referred to the variable FOO in my Z SQL method without resorting to renaming the variable in my form? Rename your folder :) ___ 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] Where to store my data?
I've just started playing with Zope again, and this time I'm going to spend enough time with it to actually decide if it's crazy or I am :) My project currently consists of a bunch of community "modules" written in PHP using MySQL as a data store. Each modules PHP code produces an XML page, by running a bunch of queries in the database, and performing some logic. These XML pages are then processed using XSLT, with a model very similar to Acquisition. I'm getting very tired of the poor language design inherent in PHP, and wanted to start using Python again. (Big reason for doing this work: In the current package, each module is only accessible from a hardcoded URL, such as /links for the Links module, etc. Many of my customers want to change the layout of their site, and in fact maybe have two Links modules, etc.) So far, sounds like Zope would be a great system for me. It would give my customers a good platform to customize their sites, and give me a good platform to build my modules with. Now, short of just doing it and then discovering what I did wrong, I'm hoping to get some advice from the Zope community on how to structure this system. This is a fairly large system, I host about 10 customers per box, serving about 4MM page views. 99% of the pages are dynamic, doing real-time database queries. Some of my first questions: -Is Zope a good choice for this kind of project? -Which is better: Store my content (Forum posts, Links, etc) in ZODB, or a MySQL database? -Build my Product (right term?) in DTML/ZClasses (seems easier for my users to customize?) or build it in Python? -Can I (easily) build this system in 4 layers: Content -- actual low-level storage, rarely customized Logic/Object Representation -- layer used to interact with the content, also rarely customized, although does have configuration options XML (page contents) -- every URL should result in an XML document, containing all the information that will be presented on that page. Written in DTML? XSLT (page rendering) -- the XML documents must be transformed into HTML/etc. These transformations, like the page contents should be inherited; excuse me, acquired. -Simple things should be simple, Complex things should be possible. -- My users should be able to plop a Links module into their site, edit the Properties for that Object, and it works. If they want to change the way Links are categorized, they should be able to, although it'll take a while longer :) Thanks for your Zen, -Randy
Re: [Zope] help
Andy McKay wrote: BTW: Im not a Unix guru but I dont think having everythin 777 is the most secure way of maintaining your installation... -- Andy McKay, Developer. ActiveState. Hi Andy, actually, if you are talking about permissions, this setting gives anyone in the world read write and execution access to your document(s)/directory(ies). I think you want to set permissions as 755, with owner and group set to nobody (at least for the /opt/zope directory and sub-directories. (allows only owner write access) : ) ciao! greg. ___ 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: Advanced search in ZCatalog (Micha)
Hi, I played with ZCatalog and ZClasses a time ago. Due to the fact that ZCatalog can Index all Objects - You Can Index a Method, .!!! This Methods can be External-, Phython-, or DTML-Methods. But they have to return something to the catalog (DTML-RETURN Tag). You can give this method a name like "PrincipiaSearchSource" or what the hell you think of. In my case I index about 10 different ZClass, 100 Instances of them, with a PythonMethod called text_inhalt (text_contents) Param: self Code return string.join((self.id, self.inhalt), '; ') Or in an subclass return string.join((self.id, self.teaser, self.gericht, self.keys, self.art, self.norm, self.parteien), '; ') Be warned you can use a DTML Method and return something with the dtml-return tag, but this is not working very well within a ZCLass, !!! ?? P.S.: If you want to call a resultObject (e.g. a ZClass) directly through Zope/DTML/Python use the PyMethod "fetchObj" much cooler than only via catalog.getpath (which is link /hfg/kkjk/) to do somthing like this: dtml-in mein Result from a canned search dtml-call "REQUEST.set('meineURL',fetchObj(_,Catalog.getpath(_.int(_['sequence-item']) )))"convert /parent/child to an real object parent.child dtml-var meineURL *** points to a ZClass [Base:Renderable] calling the Object/Class directly, which renders itself /dtml-in use something like this: Python Method: fetchObj Param: _,fetchStr, attr=None obj = _ for p in string.split(fetchStr, '/'): obj = obj[p] if attr is None: return obj else: return render(_.getattr(obj, attr)) Greetings from Heidelberg Michael Kobald ___ 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] SSL and relative links (URLs)
Hello all, I am running Zope 2.2.2 and accessing it through Apache FastCGI. I want to access some of the content through SSL and some without. What I have done is set up 2 FastCgiExternalServer directives in Apache. One in the non-SSL area (/non-SSL/dir/zope) and one in the SSL enabled area (/SSL/dir/zope_ssl). BTW, this is the only way I have figured out to be able to serve zope content through both SSL and non-SSL enabled delivery on a single zope server. The obvious problem here is that content meant for SSL can be accessed through non-SSL and vice-versa. If anyone has come up better solution, please let me know. My real problem is that when I call a zope object relatively (ex- href="zope_object" instead of href="zope_object.absolute_url()" or href="https://bla.com/zope/zope_object"), the protocol is displayed as http instead of https. I had this problem with absolute_url() until I installed SSLAbsoluteURL (shameless SSLAbsoluteURL plug). Is there anyway to remedy this situation with relative links? Thanks, Dustin ___ 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] Calling obj. in index_html
I had to catch myself. expr="Bad Jimbo" I guess calling it versus inserting it achieves the same results. Just to clarify this would render a string "_['ftp']" right? -Jimbo ___ 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] Monkeying with the Zope database
I've been toying with the Zope database and I'm probably alomst to the point where I know enough to be dangerous. I am trying to make a few changes to the stuff in the Zope database without actually running Zope. Here's what I'm tring to do: 1 - Create a new user in the top level acl_users folder 2 - import a file "login.zexp" into the top level folder (login.zexp has been copied to the import directory) Here's some code I've written: -- import sys sys.path.insert(0, '/home/zope/lib/python') import Zope appRoot = Zope.DB.open().root()['Application'] # create a new user appRoot['acl_users']._doAddUser(name='ThisWebSiteIsMine-SoThere', password='pw', roles=['Manager'], domains=[]) get_transaction().commit() # login as that user owner = appRoot['acl_users'].getUserById('ThisWebSiteIsMine-SoThere') Zope.AccessControl.SecurityManagement.newSecurityManager(None, owner) # import login.zexp and take ownership appRoot.manage_importObject('login.zexp', set_owner=1) get_transaction().commit() -- Here's the resulting traceback: -- Traceback (innermost last): File "go.py", line 22, in ? appRoot.manage_importObject('login.zexp', set_owner=1) File "/home/zope/lib/python/OFS/ObjectManager.py", line 526, in manage_importObject self._setObject(id, ob, set_owner=set_owner) File "/home/zope/lib/python/OFS/ObjectManager.py", line 267, in _setObject object.manage_fixupOwnershipAfterAdd() File "/home/zope/lib/python/AccessControl/Owned.py", line 273, in manage_fixupOwnershipAfterAdd self.changeOwnership(user) File "/home/zope/lib/python/AccessControl/Owned.py", line 166, in changeOwnership new=ownerInfo(user) File "/home/zope/lib/python/AccessControl/Owned.py", line 297, in ownerInfo db=user.aq_inner.aq_parent AttributeError: aq_inner -- It appears to be dying while trying to set the ownership. There's a good chance that I'm going about this all the wrong way (I'm new at this stuff). Any help to fix up what I've tryed or new ways to approach the problem will be appreciated. Thanks, Steve ___ 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] Calling obj. in index_html
In the wonderful world of DTML dtml-with ftp dtml-with "ftp" dtml-with expr="ftp" dtml-with expr="_['ftp']" dtml-with expr="_.getitem('ftp')" etc... all work for folders. I know dtml-var foo is different from dtml-var "foo". But whilst its always been summarised that one "is python" and one "isnt", the exact difference I couldn't tell you without hunting through the DT source. wild guess Both dtml-var foo and dtml-var "foo" both render the string of foo, its just that the latter doesnt parse the resulting html/wild guess, but things are different for dtml-with compared to dtml-var. Maybe someone more expert than me would like to jump in... -- Andy McKay, Developer. ActiveState. - Original Message - From: "jimbo" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 13, 2000 1:30 PM Subject: [Zope] Calling obj. in index_html I had to catch myself. expr="Bad Jimbo" I guess calling it versus inserting it achieves the same results. Just to clarify this would render a string "_['ftp']" right? -Jimbo ___ 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 to store my data?
Some of my first questions: -Is Zope a good choice for this kind of project? Yes. -Which is better: Store my content (Forum posts, Links, etc) in ZODB, or a MySQL database? Depends. I prefer to put put large (in size or number) or frequently changed content in SQL and small static content in Zope. -Build my Product (right term?) in DTML/ZClasses (seems easier for my users to customize?) or build it in Python? Python. I would say its going to be pretty hard for a standard customer to change a Product and break your site. Your product should be configurable. -Can I (easily) build this system in 4 layers: Content-- actual low-level storage, rarely customized SQL Logic/Object Representation-- layer used to interact with the content, also rarely customized, although does have configuration options ZSQLMethods XML (page contents)-- every URL should result in an XML document, containing all the information that will be presented on that page. Written in DTML? XMLDocument. XSLT (page rendering)-- the XML documents must be transformed into HTML/etc. These transformations, like the page contents should be inherited; excuse me, acquired. XMLDocument. But I would have to say whilst XML is great, rendering it is normally slow. If you already have the document just use DTML and cut out a step. My 2 cents. -- Andy McKay, Developer. ActiveState. ___ 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 access column names in DTML Methods
On Tue, 14 Nov 2000, Jose Soares wrote: Hi all, I'm trying to display the column names of a Record object without success. I'm able to access column data using sequence-item but I don't know how to display column names. Here is some code I use in a production site: dtml-let Fields="sqlQuery().names()" dtml-in Fields do your loop stuff here /dtml-in /dtml-let I only used the dtml-let because I use the list twice... so; dtml-in "sqlQuery().names()" blah /dtml-in should work fine (not testsed.) I believe there is some more detail in what exactly is in an SQL return object (try the ZQR :) Thanks for any help José Have a better one, Curtis Maloney ___ 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] Form variables with same name as folder names
On Tue, 14 Nov 2000, "Burwell, Becky wrote: Hi. I am new to using Zope and just got stuck on the following problem. I am trying to use forms with an SQL database. I have a form with checkboxes and I use variables like FOO to capture the value. For example: input type="checkbox" name="FOO" value="1" The form has a post with the action to call a DTML document. In my DTML document I call a Z SQL Method called InsertMethod with REQUEST as the argument, for example InsertMethod(REQUEST). My Z SQL Method InsertMethod has arguments including FOO="" And then in the body of the Z SQL method I have: dtml-if FOO {code to insert into a database table} This working UNTIL I created a Folder named FOO. Then the value of FOO in the Z SQL method seemed to be the FOO folder and not FOO from REQUEST. My workaround was to call the variable FOOCHECKBOX. 2) is there some way I could have referred to the variable FOO in my Z SQL method without resorting to renaming the variable in my form? A sneaky problem indeed, and once again, one caused by "convenient" shortcuts. (o8 The simple answer: use REQUEST.form['FOO'] to refer to the form variable. The longer answer: To make life simpler on our key-weary fingers, DC made all the form variables part of the namespace, but put then sufficiently down the search path so they wouldn't get in the way of other objects. Most of the time this is just great, but occasionaly you do run into this problem. So, you can explicitly access all form variables with REQUEST.form[]... just as you can access all cookies via REQUEST.cookies[] I would advise you make a small DTML Document containing dtml-var REQUEST just to have a look at what it contains THEN go and check up the ZQR for all the members of REQUEST... and RESPONSE, while you're at it.. (o8 Thanks! *becky* Have a better one, Curtis Maloney ___ 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
On Tue, 14 Nov 2000, Gregory Haley wrote: Andy McKay wrote: BTW: Im not a Unix guru but I dont think having everythin 777 is the most secure way of maintaining your installation... -- Andy McKay, Developer. ActiveState. Hi Andy, actually, if you are talking about permissions, this setting gives anyone in the world read write and execution access to your document(s)/directory(ies). I think you want to set permissions as 755, with owner and group set to nobody (at least for the /opt/zope directory and sub-directories. (allows only owner write access) : ) Yes, I know we've wandered somewhat off topic, but hey... just this once.. (o8 Greg, Having all your dtml, html, py, pyc, doc and other files executable just doesn't make sense! In fact, if you make everything 440 except for in /var, where you make it 640, and owned by a "zope" user, this is the safest. Of course, it DOES mean you have to explicitly chmod any file you want to edit...so if you're not THAT paranoid, you could use 640 everywhere... If you put all the files in a zope group, then you can set the permissions 660, so only people in the Zope group can edit the files. ciao! greg. Have a better one, Curtis Maloney. P.S. sorry for rambling... i've just got into work, and not had my first coffee yet.. (o8 ___ 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
Hi Andy, actually, if you are talking about permissions, this setting gives anyone in the world read write and execution access to your document(s)/directory(ies). I think you want to set permissions as 755, with owner and group set to nobody (at least for the /opt/zope directory and sub-directories. (allows only owner write access) : ) Thats what I thought ugghhh... ___ 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 declining?
From: "Jason C. Leach" [EMAIL PROTECTED] 2. Many of the people are now way past the general skill level in this list and have lost interest. 3. Alt. sources of info like: irc.zope.net #Zope It's obvious when you see companies like www.cbsnewyork.com runing zope that it is gaining in market penetration. This site definitely is re-assuring. :) Thanks for the good news. I am nowadays more in the Javaland than Pythonland. Haven't tried irc in these years. It used to be that if newsgroups were cocaine, irc would be morphine, so I avoided it completely. :) regards, Hung Jung _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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] Where to store my data?
Randall, As to the use of xml/xsl. I'm in the process of creating a product called (originality abounds) nXMLDocument. This is a XML doc that can render itself based on a XSL stylesheet. At the moment it uses the Microsoft XSLT parser on Win32, but changing it to use another parser/os shouldn't be difficult at all. It works right now, the XML and the XSL can be built using DTML calls as well, so building XML from a database is very simple indeed, and using DTML in the XSL is just as useful. I'm looking for some alpha testers if your interested. Phil [EMAIL PROTECTED] - Original Message - From: Randall Kern To: [EMAIL PROTECTED] Sent: Monday, November 13, 2000 8:00 PM Subject: [Zope] Where to store my data? I've just started playing with Zope again, and this time I'm going to spend enough time with it to actually decide if it's crazy or I am :) My project currently consists of a bunch of community "modules" written in PHP using MySQL as a data store. Each modules PHP code produces an XML page, by running a bunch of queries in the database, and performing some logic. These XML pages are then processed using XSLT, with a model very similar to Acquisition. I'm getting very tired of the poor language design inherent in PHP, and wanted to start using Python again. (Big reason for doing this work: In the current package, each module is only accessible from a hardcoded URL, such as /links for the Links module, etc. Many of my customers want to change the layout of their site, and in fact maybe have two Links modules, etc.) So far, sounds like Zope would be a great system for me. It would give my customers a good platform to customize their sites, and give me a good platform to build my modules with. Now, short of just doing it and then discovering what I did wrong, I'm hoping to get some advice from the Zope community on how to structure this system. This is a fairly large system, I host about 10 customers per box, serving about 4MM page views. 99% of the pages are dynamic, doing real-time database queries. Some of my first questions: -Is Zope a good choice for this kind of project? -Which is better: Store my content (Forum posts, Links, etc) in ZODB, or a MySQL database? -Build my Product (right term?) in DTML/ZClasses (seems easier for my users to customize?) or build it in Python? -Can I (easily) build this system in 4 layers: Content-- actual low-level storage, rarely customized Logic/Object Representation-- layer used to interact with the content, also rarely customized, although does have configuration options XML (page contents)-- every URL should result in an XML document, containing all the information that will be presented on that page. Written in DTML? XSLT (page rendering)-- the XML documents must be transformed into HTML/etc. These transformations, like the page contents should be inherited; excuse me, acquired. -Simple things should be simple, Complex things should be possible. -- My users should be able to plop a Links module into their site, edit the Properties for that Object, and it works. If they want to change the way Links are categorized, they should be able to, although it'll take a while longer :) Thanks for your Zen, -Randy ___ 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: can multiple users access gadfly database simultaneously ?
jacintha menezes writes: When two users enter their login name password and press enter simultaniously,the first who entered among the two gets the following error. Error Type: SyntaxError Error Value: unexpected token sequence.near :: 'of_que\012from noq'*'' *** current state = 277 expects: '*', ';', ')', 'ORDER', ('nomatch1',) current token = ((-6, 'FROM'), 'FROM') That looks as if Gadfly would not be thread safe. More precisely, as if the parser state got mangled by concurrent thread activity. When I looked at the code of ZGadflyDA (some years ago), I thought that the Gadfly database adapter would set a global lock and therefore behave like a monitor. In such a case, such behaviour should not be observable. Maybe, I was mislead or something changed meanwhile. waiting for your immediate reply. ^ I am in doubt whether I shall get angry. I won't -- yet. But please keep in mind, that neither me nor the list has any obligations towards you. 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 )
[Zope] How to maintain an up-to-date mirror site in Zope? (not-so-newbiequestion!) question!)
Here is the situation, can you offer advice? Machine A is running a Zope server for a wide-area network in Company A. This is an Intranet site which changes regularly. Machine B serves a separate wide-area network in Company B, and Company B employees need access to Company A's intranet. The link between Machine A and Machine B is too slow/low-bandwidth for all of company B's employees to access A's intranet directly. Therefore we want to have a Zope server on Machine B with a mirror copy of the Company A intranet. The problem is, how can we keep this mirror copy updated on a daily basis? Ideally we need an automatic process to run each night and update the mirror on B. The ideas I had were : 1) stop B's Zope server, copy across data.fs and restart B. But can this be done automatically? 2) somehow keep a log of changes made in A, and at the end of day, export the changed files, import them on B, overwriting the originals. Can this be done in Zope code? Can this be automated? Does anyone have any thoughts/opinions on these ideas? Or does anyone know of a better way, perhaps an existing Zope package or solution? Thanks again, Alex == Alex Bowyer IT Contractor, Logica Australasia Tel: +61 2 9202 8130 Fax: +61 2 9922 7466 E-mail : [EMAIL PROTECTED] WWW: http://www.logica.com.au/ == ___ 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 maintain an up-to-date mirror site in Zope? (not-so-newbie question!) question!)
Have a look at the excellent Client_Server product. It allows you to export chunks of objects from one to another. http://www.zope.org/Members/MacGregor/Client_Server Then: - write a script that each evening - gets a list of every object in the data.fs and its bobobase_modification_time - runs export on each of those objects from A - B. -- Andy McKay, Developer. ActiveState. - Original Message - From: "Bowyer, Alex" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 13, 2000 4:00 PM Subject: [Zope] How to maintain an up-to-date mirror site in Zope? (not-so-newbie question!) question!) Here is the situation, can you offer advice? Machine A is running a Zope server for a wide-area network in Company A. This is an Intranet site which changes regularly. Machine B serves a separate wide-area network in Company B, and Company B employees need access to Company A's intranet. The link between Machine A and Machine B is too slow/low-bandwidth for all of company B's employees to access A's intranet directly. Therefore we want to have a Zope server on Machine B with a mirror copy of the Company A intranet. The problem is, how can we keep this mirror copy updated on a daily basis? Ideally we need an automatic process to run each night and update the mirror on B. The ideas I had were : 1) stop B's Zope server, copy across data.fs and restart B. But can this be done automatically? 2) somehow keep a log of changes made in A, and at the end of day, export the changed files, import them on B, overwriting the originals. Can this be done in Zope code? Can this be automated? Does anyone have any thoughts/opinions on these ideas? Or does anyone know of a better way, perhaps an existing Zope package or solution? Thanks again, Alex == Alex Bowyer IT Contractor, Logica Australasia Tel: +61 2 9202 8130 Fax: +61 2 9922 7466 E-mail : [EMAIL PROTECTED] WWW: http://www.logica.com.au/ == ___ 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] opinions please
hello, i am searching for opinions on a project i am considering. the project is to create a product or script to allow users to email documents into Zope as attachments. then the documents are to be placed in the proper folder according to information in the subject line of the email they rode in on. what i would like to know is, is this possible? if it is, how hard will this be to implement? the other idea was to create a client app where users can drop the document onto a desktop icon and the app uses webDAV to put it into Zope. would this be easier or harder? ___ 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 maintain an up-to-date mirror site in Zope? (not-so-newbiequestion!) question!)
Hi Alex, If the changes that are made are always 'one-way' you could rsync Data.fs, or you could 'export' certain folders that could then be 'imported' at the mirror site. These could both be automated pretty easily. As you noted, if you take the rsync route you'll need to shut down and restart Zope. If you do the export/import you can leave Zope running (though you may want to pack the DB afterwards.) Another nice feature of export/import is that you can have some parts of the site that are managed at company B and other parts managed by company A. An even better approach might be some kind of ZEO solution.. but I don't know anything about ZEO other than the name. ;-) -steve "Bowyer," == Bowyer, Alex [EMAIL PROTECTED] writes: Bowyer, Here is the situation, can you offer advice? Bowyer, Machine A is running a Zope server for a wide-area Bowyer, network in Company A. This is an Intranet site which Bowyer, changes regularly. Machine B serves a separate wide-area Bowyer, network in Company B, and Company B employees need access Bowyer, to Company A's intranet. The link between Machine A and Bowyer, Machine B is too slow/low-bandwidth for all of company Bowyer, B's employees to access A's intranet directly. Therefore Bowyer, we want to have a Zope server on Machine B with a mirror Bowyer, copy of the Company A intranet. The problem is, how can Bowyer, we keep this mirror copy updated on a daily basis? Bowyer, Ideally we need an automatic process to run each night Bowyer, and update the mirror on B. Bowyer, The ideas I had were : Bowyer, 1) stop B's Zope server, copy across data.fs and restart Bowyer, B. But can this be done automatically? Bowyer, 2) somehow keep a log of changes made in A, and at the Bowyer, end of day, export the changed files, import them on B, Bowyer, overwriting the originals. Can this be done in Zope code? Bowyer, Can this be automated? Bowyer, Does anyone have any thoughts/opinions on these ideas? Or Bowyer, does anyone know of a better way, perhaps an existing Bowyer, Zope package or solution? Bowyer, Thanks again, Bowyer, Alex Bowyer, == Alex Bowyer IT Bowyer, Contractor, Logica Australasia Tel : +61 2 9202 8130 Fax Bowyer, : +61 2 9922 7466 E-mail : [EMAIL PROTECTED] WWW : Bowyer, http://www.logica.com.au/ Bowyer, == Bowyer, ___ Zope Bowyer, maillist - [EMAIL PROTECTED] Bowyer, http://lists.zope.org/mailman/listinfo/zope ** No cross Bowyer, posts or HTML encoding! ** (Related lists - Bowyer, http://lists.zope.org/mailman/listinfo/zope-announce Bowyer, 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] Form variables with same name as folder names
On Tue, 14 Nov 2000, "Burwell, Becky wrote: This working UNTIL I created a Folder named FOO. Then the value of FOO in the Z SQL method seemed to be the FOO folder and not FOO from REQUEST. My workaround was to call the variable FOOCHECKBOX. 2) is there some way I could have referred to the variable FOO in my Z SQL method without resorting to renaming the variable in my form? A sneaky problem indeed, and once again, one caused by "convenient" shortcuts. (o8 The simple answer: use REQUEST.form['FOO'] to refer to the form variable. I just did an experiment and if I do the following my SQL Method: dtml-if REQUEST.form['FOO'] this is never true. If I do: dtml-if "REQUEST.form['FOO']" or dtml-if "REQUEST.form['FOO]=='1'" I get name errors with REQUEST being unknown. The REQUEST.form thing works in the DTML document that calls the SQL method but not in the SQL method itself. *becky* ___ 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] FYI: Digital Creations secures $12M round of investment
Hello Zope friends. At long last we at Digital Creations are able to publicly say it: we've closed a $12M round of investment: http://www.digicool.com/News/CRound.html It's out on the newswire now. We'll start pushing it out more over the next 24 hours. This, needless to say, is a big deal, one that we've worked on really, really hard this year. With the tech market downturn since March, and with Open Source particularly getting a beating, it's vindicating to get good funding from strong partners. When everyone else was getting wads of cash during the go-go times, we were quietly at work, being frugal, making money, making a business case, and being profitable. We're proud to say that we got our money when money was hard to find. Let's put it this way: Open Source business is hardly dead. It's just different, and better. What will this mean? First and foremost, Zope and Digital Creations will become very competitive, very quickly, along a number of axes. As the PythonLabs move indicated, we are taking aggressive steps to become a dramatic force in the worlds of content management, web application services, and Open Source leadership. With this round, our business model has been validated. As a member of the Zope community, I view this as "the dream delivered". Many of us care deeply about this thing we're involved in, and sometimes it feels like a longshot. Though this is still a David vs. Goliath, David now has a slingshot, and a bit of steel in his eye. Thanks go to the folks here at DC, to the Zope and Python communities, and to the companies around the world that are basing their business on Zope. Onward! --Paul ___ 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] can multiple users access gadfly database simultaneously ?
Hi, Thanks for your response.I am sorry for the way of my writing. Sincerely to tell you ,by the word 'immediately' i meant request not command.Anyhow hope you have forgiven me. May i know ,is there any way to solve my problem ?. Should i create a work space or should i lock the page(till one person completes).Are there any dtml tags tags for these purposes or we have to write o python module ?. Thanks, Bye, jacintha ___ 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] opinions please
The ZMailIn product may be of interest. -Simon ___ 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] requests for some dtml tags
On Mon, 13 Nov 2000, jacintha menezes wrote: Is there any dtml tags for creating a new work space also for locking some page.Locking some page in the sense for second user the operations in that page should not be processed unless the process for first user is completed.If there dtml tags for these kindly give me those tags. Read some docs about Sessions and Versions. As usual, what can be done via management interface, can be done programatically too. [EMAIL PROTECTED] /--\ | `long long long' is too long for GCC | \--/ ___ 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] FYI: Digital Creations secures $12M round of investment
Let me be among the first to say, "Congratulations." I know you guys have worked for this, and I'm glad to see it came through. --Jeff ___ 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] LDAP variable problem
At 08:09 14.11.2000 +1100, you wrote: Have you had a look at what the filter method returns when you press use "Test" tab? The test (uid=*) shows me all the data from the LDAP server. If in the dtml-method, I insert dtml-var searchPerson (where searchPerson is my LDAP filter), following data is shown: [Entry instance at 34436080; uid=LLAMPACH,ou=people,o=isp.lu, Entry instance at 34436016; uid=JTHEIS,ou=people,o=isp.lu, Entry instance at 34437904; uid=mludwig,ou=people,o=isp.lu, .. So, the connection to the LDAP server is ok, and the LDAP-filter finds some data. You may find some clues there in the data that it returns (if you have got your LDAP search filter typed in correctly...) hmmm? Marc Ludwig Luxembourg - Michael Melbourne, Australia At 09:32 AM 13/11/2000 +0100, you wrote: Hi. I was inserting the "missing=nbsp;" statement into the dtml-var sn key. In fact, I don't get the key error anymore. But unfortunately, I don't get the values of the sn attribute either. The method just returns me an empty line for every LDAP entry. How can I access the LDAP attributes? any ideas? Thanks a lot. Marc Ludwig Luxembourg At 14:29 12.11.2000 +1100, you wrote: Hi Zopistas, Firstly, a big thank you to all thos epeople who helped me with KeyError problem when accessing LDAP entries. Just so the solution makes it onto the mailing list archive (for the next bunny who has the same problem) the solution was to add the following to each of your variables missing=nbsp; ...so that when Zope came across entries without that attribute it didn't barf. I now have one last problem. I can now access all entries from the LDAP directory using the notation dtml-var sn missing = nbsp;- all except one - the "title" attibute . I am guessing that it is because Zope uses "title" to reference the title of the object in the zope database, and therefore won't let you get at the ldap variable using the normal: dtml-var title notation. Is there any way I can pinpoint the LDAP variable instead of the object title in zope? I have no control over the ldap server and attributes name, so I can't change it at that end. When I test the LDAP filter method I can see the variable (it lists all of the attributes of the LDAP record), but I can't reference it in DTML. My filter method is called 'Academics' and just extracts a list of academics in the biology department here at Monash University. I'm sure there must be a way using python notation, but not being a python expert (yet!), I could do with a few clues... Any ideas? Thanks again... - Michael ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] strange error on first load of zope page
The first page I try and load after restarting the zserver invariably contains the following error. It always occurs *after* the page has successfully been rendered (I have added debugging so that I can see the path traversal, and SQL statements executed). Hitting reload will then display the page properly, and I won't see the error again until i restart the server. (The actual text from the html source is 'Cannot pickle type 'module' objects') It seems perfectly reasonable to me that you can't pickle a module, but what I'm having trouble understanding is why zope is trying to. Can anyone suggest a way that I could try and track down why this is happening? thanks, toby. === Zope has encountered an error while publishing this resource. Error Type: UnpickleableError Error Value: Cannot pickle objects ... Traceback (innermost last): File /export/home/toby/zope/Zope2/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /export/home/toby/zope/Zope2/lib/python/ZPublisher/Publish.py, line 187, in publish File /export/home/toby/zope/Zope2/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: proj) File /export/home/toby/zope/Zope2/lib/python/ZPublisher/Publish.py, line 175, in publish File /export/home/toby/zope/Zope2/lib/python/Zope/__init__.py, line 235, in commit File /export/home/toby/zope/Zope2/lib/python/ZODB/Transaction.py, line 251, in commit File /export/home/toby/zope/Zope2/lib/python/ZODB/Connection.py, line 349, in commit (Info: (('Products.ExternalMethod.ExternalMethod', 'ExternalMethod'), '\000\000\000\000\000\000\032 ', '')) UnpickleableError: (see above) -- [ Toby Sargeant : Inpharmatica : Developer : [EMAIL PROTECTED] ] [ http://www.inpharmatica.co.uk : 020 7631 4644 fax 020 7631 4844 ] ___ 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-dev] strange error on first load of zope page
[Toby Sargeant] | It seems perfectly reasonable to me that you can't pickle a module, but what | I'm having trouble understanding is why zope is trying to. Can anyone suggest | a way that I could try and track down why this is happening? My guess is that you've got a packaged module, in the same directory as your external method. I.e., if your external module does an 'import somemodule', and you've got a 'module.py'-file and a 'module'-directory, you'll get this error.. (because python loads package-like modules first). HTH. -Morten ___ 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 to store my data?
Randall, You're crazy (or rather, you will be by the end of it...) Seriously though, I've spent 3 months developing a site using Zope, and just now is it starting to feel a bit more natural to use. Probably not knowing Python was a handicap. I chose the RDBMS approach to store posts, etc as I was familiar with SQL. I still don't think you can beat the search capabilities of a properly designed database, and Zope does make SQL integration straightforward. Zope has all the right characteristics for what you want to do, but it may send you 'round the twist making it happen! Good luck! Steve - Original Message - From: Randall Kern To: [EMAIL PROTECTED] Sent: Tuesday, November 14, 2000 7:00 AM Subject: [Zope] Where to store my data? I've just started playing with Zope again, and this time I'm going to spend enough time with it to actually decide if it's crazy or I am :) My project currently consists of a bunch of community "modules" written in PHP using MySQL as a data store. Each modules PHP code produces an XML page, by running a bunch of queries in the database, and performing some logic. These XML pages are then processed using XSLT, with a model very similar to Acquisition. I'm getting very tired of the poor language design inherent in PHP, and wanted to start using Python again. (Big reason for doing this work: In the current package, each module is only accessible from a hardcoded URL, such as /links for the Links module, etc. Many of my customers want to change the layout of their site, and in fact maybe have two Links modules, etc.) So far, sounds like Zope would be a great system for me. It would give my customers a good platform to customize their sites, and give me a good platform to build my modules with. Now, short of just doing it and then discovering what I did wrong, I'm hoping to get some advice from the Zope community on how to structure this system. This is a fairly large system, I host about 10 customers per box, serving about 4MM page views. 99% of the pages are dynamic, doing real-time database queries. Some of my first questions: -Is Zope a good choice for this kind of project? -Which is better: Store my content (Forum posts, Links, etc) in ZODB, or a MySQL database? -Build my Product (right term?) in DTML/ZClasses (seems easier for my users to customize?) or build it in Python? -Can I (easily) build this system in 4 layers: Content -- actual low-level storage, rarely customized Logic/Object Representation -- layer used to interact with the content, also rarely customized, although does have configuration options XML (page contents) -- every URL should result in an XML document, containing all the information that will be presented on that page. Written in DTML? XSLT (page rendering) -- the XML documents must be transformed into HTML/etc. These transformations, like the page contents should be inherited; excuse me, acquired. -Simple things should be simple, Complex things should be possible. -- My users should be able to plop a Links module into their site, edit the Properties for that Object, and it works. If they want to change the way Links are categorized, they should be able to, although it'll take a while longer :) Thanks for your Zen, -Randy