-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
When dealing with posts that have "more text" - such as: https://github.com/ocpsoft/ocpsoft.org/blob/master/2012/03/secure-your-applications-url-based-attacks-are-real-and-dangerous
It is possible to pull down new changes, but not possible to push new ones. I believe this has something to do with the parsing of the saved file, and the position of the ".mt_text_more" (and related) attributes:
Error follows:
$ python wp.py push
Traceback (most recent call last):
File "wp.py", line 261, in <module>
xml.edit_post(p.id(), p.as_dict())
File "wp.py", line 40, in edit_post
def edit_post(self, post_id, post): return self.xrpc.metaWeblog.editPost(post_id, self.user, self.password, post, True)
File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
verbose=self.__verbose
File "/usr/lib/python2.6/xmlrpclib.py", line 1253, in request
return self._parse_response(h.getfile(), sock)
File "/usr/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
return u.close()
File "/usr/lib/python2.6/xmlrpclib.py", line 838, in close
raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 404: 'Invalid post ID.'>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels