Re: [Zope] how do you pronounce 'ZOPE'?

2000-05-18 Thread Chris McDonough
ross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) -- Chris McDonough Digital Creations Publishers of Zope - http://www.zope.org ___ Zop

Re: [Zope] help with rpms on RedHat6.2

2000-05-19 Thread Chris McDonough
://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) -- Chris McDonough Digital Creations Publishers of Zope - http://www.zope.org

RE: [Zope] Calling External Method...

2000-05-20 Thread Chris McDonough
DTML Method that calls the External Method: dtml-var standard_html_header h2dtml-var title_or_id/h2 dtml-let cmdLine="'./websim'" dtml-var "ExecCGI(cmdLine)" /dtml-let dtml-var standard_html_footer Geez, this is a pretty bad idea security-wise. Your xCGI Python function has

RE: [Zope] Memory creep

2000-05-21 Thread Chris McDonough
John, If you can figure out how to use them, the pair of methods implemented on the Control_Panel named "manage_debug" and "manage_profile" might help you... e.g. http://yourserver/Control_Panel/manage_debug . I can't give much in the way of explanation of them, there might be some good

RE: [Zope] Zclass inheritence

2000-05-21 Thread Chris McDonough
What does a product need to do in order to be a base class for a ZClass? It needs contain a class that is registered as a base class in the product's __init__.py "initialize()" method via "context.registerBaseClass()" e.g. context.registerBaseClass(ZCatalog.ZCatalog) See

Re: [Zope] Zclass inheritence

2000-05-22 Thread Chris McDonough
lass list contains the same selection of bases - no Zclasses among them. Same deal under 2.1.4. I think debuging mode is operating on the both of them, for what it's worth. Which bit of code should I start looking through, first? :-) -- Chris McDonough Digital Creations Publishers of Z

Re: [Zope] Executing an external program

2000-05-22 Thread Chris McDonough
owser. -=Brad=- ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) -- Chris McDonou

RE: [Zope] Subclassing from Custom Python Classes

2000-05-23 Thread Chris McDonough
You should also note that your subclass must obey the ZODB persistence rules, which basically state that mutable sub-objects should be treated immutably. For example, self.bird='parrot' # OK self.map['bird']='parrot' # NOT OK, will not trigger persistence

RE: [Zope] How to know the number of parents of an element ???

2000-05-24 Thread Chris McDonough
Errr... untested.. but should work. dtml-let a="_.len(PARENTS)" ... /dtml-let -Original Message- From: Frédéric QUIN [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 24, 2000 12:38 PM To: [EMAIL PROTECTED] Subject: [Zope] How to know the number of parents of an element ??? Hi

RE: [Zope] ANN: Perl For Zope

2000-05-25 Thread Chris McDonough
The only badness I can see coming out of this is this: At present, I can consult at a client who is running Zope, and I'm reasonably confident that I can read and understand all their code. When people can write their site half in Perl, I could well be stuck... unless I learn Perl :-)

RE: [Zope] ANN: Perl For Zope

2000-05-25 Thread Chris McDonough
This is pretty silly. Very soon we'll be forced, 'cause most Products will be in Perl (yse, I've read the FAQ and saw "no Perl Products"; it's temporary, mark you). ___ Zope maillist - [EMAIL PROTECTED]

RE: [Zope] Using relational DB for ZODB storage

2000-05-25 Thread Chris McDonough
Ivan... Hi, It's a "grassroots" effort. Jonothan Farr ([EMAIL PROTECTED]) is heading up the project, and I'm helping. We've gotten a few prototype versions up and running using MySQL and Interbase, but I'd say we're a few weeks away from being able to release an alpha. You can get more

RE: [Zope] ANN: Perl For Zope

2000-05-25 Thread Chris McDonough
Ooo Ooo - XSLT? Presumably I should read your sentence as "You will have the option of using Perl as well as XSLT methods pretty soon" and not "Thou wilt need Perl to get XSLT methods" ? :) The former... see http://www.zope.org/Wikis/zope-xml/UseCases

Re: [Zope] ?

2000-05-28 Thread Chris McDonough
Yeah, the machine the hosts the mail lists is a little confused right now. I'm working on it... Up until a little while ago, and since Friday evening, mail addressed to the mail list wasn't going anywhere at all. Sorry folks!! This should be fixed in a little bit... "Patrick J.M. Keane"

Re: [Zope] Hot backups

2000-05-28 Thread Chris McDonough
Patrick, as the Data.fs file is always appended to (as opposed to being overwritten in places), I think you should be OK backing it up on the fly. "Patrick J.M. Keane" wrote: Is there any facility in Zope for doing a hot backup, without shuting down zope, taking a backup copy of var -- can

[Zope] Duplicate messages

2000-05-29 Thread Chris McDonough
Sorry about the continued dupes folks, I'm trying to flush the sendmail mqueue on the mail list server, and its processing rules are not as smart as I would have hoped. Hopefully once the flush is done we'll be back to normal... ___ Zope maillist -

[Zope] test

2000-05-29 Thread Chris McDonough
ignore please ___ Zope maillist - [EMAIL 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] import folder at other place than root

2000-05-29 Thread Chris McDonough
Peter, you can change this in the Python file lib/python/OFS/ObjectManager.py here: def manage_importObject(self, file, REQUEST=None): """Import an object from a file""" dirname, file=os.path.split(file) if dirname: raise 'Bad Request', 'Invalid file name

Re: [Zope] Use of lambda expression in DTML

2000-05-29 Thread Chris McDonough
What I would like to say is that if your application needs lambda, filter or map, your code is getting bejond report or presentation generation (for which DTML is intended) and in the realm of data manipulation and business rules. In this case your code would be much better placed in some

Re: [Zope] defining counters in zope(newbie)

2000-05-29 Thread Chris McDonough
Sudhir, Hi... It's natural to want to do this in DTML... but probably not the best idea. I know it's a lot to chew to have to use Python to do stuff like this (you don't), but it would make your life probably a lot easier to do this in an external method or a Python method. That said

[Zope] test, please ignore...

2000-05-30 Thread Chris McDonough
Chris McDonough Digital Creations Publishers of Zope - http://www.zope.org ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman

Re: [Zope] What are the best general books on Object Oriented designprinciples?principles?

2000-05-30 Thread Chris McDonough
Chris, At the end of the article named "Gaining Zope Enlightenment By Grokking Object Orientation", (http://www.zope.org/Members/mcdonc/HowTos/gainenlightenment), you will find a reference to a book by Scott Ambler named "The Object Primer". This is a great starting point. Chris Beaumont

Re: [Zope] Use of lambda expression in DTML

2000-05-30 Thread Chris McDonough
Nick Drew wrote: |I can see that argument... it depends on the reader, I suppose. I |wouldn't complain much actually if the Python code had functional stuff |in it. It's having it in DTML that bugs me, for reasons that |have to do |with separating HTML-like stuff from the stuff that

RE: [Zope] Proposal for mail-in to Zope

2000-05-31 Thread Chris McDonough
I'm interested in this, although I have a lot on my plate right now and can't help in development. I see objects in Zope being able to handle a call to one of their methods that passes off a chunk of email text and stuffs it in an attribute for later display or catalog. I think you should

RE: [Zope] ZOPE, Xemacs, html-mode, indentation.

2000-06-05 Thread Chris McDonough
I don't know about xemacs, but gnu emacs has indented-text-mode M - x indented-text-mode -Original Message- From: Skip Montanaro [mailto:[EMAIL PROTECTED]] Sent: Monday, June 05, 2000 3:28 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Zope] ZOPE, Xemacs, html-mode,

Re: [Zope] dtml-tree help

2000-06-05 Thread Chris McDonough
Pete Kazmier wrote: Hi, I think this is a simle question but I've been struggling for the last two days trying to get it to work. I have a heirarchy of folders (really a custom container class) and files (really a custom object). I want to emulate the Window's Explorer interface, left

Re: [Zope] Can't find some products on www.zope.org

2000-06-06 Thread Chris McDonough
Something's hosed on Zope.org. It won't be available for at least a few hours. This is baaad. Sorry. Petr Knapek wrote: Hi Zopists, today I tried to download 2 products for zope from www.zope.org (namely 'Photo' and 'A Simple Photo Album Product' and the server respond me that the pages

Re: [Zope] Missing how tos

2000-06-06 Thread Chris McDonough
Pierre, check back on zope.org in a few hours, it's having problems. The howto is still there, I'm sure. Pierre Rougier wrote: hi all, I am looking for the documentation of the "multiple selection" type, but the "how to" does not exist anymore on zope.org. argh... Has anyone of u a

[Zope] ANN: InterbaseStorage alpha release

2000-06-11 Thread Chris McDonough
Hi, The alpha release of a Zope storage that uses the Interbase relational database to store object database information is available at http://www.zope.org/Members/mcdonc/RS/InterbaseStorage. It's a full-featured storage. Guinea pigs^H^H^H^H^H^H^H^H^H^H^H Testers wanted. -- Chris

Re: [Zope] Zope/Interbase

2000-06-12 Thread Chris McDonough
No... you wanna write a DA? :-) Somebody should. I would try, but I can't right now. It's a very nice database. Graham Chiu wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I saw the Interbase product on the website where Interbase is being used to store the Zope database.

Re: [Zope] Importing data

2000-06-15 Thread Chris McDonough
Have you tried pushing the 'Export' button in the management interface? -- Chris McDonough Digital Creations Publishers of Zope - http://www.zope.org ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross

RE: [Zope] Newbie query, localhost:8080 doesnt work!!

2000-06-16 Thread Chris McDonough
See http://www.zope.org/Members/mcdonc/HowTos/zopeinstall/ZOPE-INSTALL-HOWTO -Original Message- From: Rajil Saraswat [mailto:[EMAIL PROTECTED]] Sent: Friday, June 16, 2000 7:57 PM To: [EMAIL PROTECTED] Subject: [Zope] Newbie query, localhost:8080 doesnt work!! Hi , I have

[Zope] Re: [Zope-dev] sql-statements in DTML-Methods....

2000-06-18 Thread Chris McDonough
Zope differs from PHP and ASP systems in this regard. I don't think anyone using Zope that I've seen inlines SQL inside DTML.The separation of SQL and presentation via DTML is intentional. Though it's not always as expedient, the intent of the separation is to provide you with layers of

Re: [Zope] Instanciate a ZClass out of Zope

2000-06-19 Thread Chris McDonough
This limitation will effectively go away as soon as ZEO goes open source. Oleg Broytmann wrote: You cannot open independent connection to ZODB while Zope is active - Zope locks the database, and by purpose. You must access ZODB only through Zope machinery. Or stop Zope, open ZODB and

RE: [Zope] ZOBD caching products?

2000-06-19 Thread Chris McDonough
This is a 'feature' of the product initialization process. Note that I am just documenting buginess here, I should try to fix this when possible. When a Product can't be initialized (a syntax error, a bad import, whatever), sometimes it will revert back to the state at which it wrote a good

RE: [Zope] brain hurts regarding dynamic fcn args in Python

2000-06-19 Thread Chris McDonough
Is there a (straightforward?) way to dynamically compose function argument lists? For example, in C, you can write" f(arg1, arg2, (conditional expression)?(val for TRUE state):(val for FALSE state)). This can be emulated in Python by the boolean logic: ( ({conditional expression}) and

RE: [Zope] brain hurts regarding dynamic fcn args in Python

2000-06-19 Thread Chris McDonough
Oops, I'm not quite right about this. This FAQ explains it better... http://www.python.org/doc/FAQ.html#4.16 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, June 19, 2000 4:51 PM To: [EMAIL PROTECTED] Subject: RE: [Zope] brain hurts regarding

Re: [Zope] Embedding authentication in a Zope Website

2000-06-19 Thread Chris McDonough
Knight, The primary way of obtaining the credentials of the currently logged in user is through the AUTHENTICATED_USER attribute of the REQUEST object, ala: dtml-unless "REQUEST.AUTHENTICATED_USER.getName() == 'Anonymous' Important stuff /dtml-unless Unimportant stuff. You probably don't

RE: [Zope] Embedding authentication in a Zope Website

2000-06-20 Thread Chris McDonough
Chris, Thanks for the speedy reply. I appreciate it. The questions I have now is how do you: 1) give users the opportunity to log in... where do you actually do authentication? is there a url they must point to? should I be calling any python functions, or perhaps writing my own

RE: [Zope] Basic site management using zope and other queries

2000-06-20 Thread Chris McDonough
1. Can zope do basic site management. for example missing link checks. say if we call an object which doesnt exist. can zope show us where we have gone wrong.(without actually checking each and every object manually) No. 2. I have large number of small html documents(17,000). I

RE: [Zope] help a zope newbie

2000-06-26 Thread Chris McDonough
I have seen few site powered by Zope. One thing I had noticed is that almost all of those sites are mostly static pages. I mean I am interested to see how can Zope be used for a portal. like containing many pages having lots of form variables. database connectivity etc. what is the

RE: [Zope] Unique Identifiers for Zope Objects

2000-06-26 Thread Chris McDonough
I'm looking for an internal globally unique identifier for objects in my Zope store. The object path would be that. I know that I can use id=object.absolute_url() to create an identifier and then something.resolve_url(id) to recover the object from the identifier -- but I have two

RE: [Zope] More verbose zope errors

2000-06-26 Thread Chris McDonough
Do a view source on the page to show the traceback contents when they don't show up within the page body. -Original Message- From: ethan mindlace fremen [mailto:[EMAIL PROTECTED]] Sent: Monday, June 26, 2000 11:08 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Zope]

RE: [Zope] geting the type of an object from within dtml ??? == it works

2000-06-26 Thread Chris McDonough
in an external method, would not this work?: def getclass(self, ob): return type(ob) Then use the getclass fn from DTML: dtml-var "getclass(anobject)" -Original Message- From: NABETH Thierry [mailto:[EMAIL PROTECTED]] Sent: Monday, June 26, 2000 4:11 AM To: '[EMAIL PROTECTED]'

Re: [Zope] Bizarre new problem...

2000-06-26 Thread Chris McDonough
I suspect this is coming from MySQLdb. From the Python DB-API spec: OperationalError Exception raised for errors that are related to the database's operation and not necessarily under the control of the programmer, e.g. an unexpected disconnect occurs, the data source name is not found, a

RE: [Zope] Re[2]: [Zope] CASE tools and Zope

2000-06-28 Thread Chris McDonough
ZClasses can indeed be brains. -Original Message- From: R. David Murray [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 28, 2000 12:52 PM To: Alexander Chelnokov Cc: Dieter Maurer; zope Subject: Re: [Zope] Re[2]: [Zope] CASE tools and Zope On Wed, 28 Jun 2000, Alexander

RE: [Zope] Urgent problem: Database and large clock skew

2000-06-28 Thread Chris McDonough
Jim, It might be wise to just truncate the Data.fs at the point the transactions occurred. See http://www.zope.org/Members/itamar/CorruptedZODB -Original Message- From: Jim Flanagan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 28, 2000 1:46 PM To: [EMAIL PROTECTED] Subject:

RE: [Zope] Version Lock Error

2000-06-29 Thread Chris McDonough
When the users hit a DTML method that tries (maybe in a roundabout way, have a ZCatalog?) to write to an object in the ZODB that's been locked in a version, you'll get this. Try to figure out where it's happening by examining the DTML method that they're hitting and figure out where you're

Re: [Zope] zope and caching

2000-07-03 Thread Chris McDonough
Here at DC we recently had a "jam session" discussion on caching. I don't think anything "hard" came out of it, we just tossed around some ideas. DC has several current contract customers who are going to need high speed pretty badly. Of course, they're also going to be using ZEO, which

Re: [Zope] Deinstalling Products?!

2000-07-03 Thread Chris McDonough
Are you sure you deleted it from the right place? Also, did you delete it from the Products Management screen of the control panel? Jonathan wrote: Hi all, Removed a product from the Products folder, but Zope still seems to import it from a folder that is not there anymore. Does Zope

RE: [Zope] LONG insert 2000 chars fail

2000-07-06 Thread Chris McDonough
Use form action=bleah method=post? -Original Message- From: Andy Gates [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 06, 2000 10:32 AM To: [EMAIL PROTECTED] Subject: Re: [Zope] LONG insert 2000 chars fail Message-ID: [EMAIL PROTECTED] Priority: NORMAL X-Mailer: Execmail

Re: [Zope] newbie questions

2000-07-06 Thread Chris McDonough
Hi Frank, It sounds like your SourceSafe tie in could potentially be a fairly complex undertaking. Amos Latteier wrote an example COMObject product that will show you the mechanics of utilizing COM objects from Zope. This might help. And though I know you don't want to VC Zope objects, you

Re: [Zope] newbie questions

2000-07-06 Thread Chris McDonough
AFAIK, it would be a bad idea a) if writes were not appends and b) if records written to the FileStorage were not written atomically. But neither is the case, so it's safe to just copy it without shutting it down. The only time this may not be the case is if it were copied during a pack

Re: [Zope] Problems shutting down Zope

2000-07-06 Thread Chris McDonough
This is a 'normal' message. Zope 2.2 releases suppress the error message on shutdown. Not sure what's up with the tutorial. You may want to try the latest 2.2 beta release as the tutorial comes preinstalled. Firestar wrote: Hi, i have just installed Zope-2.1.6 on a linux server. Starting

RE: [Zope] Redirect Back

2000-07-07 Thread Chris McDonough
You may either use Javascript's history method or use RESPONSE.REDIRECT(REQUEST['HTTP_REFERER']). The former is preferred as the latter isn't always accurate nor available. -Original Message- From: Aaron Williamson [mailto:[EMAIL PROTECTED]] Sent: Friday, July 07, 2000 11:45 AM To:

RE: [Zope] Redirect Back

2000-07-07 Thread Chris McDonough
Oops, sorry, not RESPONSE.REDIRECT, instead RESPONSE.redirect. -Original Message- From: Chris McDonough [mailto:[EMAIL PROTECTED]] Sent: Friday, July 07, 2000 11:54 AM To: 'Aaron Williamson'; [EMAIL PROTECTED] Subject: RE: [Zope] Redirect Back You may either use Javascript's

Re: [Zope] help! zope down on it's knees

2000-07-09 Thread Chris McDonough
I'm curious about the fact that apache can render the page immediately by talking through pcgi/fcgi to ZServer but ZServer can't render the page quickly when you talk to it directy via HTTP. The only reasoning I can see for that is some sort of caching at the browser or in the http server.

RE: [Zope] Adding comments to documents like in ACS ...

2000-07-10 Thread Chris McDonough
This is something I've wanted to see for a long time too. The Portal Toolkit (http://www.zope.org/Products/PTK) evidently has a "discussable" mixin class that allows users to add comments to documents. You may want to check it out. This feature should probably be abstracted out of the portal

RE: [Zope] Adding comments to documents like in ACS ...

2000-07-11 Thread Chris McDonough
Tino Wildenhain wrote: Chris McDonough wrote: I really like ACS' "bboard" system, that's the kind of functionality I think these objects should provide. Yes. And I often wonder where my notes to sessions walk to. For the meantime, at least for docuements and methods, we c

Re: [Zope] Linux user group

2000-07-13 Thread Chris McDonough
Darn. I had slides for a LUG presentation up on one of my former company's servers, but they seem to have taken the box down. I don't have it archived anywhere. Maybe somebody made a copy? It was from... errr... maybe November last year? CURTIS David wrote: Greetings, I am a member of

RE: [Zope] (no subject)

2000-07-13 Thread Chris McDonough
This is a job for __bobo_traverse__ (yes, I know, unlikely name, but what has now become Zope used to be named Bobo). Without using __bobo_traverse__, which is defined as a method on the object which you access via traversal, you can't easily use "extra" URL elements as parameters to pass to the

RE: [Zope] (no subject)

2000-07-13 Thread Chris McDonough
Thanks for responding so quickly. I'm not sure I understand. The problem here, and the reason I can't simply use a form or a session, is that I want to set a series of links that send different options to the same method. I guess it's the equivalent of passing args to a dtml method

RE: [Zope] Newbie: Zope a webserver? Serving PHP and Perl

2000-07-13 Thread Chris McDonough
Lucas, If you don't know of a reason you would need Apache, you don't need it. :-) Zope does not directly handle PHP tags. -Original Message- From: Lucas Young (c) [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 13, 2000 6:44 PM To: '[EMAIL PROTECTED]' Subject: [Zope] Newbie: Zope a

RE: [Zope] Ho do you access parent's parent folders?

2000-07-13 Thread Chris McDonough
Try, dtml-var "Sub1.My_Qry()" If you need to pass arguments to My_Qry: dtml-var "Sub1.My_Qry(arg1='val1', arg2='val2')" Don't worry, it only gets worse. :-) -Original Message- From: danchik [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 13, 2000 10:01 PM To: [EMAIL PROTECTED]

Re: [Zope] ZCatalog

2000-07-16 Thread Chris McDonough
Jonathan Desp wrote: if you know the answer just email me at [EMAIL PROTECTED] (my site is almost ready at www.atomasoft.com , there are 2 pages to write + the search engine to fix, is it possible for zope to use - http://www.htdig.org/ ?) I don't think HTDig can index Zope content

Re: [Zope] ZCatalog

2000-07-16 Thread Chris McDonough
Jonathan Desp wrote: Hi Chris, thanks alot for your help, You said: dtml-var title You would replace it with: a href="dtml-var "catalog.getpath(data_record_id_)"" dtml-var title But there is no dtml-var title I think it's the right file "Report" though, he said:

Re: [Zope] ZCatalog

2000-07-17 Thread Chris McDonough
Jonathan, Please respond to the list as well as to me so others can benefit. What's happening here is that your catalog is named "s". I should have noticed this the first time around. But I didn't. The bit you want is: a href="dtml-var "s.getpath(data_record_id_)"" dtml-var title Whether

RE: [Zope] ZCatalog

2000-07-17 Thread Chris McDonough
Jonathan, See http://www.zope.org/SiteIndex/search/view_source -Original Message- From: Jonathan Desp [mailto:[EMAIL PROTECTED]] Sent: Monday, July 17, 2000 4:38 AM To: Chris McDonough; [EMAIL PROTECTED] Subject: Re: [Zope] ZCatalog Hi Chris, If I type "

Re: [Zope] Writing a Zope Help System

2000-07-17 Thread Chris McDonough
There is also a file in the Zope distribution in $SOFTWARE_HOME/docs/HELPSYS.txt that I think is up-to-date. ethan mindlace fremen wrote: "J. Atwood" wrote: Has anyone posted a help on writing Zope help into your product for 2.2? Docs Wiki: http://www.zope.org/Wikis/Docs/HelpTopicUsage

RE: [Zope] Bi-directional update of Data.fs

2000-07-19 Thread Chris McDonough
If you're doing little or nothing in the way of Python development in base classes (e.g. you're doing all of your development in the instance or in ZClasses), you may want to take a look at ZEO (http://www.zope.org/Products/ZEO). Setting up the ZEO "storage server" overseas and using a local

RE: [Zope] Bi-directional update of Data.fs

2000-07-19 Thread Chris McDonough
Perhaps. Patches accepted :-) -Original Message- From: Chris Withers [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 19, 2000 5:27 AM To: Chris McDonough Cc: 'Brenton Bills'; [EMAIL PROTECTED] Subject: Re: [Zope] Bi-directional update of Data.fs Chris McDonough wrote

RE: [Zope] Bi-directional update of Data.fs

2000-07-19 Thread Chris McDonough
Actually, there is a proposal on the table for something like this in a Wiki I can't find going by the name of "QuorumBasedReplication" -Original Message----- From: Chris McDonough Sent: Wednesday, July 19, 2000 9:51 AM To: 'Chris Withers'; Chris McDonough Cc: 'Brenton Bill

RE: [Zope] looping through objectValues, how to get methods?

2000-07-19 Thread Chris McDonough
days_mixing = getattr(i, 'mixing_for') a = days_mixing() -Original Message- From: ed colmar [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 19, 2000 11:09 AM To: [EMAIL PROTECTED] Subject: [Zope] looping through objectValues, how to get methods? I have a method that looks

RE: [Zope] Changing my session identity

2000-07-19 Thread Chris McDonough
In dtml: raise Unauthorized You are unauthorized. /raise If you enter a new valid username/password combo in, you'll be validated and your identity will be changed. If you cancel or enter an invalid username/password combo, you'll still be logged in as whomever you started with.

RE: [Zope] Bi-directional update of Data.fs

2000-07-19 Thread Chris McDonough
Hammersmith [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 19, 2000 1:50 PM To: Chris McDonough; [EMAIL PROTECTED] Subject: Re: [Zope] Bi-directional update of Data.fs If you manage to find it, would you post a link to it? Thanks. -Otto. Chris

RE: [Zope] Changing my session identity

2000-07-20 Thread Chris McDonough
No, unfortunately, you need to stop and restart the browser. -Original Message- From: Jim Washington [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 20, 2000 10:40 AM To: Chris McDonough Cc: [EMAIL PROTECTED] Subject: Re: [Zope] Changing my session identity How does one become

RE: [Zope] URL quoting in python

2000-07-20 Thread Chris McDonough
I often create an external method for this... em: def url_quote(s): import urllib return urllib.quote_plus(s, safe='') Silly, but it works. I think the alternative is to hack the DT_Util.py module in the DocumentTemplate directory to expose urllib or a derived function. -Original

RE: [Zope] Infoworld Review of Zope

2000-07-20 Thread Chris McDonough
No. He got it wrong. ZEO is open-sourced, free, and available for download and has been since ~ a month ago. Write to the InfoWorld guy and tell him. :-) -Original Message- From: Brad Clements [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 20, 2000 1:46 PM To: [EMAIL PROTECTED]

[Zope] Product Developer's Guide

2000-07-20 Thread Chris McDonough
just going to rip it off wholesale, we'll certainly ask your permission to use the content, and you'll be the decider. Tks! Chris McDonough Digital Creations Publishers of Zope - http://www.zope.org ___ Zope maillist - [EMAIL PROTECTED] http

RE: [Zope] A Description with a Search Engine using the advanced ZCatalog program ?

2000-07-20 Thread Chris McDonough
The ZCatalog doesn't return the actual object that is indexed. It returns a representation of the object in the form of a "brain" which you can use to reference the object. dtml-in Catalog dtml-with sequence-item dtml-var "Catalog.getobject(data_record_id_).myMethod()"br

RE: [Zope] URL quoting in python

2000-07-20 Thread Chris McDonough
Didn't happen for me (Zope 2.2b4). I got Invalid attribute name, "url_quote", for tag dtml-call "REQUEST.set('URL', URL2+'?action=Add Material Infoproduct_number='+product_number)" url_quote, on line 195 of index_html It also fails for dtml-return... It looks like url_quote is

RE: [Zope] ZCatalog dynamic sites

2000-07-21 Thread Chris McDonough
Dimitris, Yes, ZCatalog cannot index methods which require call arguments. Pages generated from SQL data either use "brains" of SQL methods or squery string arguments of a DTML method, and therefore need to be passed arguments and cannot be cataloged. -Original Message- From: [EMAIL

RE: [Zope] Zope-killer: zSQL method that crashes Zope

2000-07-21 Thread Chris McDonough
If you haven't added your problems to the Collector on Zope.org, it would be very good to do so... it doesn't seem that anybody from the community is coming up with a fix and a lot of folks from DC out at the O'Reilly open source convention... putting this in the Collector ensures that it'll get

RE: [Zope] request for advice

2000-07-21 Thread Chris McDonough
Steve Spicklmire has also written the ZCVSMixin product (which I've never actually used) that might let you integration filesystem versioning with Zope more easily as well... -Original Message- From: Patrick Lewis [mailto:[EMAIL PROTECTED]] Sent: Friday, July 21, 2000 12:50 PM To:

RE: [Zope] zope.org down

2000-07-24 Thread Chris McDonough
The InterbaseStorage product is full-featured (undo, versioning). But I've gotten little response to releasing it, and I don't think anyone is using it, so bugs are sure to exist. -Original Message- From: ethan mindlace fremen [mailto:[EMAIL PROTECTED]] Sent: Monday, July 24, 2000

RE: [Zope] zope.org down

2000-07-24 Thread Chris McDonough
Withers [mailto:[EMAIL PROTECTED]] Sent: Monday, July 24, 2000 11:34 AM To: Chris McDonough Cc: Ethan Fremen; Cary O'Brien; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [Zope] zope.org down Chris McDonough wrote: The InterbaseStorage product is full-featured (undo, versioning

Re: [Zope] user permissions

2000-07-24 Thread Chris McDonough
No, that should do it. You cannot add, copy or move objects as the superuser, but you can add users to a user folder and change permissions. But there should be no permissions that need changing. Make sure that you give the user the 'Manager' role when you add a new user (while logged in as

Re: [Zope] zeo and rdb backend

2000-07-24 Thread Chris McDonough
I think it'd be great if you wrote something up about using ZEO in general, myself... "Bak @ kedai" wrote: On Mon, 24 Jul 2000, [EMAIL PROTECTED] wrote: followup on my problem i just need to give permission to both machine to access the database. after that, restart zope and everything is

RE: [Zope] user permissions

2000-07-25 Thread Chris McDonough
I've never heard of anything like this. What roles does "Mike" have? What *does* show up in the Contents screen for "Mike"? -Original Message- From: J. Michael Mc Kay [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 25, 2000 10:02 AM To: Chris McDonough; josh on

RE: [Zope] namespace and PARENTS doubt

2000-07-25 Thread Chris McDonough
Untested: dtml-let level1="_.getitem(PARENTS[1], 'folder1')" level2="_.getitem(level1, 'folder')" dtml-with level2 ...commands.. /dtml-with /dtml-let -Original Message- From: Fabio Akita [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 25, 2000 5:46 PM To: [EMAIL PROTECTED]

Re: [Zope] Problem with ZCatalog output and SiteAccess (with workaround)

2000-07-26 Thread Chris McDonough
Marcin, Can you post this problem in to the Collector? http://classic.zope.org:8080/Collector. I think there's a simple fix to make ZCatalog play nicely with Site Access, and if it's in the collector, we won't forget about it. Marcin Kasperski wrote: In short: ZCatalog getpath method

[Zope] Re: display of SQL request answer

2000-07-26 Thread Chris McDonough
Vincent, This may be helpful: http://www.zope.org/Documentation/Guides/ZSQL-HTML/ZSQL.1.1.4.html Also, this question is more suited for the main Zope mail list ([EMAIL PROTECTED])... I've moved it there as a result. Vincent DELHOMMOIS wrote: Hi, I am using the Z ODBC DA connexion to

[Zope] Re: Problem

2000-07-26 Thread Chris McDonough
Anvita, JavaScript is inlined in a DTML method just like it would be inside a file on a filesystem. Because JavaScript runs on the client, you just need to make sure that you return it somehow in the response to the client. There is no "magic" to doing this... as a simple example: - create a

RE: [Zope] Zope Sybase DA Zope 2.2

2000-07-26 Thread Chris McDonough
What's the problem? Does it not work? -Original Message- From: Stephen Nosal [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 26, 2000 10:00 AM To: [EMAIL PROTECTED] Subject: [Zope] Zope Sybase DA Zope 2.2 Folks - Anyone have any info or pointers running the Zope Sybase DA

RE: [Zope] problem with dtml-in and Zope 2.2

2000-07-26 Thread Chris McDonough
First of all, make sure you don't try to define classes that should be persistent in an external method... it wont work the way you expect it to. Second (untested): def getRecords(self): """ """ class record: __allow_access_to_unprotected_subobjects__ = 1 # this may be

RE: [Zope] Question

2000-07-26 Thread Chris McDonough
Lionel, A couple of ground rules first: please dont post HTML to the list or post messages marked "importance: high" to the list. Errr.. after reading your question, I've finally come to grips with the fact that I have no idea what you're asking. Sorry! Please explain more. -Original

RE: [Zope] Who is uid 506?

2000-07-26 Thread Chris McDonough
The reason the files are owned by 506 is an artifact of the way the RPM was packaged. Either untar and install the source as a "normal" user or maybe contact the maintainer of the RPM and see if this installation behavior is intentional (I imagine it is). -Original Message- From:

RE: [Zope] Can multiple processes access a ZODB3 file?

2000-07-28 Thread Chris McDonough
The ZODB is generally process-locked. It's not possible, to my knowledge, to access it from different python processes simultaneously. To solve this, I'd highly encourage you to use ZEO, despite your desire not to use it. There's very little to learn with ZEO, and its proven very stable over

RE: [Zope] Can multiple processes access a ZODB3 file?

2000-07-28 Thread Chris McDonough
Sorry about this, mail server troubles. -Original Message- From: Chris McDonough [mailto:[EMAIL PROTECTED]] Sent: Saturday, July 29, 2000 1:12 AM To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED] Subject: RE: [Zope] Can multiple processes access a ZODB3 file? The ZODB is generally

RE: [Zope] What is the best method to enter more attributes about DTL Document?

2000-07-29 Thread Chris McDonough
There's not a particularly obvious solution other than to define a ZClass which inherits from DTML Document and exposes a constructor form that asks for these properties as well as an edit form that does same. See the ZClass tutorial on Zope.org at

  1   2   3   4   5   6   7   8   9   10   >