Bad interaction between Zope2 XML-RPC and AT Image mutator?
问题 I am creating a demo for mr.migrator and have run in to an annoying problem, showcased here: # create image proxy = xmlrpclib.ServerProxy(url) # reset data = open('screenshot.png').read() try: proxy.invokeFactory('Image', 'screenshot.png') except xmlrpclib.ProtocolError: print sys.exc_info()[1] except xmlrpclib.Fault: print "The id is invalid - it is already in use." # most likely proxy = xmlrpclib.ServerProxy(url + '/screenshot.png') proxy.setTitle('This is an image') try: proxy.setImage