Skip to content
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

FR: Option verbose when installing platforms and packages #217

Open
chepo92 opened this issue Sep 10, 2023 · 1 comment
Open

FR: Option verbose when installing platforms and packages #217

chepo92 opened this issue Sep 10, 2023 · 1 comment

Comments

@chepo92
Copy link

chepo92 commented Sep 10, 2023

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

@maxgerhardt
Copy link
Contributor

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.

@ivankravets ivankravets transferred this issue from platformio/platformio-core Sep 22, 2023
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

2 participants