-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
wontfixThis will not be worked onThis will not be worked on
Description
Import works and the pdf call does create a pdf object
pdf = pypdf2htmlEX.PDF(pdf_file)
pdf.to_html(dest_dir=r'D:\temp')
pdf
<pypdf2htmlEX.core.PDF object at 0x0000025BD596AC50>
, but the pdf.to_html creates the following error:
Traceback (most recent call last):
File "C:\TPSITS\Program Files\JetBrains\PyCharm Community Edition 2023.3.1\plugins\python-ce\helpers\pydev\pydevconsole.py", line 364, in runcode
coro = func()
^^^^^^
File "<input>", line 1, in <module>
File "C:\TPSITS\PycharmProjects\RandomStuffs\.venv\Lib\site-packages\pypdf2htmlEX\core.py", line 49, in to_html
self.__make_html(args)
File "C:\TPSITS\PycharmProjects\RandomStuffs\.venv\Lib\site-packages\pypdf2htmlEX\core.py", line 37, in __make_html
subprocess.call(options)
File "C:\Users\b99858\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 389, in call
with Popen(*popenargs, **kwargs) as p:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\b99858\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1026, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\b99858\AppData\Local\Programs\Python\Python311\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
amoh-godwin
Metadata
Metadata
Assignees
Labels
wontfixThis will not be worked onThis will not be worked on