[Zope-dev] 2 Zopes

2000-10-25 Thread Andre Schubert
Hi, Can anyone tell me a way to get Zope Objects from the first Zope-Installation to the second. I need this because i have to program a Product to putting data into different Zope Installations from one point of the Web. My boss want this way because he want a central point for data input,

[Zope-dev] Security and Acquisition?!

2000-10-25 Thread Chris Withers
Toby Dickenson wrote: Zope security is context based: Users can be defined in a subfolder and only have access under that folder, they can also be given local roles for a given folder. The role:permission mapping is set per-folder. Any security aware object needs to know its context. Yeah,

[Zope-dev] RE: Security and Acquisition?!

2000-10-25 Thread Toby Dickenson
Anyone know what those attributes are? Heres a good trick: add this method to your class to see which attributes it is asked for, but doesnt implement. def __getattr__(self,id,reg={}): if not reg.has_key(id): print `id` reg[id]=id raise

Re: [Zope-dev] 2 Zopes

2000-10-25 Thread Ender
Andre Schubert wrote: Hi, Can anyone tell me a way to get Zope Objects from the first Zope-Installation to the second. I need this because i have to program a Product to putting data into different Zope Installations from one point of the Web. My boss want this way because he want a

Re: [Zope-dev] extending objectValues() and objectIds() or ?

2000-10-25 Thread Dennis Nichols
Thanks for the advice (below). I added another parameter for meta type and everything works great. What's the advantage of using Python Method rather than an external method, other than thru-the-web editing? Any disadvantages? At 10/24/00 06:45 PM, Itamar Shtull-Trauring wrote: Write a Python

Re: [Zope-dev] Large file support

2000-10-25 Thread Toby Dickenson
On Tue, 24 Oct 2000 20:31:52 +0200, [EMAIL PROTECTED] wrote: If the Zope object knows how to produce the data themselves, they could push producer(s) directly to the channel. I added a single check in ZServer.HTTPResponse(256) where a temporary file is only created

Re: [Zope-dev] Unique and Contant object IDs

2000-10-25 Thread Chris Withers
Toby Dickenson wrote: On 24 Oct 2000 15:14:24 GMT, [EMAIL PROTECTED] (Ty Sarna) wrote: Unfortunately there are a lot of things that Zope just can't do because there is no way to get a persistent "ticket" for an object that can be handed out to some external system, and then later redeemed

Re: [Zope-dev] Large file support

2000-10-25 Thread Chris Withers
How does this differ from Local FS? cheers, Chris [EMAIL PROTECTED] wrote: I have been building an "ExternalFile" class which stores the body of the file in an external file, mirroring the Zope path/hierarchy. This will allow easy integration with servers that can mount the external

Re: [Zope-dev] Unique and Contant object IDs

2000-10-25 Thread Chris Withers
Toby Dickenson wrote: Yeah, I'd love an ID I could use to grab an object no matter how often it was used. I suspect you will have to build this yourself. Store a sufficiently random id inside your objects when they are created, and use a ZCatalog to index them. blech! ;-) Why

Re: [Zope-dev] Unique and Contant object IDs

2000-10-25 Thread Itamar Shtull-Trauring
Chris Withers wrote: I suspect you will have to build this yourself. Store a sufficiently random id inside your objects when they are created, and use a ZCatalog to index them. blech! ;-) This is the normal way to keep references to objects. I asked Jim Fulton at IPC8, and he

RE: [Zope-dev] WriteLocking RiskFactors updated

2000-10-25 Thread Brian Lloyd
The WriteLocking RiskFactors artifact has had some new work done on it and I'm interested in some editorial comments and review before work begins on Architecture and UseCases. http://dev.zope.org/Wikis/DevSite/Projects/WriteLocking/RiskFactors Make any comments you have at:

Re: [Zope-dev] Unique and Contant object IDs

2000-10-25 Thread Itamar Shtull-Trauring
Johan Carlsson wrote: Why are the _p_oid depriciated? Not depreciated, just "don't use them." -- Itamar S.T. [EMAIL PROTECTED] Fingerprint = D365 7BE8 B81E 2B18 6534 025E D0E7 92DB E441 411C ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] Large file support

2000-10-25 Thread seant
There is not much difference between the ExternalFile class I'm working with and the File objects produced by LocalFS except External Files can be put anywhere in the Zope hierarchy and LocalFS files need to be under a LocalFS. Each approach has its pros and cons. This proposal mostly deals

RE: [Zope-dev] Large file support

2000-10-25 Thread Toby Dickenson
I should also note that if you create a producer, you will have to override the __len__ method to return the entire length of the data. This is because RESPONSE.write doesn't allow you to set the length of a write and there code during output that checks the size of the written object.

Re: [Zope-dev] Unique and Contant object IDs

2000-10-25 Thread Johan Carlsson
Johan Carlsson wrote: Why are the _p_oid depriciated? Not depreciated, just "don't use them." But I want too, why shouldn't I? They solves my problems with mapping relational data to objects. If I were to use my own random id generator I would need a global registry for my UID. I

Re: [Zope-dev] Unique and Contant object IDs

2000-10-25 Thread Itamar Shtull-Trauring
Johan Carlsson wrote: Why are the _p_oid depriciated? Not depreciated, just "don't use them." But I want too, why shouldn't I? They solves my problems with mapping relational data to objects. I would guess multiple databases can have the same oid's for their objects - and Zope does

[Zope-dev] Zope Error: You are not authorized to access this resource

2000-10-25 Thread Loibl Johann
Hi, do anyone know how to generate my own error message if there is a authorization problem? The standard_error_message.html do not influence the response from zope. Thanks, Hannes ___ Zope-Dev maillist - [EMAIL PROTECTED]

[Zope-dev] UnboundLocalError : LoginMgr 8.8b1, ZPatterns 4.3b1

2000-10-25 Thread Kim Friesen
Hi, I am trying to get Login Manager working and I am getting the following error message when I add the LoginManager type to a user folder, has anyone encountered this before ? Thanks, Kim Friesen __ACTION__ Add User Folder Add Login Manager to User Folder Error __PRODUCTS__

Re: [Zope-dev] Migrating from ZClasses to Python Products

2000-10-25 Thread Jason Spisak
Toby Dickenson: Thanks for the advice. I have looked at that before, and having a hybrid ZClass/Python product seemed to place a lot of design considerations heavily in the python base class. I've looked _holdOntoYourButts before as well. Thanks again, On Tue, 24 Oct 2000 20:16:30 GMT,

[Zope-dev] FW: FastCGI under IIS

2000-10-25 Thread Becker, Glen
-Original Message- From: ethan mindlace fremen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 25, 2000 2:45 PM To: Glen Becker Cc: Zope Webmaster Subject: Re: FastCGI under IIS Glen Becker wrote: Apparently, Zope has support for FastCGI under IIS. We want to find a FastCGI

[Zope-dev] zoplets....

2000-10-25 Thread Josh Zeidner
groove.net has a lot of potential for coordinating open-source projects... maybe someone can schedule one of those hairy zope-xml discussions on there. -josh _ Get Your Private, Free E-mail from MSN Hotmail at

Re: [Zope-dev] UnboundLocalError : LoginMgr 8.8b1, ZPatterns 4.3b1

2000-10-25 Thread Kim Friesen
oops, sorry I didn't mean a 'User Folder' ... I actually added a 'Folder' and then added a 'Login Manager' to that Folder. I also tried this with a 'Folder w/Customizer Support' Thanks, Kim Friesen Message: 11 From: [EMAIL PROTECTED] (Ty Sarna) Subject: Re: [Zope-dev] UnboundLocalError :

Re: [Zope-dev] FW: FastCGI under IIS

2000-10-25 Thread Andy McKay
The fastCGI plugin for IIS is unfortunately not open source. FastCGI bought it and you now have to pay for it. Try pcgi instead. http://www.fastcgi.com/ - Original Message - From: "Becker, Glen" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 25, 2000 12:41 PM Subject:

Re: [Zope-dev] Migrating from ZClasses to Python Products

2000-10-25 Thread Jason Spisak
Ender writes: Point taken. Jason Spisak wrote: Ender writes: Jason Spisak wrote: The only problem I am dealing with is size. What kind of a transaction will that be? Huge, no doubt. I would run out of space to buffer it. Does Zope do subtransactions now,