maxcutler / python-wordpress-xmlrpc

Python library for WordPress XML-RPC integration
http://python-wordpress-xmlrpc.rtfd.org
MIT License
382 stars 130 forks source link

EditPost fails on "requested method call does not exist" on Wordpress.com #68

Open amberyl opened 9 years ago

amberyl commented 9 years ago

I have a perfectly normal call: got = server.call(wordpress_xmlrpc.methods.posts.EditPost(postid, post)) (where server and post are properly prepared using the appropriate methods)

which is failing on a Wordpress.com blog with: Fault -32601: 'server error. requested method call does not exist.'

Python 2.7.5, wordpress_xmlrpc 2.3.

This seems inexplicable, since as far as I can tell the library is just calling the wp.editPost method. Any ideas?

maxcutler commented 9 years ago

Try printing the value of server.supported_methods, which is the list of methods that the server advertises as supported.

If wp.editPost is not in that list, you'll need to contact WordPress.com support for assistance, as the issue must be on their side.

amberyl commented 9 years ago

server.supported_methods correctly returns "wp.editPost" as one of the methods in the list.

maxcutler commented 9 years ago

That's very strange. Looking at the WordPress code, I don't see how that could happen. It's possible that WordPress.com has made some modifications that are causing this bug, so I think you're best bet would be to contact their support team.