RE: KeyError when publishing document

"Benno Luthiger" <[email protected]>
Newsgroups gmane.comp.web.zope.silva.devel
Message-ID <000601c49a5f$96f621a0$1e238481@openlu>
Dear Martijn

> One thing you could try is going to the service_catalog advanced panel
> and doing a catalog update. That should at least throw away the 'bad'
> references (though it won't index things that aren't in the 
> index anymore).
Having proceeded this way, I've been able to publish all documents now.

Thanks for the hint,
Benno


> -----Original Message-----
> From: Martijn Faassen [mailto:[email protected]]
> Sent: Dienstag, 14. September 2004 15:16
> To: Luthiger Stoll, Benno
> Cc: 'Silva Developer'
> Subject: Re: [silva-dev] KeyError when publishing document
> 
> 
> Benno Luthiger wrote:
> 
> >> Did you by any chance do anything with it, or possibly renamed or 
> >> copied this silva root in the past?
> > 
> > Indeed, the silva root of the instance I exported the site was named
> > differently then the silva root of the instance I work now, throwing
> > the KeyError. Do you think this might be the cause of the problem?
> 
> It could be. This error in particular is unfamiliar to me. It 
> depends on
> what exactly happened, but the catalog keeps references to
> object paths inside. If the name of the root changes (due to 
> renaming or
> copying), object paths may be still sitting there that point 
> to nothing.
> This may confuse the catalog.
> 
> One thing you could try is going to the service_catalog advanced panel
> and doing a catalog update. That should at least throw away the 'bad'
> references (though it won't index things that aren't in the 
> index anymore).
> 
> Regards,
> 
> Martijn
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.