Open FabianSer opened 2 years ago
Can you please include the full error and/or a screenshot? Is there a stacktrace?
I'm not sure how to debug this issue further but if you post more information, someone can potentially help.
Sorry for german screenshots:
Thats the error while converting the first File with the scheduled task.
The terminal output:
While running the script without the schedule, it works.
Maybe try running your script with more debugging?
python.exe -qu -W default -X tracemalloc -X utf8=1 .\xxxx.py
I have a script that converts my files to PDFs. As a framework I use pipenv, which is automatically generated via a batch file. Manually everything works. If I call the batch file via the Windows Scheduler, an error of the WindowHandler of System.Windows.Forms occurs. The error occurs already after the first document.