{"action":"created","issue":{"url":"https://api.github.com/repos/maxcutler/python-wordpress-xmlrpc/issues/29","labels_url":"https://api.github.com/repos/maxcutler/python-wordpress-xmlrpc/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/maxcutler/python-wordpress-xmlrpc/issues/29/comments","events_url":"https://api.github.com/repos/maxcutler/python-wordpress-xmlrpc/issues/29/events","html_url":"https://github.com/maxcutler/python-wordpress-xmlrpc/issues/29","id":5437856,"number":29,"title":"Inplace post edits are returning Fault 404: 'Invalid attachment ID.'","user":{"login":"felciano","id":407700,"avatar_url":"https://avatars.githubusercontent.com/u/407700?v=3","gravatar_id":"","url":"https://api.github.com/users/felciano","html_url":"https://github.com/felciano","followers_url":"https://api.github.com/users/felciano/followers","following_url":"https://api.github.com/users/felciano/following{/other_user}","gists_url":"https://api.github.com/users/felciano/gists{/gist_id}","starred_url":"https://api.github.com/users/felciano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felciano/subscriptions","organizations_url":"https://api.github.com/users/felciano/orgs","repos_url":"https://api.github.com/users/felciano/repos","events_url":"https://api.github.com/users/felciano/events{/privacy}","received_events_url":"https://api.github.com/users/felciano/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2012-07-05T05:50:32Z","updated_at":"2015-12-09T03:00:24Z","closed_at":null,"body":"I am trying to use your library (v2.1) to write a script to replace broken links after a blog migration to Wordpress.com. After retrieving posts and making corrections to the post.body, I \n\n    if not(wp.call(EditPost(post.id, post))):\n        logging.error(\"Unable to edit post %s\" % (post.id))\n    else:\n        logging.info(\"Successfully updated post %s\" % (post.id))\n\nRunning this consistently yields this error, irrespective of the post in question or whether any changes were made:\n\n    Traceback (most recent call last):\n      File \"wplinkrepair.py\", line 260, in <module>\n        fix_errors=args.repair)\n      File \"wplinkrepair.py\", line 206, in process_broken_links\n        if not(wp.call(EditPost(post.id, post))):\n      File \"C:\\Python27\\lib\\site-packages\\wordpress_xmlrpc\\base.py\", line 37, in call\n        raw_result = server_method(*args)\n      File \"C:\\Python27\\lib\\xmlrpclib.py\", line 1224, in __call__\n        return self.__send(self.__name, args)\n      File \"C:\\Python27\\lib\\xmlrpclib.py\", line 1575, in __request\n        verbose=self.__verbose\n      File \"C:\\Python27\\lib\\xmlrpclib.py\", line 1264, in request\n        return self.single_request(host, handler, request_body, verbose)\n      File \"C:\\Python27\\lib\\xmlrpclib.py\", line 1297, in single_request\n        return self.parse_response(response)\n      File \"C:\\Python27\\lib\\xmlrpclib.py\", line 1473, in parse_response\n        return u.close()\n      File \"C:\\Python27\\lib\\xmlrpclib.py\", line 793, in close\n        raise Fault(**self._stack[0]) \n    xmlrpclib.Fault: <Fault 404: 'Invalid attachment ID.'>```\n\nAny suggestions?"},"comment":{"url":"https://api.github.com/repos/maxcutler/python-wordpress-xmlrpc/issues/comments/163090653","html_url":"https://github.com/maxcutler/python-wordpress-xmlrpc/issues/29#issuecomment-163090653","issue_url":"https://api.github.com/repos/maxcutler/python-wordpress-xmlrpc/issues/29","id":163090653,"user":{"login":"zodman","id":44167,"avatar_url":"https://avatars.githubusercontent.com/u/44167?v=3","gravatar_id":"","url":"https://api.github.com/users/zodman","html_url":"https://github.com/zodman","followers_url":"https://api.github.com/users/zodman/followers","following_url":"https://api.github.com/users/zodman/following{/other_user}","gists_url":"https://api.github.com/users/zodman/gists{/gist_id}","starred_url":"https://api.github.com/users/zodman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zodman/subscriptions","organizations_url":"https://api.github.com/users/zodman/orgs","repos_url":"https://api.github.com/users/zodman/repos","events_url":"https://api.github.com/users/zodman/events{/privacy}","received_events_url":"https://api.github.com/users/zodman/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T03:00:24Z","updated_at":"2015-12-09T03:00:24Z","body":"+1 to fix from the code!"}}