pdf2docx icon indicating copy to clipboard operation
pdf2docx copied to clipboard

”pyinstaller --onefile --windowed“ will cause error,I don't want to build a exe with console!

Open Gixiv opened this issue 6 months ago • 0 comments

Description of the bug

pyinstaller --onefile --windowed demo.py
the error log is say: returned a result with an exception set pyinstaller --onefile demo.py
everything is ok

why ----windowed cause error?I don't want to build a exe with console! please help me,thanks

How to reproduce the bug

demo.py : if directory: try: cv = Converter(directory_text_exe.get()) cv.convert(directory + '/output.docx') cv.close() except Exception as e: with open('example.txt', 'w') as file: file.write(f"{e}")

build cmd: pyinstaller --onefile --windowed demo.py

PyMuPDF==1.24.14 fonttools==4.55.0 py3.9 window10

pdf2docx version

No response

Operating system

No response

Python version

No response

Gixiv avatar May 22 '25 13:05 Gixiv