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

Platformio is not building when referencing workspace_dir and core_dir on new Version 5.2.3 #4110

Closed
1 task done
th-fischer2020 opened this issue Nov 16, 2021 · 2 comments
Assignees
Labels
bug config platformio.ini
Milestone

Comments

@th-fischer2020
Copy link

What kind of issue is this?

  • PlatformIO Core.
    If you’ve found a bug, please provide an information below.

Configuration

Operating system: Ubuntu 20.04 LTS

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

Description of problem

After my PlatformIO updates from 5.2.2 to current 5.2.3 my Project cannot build anymore.

warning: Calling missing SConscript without error is deprecated.
Transition by adding must_exist=False to SConscript calls.
Missing SConscript '.piocore/platforms/ststm32/builder/.piocore/packages/framework-zephyr/scripts/platformio/platformio-build-pre.py'
File "/<PathToMyProject>/.piocore/platforms/ststm32/builder/main.py", line 110, in <module>

It seems to me, that there are two paths connected .piocore/platforms/ststm32/builder/ and .piocore/packages/framework-zephyr/scripts/platformio/platformio-build-pre.py. Actually i could not find the location where the paths where connected. In platformio-build-pre.py i added some prints, but there where the paths right.

Steps to Reproduce

What i found out is, that it has something to do with the parameter workspace_dir and core_dir of my ini-File.

This config runs fine

[platformio]
workspace_dir = .pio
core_dir = .piocore

This not:

[platformio]
workspace_dir = ${test.workspace_dir}
core_dir = ${test.core_dir}

[test]
workspace_dir = .pio
core_dir = .piocore
@ivankravets ivankravets self-assigned this Nov 16, 2021
@ivankravets ivankravets added this to the 5.2.4 milestone Nov 16, 2021
@ivankravets
Copy link
Member

Thanks for the report! Please re-test with pio upgrade --dev.

Does it work now?

@th-fischer2020
Copy link
Author

I did an update with pio upgrade --dev and it works.
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug config platformio.ini
Projects
None yet
Development

No branches or pull requests

2 participants