Based on the answer to Bad interaction between Zope2 XML-RPC and AT Image mutator? I'd expect to be able to do the following with Plone 2.5:
proxy = xmlrpclib.ServerProxy('http://admin:admin@localhost:8080/Plone/screenshot.png', verbose=True)
wrappedData = xmlrpclib.Binary(open(filename).read())
proxy.setImage(wrappedData)
Instead, I get a traceback (from Archetypes):
Value is not File or String ( - xmlrpclib.Binary)\n</string></value>\n</member>\n</struct></value>\n</fault>\n</methodResponse>\n
I suspect I've done something to make AT unhappy, but I'm not sure what. The traceback comes from line 897 of Archetypes's field.py, which you can see here:
Anyone know what's going on here? Also full code example is here: