[Product-Developers] AttachmentField -- converting PDFs -- Can't pickle objects in acquisition wrappers

Hedley Roos hedley at upfrontsystems.co.za
Tue Apr 22 11:29:11 UTC 2008


Ryan Smith wrote:
> I am trying to use AttachmentField for adding attachements.  It works like a
> charm for Word Files.  However when I try to upload a pdf file I get
> "Can't pickle objects in acquisition wrappers"
> 
> I have xpdf and the other dependencies installed.  From what I can tell the
> conversion works but it fails somewhere else.
> 
> Has anyone else experienced this before or do you have any suggestions?   Do
> I need some other file/library?
> 
> Plone 2.5.3
> Zope 2.9.6
> AttachmentField 1.3.13
> Archetypes 1.4.2
> xpdf 3.0.2

You are probably going to have to use pdb for this. I would guess that 
somewhere a FileUpload object is trying to be persisted.

May be a newer version of AttachmentField fixes this. It seems the 
latest version is compatible with Plone 2.5.4.

How about sending a traceback?

Hedley




More information about the Product-Developers mailing list