You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "D:\robot_develop\code\approval_robot\service\ChuZhengService.py", line 113, in ofd_to_pdf
ofd.read(ofdb64, fmt = "binary") # 读取ofdb64
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\robot_develop\Miniconda3\envs\crawler_robot\Lib\site-packages\easyofd\ofd.py", line 51, in read
self.data = OFDParser(ofd_f)(save_xml=save_xml, xml_name=xml_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\robot_develop\Miniconda3\envs\crawler_robot\Lib\site-packages\easyofd\parser_ofd\ofd_parser.py", line 350, in call
self.file_tree = FileRead(self.ofdb64)(save_xml=save_xml, xml_name=xml_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\robot_develop\Miniconda3\envs\crawler_robot\Lib\site-packages\easyofd\parser_ofd\file_deal.py", line 77, in call
self.buld_file_tree()
File "D:\robot_develop\Miniconda3\envs\crawler_robot\Lib\site-packages\easyofd\parser_ofd\file_deal.py", line 63, in buld_file_tree
if "xml" not in file else xmltodict.parse(open(f"{abs_path}" , "r", encoding="utf-8").read())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\robot_develop\Miniconda3\envs\crawler_robot\Lib\site-packages\xmltodict.py", line 359, in parse
parser.Parse(xml_input, True)
xml.parsers.expat.ExpatError: duplicate attribute: line 2, column 64
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "D:\robot_develop\code\approval_robot\service\ChuZhengService.py", line 113, in ofd_to_pdf
ofd.read(ofdb64, fmt = "binary") # 读取ofdb64
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\robot_develop\Miniconda3\envs\crawler_robot\Lib\site-packages\easyofd\ofd.py", line 51, in read
self.data = OFDParser(ofd_f)(save_xml=save_xml, xml_name=xml_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\robot_develop\Miniconda3\envs\crawler_robot\Lib\site-packages\easyofd\parser_ofd\ofd_parser.py", line 350, in call
self.file_tree = FileRead(self.ofdb64)(save_xml=save_xml, xml_name=xml_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\robot_develop\Miniconda3\envs\crawler_robot\Lib\site-packages\easyofd\parser_ofd\file_deal.py", line 77, in call
self.buld_file_tree()
File "D:\robot_develop\Miniconda3\envs\crawler_robot\Lib\site-packages\easyofd\parser_ofd\file_deal.py", line 63, in buld_file_tree
if "xml" not in file else xmltodict.parse(open(f"{abs_path}" , "r", encoding="utf-8").read())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\robot_develop\Miniconda3\envs\crawler_robot\Lib\site-packages\xmltodict.py", line 359, in parse
parser.Parse(xml_input, True)
xml.parsers.expat.ExpatError: duplicate attribute: line 2, column 64
The text was updated successfully, but these errors were encountered: