[Zope] Re: use Data.fs from mountpoint B to "populate" mountpoint A - how?

2005-10-21 Thread Dieter Maurer
Please send all Zope related questions to a Zope related mailing list and not to me privately. Usually, I do not answer questions sent to me privately! I added "zope@zope.org". Christoph Berendes wrote at 2005-10-21 14:12 -0400: >I created a mount point, /default_site and a corresponding directo

Re: [Zope] Zope Install Best Practice - Newbie Questions

2005-10-21 Thread robert rottermann
Russel, we do install our zope/plone instances in a simmilar way you did. in addition to the steps you described we the do the following - make Zope-2.7 and Zope-2.8 a softlink to the respective source directory and then create the instances from the Zope-2.X/bin directory. the mkzope/zeoinstanc

Re: [Zope] fine grained, dynamic permissions based on attribute values

2005-10-21 Thread Robert Boyd
On 10/18/05, Chris Crownhart <[EMAIL PROTECTED]> wrote: > Good day, > > I am wondering if/how I could control the permissions on an object based > on the value of an attribute. > > So, as an example, I have multiple users, and multiple values for the > category field. I would like User A to access

[Zope] Zope Install Best Practice - Newbie Questions

2005-10-21 Thread Russell Winter
Folks,   First post from a real newbie, I have currently got Zope installed under a test server and would like to ensure that I get things right for our production environment. Being a complete newbie to Zope I would like to be sure I am doing things right and understood the numerous article

Re: [Zope] Zope crashing a RedHat installation?

2005-10-21 Thread Jens Vagelpohl
On 21 Oct 2005, at 20:50, Aaron Bauman wrote: Hi, We're running Zope 2.7.3, Plone 1.0.something relatively large Data.fs ( > 300MB ) Decent amount of anonymous traffic, But relatively low administrative use (1 - 2 users usually). Could these factors be brining the machine down? I've been getti

Re: [Zope] Zope crashing a RedHat installation?

2005-10-21 Thread Rakotomandimby Mihamina
On Fri, 2005-10-21 at 15:50 -0400, Aaron Bauman wrote: > Hi, Hi, > We're running Zope 2.7.3, Plone 1.0.something > relatively large Data.fs ( > 300MB ) > But relatively low administrative use (1 - 2 users usually). > Could these factors be brining the machine down? What products? just Plone 1.0

[Zope] Zope crashing a RedHat installation?

2005-10-21 Thread Aaron Bauman
Hi, We're running Zope 2.7.3, Plone 1.0.something relatively large Data.fs ( > 300MB ) Decent amount of anonymous traffic, But relatively low administrative use (1 - 2 users usually). Could these factors be brining the machine down? I've been getting intermittent 'corrupted data' messages for so

Re: [Zope] __getitem__ and returning a PageTemplateFile instance

2005-10-21 Thread Dieter Maurer
Anders Bruun Olsen wrote at 2005-10-21 15:06 +0200: > ... >Ahh.. that makes sense I guess. It just seems counterintuitive that you >can return a string in a normal function, but not in __getitem__. Can can return a string from "__getitem__" (without problem), *but* you cannot use this string durin

Re: [Zope] FTP or WebDav creates empty files

2005-10-21 Thread Dieter Maurer
D Washburn wrote at 2005-10-21 10:03 -0400: >I have a desktop program that develops DTML pages for a ZOPE/PLONE >website. I planned to upload them via FTP or WebDav. > >When they arrive they are empty. This usually works. Are you sure, your files do not contain bugs? Can you upload the same file

Re: [Zope] ZCatalog: searching where on index == another index

2005-10-21 Thread Dieter Maurer
Etienne Labuschagne wrote at 2005-10-21 13:00 +0200: >Is there a way to search for all the records where one indexed field >equals another indexed field? > >Equivalent SQL query would be: > >SELECT * FROM table WHERE field1 = field2 If the index has only a few different values, enumerating them ma

Re: [Zope] [OT] ParsedXML dev mail list

2005-10-21 Thread Fred Drake
On 10/21/05, Chris Withers <[EMAIL PROTECTED]> wrote: > Garito wrote: > > Sorry for the off topic but I try to subscribe to ParsedXML dev mail > > list but I can't (mail list doesn't exists) > > Doesn't look like it. Is ParsedXML an Infrae or a Zope Corp product? > > You could always try asking abo

Re: [Zope] Question: What Workflow tool to choose?

2005-10-21 Thread Andreas Jung
--On 21. Oktober 2005 12:18:31 -0400 Robert Boyd <[EMAIL PROTECTED]> wrote: I've been tasked with rapidly developing a demo for a proposed workflow application using Zope. I have plenty of CMF experience including customized workflows based on DCWorkflow, but I'm wondering what other workflo

[Zope] Question: What Workflow tool to choose?

2005-10-21 Thread Robert Boyd
I've been tasked with rapidly developing a demo for a proposed workflow application using Zope. I have plenty of CMF experience including customized workflows based on DCWorkflow, but I'm wondering what other workflows are actively supported and of production quality. In the past I've read blurbs a

[Zope] Re: implicit vs. explicit ownership?

2005-10-21 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Withers wrote: > Jürgen Herrmann wrote: > >> hmm, i'm a bit confused now. do you say that changeOwnershipType() only >> has to do with "executeable ownership"? > > > Yep, I think so... > >> especially i have to know which methods of the IOwne

Re: [Zope] Re: inheriting from SimpleUserFolder's User

2005-10-21 Thread Chris Withers
Florent Guillaume wrote: Actually all third-party userfolders I know of reimplement allowed() in terms of calling getRolesInContext(). SUF doesn't, it aims to keep Simple ;-) I would like to see this fixed in Zope though, I agree the code that's there probably isn't much fo a performance wi

Re: [Zope] write file to FS (LocalFS?)

2005-10-21 Thread Chris Withers
Dieter Maurer wrote: Be careful with External Methods and locks: An External Method does not share the module namespace with the same External Methods in other workers. Thus, you should not use locks defined in the source file of the External Method (but outside in a true Python module)

Re: [Zope] Re: implicit vs. explicit ownership?

2005-10-21 Thread Chris Withers
Jürgen Herrmann wrote: hmm, i'm a bit confused now. do you say that changeOwnershipType() only has to do with "executeable ownership"? Yep, I think so... especially i have to know which methods of the IOwned interface are essential and have to be reimplemented properly on my objects. Why do

Re: [Zope] [OT] ParsedXML dev mail list

2005-10-21 Thread Chris Withers
Garito wrote: Sorry for the off topic but I try to subscribe to ParsedXML dev mail list but I can't (mail list doesn't exists) Doesn't look like it. Is ParsedXML an Infrae or a Zope Corp product? You could always try asking about your problem on this list... cheers, Chris -- Simplistix - Co

Re: [Zope] __getitem__ and returning a PageTemplateFile instance

2005-10-21 Thread Chris Withers
Anders Bruun Olsen wrote: Ahh.. that makes sense I guess. It just seems counterintuitive that you can return a string in a normal function, but not in __getitem__. I have a feeling you're after traverse_subpath, which is available in both Python Scripts and Page Templates... cheers, Chris

Re: [Zope] database connections from external method

2005-10-21 Thread Chris Withers
Vangelis Mihalopoulos wrote: I am loading the zodb in read-only mode. If someone breaks into Zope What do you mean by this? (which btw i believe to be very secure) The why do you consider it a risk? i don't want him to be able to directly access (read/write) the database i am using. *AF

Re: [Zope] database connections from external method

2005-10-21 Thread Chris Withers
Vangelis Mihalopoulos wrote: Tino Wildenhain wrote: The threading is handled by the ZDA, so you can use query() or what the method actually is. I couldn't find a method like that... any hints? Have a look at the ZSQL methods code, I remember this being pretty old and convoluted :-( Oto

[Zope] FTP or WebDav creates empty files

2005-10-21 Thread D Washburn
I have a desktop program that develops DTML pages for a ZOPE/PLONE website. I planned to upload them via FTP or WebDav. When they arrive they are empty. I can upload graphics via FTP and the images arrive OK. So basic transfer works. Any ideas on setting or changes needed to make the text fi

Re: [Zope] __getitem__ and returning a PageTemplateFile instance

2005-10-21 Thread Anders Bruun Olsen
On Thu, Oct 20, 2005 at 09:43:24PM +0200, Dieter Maurer wrote: > >asonhe is not there, but vitester has a __getitem__ method which > >executes a PageTemplateFile instance and returns it. I.e. > Thus, it returns a string. > However, ZPublisher requires that all intermediate traversal > steps return

Re: [Zope] ZCatalog: searching where on index == another index

2005-10-21 Thread Andreas Jung
--On 21. Oktober 2005 13:00:35 +0200 Etienne Labuschagne <[EMAIL PROTECTED]> wrote: Hi all, Is there a way to search for all the records where one indexed field equals another indexed field? no. -aj pgpT5FL2z86QW.pgp Description: PGP signature _

[Zope] ZCatalog: searching where on index == another index

2005-10-21 Thread Etienne Labuschagne
Hi all, Is there a way to search for all the records where one indexed field equals another indexed field? Equivalent SQL query would be: SELECT * FROM table WHERE field1 = field2 I know I can get all the unique values for field1 and then do a search for records where field2 = [unique field1 va

Re: [Zope] database connections from external method

2005-10-21 Thread Vangelis Mihalopoulos
Dieter Maurer wrote: Vangelis Mihalopoulos wrote at 2005-10-19 12:22 +0300: ... I am thinking of using a Z Database Connection (mysql) from within an external method, without using Z SQL Methods, but can't figure out how i can "safely" do it Calling a "DA" object give