Somehow I have fixed the previous error with error code 127 by adding poppler to my PATH environment variables, however now I am greeted by this new error. Does anyone have any clue what this could mean and how I can fix it. I am trying to run a tool which I have created on a MAC to read PDF's to text using textract. It works perfectly fine on MacOS However it seems to have issues running on windows. Any help would be much appreciated.
Thanks in advance :)
Exception in Tkinter callback
Traceback (most recent call last):
File "tkinter\__init__.py", line 1883, in __call__
File "\\Mac\Home\PycharmProjects\WickeyEinkaufAutomation\EinkaufRGWindows.py", line 40, in InkoopRekeningen
text = textract.process(str(importfolder) + str(i))
File "site-packages\textract\parsers\__init__.py", line 77, in process
File "site-packages\textract\parsers\utils.py", line 46, in process
File "site-packages\textract\parsers\pdf_parser.py", line 28, in extract
File "site-packages\textract\parsers\pdf_parser.py", line 20, in extract
File "site-packages\textract\parsers\pdf_parser.py", line 43, in extract_pdftotext
File "site-packages\textract\parsers\utils.py", line 100, in run
textract.exceptions.ShellError: The command `pdftotext //Mac/Home/Desktop/WET/Rekeningen/Lekkerkerker_ - 20803471.pdf -` failed with exit code 3221225781
------------- stdout -------------
b''------------- stderr -------------
b''