Re: [Zope] Pages Half Rendering :(

2000-08-19 Thread Chris McDonough
I've seen this in Netscape only, mostly while using the management interface. I haven't been able to track it down. I wonder if it has something to do with the bug in OFS.Image.index_html that Dieter Maurer reported a few messages back. I've also had a problem where mgmt interface icons don't g

Re: [Zope] Odd problems with SiteAccess?

2000-08-19 Thread Chris McDonough
Jim fixed versions a little while back by using getPhysicalPath... but the catalog is not yet fixed. On Sat, 19 Aug 2000, Evan Simpson wrote: > From: "Christopher Heschong" <[EMAIL PROTECTED]> > > > > I have a directory with a SiteAccess rule in it. Under that directory, > > versions and Zcat

Re: [Zope] doesn't?

2000-08-19 Thread Chris McDonough
Yeah, that's the way it works. I'm not sure why, though I remember someone trying to explain it to me around the time of the last Python conference. On Sat, 19 Aug 2000, Chris Withers wrote: > Hi, > > Is is just me or does stuff inside a get parsed? > > So if you have: > > > > ... some s

Re: [Zope] Creating an object from within another

2000-08-18 Thread Chris McDonough
I think he meant ob.__of__(self) which wraps ob into the context of self. Useful for returning unwrapped Python objects while you're in Python. On Fri, 18 Aug 2000, Kapil Thangavelu wrote: > Dieter Maurer wrote: > > > > Daniel Rusch writes: > > > So far so good, > > > > > > Next hurdle, at

RE: [Zope] [Ann] Another Zope Book

2000-08-18 Thread Chris McDonough
Much of the aim of the "Product Developer's Guide" (see http://www.zope.org/Wikis/Docs/ProductDevelopersGuide) is to address the issues you bring up. It's been slow going, although I almost have the security chapter completed. Hopefully this weekend I'll be able to release that chapter. > -

Re: [Zope] zCatalog and subobjects

2000-08-17 Thread Chris McDonough
t; http://lists.zope.org/mailman/listinfo/zope > ** 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://w

[Zope] EventLogManger

2000-08-17 Thread Chris McDonough
/Products/EventLogManager. Thanks, -- 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

Re: [Zope] ZCatalog key error

2000-08-16 Thread Chris McDonough
ope.org/mailman/listinfo/zope > ** 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] upgrade 2.2.0 to 2.2.1b1

2000-08-16 Thread Chris McDonough
, > in _persistent_load > (Info: 8÷) > File /home/kdie/Zope-2.2.1b1-src/lib/python/ZODB/Connection.py, line 154, > in __getitem__ > ---data snipped--- > > ___ > Zope maillist -

RE: [Zope] EventLogManager1.0

2000-08-16 Thread Chris McDonough
They can. :-) > -Original Message- > From: Dan L. Pierson [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 16, 2000 3:38 PM > To: Chris McDonough > Cc: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]' > Subject: [Zope] EventLogManager1.0 >

[Zope] EventLogManager1.0

2000-08-16 Thread Chris McDonough
2 and other UNIX derivatives. Give it a roll. 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! ** (Re

RE: [Zope] [Ann] Another Zope Book

2000-08-15 Thread Chris McDonough
This sounds like a good idea, IMHO. The Zope Book doesn't go into much detail about technologies outside Zope. It sounds like your book would, and this would be a good thing. > -Original Message- > From: Dieter Maurer [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 15, 2000 10:45 AM

RE: [Zope] Using Zope as App Server for non http-Protocols

2000-08-11 Thread Chris McDonough
Phillipp, First, design your system. Then write the very basics of what you need in Python first using whatever third-party binaries you need to, leaving the methods which use Zopish features (like ZSQL methods, ODB, etc) as stubs. Then after you're done, and it works, you can wrap it in a Zope

RE: [Zope] Defining High Load in Heavily DB Driven site (was: [Zope] zope2.2.0 and what is high load)

2000-08-11 Thread Chris McDonough
Here's my understanding of how it works: - The number of threads is decided by NUMBER_OF_THREADS in z2.py or the command line argument -t[whatever]. - You can give ZServer/Zope a hundred threads if you want to, but if you want more DB connections to service those threads with, you need to change

RE: [Zope] zope2.2.0 and what is high load

2000-08-11 Thread Chris McDonough
> On Fri, 11 Aug 2000, Chris McDonough wrote: > > > i went to each Zeo client control_panel, and see that there's > > > a mzximum of > > > four connections open at any given time. > > > comments to the above. i saw only four threads because i >

RE: [Zope] zope2.2.0 and what is high load

2000-08-10 Thread Chris McDonough
> i went to each Zeo client control_panel, and see that there's > a mzximum of > four connections open at any given time. OK, I'm not sure this is real meaningful. A lot can happen in between refreshes. This is only a rough sort of "realtime" guess of what's going on. > why wouldn't increasi

RE: [Zope] zope2.2.0 and what is high load

2000-08-10 Thread Chris McDonough
It sounds like your load may not be very small. Your -t25 setting to threads does not help too much, because the number of database connections is hard-limited to 7 in the ZODB source. It might help to visit the debug section of the control_panel to get an understanding of how many threads are a

RE: [Zope] Transactions

2000-08-10 Thread Chris McDonough
Kapil, I don't know if you've run across this yet, but the method call: get_transaction() In Python (after you've imported the ZODB module) returns the result of the get_transaction global, which helps do some transaction-related things: get_transaction().commit() get_transaction().abort() get

[Zope] RE: Request for Comment: Zope API naming convention

2000-08-09 Thread Chris McDonough
Plenty of time... :-) > Please make comments by Wednesday April 16. > > Jim > > -- > Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! > Technical Director (888) 344-4332http://www.python.org > Digital Creationshttp://www.digicool.com http://www.zope

RE: [Zope] substring search on zcatalog textindex

2000-08-09 Thread Chris McDonough
If I remember correctly, partial searching was implemented against text indexes. I have no idea how to use it, however, as AFAIK it was never documented. Maybe someone else can help? > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 09,

RE: [Zope] User authentication and properties

2000-08-08 Thread Chris McDonough
Gerard, For ideas, you may want to take a look at some of the alternate User Folder implementations. We still need help on deciding an API for user folders. You may want to participate in the discussion at http://www.zope.org/Members/michel/Projects/Interfaces/UserDatabase to help determine out

RE: [Zope] Re:[Zope]Python Method question

2000-08-08 Thread Chris McDonough
method in methods: count = count + 1 # whatever security stuff you're talking about... method() Does this make sense? I *think* this will work. -Original Message- From: entropia [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 08, 2000 10:05 AM To: Chris McDonough Cc: [

RE: [Zope] Re:[Zope]Python Method question

2000-08-08 Thread Chris McDonough
somo trick thet permits me: > import aPythonMethod > or > x=PythonMethod.call() > or something > Is that posible? > > Chris McDonough escribió: > > > Do you mean you want to use a Python Method (in the sense of a > methodish > > object instantiated from Evan Simpson

RE: [Zope] Re: (OT) Re: sybase - hmmm

2000-08-08 Thread Chris McDonough
All, Can we drop the OS wars, please? There are newsgroups for this. > -Original Message- > From: Hannu Krosing [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 08, 2000 7:40 AM > To: Bill Anderson > Cc: [EMAIL PROTECTED] > Subject: Re: [Zope] Re: (OT) Re: sybase - hmmm > > > Bill A

RE: [Zope] Authentification with the SAM of NT (Security Account Manager)

2000-08-07 Thread Chris McDonough
First, there is no such work as authentification. :-) OK, now that I got that off my chest, take a look at jcNTUserFolder (http://www.zope.org/Members/jephte/jcNTUserFolder), smbUserFolder (http://www.zope.org/Members/mcdonc/smbUserFolder), and Tres Seaver's Integrating Login Manager with SMB (h

RE: [Zope] Installing ZOPE on a Digital platform

2000-08-07 Thread Chris McDonough
Alexandru, You'll need to get the source code and compile it yourself. Tru64 isn't a DC-supported platform, but it may compile properly. Here's the download URL: http://www.zope.org/Products/Zope/2.2.0/Zope-2.2.0-src.tgz > -Original Message- > From: Alexandru Cucereanu [mailto:[EMAIL P

RE: [Zope] Python Method question

2000-08-07 Thread Chris McDonough
Do you mean you want to use a Python Method (in the sense of a methodish object instantiated from Evan Simpson's Python Method Product) from a Python Product? You *should* be able to call it by getting a hold of it through acquisition or by otherwise getting a hold of an object in the ZODB and tr

RE: [Zope] XMLRPC returns error sometimes

2000-08-06 Thread Chris McDonough
Only strings, integers, floats, "booleans", dictionaries, tuples, lists, and special "datetime", base64, and fault objects can be passed via XML-RPC. Anything else is too complex. The spec at http://www.xml-rpc.com/spec is useful. > -Original Message- > From: Gijs Reulen [mailto:[EMAIL

RE: [Zope] Zope 2.2 under Debian (Woody) broken?

2000-08-05 Thread Chris McDonough
It would seem to be broken you might want to contact the package maintainer. I think it's Glyph Lefkowitz? > -Original Message- > From: Pedro I. Sanchez [mailto:[EMAIL PROTECTED]] > Sent: Saturday, August 05, 2000 10:39 PM > To: [EMAIL PROTECTED] > Subject: [Zope] Zope 2.2 under Debi

RE: [Zope] XML-RPC and Zope

2000-08-02 Thread Chris McDonough
Lots. If you have Zope 2.2, see the API Documentation in the help system. > -Original Message- > From: Gijs Reulen [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 02, 2000 8:33 AM > To: Mailinglist Zope > Subject: [Zope] XML-RPC and Zope > > > Hi there > > I am experimenting with

Re: [Zope] Separate Instances of Zope

2000-08-01 Thread Chris McDonough
Yep... search for ZEO on zope.org. On Tue, 1 Aug 2000, blueeye wrote: > Hi, > > I have this setup: > > I have Zope running on 1 server. > I have multiple servers accessing the zope server. > > If this server goes down, can I have a backup zope server that replicates the main >server? > > Cu

RE: [Zope] Re: [Zope-dev] ZOracle LOB Questions

2000-07-31 Thread Chris McDonough
Please do not cross post to the zope and zope-dev mailing lists. > -Original Message- > From: Alexander Schad [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 31, 2000 11:38 AM > To: Matthew T. Kromer > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: [Zope] Re: [Zope-dev] ZOracle LOB Q

RE: [Zope] Starting Zope

2000-07-30 Thread Chris McDonough
Not to continue offtopic for too much longer, but IMHO, the "only root can bind to ports under 1025" was, and continues to be, a terrible UNIX hack that was possibly reasonable at its time of inception, but that has since *caused* more security holes than it ever helped to prevent. The argument f

RE: [Zope] OQL for ZODB - (SQL like for objects Databases)

2000-07-30 Thread Chris McDonough
Indeed it does. As a result, it doesn't help at all for O-R mapping. I've heard that PJE's DataSkins (part of ZPatterns) have features which make them useful for O-R mapping, though I haven't looked at them. > although i haven't looked at the source. chris m's Interbase storage > might be worth

RE: [Zope] AW: [Zope] search on www.zope.org

2000-07-30 Thread Chris McDonough
> I can't argue with that. i get constant key-errors... i'd really like > for someone from digicool to step up and give a reason. I'm > not sure if > its the size of the Catalog, or the internal Splitter giving > errors, or > if its just related to the recent hardware problems on zope.org I jus

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 http://www.zope.org/Documentation/Guides/ZDG-HTML

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

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 the

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: Gre

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] 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 u

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

[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 D

[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

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 retu

RE: [Zope] namespace and PARENTS doubt

2000-07-25 Thread Chris McDonough
Untested: ...commands.. > -Original Message- > From: Fabio Akita [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 25, 2000 5:46 PM > To: [EMAIL PROTECTED] > Subject: [Zope] namespace and PARENTS doubt > > > Hi again > > That may be a simple doubt but that´s it: > > >

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:

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 everythin

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 sup

RE: [Zope] zope.org down

2000-07-24 Thread Chris McDonough
Chris 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 Interbase

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] "Resource not found" error whenever a DTML method tries to access Z Sql Method

2000-07-23 Thread Chris McDonough
Roger, This is probably a bug., and unforunately I don't know the solution... but before you drive yourself totally nuts, it's probably a good idea to submit the text of your below email to the Collector (http://classic.zope.org:8080/Collector) with the bodies of the SQL and DTML methods that are

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-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 a

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 PR

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 "REQUEST.set('URL', >URL2+'?action=Add Material > Info&product_number='+product_number)" url_quote>, > on line 195 of index_html > > It also fails for ... It looks like url_quote is > only appli

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. This snippet iterates over all the results from a catalog and calls the myMethod() method on every one

[Zope] Product Developer's Guide

2000-07-20 Thread Chris McDonough
mean that we're 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 maill

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 PROTECTE

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] 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 identit

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

2000-07-19 Thread Chris McDonough
- > From: Otto 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? > > Tha

RE: [Zope] Changing my session identity

2000-07-19 Thread Chris McDonough
Oops... sorry... Unauthorized. Shortcuts on the brain. :-) > -Original Message- > From: Chris McDonough [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 19, 2000 11:43 AM > To: 'Andreas Rippel'; [EMAIL PROTECTED] > Subject: RE: [Zope] Changing my session

RE: [Zope] Changing my session identity

2000-07-19 Thread Chris McDonough
In dtml: You are unauthorized. 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. > -Original Message- > From: A

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 loo

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';

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 Dat

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

2000-07-18 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 Zope

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/HelpTop

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,

Re: [Zope] ZCatalog

2000-07-16 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: "> Whether you use "raw" or "title" depends on what you want to see. I

Re: [Zope] ZCatalog

2000-07-16 Thread Chris McDonough
Jonathan Desp wrote: > > Hi Chris, > > thanks alot for your help, > > You said: > > > > > > > You would replace it with: > > > > "> > > > > But there is no > > I think it's the right file "Report" though, he said: > > "To fix this, go to the management view of report. report is called by

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 b

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

2000-07-13 Thread Chris McDonough
Try, If you need to pass arguments to My_Qry: 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] > Subject: [Zope] Ho do you access parent's parent folders? > > >

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 we

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

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] 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

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. > > F

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 to

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. Have

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 &

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 > T

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] 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 operatio

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 mig

RE: [Zope] LONG insert > 2000 chars fail

2000-07-06 Thread Chris McDonough
Use ? > -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 for Win32 5.1 Build

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] 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 negates

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 trying

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] > Subje

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, Alexand

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 t

RE: [Zope] How-to Bypass DTML Code?

2000-06-26 Thread Chris McDonough
Use >dtml-var foo< instead of > -Original Message- > From: Nestor A. Diaz L. [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 26, 2000 1:48 PM > Cc: '[EMAIL PROTECTED]' > Subject: [Zope] How-to Bypass DTML Code? > > > Hi, anyone know how to bypass the dtml-code, that's because > i'

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: -Original Message- From: NABETH Thierry [mailto:[EMAIL PROTECTED]] Sent: Monday, June 26, 2000 4:11 AM To: '[EMAIL PROTECTED]' Cc: 'ethan mindlace fremen' Su

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: [Zo

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 .resolve_url(id) to recover the object from > the identifier > -- but I have two prob

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 th

Re: [Zope] MySQLDA Problems with simple constant/function queries

2000-06-24 Thread Chris McDonough
Stefan Franke wrote: > When I look into db.py, the error doesn't look very hard to fix, I think > I'll give tomorrow. Is there some API documentation of what a DA is > supposed to do? Zope site's not responding for me currently, so I can't give you a URL, but please search the Zope.org site for "

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).

<    1   2   3   4   5   6   >