[Zope3-Users] Re: generations and utilities

2006-01-31 Thread Paolo Invernizzi
Gary Poster wrote: Heh, ok, I'll try just one more one-second diagnosis then. ;-) :-P Are you setting the site? old_site = zope.app.component.hooks.getSite() zope.app.component.hooks.setSite(object) try: # ...add the utilities and indexes in here... finally: zope.app.component.hooks

Re: [Zope3-Users] Re: generations and utilities

2006-01-31 Thread Gary Poster
On Jan 31, 2006, at 12:23 PM, Paolo Invernizzi wrote: Gary Poster wrote: Your recipe looks fine. If I were in your shoes my next lazy attempt would be to try committing the transaction with the intids and catalog before adding the indexes. Ok, I added the transaction... still bangs, the

[Zope3-Users] Re: generations and utilities

2006-01-31 Thread Paolo Invernizzi
Gary Poster wrote: Your recipe looks fine. If I were in your shoes my next lazy attempt would be to try committing the transaction with the intids and catalog before adding the indexes. Ok, I added the transaction... still bangs, the full traceback is at the end... Note that if I don't ad

Re: [Zope3-Users] Re: generations and utilities

2006-01-31 Thread Gary Poster
On Jan 31, 2006, at 11:48 AM, Paolo Invernizzi wrote: Do you mean if there's a zope.app.keyreference-configure.zcml in the instance/etc? Yes, it's a standard zope 3.2.0 created instance... Ah well, sorry. Your recipe looks fine. If I were in your shoes my next lazy attempt would be to

[Zope3-Users] Re: generations and utilities

2006-01-31 Thread Paolo Invernizzi
Do you mean if there's a zope.app.keyreference-configure.zcml in the instance/etc? Yes, it's a standard zope 3.2.0 created instance... --- Paolo Gary Poster wrote: On Jan 31, 2006, at 11:16 AM, Paolo Invernizzi wrote: Hello, I've developed a content object for zope and I'm using the insta