Skip to content

'core list' doesn't work if a core is installed in sketchbook/hardware folder #15

Closed
@manchoz

Description

@manchoz

for example:

$ arduino-cli core --debug list
INFO[0000] Initiating configuration
INFO[0000] Unserializing configurations from /usr/local/bin/.cli-config.yml
WARN[0000] Error reading config, using default configuration  error="open /usr/local/bin/.cli-config.yml: no such file or directory"
WARN[0000] Did not manage to get config file, using default configuration  error="open /usr/local/bin/.cli-config.yml: no such file or directory"
INFO[0000] Checking if CLI is Bundled into the IDE
INFO[0000] Candidate IDE Directory: /usr/local/bin
INFO[0000] CLI is not bundled into the IDE
INFO[0000] Configuration set
INFO[0000] Starting root command preparation (`arduino`)
INFO[0000] Formatter set
INFO[0000] Executing `arduino core list`
INFO[0000] Loading the default Package index
INFO[0000] Loading hardware from: /Users/mancho/Library/arduino15/packages
INFO[0000] Loading package arduino from: /Users/mancho/Library/arduino15/packages/arduino/hardware
INFO[0000] Loaded platform                               platform="arduino:[email protected]"
INFO[0000] Loaded platform                               platform="arduino:[email protected]"
INFO[0000] Loaded platform                               platform="arduino:[email protected]"
INFO[0000] Checking existence of 'tools' path: /Users/mancho/Library/arduino15/packages/arduino/tools
INFO[0000] Loading tools from dir: /Users/mancho/Library/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] Loaded tool                                   tool="arduino:[email protected]"
INFO[0000] Loaded tool                                   tool="arduino:[email protected]"
INFO[0000] Loaded tool                                   tool="arduino:[email protected]"
INFO[0000] Loaded tool                                   tool="arduino:arm-none-eabi-gcc@7-2017q4"
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] 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: /Users/mancho/Library/arduino15/packages/builtin
INFO[0000] Checking existence of 'tools' path: /Users/mancho/Library/arduino15/packages/builtin/tools
INFO[0000] Loading tools from dir: /Users/mancho/Library/arduino15/packages/builtin/tools
INFO[0000] Loaded tool                                   tool="builtin:[email protected]"
INFO[0000] Loading hardware from: /Users/mancho/Documents/Arduino/hardware
INFO[0000] Loading package arduino-new from: /Users/mancho/Documents/Arduino/hardware/arduino-new
INFO[0000] Loaded platform                               platform="arduino-new:samd@"
INFO[0000] Loading package esp8266com from: /Users/mancho/Documents/Arduino/hardware/esp8266com
INFO[0000] Loaded platform                               platform="esp8266com:esp8266@"
INFO[0000] Loading package espressif from: /Users/mancho/Documents/Arduino/hardware/espressif
INFO[0000] Loaded platform                               platform="espressif:esp32@"
%!s(PANIC=runtime error: invalid memory address or nil pointer dereference)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions