Skip to content

Instantly share code, notes, and snippets.

@nutjob4life
Created October 3, 2013 20:44
Show Gist options
  • Save nutjob4life/6816807 to your computer and use it in GitHub Desktop.
Save nutjob4life/6816807 to your computer and use it in GitHub Desktop.
File "/Users/kelly/.buildout/eggs/z3c.relationfield-0.6.2-py2.7.egg/z3c/relationfield/event.py", line 82, in updateRelations
catalog.unindex(rel)
File "/Users/kelly/.buildout/eggs/zc.relation-1.0-py2.7.egg/zc/relation/catalog.py", line 546, in unindex
self.unindex_doc(self._relTools['dump'](rel, self, {}))
File "/Users/kelly/.buildout/eggs/zc.relation-1.0-py2.7.egg/zc/relation/catalog.py", line 556, in unindex_doc
self._remove(relToken, tokens, data['name'])
File "/Users/kelly/.buildout/eggs/zc.relation-1.0-py2.7.egg/zc/relation/catalog.py", line 621, in _remove
data = dataset[key]
KeyError: <class 'plone.directives.form.schema.Schema'>
@ale-rt
Copy link

ale-rt commented Aug 9, 2016

Stumbled in the same problem today :)
Did you find ani way to clean the catalog without rebuilding it?

Thanks for the support!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment