Open AleksVersus opened 2 weeks ago
I look at the pypandoc's __init__.py
. Method '_convert_input()'. Change line 383 by this line:
input_file = [str(source)]
and script is work. But I don't know, where source
parameter transform in WindowsPath, and and how will this affect the rest of the code.
Hello. Sorry my bad english.
I install pypandoc by pip, i used the command:
But when i run simple script to convert file, this throws an exception. Script example:
Exception in REPL:
Exception in VS Code terminal:
Input File is exist. Path to input file is string.
I use:
Windows 10 Pro x64 22H2 Python: 3.12.5 Pypandoc: 2.19.2
If i use ".convert_text()" method, the exceptions do not appear.
What do I wrong?