Re: [Zope] Context in a view doesn't see marker interface

2008-06-24 Thread Eric Steele
On Jun 20, 2008, at 6:27 AM, Chris Withers wrote: Eric Steele wrote: If I include something along the lines of tal:replace="structure context" /> in my view template, someObject renders in the browser. The problem is that none of what's in there appears to recognize the interface that my vie

[Zope] Re: help debugging a "can't pickle" error deep within a catalog reindex

2008-06-24 Thread Rob Miller
Rob Miller wrote: hi, i'm trying to perform a ZCatalog.refreshCatalog() on a catalog with over 29,000 indexed objects. it churns for a good long time, and eventually fails with a long set of tracebacks, of which i've included a sample at the end of this message. i think i understand the gi

[Zope] question about cataloging Page Templates

2008-06-24 Thread Erik Myllymaki
In Page Templates that use macros, how would you ensure that the entire rendered page is cataloged and returned by a search? For instance, this template: tomatoes is returned when you search for "tomatoes" but is not returned when you search on a word that is in the "main" macro in "t

Re: [Zope] Re: how to unindex an non existing (deleted)object

2008-06-24 Thread robert rottermann
Daniel Nouri schrieb: robert rottermann writes: Sometimes a catalog query returns brains that point to non existing objects. how can I remove such brains from the index programmatically without using the portal_catalag/advanced/update tab? brain.aq_parent._catalog.uncatalogObject(

[Zope] Re: how to unindex an non existing (deleted)object

2008-06-24 Thread Daniel Nouri
robert rottermann writes: > Sometimes a catalog query returns brains that point to non existing objects. > > how can I remove such brains from the index programmatically without > using the portal_catalag/advanced/update tab? brain.aq_parent._catalog.uncatalogObject(brain.getPath()) Daniel

Re: [Zope] how to unindex an non existing (deleted)object

2008-06-24 Thread robert rottermann
Martijn Jacobs schrieb: robert rottermann wrote: Hi there, Sometimes a catalog query returns brains that point to non existing objects. how can I remove such brains from the index programmatically without using the portal_catalag/advanced/update tab? thanks robert If you want to call the

Re: [Zope] how to unindex an non existing (deleted)object

2008-06-24 Thread Martijn Jacobs
robert rottermann wrote: Hi there, Sometimes a catalog query returns brains that point to non existing objects. how can I remove such brains from the index programmatically without using the portal_catalag/advanced/update tab? thanks robert If you want to call the update catalog functiona

[Zope] how to unindex an non existing (deleted)object

2008-06-24 Thread robert rottermann
Hi there, Sometimes a catalog query returns brains that point to non existing objects. how can I remove such brains from the index programmatically without using the portal_catalag/advanced/update tab? thanks robert ___ Zope maillist - Zope@zope.

Re: [Zope] Retrieve Zope data

2008-06-24 Thread Andreas Jung
--On 24. Juni 2008 13:43:30 +0530 Charith Paranaliyanage <[EMAIL PROTECTED]> wrote: Hi, Can someone help me on this, I need to import objects and interfaces in Zope to another program. Say I have created some objects in Zope and then I need to retrieve them from other application running se

[Zope] Retrieve Zope data

2008-06-24 Thread Charith Paranaliyanage
Hi, Can someone help me on this, I need to import objects and interfaces in Zope to another program. Say I have created some objects in Zope and then I need to retrieve them from other application running separately but within the same machine. How can I do this? Let me know if such applications