Re: [Zope-dev] KeywordIndex errors

2002-11-28 Thread Wolfram Kerber
- Original Message - From: seb bacon [EMAIL PROTECTED] Sent: Thursday, November 28, 2002 11:22 AM Subject: Re: [Zope-dev] KeywordIndex errors 2002-11-27T16:16:26 ERROR(200) KeywordIndex unindex_object could not remove documentId -869933785 from index companies. This should not

Re: [Zope-dev] KeywordIndex errors

2002-11-27 Thread Wolfram Kerber
This usually happens when there are duplicates in the indexed keywords and the record isn't updated before unindexing. Shouldn't cause any problems, though it isn't nice. This can be easily fixed by changing the KeywordIndex' index_object method to make keywords unique before indexing. -

Re: [Zope-dev] Re: [ZPT] accessing object attributes from python expression raises error

2002-01-09 Thread Wolfram Kerber
From: Chris McDonough: meta_type is an attribute, so you can't just do security.declareProtected(ACCESS_CONTENTS_PERM, 'meta_type') That's right. The id attribute has the getId method, perhaps what's required is a getMetaType method that can be suitably protected? This would

Re: [Zope-dev] Re: [ZPT] accessing object attributes from pythonexpression raises error

2002-01-09 Thread Wolfram Kerber
Interesting. I didn't think you could have more than one setDefaultAccess in a class. If you can, then you can set: security.setDefaultAccess('deny') security.setDefaultAccess({'meta_type': 1}) The last 'setDefaultAccess' statement in a class will define the actual behaviour, i.e use only

Re: [Zope-dev] getPhysicalPath differs for function vs. __getattr__

2001-12-06 Thread Wolfram Kerber
__getattr__ gets the 'true self' as argument while other methods always get an acquisition wrapped self, this is by design. Usually it's not a good idea to override __getattr__ of acquisition aware objects. - Original Message - From: John Ziniti [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: [Zope-dev] Searching/Indexing/ZODB/SQL/BerkleyDB

2001-12-05 Thread Wolfram Kerber
Wolfram Kerber wrote: Could you explain the problems that should be solved by this a little? The idea is to provide a flexible, scalable and powerful indexing solution that works out of the box for Python, rather than Zope. I find it rather hard to contribute anything useful without

Re: [Zope-dev] Searching/Indexing/ZODB/SQL/BerkleyDB

2001-12-04 Thread Wolfram Kerber
[EMAIL PROTECTED] Cc: Matt Hamilton [EMAIL PROTECTED]; Casey Duncan [EMAIL PROTECTED]; Steve Alexander [EMAIL PROTECTED]; Wolfram Kerber [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, December 04, 2001 10:36 PM Subject: Re: [Zope-dev] Searching/Indexing/ZODB/SQL/BerkleyDB Casey Duncan wrote

Re: [Zope-dev] Catalog improvements

2001-11-27 Thread Wolfram Kerber
of the two proposals, just wasn't sure wether i should start this off, since i have no experience as to how the fishbowl works and i'm expected to finish my current project sometime soon. Wolfram - Original Message - From: Casey Duncan [EMAIL PROTECTED] To: Wolfram Kerber [EMAIL PROTECTED

Re: [Zope-dev] Catalog improvements

2001-11-21 Thread Wolfram Kerber
- Original Message - From: Jeffrey P Shell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 21, 2001 7:38 PM Subject: Re: [Zope-dev] Catalog improvements On Tuesday, November 20, 2001, at 03:35 PM, Wolfram Kerber wrote: Hi, i'm currently working on a product

Re: [Zope-dev] PathIndex

2001-11-21 Thread Wolfram Kerber
Let me know what you think You should submit this to the Collector: http://collector.zope.org I have already had a good experience with it ;-) ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No