首页 > xmlrpc协议离线发布博客出错

xmlrpc协议离线发布博客出错

本地和服务器端都安装了wordpress博客程序,用vim的博客插件vimrepress进行发布,本地的博客可以正常的发布,但远端的不行。同样,用为知笔记的“发布到博客”插件也可以发布到本地博客,但发布到服务器端就出错。这是为什么呢?是服务器端对xmlrpc做了限制还是其他问题?

vim报错代码:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "<string>", line 185, in __check
  File "<string>", line 210, in __check
  File "<string>", line 216, in __check
  File "<string>", line 185, in __check
  File "<string>", line 664, in blog_update_config
  File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1294, in single_request
    response = h.getresponse(buffering=True)
  File "/usr/lib/python2.7/httplib.py", line 1030, in getresponse
    response.begin()
  File "/usr/lib/python2.7/httplib.py", line 407, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.7/httplib.py", line 371, in _read_status
    raise BadStatusLine(line)
httplib.BadStatusLine: ''
【热门文章】
【热门文章】