Skip to content

Cannot create new PlatformIO project in CLion #4751

@drewmutt

Description

@drewmutt

Configuration

Operating system:
Mac (M1) 12.5.1

PlatformIO Version (platformio --version):
6.1.11

Plugin Version:
233.6745.300 (had same issue in prev versions)

CLion Version:
CLion 2023.3 EAP (same issue in 2023.2.2)

Description of problem

The first step of the create new PlatformIO project, fails. Preventing me from creating new projects in CLion.

Steps to Reproduce

  1. File > New Project > PlatformIO

Actual Results

Behold the text "Gathering info..." in the board list, and the following error below it:
Use JsonReaderEx.setLenient(true) to accept malformed JSON at line 1 column 2

The "Create" button is expectingly gray, and progress cannot continue.

Expected Results

Display the list of boards, and allow the user to select one to continue.

Additional info

Looking into the source, I found a call to pio boards --json-output.

Executing it appears to work correctly, and the JSON doesn't appear to be corrupt.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions