Skip to content

Cannot find ports #403

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

Closed
LepikhinEgor opened this issue Sep 13, 2019 · 6 comments
Closed

Cannot find ports #403

LepikhinEgor opened this issue Sep 13, 2019 · 6 comments
Assignees
Milestone

Comments

@LepikhinEgor
Copy link

Bug Report

Current behavior

Arduino-cli cannot find connected boards by command "board list". But Arduino IDE easily finds boards and upload scetches.
Previously used the arduino-cli version 0.3.6-alpha.preview version and everything worked

When i run "arduino-cli board list -v" output is

arduino-cli board list -v
INFO[0000] Checking for config file in: C:\Users\Людмила\AppData\Local\Arduino15\arduino-cli.yaml
INFO[0000] Checking if CLI is Bundled into the IDE
INFO[0000] Candidate IDE Directory: D:\git-projects\ard-console
INFO[0000] CLI is not bundled into the IDE
INFO[0000] Checking for config in: C:\arduino-cli.yaml
INFO[0000] error loading error="open C:\arduino-cli.yaml: The system cannot find the file specified."
INFO[0000] Checking for config in: C:\Users\arduino-cli.yaml
INFO[0000] error loading error="open C:\Users\arduino-cli.yaml: The system cannot find the file specified."
INFO[0000] Checking for config in: C:\Users\Людмила\arduino-cli.yaml
INFO[0000] error loading error="open C:\Users\Людмила\arduino-cli.yaml: The system cannot find the file specified."
INFO[0000] Checking for config in: C:\Users\Людмила\AppData\arduino-cli.yaml
INFO[0000] error loading error="open C:\Users\Людмила\AppData\arduino-cli.yaml: The system cannot find the file specified."
INFO[0000] Checking for config in: C:\Users\Людмила\AppData\Local\arduino-cli.yaml
INFO[0000] error loading error="open C:\Users\Людмила\AppData\Local\arduino-cli.yaml: The system cannot find the file specified."
INFO[0000] Checking for config in: C:\Users\Людмила\AppData\Local\Roboblock\arduino-cli.yaml
INFO[0000] error loading error="open C:\Users\Людмила\AppData\Local\Roboblock\arduino-cli.yaml: The system cannot find the file specified."
INFO[0000] Configuration set
INFO[0000] arduino-cli.exe-0.3.7-alpha.preview
INFO[0000] Starting root command preparation (arduino)
INFO[0000] Formatter set
INFO[0000] Initializing package manager
INFO[0000] Checking if CLI is Bundled into the IDE
INFO[0000] Candidate IDE Directory: D:\git-projects\ard-console
INFO[0000] Loading hardware from: C:\Users\Людмила\AppData\Local\Arduino15\packages
INFO[0000] Loading package arduino from: C:\Users\Людмила\AppData\Local\Arduino15\packages\arduino\hardware
INFO[0000] Loaded platform platform="arduino:[email protected]"
INFO[0000] Checking existence of 'tools' path: C:\Users\Людмила\AppData\Local\Arduino15\packages\arduino\tools
INFO[0000] Loading tools from dir: C:\Users\Людмила\AppData\Local\Arduino15\packages\arduino\tools
INFO[0000] Loaded tool tool="arduino:[email protected]"
INFO[0000] Loaded tool tool="arduino:[email protected]"
INFO[0000] Loaded tool tool="arduino:[email protected]"
INFO[0000] Loading package builtin from: C:\Users\Людмила\AppData\Local\Arduino15\packages\builtin
INFO[0000] Checking existence of 'tools' path: C:\Users\Людмила\AppData\Local\Arduino15\packages\builtin\tools
INFO[0000] Loading tools from dir: C:\Users\Людмила\AppData\Local\Arduino15\packages\builtin\tools
INFO[0000] Loaded tool tool="builtin:[email protected]"
INFO[0000] Loaded tool tool="builtin:[email protected]"
INFO[0000] Loading package esp32 from: C:\Users\Людмила\AppData\Local\Arduino15\packages\esp32\hardware
INFO[0000] Loaded platform platform="esp32:[email protected]"
INFO[0000] Checking existence of 'tools' path: C:\Users\Людмила\AppData\Local\Arduino15\packages\esp32\tools
INFO[0000] Loading tools from dir: C:\Users\Людмила\AppData\Local\Arduino15\packages\esp32\tools
INFO[0000] Loaded tool tool="esp32:[email protected]"
INFO[0000] Loaded tool tool="esp32:[email protected]"
INFO[0000] Loaded tool tool="esp32:[email protected]"
INFO[0000] Loading package esp8266 from: C:\Users\Людмила\AppData\Local\Arduino15\packages\esp8266\hardware
INFO[0000] Loaded platform platform="esp8266:[email protected]"
INFO[0000] Checking existence of 'tools' path: C:\Users\Людмила\AppData\Local\Arduino15\packages\esp8266\tools
INFO[0000] Loading tools from dir: C:\Users\Людмила\AppData\Local\Arduino15\packages\esp8266\tools
INFO[0000] Loaded tool tool="esp8266:[email protected]"
INFO[0000] Loaded tool tool="esp8266:[email protected]"
INFO[0000] Loaded tool tool="esp8266:[email protected]"
INFO[0000] Loaded tool tool="esp8266:[email protected]"
INFO[0000] Loading hardware from: C:\Users\Людмила\Documents\Arduino\hardware
INFO[0000] Loading package espressif from: C:\Users\Людмила\Documents\Arduino\hardware\espressif
INFO[0000] Loaded platform platform="espressif:esp32-1.0.2@"
INFO[0000] Adding libraries dir dir="C:\Users\Людмила\Documents\Arduino\libraries" location=sketchbook
INFO[0000] Adding libraries dir dir="C:\Users\Людмила\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.2\libraries" location=platform
INFO[0000] Adding libraries dir dir="C:\Users\Людмила\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.2\libraries" location=platform
INFO[0000] Adding libraries dir dir="C:\Users\Людмила\Documents\Arduino\hardware\espressif\esp32-1.0.2\libraries" location=platform
INFO[0000] Adding libraries dir dir="C:\Users\Людмила\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.23\libraries" location=platform
No boards found.

Environment

  • CLI version : arduino-cli.exe Version: 0.3.7-alpha.preview Commit: 032fa05
  • OS and platform: Windows 10 Home, 64x
@masci masci self-assigned this Sep 18, 2019
@masci
Copy link
Contributor

masci commented Sep 18, 2019

Hi @LepikhinEgor what boards do you have connected? Is the corresponding core installed?

@LepikhinEgor
Copy link
Author

LepikhinEgor commented Sep 18, 2019

Yes, i try connect esp8266(nodemcu) and and esp8266 core was installled. Then I tried to connect Arduino mega and uno, but they also could not be found
Used the old version(0.3.6) again and everything works

@bularond
Copy link

bularond commented Sep 24, 2019

Also have this problem. Arduino IDE find board without problem.

bulat@bulat-PC:~$ arduino-cli board list -v
INFO[0000] Checking for config file in: /home/bulat/.arduino15/arduino-cli.yaml
INFO[0000] Checking if CLI is Bundled into the IDE
INFO[0000] Candidate IDE Directory: /bin
INFO[0000] CLI is not bundled into the IDE
INFO[0000] Checking for config in: /arduino-cli.yaml
INFO[0000] error loading error="open /arduino-cli.yaml: no such file or directory"
INFO[0000] Checking for config in: /home/arduino-cli.yaml
INFO[0000] error loading error="open /home/arduino-cli.yaml: no such file or directory"
INFO[0000] Checking for config in: /home/bulat/arduino-cli.yaml
INFO[0000] error loading error="open /home/bulat/arduino-cli.yaml: no such file or directory"
INFO[0000] Configuration set
INFO[0000] arduino-cli-0.5.0
INFO[0000] Starting root command preparation (`arduino`)
INFO[0000] Formatter set
INFO[0000] Initializing package manager
INFO[0000] Checking if CLI is Bundled into the IDE
INFO[0000] Candidate IDE Directory: /bin
INFO[0000] Loading hardware from: /home/bulat/.arduino15/packages
INFO[0000] Loading package arduino from: /home/bulat/.arduino15/packages/arduino/hardware
INFO[0000] Loaded platform platform="arduino:[email protected]"
INFO[0000] Checking existence of 'tools' path: /home/bulat/.arduino15/packages/arduino/tools
INFO[0000] Loading tools from dir: /home/bulat/.arduino15/packages/arduino/tools
INFO[0000] Loaded tool tool="arduino:[email protected]"
INFO[0000] Loaded tool tool="arduino:[email protected]"
INFO[0000] Loaded tool tool="arduino:[email protected]"
INFO[0000] Loading package builtin from: /home/bulat/.arduino15/packages/builtin
INFO[0000] Checking existence of 'tools' path: /home/bulat/.arduino15/packages/builtin/tools
INFO[0000] Loading tools from dir: /home/bulat/.arduino15/packages/builtin/tools
INFO[0000] Loaded tool tool="builtin:[email protected]"
INFO[0000] Loaded tool tool="builtin:[email protected]"
INFO[0000] Adding libraries dir dir=/home/bulat/Arduino/libraries location=sketchbook
INFO[0000] Adding libraries dir dir=/home/bulat/.arduino15/packages/arduino/hardware/avr/1.8.1/libraries location=platform
No boards found.

Board: Arduino Nano (non official)
OS: Ubuntu 18.04.3 LTS
arduino-cli: 0.5.0 Commit: 3be2287

@bularond
Copy link

Installed pre-relised version (0.5.0-showports) and it work!

bulat@bulat-PC:~/programs$ sudo ./arduino-cli board list
Port         Type              Board Name FQBN Core
/dev/ttyUSB0 Serial Port (USB) Unknown

@masci
Copy link
Contributor

masci commented Sep 24, 2019

Thanks for confirming @bularond merging the branch right now so it'll be available in today's nightly!

@masci
Copy link
Contributor

masci commented Sep 24, 2019

Fixed in #411

@masci masci added this to the 0.6.0 milestone Oct 1, 2019
@masci masci closed this as completed Oct 1, 2019
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

3 participants