Re: PicklingError: Can't pickle <type 'ImplicitAcquirerWrapper'>

dieter <[email protected]>
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <[email protected]>
Umberto Calligaro <[email protected]> writes:

> Thank you for your answer.
>
> We did what you suggested and the pickled data is the object at this url:
> http://pastie.org/private/tgcyrqqd0bt0yqjlitcga

This is a "component registry", likely one of a Plone portal
("<portal>._components" or something silimar).


> We made other tests and we found that the problem is caused when is
> installed plone.app.blob; removing it we can create a new Plone site
> without problems.

You see a bug: something has put an acquisition wrapper inside
a persistent object (likely the "component registry") where only
unwrapped objects are allowed. Unfortunately, the bug is not
detected locally (where it is introduced) but only non-locally
(during commit).

I have looked over your posted "component registry" but could
not detect the acquisition wrapper. You could
iterate over its items and try to pickle each one in turn.
This way you should be able to detect the item that make problems
easily.


------------------------------------------------------------------------------
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
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.