Skip to content
This repository was archived by the owner on Oct 22, 2021. It is now read-only.

arduino-cli not loading if spaces are in path #9

Closed
nikilase opened this issue Oct 19, 2019 · 10 comments
Closed

arduino-cli not loading if spaces are in path #9

nikilase opened this issue Oct 19, 2019 · 10 comments
Assignees
Labels
type: imperfection Something isn't working

Comments

@nikilase
Copy link

nikilase commented Oct 19, 2019

I can't find any board in the board manager. When I search "uno" or anything else I still don't get any board.
The IDE has following error message when I start it:

Editor support may be inaccurate because the core for the board arduino:avr:uno is not installed. Use the Boards Manager to install it.

In addition, I also can't find any library in the library manager.

Arduino_Boards

Desktop

  • OS: Windows 10 Pro
  • Version: 10.0.18362 Build 18362
@nikilase
Copy link
Author

Running it with admin privileges did not fix this.

@nikilase
Copy link
Author

nikilase commented Oct 19, 2019

I unzipped the alpha on my other PC too, this time on the Desktop as opposed to my Program Files, and the Board Manager also showed no entry. But this time I got another error message:

Could not start editor support.
Downloading missing tool builtin:[email protected]...
0 / 116455 0.00% builtin:[email protected] downloaded
Installing builtin:[email protected]...
installing builtin:[email protected] tool: installing tool builtin:[email protected]: moving extracted archive to destination dir: rename C:\Users\nikla\AppData\Local\Arduino15\tmp\package-093549799\ctags-5.8-arduino11 C:\Users\nikla\AppData\Local\Arduino15\packages\builtin\tools\ctags\5.8-arduino11: Access is denied.
Error initializing package manager: installing builtin:[email protected] tool: installing tool builtin:[email protected]: moving extracted archive to destination dir: rename C:\Users\nikla\AppData\Local\Arduino15\tmp\package-093549799\ctags-5.8-arduino11 C:\Users\nikla\AppData\Local\Arduino15\packages\builtin\tools\ctags\5.8-arduino11: Access is denied.

This error did not come up after I moved the install to the Program Files directory. But the Board Manager still doesn't work.

@sworteu
Copy link

sworteu commented Oct 19, 2019

Having the same issue, i can't get any boards in the boards manager even after search entry. On windows 10.

@nikilase
Copy link
Author

Funny enough on the same laptop dual booted to Ubuntu 18.04 LTS I could install the program and just needed to start, close and start it and I was able to install libraries and boards.

@Fede85
Copy link

Fede85 commented Oct 20, 2019

I had a smilar issue (IDE unable to load the Board Manager) and running the executable by command line I figured out that it was failing to load the arduino-cli because the path contained a space ("C:\Program Files"). After moving to a different path, without spaces in the directory names, the IDE started and I was able to install a core.

I also noticed that the output box was displayed after "fixing" the path. Probably the "output" box appear only if the arduino-cli is loaded.

image

@nikilase
Copy link
Author

Crazy, removing all spaces fixed the issue. Can this be fixed by the Arduino Team or is this more on the level of user error? Either way it would be nice if they would add a little warning in their docs about this issue.

@Fede85
Copy link

Fede85 commented Oct 20, 2019

I think that is definetly something that should be fixed in the pro IDE. The user should be allowed to use paths containig spaces.

Since the core component of the pro IDE is the arduino-cli the frontend shall notify the user if it's not able to load it.

I'd suggest you to change the title of the issue with something more related with paths and spaces. This will help the Arduino team to sort out the issues more easily.

@nikilase nikilase changed the title Board Manager not showing any Board on Windows 10 arduino-cli not loading if spaces are in path Oct 20, 2019
@nikilase
Copy link
Author

Is this title better, I'm not a native speaker so I'm not sure if the wording is perfect.

@kittaakos
Copy link
Contributor

Crazy, removing all spaces fixed the issue.

👍

Yes, this is unfortunately a known issue: #7 (comment)

@kittaakos kittaakos self-assigned this Oct 23, 2019
@kittaakos
Copy link
Contributor

We have fixed the issue in 0.0.2. I am closing it.

Please reopen if required.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: imperfection Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants