微慑信息网

python wordpress-xmlrpc操作时报错处理

之前使用wordpress-xmlrpc处理文章发布时,存在报错信息,经查为处理xml文件时发生问题,暂无解,直接记录文档报错信息ID,后续处理即可

  File "C:\Python37\lib\site-packages\wordpress_xmlrpc\base.py", line 38, in call
    raw_result = server_method(*args)
  File "C:\Python37\lib\xmlrpc\client.py", line 1112, in __call__
    return self.__send(self.__name, args)
  File "C:\Python37\lib\xmlrpc\client.py", line 1452, in __request
    verbose=self.__verbose
  File "C:\Python37\lib\xmlrpc\client.py", line 1154, in request
    return self.single_request(host, handler, request_body, verbose)
  File "C:\Python37\lib\xmlrpc\client.py", line 1170, in single_request
    return self.parse_response(resp)
  File "C:\Python37\lib\xmlrpc\client.py", line 1336, in parse_response
    p.feed(data)
  File "C:\Python37\lib\xmlrpc\client.py", line 439, in feed
    self._parser.Parse(data, 0)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 20, column 120416

 

解决:

https://blog.csdn.net/haha223545/article/details/87974453

本文标题:python wordpress-xmlrpc操作时报错处理
本文链接:
(转载请附上本文链接)
http://vulsee.com/archives/vulsee_2021/0718_14361.html
转载请附本站链接,未经允许不得转载,,谢谢:微慑信息网-VulSee.com » python wordpress-xmlrpc操作时报错处理
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

微慑信息网 专注工匠精神

访问我们联系我们