Re: [Zope-dev] searching for __call__

2000-11-13 Thread Chris Withers
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]

[Zope-dev] CatalogTNG

2000-11-13 Thread Chris Withers
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

Re: [Zope-dev] ZCatalog + ZCatalog

2000-11-13 Thread Chris Withers
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

[Zope-dev] how do i check if it is an array

2000-11-13 Thread Veiko Schnabel
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

Re: [Zope-dev] how do i check if it is an array

2000-11-13 Thread Morten W. Petersen
[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

[Zope-dev] ZPatterns: Dataskin property sheets

2000-11-13 Thread Roch'e Compaan
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

Re: [Zope-dev] PythonMethods: Can't Slice context.REQUEST.PARENTS

2000-11-13 Thread Evan Simpson
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

[Zope-dev] Re: [Zope] FIX for the infamous __call__ bug - testers needed!

2000-11-13 Thread Chris Withers
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

Re: [Zope-dev] License issues

2000-11-13 Thread Lalo Martins
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

Re: [Zope-dev] FIX for the infamous __call__ bug - testers needed!

2000-11-13 Thread Steve Alexander
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

Re: [Zope-dev] ZPatterns: Remapping object from on to another specialist

2000-11-13 Thread Phillip J. Eby
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

Re: [Zope-dev] Membership and latest LoginManager

2000-11-13 Thread Phillip J. Eby
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

[Zope-dev] OracleStorage, and possibly others

2000-11-13 Thread Lalo Martins
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

Re: [Zope-dev] Membership and latest LoginManager

2000-11-13 Thread Dan L. Pierson
"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

[Zope-dev] FW: Mailman results for Zope-Dev

2000-11-13 Thread T.J. Mannos
-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

[Zope-dev] unbuffered html from external method

2000-11-13 Thread 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. (I have a very long running and expensive external method, I'd like to print out status to the user) TIA.

[Zope-dev] Specialists, Racks, and Objects, oh my!

2000-11-13 Thread Bill Anderson
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

[Zope-dev] Zpatterns, and ttw products distribution

2000-11-13 Thread jimbo
. 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]

Re: [Zope-dev] unbuffered html from external method

2000-11-13 Thread Morten W. Petersen
[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

Re: [Zope-dev] Specialists, Racks, and Objects, oh my!

2000-11-13 Thread Phillip J. Eby
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

Re: [Zope-dev] ZPatterns: Remapping object from on to another specialist

2000-11-13 Thread Steve Spicklemire
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

Re: [Zope-dev] Specialists, Racks, and Objects, oh my!

2000-11-13 Thread Steve Spicklemire
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

[Zope-dev] ZPatters: Roles and remapping

2000-11-13 Thread Roch'e Compaan
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

[Zope-dev] FIX for the infamous __call__ bug - testers needed!

2000-11-13 Thread Brian Lloyd
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

[Zope-dev] strange error on first load of zope page

2000-11-13 Thread Toby Sargeant
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

[Zope] cross-referencing product

2000-11-13 Thread Robin Becker
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

Re: [Zope] LDAP variable problem

2000-11-13 Thread zope
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

Re: [Zope] Newbie question(s)

2000-11-13 Thread Rik Hoekstra
"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

Re: [Zope] Cloning a ZClass-Instance

2000-11-13 Thread Sven Hohage
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

Re: [Zope] make sequence-item into sequence_item!

2000-11-13 Thread Chris Withers
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

Re: [Zope] HiperDom

2000-11-13 Thread Chris Withers
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

Re: [Zope] User Source choices

2000-11-13 Thread Holger Lehmann
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

[Zope] Higher Educatoin Portal/Admin

2000-11-13 Thread Dario Lopez-Kästen
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

[Zope] Website search

2000-11-13 Thread Stephan Goeldi
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

Re: [Zope] HiperDom

2000-11-13 Thread Rik Hoekstra
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

Re: [Zope] Website search

2000-11-13 Thread Morten W. Petersen
[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

[Zope] Test - Is both the maillist and www.zope.org down?

2000-11-13 Thread Max Møller Rasmussen
??? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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?

2000-11-13 Thread Takashi Veikko Linzbichler
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

RE: [Zope] Can I run Zope with i-Planet?

2000-11-13 Thread Thiebaut CHAMPENIER
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] Advanced search in Zcatalog...

2000-11-13 Thread daniel dias
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

Re: [Zope] HiperDom

2000-11-13 Thread Rik Hoekstra
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

Re: [Zope] Sybase (again?)

2000-11-13 Thread Ralph Heinkel
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

[Zope] How to access column names in DTML Methods

2000-11-13 Thread Jose Soares
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

[Zope] Building dynamically class instances using external methods.

2000-11-13 Thread Hannes Grund
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

Re: [Zope] Higher Educatoin Portal/Admin

2000-11-13 Thread Tiago Antão
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

Re: [Zope] HiperDom

2000-11-13 Thread Lalo Martins
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

Re: [Zope] HiperDom

2000-11-13 Thread Lalo Martins
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"

Re: [Zope] Higher Educatoin Portal/Admin

2000-11-13 Thread Shane Hathaway
"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] DatabaseAdaptor Problem

2000-11-13 Thread Claudio Biasiolo
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?

Re: [Zope] Website search

2000-11-13 Thread Andy McKay
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.

Re: [Zope] Higher Educatoin Portal/Admin

2000-11-13 Thread Andy McKay
[..] 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

Re: [Zope] [ANNOUNCE] New Minimal product How-To

2000-11-13 Thread Andy McKay
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:

Re: [Zope] Dr.Watson on NT

2000-11-13 Thread TMGB
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

RE: [Zope] Zope declining?

2000-11-13 Thread Jason C. Leach
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

[Zope] Advanced search in ZCatalog

2000-11-13 Thread daniel dias
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

[Zope] Form variables with same name as folder names

2000-11-13 Thread Burwell, Becky [EMAIL PROTECTED]
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

Re: [Zope] Advanced search in ZCatalog

2000-11-13 Thread Andy McKay
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

RE: [Zope] Advanced search in ZCatalog

2000-11-13 Thread Menard . Jean-Francois
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

[Zope] help

2000-11-13 Thread Padrino
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:

[Zope] Calling obj. in index_html

2000-11-13 Thread Jason C. Leach
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?

Re: [Zope] Calling obj. in index_html

2000-11-13 Thread Andy McKay
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:

Re: [Zope] help

2000-11-13 Thread Andy McKay
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

RE: [Zope] help

2000-11-13 Thread Farrell, Troy
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:

Re: [Zope] Advanced search in ZCatalog

2000-11-13 Thread Maik Röder
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

RE: [Zope] help

2000-11-13 Thread Max M
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

Re: [Zope] help

2000-11-13 Thread Pavel
-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

Re: [Zope] help

2000-11-13 Thread Andy McKay
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,

Re: [Zope] Advanced search in ZCatalog

2000-11-13 Thread Andy McKay
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.

Re: [Zope] Form variables with same name as folder names

2000-11-13 Thread Andy McKay
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

[Zope] Where to store my data?

2000-11-13 Thread Randall Kern
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

Re: [Zope] help

2000-11-13 Thread Gregory Haley
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

[Zope] Re: Advanced search in ZCatalog (Micha)

2000-11-13 Thread michael Kobald
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

[Zope] SSL and relative links (URLs)

2000-11-13 Thread Dustin Engelhaupt
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

[Zope] Calling obj. in index_html

2000-11-13 Thread jimbo
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]

[Zope] Monkeying with the Zope database

2000-11-13 Thread Steve Jibson
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

Re: [Zope] Calling obj. in index_html

2000-11-13 Thread Andy McKay
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

Re: [Zope] Where to store my data?

2000-11-13 Thread Andy McKay
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

Re: [Zope] How to access column names in DTML Methods

2000-11-13 Thread Curtis Maloney
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

Re: [Zope] Form variables with same name as folder names

2000-11-13 Thread Curtis Maloney
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"

Re: [Zope] help

2000-11-13 Thread Curtis Maloney
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,

Re: [Zope] help

2000-11-13 Thread Andy McKay
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

RE: [Zope] Zope declining?

2000-11-13 Thread Hung Jung Lu
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

Re: [Zope] Where to store my data?

2000-11-13 Thread Phil Harris
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

[Zope] Re: can multiple users access gadfly database simultaneously ?

2000-11-13 Thread Dieter Maurer
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'*''

[Zope] How to maintain an up-to-date mirror site in Zope? (not-so-newbiequestion!) question!)

2000-11-13 Thread Bowyer, Alex
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

Re: [Zope] How to maintain an up-to-date mirror site in Zope? (not-so-newbie question!) question!)

2000-11-13 Thread Andy McKay
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

[Zope] opinions please

2000-11-13 Thread michael angelo ruberto
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

Re: [Zope] How to maintain an up-to-date mirror site in Zope? (not-so-newbiequestion!) question!)

2000-11-13 Thread Steve Spicklemire
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

RE: [Zope] Form variables with same name as folder names

2000-11-13 Thread Burwell, Becky [EMAIL PROTECTED]
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

[Zope] FYI: Digital Creations secures $12M round of investment

2000-11-13 Thread Paul Everitt
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

[Zope] can multiple users access gadfly database simultaneously ?

2000-11-13 Thread jacintha menezes
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

Re: [Zope] opinions please

2000-11-13 Thread Simon Michael
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

Re: [Zope] requests for some dtml tags

2000-11-13 Thread Aleksander Salwa
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

Re: [Zope] FYI: Digital Creations secures $12M round of investment

2000-11-13 Thread Jeff K. Hoffman
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

Re: [Zope] LDAP variable problem

2000-11-13 Thread zope
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

[Zope] strange error on first load of zope page

2000-11-13 Thread Toby Sargeant
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

[Zope] Re: [Zope-dev] strange error on first load of zope page

2000-11-13 Thread Morten W. Petersen
[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

Re: [Zope] Where to store my data?

2000-11-13 Thread Steve Smith
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