platform-atmelsam icon indicating copy to clipboard operation
platform-atmelsam copied to clipboard

FR: Option verbose when installing platforms and packages

Open chepo92 opened this issue 2 years ago • 1 comments

Configuration

Operating system: Win 10

PlatformIO Version (platformio --version): PlatformIO Core, version 6.1.11

Description of problem

I'm trying to add a modified arduino core, but when installing it outputs:

Resolving sam4e8e_SAM4 dependencies...
Platform Manager: Could not parse manifest -> Expecting property name enclosed in double quotes: line 60 column 3 (char 1394)
Platform Manager: Could not parse manifest -> Expecting property name enclosed in double quotes: line 60 column 3 (char 1394)
Tool Manager: Could not parse manifest -> Expecting property name enclosed in double quotes: line 13 column 1 (char 260)
Tool Manager: Could not parse manifest -> Expecting property name enclosed in double quotes: line 13 column 1 (char 260)
Tool Manager: Could not parse manifest -> Expecting property name enclosed in double quotes: line 13 column 1 (char 260)
Tool Manager: Could not parse manifest -> Expecting property name enclosed in double quotes: line 13 column 1 (char 260)
Tool Manager: Could not parse manifest -> Expecting property name enclosed in double quotes: line 13 column 1 (char 260)
Tool Manager: Could not parse manifest -> Expecting property name enclosed in double quotes: line 13 column 1 (char 260)
Tool Manager: Could not parse manifest -> Expecting property name enclosed in double quotes: line 13 column 1 (char 260)
Tool Manager: Could not parse manifest -> Expecting property name enclosed in double quotes: line 13 column 1 (char 260)
Tool Manager: Could not parse manifest -> Expecting property name enclosed in double quotes: line 13 column 1 (char 260)
Tool Manager: Could not parse manifest -> Expecting property name enclosed in double quotes: line 13 column 1 (char 260)
Platform Manager: Could not parse manifest -> Expecting property name enclosed in double quotes: line 60 column 3 (char 1394)
Already up-to-date.
Updating metadata for the vscode IDE...

The thing is I don't know which are the problematic file as the output says nothing about them

Steps to Reproduce

  1. Set de pio.ini config
  2. Wait for auto installation
  3. Get the output above

Actual Results

The described above

Expected Results

Add at least the file that is conflicting so it is easier to catch and resolve, can we add an option -verbose when intalling packages, or showing the file name in the output as a default?

If problems with PlatformIO Build System:

The content of platformio.ini:

[env:sam4e8e_SAM4]
platform = atmelsam
framework = arduino
;framework = arduinoCortexM4
board = sam4e8e
platform_packages =
    ;framework-arduino-sam4x@symlink://C:\pio\packages\framework-arduino-sam4x\
    ;framework-arduino-sam4x@file://C:/Users/Axel/.platformio/packages/framework-arduino-sam4x  
    framework-arduino-sam@https://github.com/chepo92/ArduinoCore-sam.git#dev-SAM4SCore...

Source file to reproduce issue:

Platform: https://github.com/chepo92/platform-atmelsam/tree/ArduinoCustomPlatformFrameCore Framework: https://github.com/chepo92/ArduinoCore-sam/tree/dev-SAM4SCore

Additional info

chepo92 avatar Sep 10 '23 22:09 chepo92

Might just be some error caused by a weird / older package state. Since you've got platform + framework in github repos already, I think you should be able to delete the entire C:/Users/Axel/.platformio/packages and C:/Users/Axel/.platformio/platforms folder without data loss and then open the project again.

maxgerhardt avatar Sep 18 '23 07:09 maxgerhardt