-
Notifications
You must be signed in to change notification settings - Fork 38
Description
C:\Users\weini\ChatPaper2Xmind>python paper2xmind.py --path "E:\Paper\GEOThought\fis"
E:\Paper\GEOThought\fis\fish.pdf
Traceback (most recent call last):
File "C:\Users\weini\ChatPaper2Xmind\paper2xmind.py", line 70, in
pdf_batch_processing(argparser.parse_args().path)
File "C:\Users\weini\ChatPaper2Xmind\paper2xmind.py", line 46, in pdf_batch_processing
pdf_processing(pdf_path, xmind_path, usePDFFigure2=usePDFFigure2, debug=debug,
File "C:\Users\weini\ChatPaper2Xmind\paper2xmind.py", line 17, in pdf_processing
paper = PDFFigure2PaperParser(pdf_file_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\weini\ChatPaper2Xmind\pdf_parser.py", line 263, in init
self.PDFF2data = parsePDF_PDFFigures2(path)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\weini\ChatPaper2Xmind\pdf_extract_init_.py", line 695, in parsePDF_PDFFigures2
_ = subprocess.run(
^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1776.0_x64__qbz5n2kfra8p0\Lib\subprocess.py", line 548, in run
with Popen(*popenargs, **kwargs) as process:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1776.0_x64__qbz5n2kfra8p0\Lib\subprocess.py", line 1026, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1776.0_x64__qbz5n2kfra8p0\Lib\subprocess.py", line 1538, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified
Exception ignored in: <function PDFPaperParser.del at 0x000001BB30821C60>
Traceback (most recent call last):
File "C:\Users\weini\ChatPaper2Xmind\pdf_parser.py", line 31, in del
self.pdf.close()
^^^^^^^^
AttributeError: 'PDFFigure2PaperParser' object has no attribute 'pdf'
- 没有java环境,已改为False
- 文件dir,全部没有空格,且使用双引号
请帮忙查看问题,感谢