Skip to content

OSError: [WinError 193] %1 is not a valid Win32 application #5

Description

@santoshalld3112

Hi Brian ,

I am getting this issue while running the code

D:\data\POC\table-parser-opencv-master>python main.py D:\data\POC\test.pdf
Traceback (most recent call last):
File "main.py", line 161, in
fname = utils.run_textcleaner(fname, num_img)
File "D:\data\POC\table-parser-opencv-master\utils.py", line 69, in run_textcleaner
s.call(["./textcleaner", "-g", "-e", "none", "-f", str(10), "-o", str(5), filename, cleaned_file])
File "D:\Python37-32\lib\subprocess.py", line 323, in call
with Popen(*popenargs, **kwargs) as p:
File "D:\Python37-32\lib\subprocess.py", line 775, in init
restore_signals, start_new_session)
File "D:\Python37-32\lib\subprocess.py", line 1178, in _execute_child
startupinfo)
OSError: [WinError 193] %1 is not a valid Win32 application

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions