Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subprocess.run([sys.executable, "processing.py"], cwd=folder_path, env=env, check=True) 多线程报错 #85

Open
Zhang-star-master opened this issue Dec 5, 2024 · 2 comments

Comments

@Zhang-star-master
Copy link

File "/home/star/pyprojects/augmentoolkit/run_augmentoolkit.py", line 36, in
main()
File "/home/star/pyprojects/augmentoolkit/run_augmentoolkit.py", line 33, in main
run_processing_script(folder_path, config_path, project_root)
File "/home/star/pyprojects/augmentoolkit/run_augmentoolkit.py", line 18, in run_processing_script
subprocess.run([sys.executable, "processing.py"], cwd=folder_path, env=env, check=True)
File "/home/test/miniconda3/envs/augentoolkit_v2/lib/python3.11/subprocess.py", line 550, in run
stdout, stderr = process.communicate(input, timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/test/miniconda3/envs/augentoolkit_v2/lib/python3.11/subprocess.py", line 1201, in communicate
self.wait()
File "/home/test/miniconda3/envs/augentoolkit_v2/lib/python3.11/subprocess.py", line 1264, in wait
return self._wait(timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/test/miniconda3/envs/augentoolkit_v2/lib/python3.11/subprocess.py", line 2053, in _wait
(pid, sts) = self._try_wait(0)
^^^^^^^^^^^^^^^^^
File "/home/test/miniconda3/envs/augentoolkit_v2/lib/python3.11/subprocess.py", line 2011, in _try_wait
(pid, sts) = os.waitpid(self.pid, wait_flags)

@e-p-armstrong
Copy link
Owner

What directory are you running it from?

@Zhang-star-master
Copy link
Author

qa pipeline ,find that qa generate section that regex match may have some problems

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants