-
-
Notifications
You must be signed in to change notification settings - Fork 442
"About" dialog fails to open: Error: invalid path creating config dir: Access is denied.
#1289
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
Comments
Seems to be a pure file permission issue. I can reproduce with the CLI only.
@per1234, could you please help to verify this? Do you see the same issue in your Windows environment? Thank you! I do not remember seeing this error on Windows before, but I've checked it, and it does not work with
|
If I start
|
I haven't been able to reproduce it. I use this "About" dialog to get the version every time I submit an issue so I inadvertently give it pretty good manual test coverage. I always use Git Bash instead of cmd when running Arduino IDE from the command line, so maybe I don't give it coverage for this specific thing, but I don't run Git Bash as administrator, so I would expect it to be equivalent.
Does that folder exist? It is created for me when I start the IDE even if I deleted the folder beforehand. I guess this all could be seen as an indication that the gRPC interface should be used instead of the command line interface to get the version information from Arduino CLI. I have noticed that there is a significant delay before the "About" dialog opens, which I suspect is caused by the current approach. |
Thank you for checking it!
I guess so. Running
I measured it from the bundled IDE2. On my dev macOS, running Even if IDE2 repaces the pure CLI call with a gRPC one for retrieving the version, there are a lot of open questions:
|
I am seeing results similar to that, but also sometimes it takes on the order of 2500 ms. I suspect it is dependent on network conditions during the check for a newer version of Arduino CLI that is always triggered by running the |
Error: invalid path creating config dir: Access is denied.
Describe the problem
Click on
About
and nothing happens.From the logs:
To reproduce
See description
Expected behavior
The
About
dialog pops up. No errors.Arduino IDE version
RC-9
Operating system
Windows
Operating system version
10 Pro, 21H2
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: