[Zope-Checkins] SVN: Zope/branches/philikon-aq/lib/python/Acquisition/ Merged from old philikon-aq-and-__parent__ branch:

2007-07-24 Thread Philipp von Weitershausen
Log message for revision 78314: Merged from old philikon-aq-and-__parent__ branch: Log message for revision 71221: Step 2: Make aq_acquire aware of __parent__ pointers, even if the object isn't acquisition wrapped. Log message for revision 71223: Add another test that tests

[Zope-Checkins] SVN: Zope/branches/philikon-aq/lib/python/Acquisition/ Merged from old philikon-aq-and-__parent__ branch:

2007-07-24 Thread Philipp von Weitershausen
Log message for revision 78318: Merged from old philikon-aq-and-__parent__ branch: Log message for revision 71227: Step 4: Make aq_get aware of __parent__ pointers. (Also some comment cosmetics in _Acquisition.c) Log message for revision 71228: Test aq_parent property as

[Zope-Checkins] SVN: Zope/branches/philikon-aq/lib/python/Shared/DC/Scripts/Bindings.py Merged from old philikon-aq-and-__parent__ branch:

2007-07-24 Thread Philipp von Weitershausen
Log message for revision 78319: Merged from old philikon-aq-and-__parent__ branch: Log message for revision 77024: Read that mail again, we agreed on raising an AttributeError instead of returning None. Changed: U

[Zope-dev] Zope Tests: 5 OK

2007-07-24 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Mon Jul 23 12:00:00 2007 UTC to Tue Jul 24 12:00:00 2007 UTC. There were 5 messages: 5 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2.7 Python-2.3.6 : Linux From: Zope Unit Tests Date: Mon Jul 23 20:52:21 EDT 2007

Re: [Zope] IndexError

2007-07-24 Thread Jonathan
snip - Original Message - From: kamal hamzat [EMAIL PROTECTED] To: zope@zope.org Sent: Monday, July 23, 2007 10:54 PM Subject: [Zope] IndexError I am having IndexError in some of my folders when i tried to view the content of Zcatalog created in these folders, but to my surprise this

[Zope] Declare constructor as public

2007-07-24 Thread Garito
Hi all! How can I declare a product's constructor public? Thanks! -- Mis Cosas http://blogs.sistes.net/Garito ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope] Declare constructor as public

2007-07-24 Thread Andrew Milton
+---[ Garito ]-- | Hi all! | | How can I declare a product's constructor public? | | Thanks! You have to declare a permission first such as: Add Garito Product when you create your product, and register the class. Then in the ZMI you simply add the roles you want access

Re: [Zope] Declare constructor as public

2007-07-24 Thread Garito
Hi Andrew! In a normal method inside the product's class I use this: security = ClassSecurityInfo() security.setPermissionDefault('Freemind', ('Manager', 'Developer')) security.declareProtected('Freemind', 'freemind') But outside the class I have no idea how to create security object Can I put

[Zope] ZODB FileStorage inspection tool: treenalyser

2007-07-24 Thread Pelletier Vincent
Hi. I created a ZODB FileStorage inspection tool which originaly derived from netspace.py (as of zope 2.8.8). I was especially interested in actual object content, so this script offers the possibility to hex dump objects, and exports some more knobs (recursion depth, subtree selection, more

[Zope] Re: Declare constructor as public

2007-07-24 Thread J Cameron Cooper
Garito wrote: Hi Andrew! In a normal method inside the product's class I use this: security = ClassSecurityInfo() security.setPermissionDefault('Freemind', ('Manager', 'Developer')) security.declareProtected ('Freemind', 'freemind') But outside the class I have no idea how to create security

Re: [Zope] Re: Declare constructor as public

2007-07-24 Thread Garito
Hi, J Cameron! With constructor I mean the function I use to create the object. In this case: context.manage_addProduct['Yanged'].CrearYanged(NuevaId) CrearYanged How can I convert it to public? Thanks! 2007/7/24, J Cameron Cooper [EMAIL PROTECTED]: Garito wrote: Hi Andrew! In a normal

Re: [Zope] Re: Declare constructor as public

2007-07-24 Thread Jonathan
- Original Message - From: Garito [EMAIL PROTECTED] To: zope@zope.org Sent: Tuesday, July 24, 2007 10:44 AM Subject: Re: [Zope] Re: Declare constructor as public Hi, J Cameron! With constructor I mean the function I use to create the object. In this case:

Re: [Zope] Re: Declare constructor as public

2007-07-24 Thread Garito
Now the problem is with a manager user too (yesterday this user works ok) I try to inspect the process to see where it fails but seems to be ok The error is raised when Zope try to commit the changes This is the traceback: Traceback (innermost last): Module ZPublisher.Publish, line 121, in

Re: [Zope] Re: Declare constructor as public

2007-07-24 Thread Jonathan
- Original Message - From: Garito [EMAIL PROTECTED] To: Jonathan [EMAIL PROTECTED] Cc: zope@zope.org Sent: Tuesday, July 24, 2007 11:47 AM Subject: Re: [Zope] Re: Declare constructor as public Now the problem is with a manager user too (yesterday this user works ok) I try to inspect

Re: [Zope] Re: Declare constructor as public

2007-07-24 Thread Garito
Hi again! I detect some clues for the problem: I use ExUserFolder as acl_user for the website who raises this error The problem only raises if I'm authenticated as an user of the ExUserFolder not if I'm authenticated as a root acl_user's user In both cases the user has manager as roles but the

Re: [Zope] Re: Declare constructor as public

2007-07-24 Thread Garito
Hi, Jonathan! Please, read my last message with the XUF consideration Thanks! 2007/7/24, Jonathan [EMAIL PROTECTED]: - Original Message - From: Garito [EMAIL PROTECTED] To: Jonathan [EMAIL PROTECTED] Cc: zope@zope.org Sent: Tuesday, July 24, 2007 11:47 AM Subject: Re: [Zope] Re:

Re: [Zope] Re: Declare constructor as public

2007-07-24 Thread Andrew Milton
+---[ Garito ]-- | Hi again! | I detect some clues for the problem: | | I use ExUserFolder as acl_user for the website who raises this error | | The problem only raises if I'm authenticated as an user of the ExUserFolder not | if I'm authenticated as a root acl_user's

Re: [Zope] Re: Declare constructor as public

2007-07-24 Thread Garito
Sorry for the private message, Andrew It seems like with the XUF user's roles don't work ok or something like this 2007/7/24, Andrew Milton [EMAIL PROTECTED]: +---[ Garito ]-- | Hi again! | I detect some clues for the problem: | | I use ExUserFolder as acl_user for the

Re: [Zope] Re: Declare constructor as public

2007-07-24 Thread Garito
No If I try this the call don't work with users in normal acl_user folder, isn't it? The call works ok with users stored in the root acl_user 2007/7/24, Andrew Milton [EMAIL PROTECTED]: +---[ Garito ]-- | Hi again! | I detect some clues for the problem: | | I use

[Zope] Pickle error and Zeo setup

2007-07-24 Thread Sudesh soni
BlankHi, I am trying to update the 'SiteRootBase' in the secure.xml file and do import in zope , but I get error as shown in the screenshot. I did same with secure.zexp and another error : cannot convert long int , i face when i import that file. Why zope2.8.5 does not allow importing