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

Failing exit of yowasp-yosys cause an infinite chain of exceptions on Windows #27

Closed
VioletEternity opened this issue Dec 17, 2022 · 0 comments
Labels

Comments

@VioletEternity
Copy link

This can be reproduced by running, for example, yowasp-yosys --version:

C:\Users\Maya>yowasp-yosys --version
Yosys 0.23 (git sha1 UNKNOWN, ccache clang 11.0.0-2~ubuntu20.04.1 -Os -flto -flto)
Traceback (most recent call last):
  File "C:\Users\Maya\AppData\Local\Programs\Python\Python311\Lib\shutil.py", line 624, in _rmtree_unsafe
    os.rmdir(path)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\Maya\\AppData\\Local\\Temp\\tmpt5ul_igjyosys'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\Maya\AppData\Local\Programs\Python\Python311\Lib\tempfile.py", line 878, in onerror
    _os.unlink(path)
PermissionError: [WinError 5] Access is denied: 'C:\\Users\\Maya\\AppData\\Local\\Temp\\tmpt5ul_igjyosys'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\Maya\AppData\Local\Programs\Python\Python311\Lib\shutil.py", line 624, in _rmtree_unsafe
    os.rmdir(path)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\Maya\\AppData\\Local\\Temp\\tmpt5ul_igjyosys'

During handling of the above exception, another exception occurred:
(the exception chain continues indefinitely until the recursion limit is reached)

As a part of the issue #24, a similar problem is reported. This problem has also been reported as YosysHQ/yosys#3217.

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

No branches or pull requests

2 participants