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
1
saving xml 1_xml
Traceback (most recent call last):
File "D:\Laiye\CodeProjects\PythonProjects\ofdtopdf\src\test.py", line 38, in
test_ofd2(ofd_file_path)
File "D:\Laiye\CodeProjects\PythonProjects\ofdtopdf\src\test.py", line 19, in test_ofd2
ofd.read(ofdb64,save_xml=True, xml_name=f"{file_prefix}_xml") # 读取ofdb64
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Laiye\CodeProjects\PythonProjects\ofdtopdf\env\Lib\site-packages\easyofd\ofd.py", line 46, in read
self.data = OFDParser(ofd_f)(save_xml=save_xml, xml_name=xml_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Laiye\CodeProjects\PythonProjects\ofdtopdf\env\Lib\site-packages\easyofd\parser_ofd\ofd_parser.py", line 343, in call
return self.parser()
^^^^^^^^^^^^^
File "D:\Laiye\CodeProjects\PythonProjects\ofdtopdf\env\Lib\site-packages\easyofd\parser_ofd\ofd_parser.py", line 250, in parser
f.write(self.get_xml_obj(SignedValue))
TypeError: write() argument must be str, not None
The text was updated successfully, but these errors were encountered:
1
saving xml 1_xml
Traceback (most recent call last):
File "D:\Laiye\CodeProjects\PythonProjects\ofdtopdf\src\test.py", line 38, in
test_ofd2(ofd_file_path)
File "D:\Laiye\CodeProjects\PythonProjects\ofdtopdf\src\test.py", line 19, in test_ofd2
ofd.read(ofdb64,save_xml=True, xml_name=f"{file_prefix}_xml") # 读取ofdb64
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Laiye\CodeProjects\PythonProjects\ofdtopdf\env\Lib\site-packages\easyofd\ofd.py", line 46, in read
self.data = OFDParser(ofd_f)(save_xml=save_xml, xml_name=xml_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Laiye\CodeProjects\PythonProjects\ofdtopdf\env\Lib\site-packages\easyofd\parser_ofd\ofd_parser.py", line 343, in call
return self.parser()
^^^^^^^^^^^^^
File "D:\Laiye\CodeProjects\PythonProjects\ofdtopdf\env\Lib\site-packages\easyofd\parser_ofd\ofd_parser.py", line 250, in parser
f.write(self.get_xml_obj(SignedValue))
TypeError: write() argument must be str, not None
The text was updated successfully, but these errors were encountered: