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

Cannot access temp directory #1

Open
anthonyyangdev opened this issue Apr 23, 2022 · 0 comments
Open

Cannot access temp directory #1

anthonyyangdev opened this issue Apr 23, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@anthonyyangdev
Copy link
Collaborator

When checking if there is a more recent version of harmony-model-checker, it relies on checking if a cache file in a temporary directory exists. However, on the ugclinux machines, users may not have enough privilege to read that directory.

[Errno 13] Permission denied: '/tmp/harmony_model_checker_version_cache'
Traceback (most recent call last):
  File "/home/ay339/.local/lib/python3.8/site-packages/harmony_model_checker/util/self_check_is_outdated.py", line 88, in check_outdated
    cache_file.write_text(
  File "/usr/lib/python3.8/pathlib.py", line 1255, in write_text
    with self.open(mode='w', encoding=encoding, errors=errors) as f:
  File "/usr/lib/python3.8/pathlib.py", line 1222, in open
    return io.open(self, mode, buffering, encoding, errors, newline,
  File "/usr/lib/python3.8/pathlib.py", line 1078, in _opener
    return self._accessor.open(self, flags, mode)
@anthonyyangdev anthonyyangdev added the bug Something isn't working label May 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

1 participant