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

FileNotFoundError when updating mtime of files in file cache #1675

Open
NeoLegends opened this issue Jan 16, 2025 · 3 comments
Open

FileNotFoundError when updating mtime of files in file cache #1675

NeoLegends opened this issue Jan 16, 2025 · 3 comments
Assignees
Labels

Comments

@NeoLegends
Copy link
Member

Sadly only a part of the error message remains, and the rest of the log is lost:

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "/nas/models/asr/[...]/work/i6_core/tools/
git/CloneGitRepositoryJob.LD5f1wKK7LPo/output/returnn/returnn/util/file_cache.py", line 479, in 
run
    os.utime(filename, None)
FileNotFoundError: [Errno 2] No such file or directory

First we should find out which file it is failing to touch.

@NeoLegends NeoLegends added the bug label Jan 16, 2025
@NeoLegends NeoLegends self-assigned this Jan 16, 2025
@NeoLegends
Copy link
Member Author

@Icemole If this occurs again, kindly post the full log here. :)

@albertz
Copy link
Member

albertz commented Jan 16, 2025

First we should find out which file it is failing to touch.

I'm not sure that this really helps us here. But certainly having the full log would be helpful.

Btw, why is filename not printed? It should via #1674, as now it should use better_exchook in the thread, or not?

@NeoLegends
Copy link
Member Author

I think the log came from befire #1674.

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

No branches or pull requests

2 participants