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

No such file error if 'results' directory doesn't exist when running run_all.py #71

Open
edward-jones opened this issue Jun 22, 2020 · 1 comment · May be fixed by #187
Open

No such file error if 'results' directory doesn't exist when running run_all.py #71

edward-jones opened this issue Jun 22, 2020 · 1 comment · May be fixed by #187
Assignees
Labels
bug Something isn't working
Milestone

Comments

@edward-jones
Copy link
Contributor

edward-jones commented Jun 22, 2020

If the results/ directory already exists then the run_all.py command will cause the result file to be created, but if results/ doesn't exist then the directory won't be created and you get a "No such file or directory: 'results/***.json'" error when it tries to open the file to output results. This differs from the behaviour with logs - the log/ directory always seems to be created before a log file in that directory is created.

This could potential trip new users since the error message doesn't accurately describe the underlying problem.

@jeremybennett jeremybennett added the bug Something isn't working label Jul 19, 2020
@jeremybennett jeremybennett self-assigned this Jul 19, 2020
@jeremybennett
Copy link
Collaborator

Thanks - needs a patch to add the directory if it isn't there!

@widlarizer widlarizer linked a pull request Nov 14, 2023 that will close this issue
@PaoloS02 PaoloS02 added this to the Embench 2.0 milestone Mar 4, 2024
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
None yet
Development

Successfully merging a pull request may close this issue.

3 participants