Re: PicklingError: Can't pickle <type 'ImplicitAcquirerWrapper'>
Andreas Jung <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <[email protected]> |
Wrap the code in ZODB.serialize where the error occurs into a try..except and call pdb.set_trace() inside the except clause. Looking at the data to be pickled should give you a clue about the content object causing the trouble. -aj Umberto Calligaro wrote: > Hi, > > we have a strange problem and we cannot find a solution. > > In our /portal_catalog/ there are two ghost brains. We select their > checkboxes and then press Remove*.* Then we get the message *Object > Uncataloged*, but searching for the two brains, they still remain in the > catalog. > > Trying to /Update/ the catalog or /Clear and rebuild/, we get this error: > > 2014-11-27T17:54:18 ERROR Zope.SiteErrorLog > http://localhost:10181/mysite/portal_catalog/manage_catalogClear > Traceback (innermost last): > Module ZPublisher.Publish, line 63, in publish > Module Zope2.App.startup, line 238, in commit > Module transaction._manager, line 93, in commit > Module transaction._transaction, line 325, in commit > Module transaction._transaction, line 424, in _commitResources > Module ZODB.Connection, line 541, in commit > Module ZODB.Connection, line 586, in _commit > Module ZODB.Connection, line 620, in _store_objects > Module ZODB.serialize, line 407, in serialize > Module ZODB.serialize, line 416, in _dump > PicklingError: Can't pickle <type 'ImplicitAcquirerWrapper'>: > attribute lookup __builtin__.ImplicitAcquirerWrapper failed > > > We get the same error when we try to add new Plone Site. > > Can anyone help us? > > Thank you > > Umberto Calligaro > -- > Ufficio Tecnico > -- > /--------------------------------------//-/ > *Tecnoteca srl* > Via L'Aquila, 1/B - 33010 Tavagnacco UD - Italy > tel. 0432 689094 - fax 0432 689572 > web: www.tecnoteca.com > <http://www.tecnoteca.com/>C.F. e Partita IVA 02166770301 / REA 240394 / > Capitale sociale 10.800 i.v. / Registro Imprese di Udine nr. 02166770301 > twitter <http://twitter.com/tecnoteca> | facebook > <http://www.facebook.com/tecnotecasrl> | altri social > <http://www.tecnoteca.com/it/azienda/social-network>maintainer di > CMDBuild www.cmdbuild.org > <http://www.cmdbuild.org> e /openMAINT/ www.openmaint.org > <http://www.openmaint.org> > / > / > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > > _______________________________________________ > Plone-Users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/plone-users ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk