paltformio.ini error

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
mackowiakp
Normal user
Posts: 183
Joined: 07 Jun 2018, 06:47
Location: Gdynia/Poland

paltformio.ini error

#1 Post by mackowiakp » 17 Oct 2019, 15:49

I try to compile mega-20190928 (Linux, VS) but I got such error:

Code: Select all

> Executing task: platformio run --environment normal_core_260_sdk222_alpha_ESP8266_4M1M <

Error: Invalid '/home/maciek/TMP/ESPEasy_mega-20190928/source/platformio.ini' (project configuration file): 'While reading from '/home/maciek/TMP/ESPEasy_mega-20190928/source/platformio.ini' [line 501]: section 'env:esp32test_1M8_partition' already exists'
The terminal process terminated with exit code: 1
There was M$ update of VS, maybe thats the reason?

TD-er
Core team member
Posts: 1806
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: paltformio.ini error

#2 Post by TD-er » 17 Oct 2019, 15:54

Well it is a known issue, you can remove the duplicate env part from platformio.ini

But you may run into another issue if you have Python 3.8 installed.

See: https://github.com/platformio/platformi ... ssues/2796

mackowiakp
Normal user
Posts: 183
Joined: 07 Jun 2018, 06:47
Location: Gdynia/Poland

Re: paltformio.ini error

#3 Post by mackowiakp » 17 Oct 2019, 16:23

I use Python 2.7. After removing env part from platformio.ini, works OK. THX

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests