Skip to content

[WinError 2] The system cannot find the file specified #345

Open
@JhonnyOTW

Description

Capturing Screenshots ---------------------------------------- 0% -:--:--Error: [WinError 2] The system cannot find the file specified
Error during generic screenshot capture: max_workers must be greater than 0

Traceback (most recent call last):
File "C:\Users\Downloads\Upload-Assistant-3.4.0\upload.py", line 319, in
asyncio.run(do_the_thing(base_dir)) # Pass the correct base_dir value here
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\AppData\Local\Programs\Python\Python313\Lib\asyncio\runners.py", line 195, in run
return runner.run(main)
~~~~~~~~~~^^^^^^
File "C:\Users\AppData\Local\Programs\Python\Python313\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "C:\Users\AppData\Local\Programs\Python\Python313\Lib\asyncio\base_events.py", line 725, in run_until_complete
return future.result()
~~~~~~~~~~~~~^^
File "C:\Users\Downloads\Upload-Assistant-3.4.0\upload.py", line 282, in do_the_thing
await process_meta(meta, base_dir)
File "C:\Users\Downloads\Upload-Assistant-3.4.0\upload.py", line 163, in process_meta
new_images, dummy_var = upload_screens(meta, meta['screens'], 1, 0, meta['screens'], [], return_dict=return_dict)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Downloads\Upload-Assistant-3.4.0\src\uploadscreens.py", line 363, in upload_screens
executor = concurrent.futures.ProcessPoolExecutor(max_workers=max_workers)
File "C:\Users\AppData\Local\Programs\Python\Python313\Lib\concurrent\futures\process.py", line 660, in init
raise ValueError("max_workers must be greater than 0")
ValueError: max_workers must be greater than 0

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