[Zope3-Users] 3.1 final zeo tests error message

2005-10-03 Thread Alen Stanisic
Hi, first of all thanks and congratulations to zope3 dev team on the release of 3.1. I gave it a try today and when running 'make check' got this message: The following test left new threads behind: checkAbortNotCommitting (ZEO.tests.testZEO.MappingStorageTests) New thread(s): [] At the end of

[Zope3-Users] Re: stuffing the request object in zope3

2005-10-03 Thread Tim Middleton
Gary Poster wrote: > FWIW, we're trying to reduce the "frightening" and "magical" aspect > of the glue. :-) That said, glue still has its place, and I think > zcml is actually working out pretty well overall. I take no small amount of comfort in strange frequency of finding Shane Hathaway's "Zope

[Zope3-Users] "Mini-Zope3" or reducing Zope3 to the minimum needed

2005-10-03 Thread Stéphane Brunet
Hi, Zope is a great and huge toolbox but I was wondering what kind of products are "compulsory" for the good working of Zope3. Is it possible to strip down the Zope installation to the minimum ? Does anyone experienced that yet ? Regards, Stéphane ___

RE: [Zope3-Users] object has no attribute '_SampleContainer__data'

2005-10-03 Thread Leticia Larrosa
Tom and Gary, thanks so much. Tom, was exactly the same problem !!!. Gary, I will review my knowledge about python following your advice ;) Regards, Leticia -Original Message- From: Tom Dossis [mailto:[EMAIL PROTECTED] Sent: Monday, October 03, 2005 8:09 PM To: Leticia Larrosa Cc: zope3

Re: [Zope3-Users] object has no attribute '_SampleContainer__data'

2005-10-03 Thread Tom Dossis
Leticia Larrosa wrote: When a try to see the view of list of "Service" of one of the "ServiceList" I get the following error: """ 'Service' object has no attribute '_SampleContainer__data' """ I'm newcomer in zope 3 and any idea will be appreciated. Thanks in advance. Leticia Larrosa In addi

Re: [Zope3-Users] object has no attribute '_SampleContainer__data'

2005-10-03 Thread Gary Poster
On Oct 3, 2005, at 9:29 PM, Leticia Larrosa wrote: AttributeError: 'Service' object has no attribute '_SampleContainer__data' Hi Leticia. It looks like your container overrides __init__ and, rather than deferring to the SampleContainer.__init__, you are trying to set the __data value in

RE: [Zope3-Users] object has no attribute '_SampleContainer__data'

2005-10-03 Thread Leticia Larrosa
I'm sorry, I forgot to say that: "ServiceList" and "Service" are hypothetical kinds of objects. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of leticia Sent: Monday, October 03, 2005 1:11 PM To: zope3-users@zope.org Subject: [Zope3-Users] object has no at

Re: [Zope3-Users] Advanced usage of Z3 schemas...

2005-10-03 Thread Stephan Richter
On Monday 03 October 2005 10:22, Gary Poster wrote: > > I am currently thinking about for a new version of PloneCollectorNG   > > based on Zope 3. The currently implementation uses per-instances   > > schemas (acquired from a parent object managing the schema). How   > > would you do that in Zope 3

Re: [Zope3-Users] User data / metadata

2005-10-03 Thread Stephan Richter
On Monday 03 October 2005 13:31, James Allwyn wrote: > > You could do it directly. In fact, you could even have 'members' as > > regular content objects in the site and write an authentication > > utility which looks up those members and builds a security Principal > > object off of that. I believe

Re: [Zope3-Users] stuffing the request object in zope3

2005-10-03 Thread Stephan Richter
On Monday 03 October 2005 11:19, Tim Middleton wrote: > So, now, Zope 3... somewhat different, to say the least! There is the, if > not 100% enforced, certainly more strongly segregated, "view" portion of an > app. And perhaps it's time to change. Perhaps I have no choice. Perhaps I > have a choice

Re: [Zope3-Users] querying the catalog

2005-10-03 Thread Duncan McGreggor
On Oct 3, 2005, at 8:11 AM, Gary Poster wrote: Hi Duncan. I tried following up on some of the later replies, but I think it's easier to reply to your first email. I think that what is tripping you up is the idea of registration names versus container names. You can put a utility in any sit

Re: [Zope3-Users] User data / metadata

2005-10-03 Thread James Allwyn
> You could do it directly. In fact, you could even have 'members' as > regular content objects in the site and write an authentication > utility which looks up those members and builds a security Principal > object off of that. I believe this is what Schoolbell does. This sounds interesting - are

[Zope3-Users] object has no attribute '_SampleContainer__data'

2005-10-03 Thread leticia
Hi: I have an object "ServiceList" who inherit from "BTreeContainer" and implements "IContainer" that have inside objects of type "Service" who inherit from "BTreeContainer" too and implements "IContained" and "IContainer". When a try to see the view of list of "Service" of one of the "ServiceLis

Re: [Zope3-Users] stuffing the request object in zope3

2005-10-03 Thread Gary Poster
On Oct 3, 2005, at 11:19 AM, Tim Middleton wrote: I've done a few Zope 2 projects, and am trying to wrap my head around Zope 3 now. The style I evolved for putting together Zope 2 applications may not have been very orthodox. Basically I found that I disliked (and mistrusted, maybe becau

Re: [Zope3-Users] Re: stuffing the request object in zope3

2005-10-03 Thread Andreas Jung
--On 3. Oktober 2005 12:45:53 -0400 Tim Middleton <[EMAIL PROTECTED]> wrote: Andreas Jung wrote: A quote from Philipp: """Everything that deals with a the request object should be a view (or browser view)""" This means your approach is wrong. Make clear separation between your core implementa

[Zope3-Users] Re: stuffing the request object in zope3

2005-10-03 Thread Tim Middleton
Andreas Jung wrote: > A quote from Philipp: """Everything that deals with a the request object > should be a view (or browser view)""" This means your approach is wrong. > Make clear separation between your core implementation which should not Yes, I know, I'm horribly, horribly, horribly wrong. A

Re: [Zope3-Users] stuffing the request object in zope3

2005-10-03 Thread Andreas Jung
--On 3. Oktober 2005 11:19:22 -0400 Tim Middleton <[EMAIL PROTECTED]> wrote: > it...) So still, I wonder... how can I get that request object I love so to abuse? A quote from Philipp: """Everything that deals with a the request object should be a view (or browser view)""" This means your

[Zope3-Users] stuffing the request object in zope3

2005-10-03 Thread Tim Middleton
I've done a few Zope 2 projects, and am trying to wrap my head around Zope 3 now. The style I evolved for putting together Zope 2 applications may not have been very orthodox. Basically I found that I disliked (and mistrusted, maybe because at the time I didn't understand the security wrappers v

Re: [Zope3-Users] Advanced usage of Z3 schemas...

2005-10-03 Thread Gary Poster
On Oct 3, 2005, at 4:45 AM, Andreas Jung wrote: Hi, I am currently thinking about for a new version of PloneCollectorNG based on Zope 3. The currently implementation uses per-instances schemas (acquired from a parent object managing the schema). How would you do that in Zope 3? It sou

Re: [Zope3-Users] querying the catalog

2005-10-03 Thread Jim Fulton
Duncan McGreggor wrote: On Sep 30, 2005, at 11:31 PM, Alen Stanisic wrote: Not sure if it will help but whenever I had to look up a catalog I would only do zapi.getUtility(ICatalog) and I noticed you are also providing a name and context. Yeah, with or without the extra parameters, it alway

Re: [Zope3-Users] querying the catalog

2005-10-03 Thread Gary Poster
On Sep 30, 2005, at 6:33 PM, Duncan McGreggor wrote: I have a multiple sites on a zope3 instance (folders at the top level that have their own site managers). In one of them, there is page content object with a custom view for portraying search results from its (local) catalog. However, I

[Zope3-Users] pau and zope.manager

2005-10-03 Thread Jim Washington
I want to use pau, with session (cookie) based authentication. No basic authentication. The problem is, when the pau is activated, the zope.manager defined in zcml seems to be no longer accessible, effectively locking me out of the zmi. What I think is happening is the pau appends a prefix

Re: [Zope3-Users] Re: worldcookery "Christmas Dinner"

2005-10-03 Thread Gary Poster
On Oct 3, 2005, at 2:32 AM, Joel Moxley wrote: I apologize for my replying to self, but I was re-reading Stephan's and then Philipp's book and realized that one portion of my email has been answered. Thus, I'm hoping to clarify my question to the list. Looking at the messageboard content clas

Re: [Zope3-Users] addview name not form

2005-10-03 Thread Florian Lindner
Am Freitag, 30. September 2005 20:17 schrieb Julien Anguenot: > Florian Lindner wrote: > > Am Donnerstag, 29. September 2005 20:25 schrieb Julien Anguenot: > >>First have a look at this : > >> > >>http://www.zope.org/Collectors/Zope3-dev/391 > > > > Sorry, didn't read that thoroughly. What do you s

[Zope3-Users] Advanced usage of Z3 schemas...

2005-10-03 Thread Andreas Jung
Hi, I am currently thinking about for a new version of PloneCollectorNG based on Zope 3. The currently implementation uses per-instances schemas (acquired from a parent object managing the schema). How would you do that in Zope 3? Another question: in Zope 3 we have FieldProperties that autom

[Zope3-Users] Override a browser class

2005-10-03 Thread Johan Carlsson
Hi all, I want to replace the pasteable in zope.app.container.browser.contents.Contents for all content types. I've created a sub class to Contents which override the pasteable but I'm not sure how to configure it to override the default class (if possible)? Best Regards, Johan PS. The reas

Re: [Zope3-Users] Re: worldcookery "Christmas Dinner"

2005-10-03 Thread Duncan McGreggor
On Oct 3, 2005, at 12:32 AM, Joel Moxley wrote: * RecipeFolder Views. In a RecipeFolder page template file, how would you view both parameters on the parent RecipeFolder as well as specific child Recipes within the container? * RecipeFolder Controllers. How would you access an external pytho

[Zope3-Users] Re: [Zope-Annce] Zope 3.1.0 released!

2005-10-03 Thread Sebastien Douche
On 10/2/05, Stephan Richter <[EMAIL PROTECTED]> wrote: > The Zope 3 development team is proud to announce Zope 3.1.0 final. Yeah! Thank you Stephan. Great job! -- Sébastien Douche <[EMAIL PROTECTED]> ___ Zope3-users mailing list Zope3-users@zope.org ht