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

improve error message when tempDir does not exist #299

Open
pietroppeter opened this issue Jul 6, 2022 · 0 comments
Open

improve error message when tempDir does not exist #299

pietroppeter opened this issue Jul 6, 2022 · 0 comments

Comments

@pietroppeter
Copy link

tested with 0.8.4 recent release installing on windows and had a very minor issue, thanks for the release!

When installing and temp directory is non existing there is an error reported when copying DLLs.
Error message could probably be improved by checking if temp dir exists and is accessible and alerting the user to fix it (in source getTempDir is used which does not do these checks: https://nim-lang.org/docs/os.html#getTempDir).

I am assuming that this issue is not windows specific.

Note that the AdditionalInfo which is logged when there is an error copying the DLLs does indeed report the path used so from there it is not very difficult to find the issue that the given path is non existing.

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

1 participant