PlatformIO Build/Compile Error New Install/Setup
Posted: 02 Mar 2019, 21:28
I have followed the instructions to install Platformio-IDE ATOM
Tutorial Install Platformio
https://www.letscontrolit.com/wiki/inde ... Platformio
Tutorial preparing to work with github
https://www.letscontrolit.com/wiki/inde ... ith_github
Tutorial building and uploading with platformio
https://www.letscontrolit.com/wiki/inde ... platformio
Pressing F7 then selecting PIO Build
The following errors for all the builds
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 440: ordinal not in range(128):
File "C:\users\gethub\.platformio\penv\lib\site-packages\platformio\builder\main.py", line 169:
env.SConscript("$BUILD_SCRIPT")
File "C:\Users\gethub\.platformio\packages\tool-scons\script\..\engine\SCons\Script\SConscript.py", line 541:
return _SConscript(self.fs, *files, **subst_kw)
File "C:\users\gethub\.platformio\platforms\espressif8266@src-e5a066500c9cb11856f3e2e1d0334f85\builder\main.py", line 316:
target_elf = env.BuildProgram()
File "C:\Users\gethub\.platformio\packages\tool-scons\script\..\engine\SCons\Environment.py", line 224:
return self.method(*nargs, **kwargs)
File "C:\users\gethub\.platformio\penv\lib\site-packages\platformio\builder\tools\platformio.py", line 107:
env.BuildFrameworks(env.get("PIOFRAMEWORK"))
File "C:\Users\gethub\.platformio\packages\tool-scons\script\..\engine\SCons\Environment.py", line 224:
env.ConvertInoToCpp()
File "C:\Users\gethub\.platformio\packages\tool-scons\script\..\engine\SCons\Environment.py", line 224:
return self.method(*nargs, **kwargs)
File "C:\users\gethub\.platformio\penv\lib\site-packages\platformio\builder\tools\piomisc.py", line 189:
out_file = c.convert(ino_nodes)
File "C:\users\gethub\.platformio\penv\lib\site-packages\platformio\builder\tools\piomisc.py", line 52:
contents = self.merge(nodes)
File "C:\users\gethub\.platformio\penv\lib\site-packages\platformio\builder\tools\piomisc.py", line 74:
return "\n".join(["#include <Arduino.h>"] + lines) if lines else None
Processing normal_core_241_ESP8266_4096 (framework: arduino; platform: https://github.com/TD-er/platform-espre ... it#patch/v
1.7.3_Puya; board: esp12e)
[ERROR] Took 2.59 seconds
I have un installed and re installed several times and still getting same errors.
Have checked python from command prompt
Microsoft Windows [Version 10.0.17134.590]
(c) 2018 Microsoft Corporation. All rights reserved.
C:\Users\gethub>python
Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
I am a new bee to this please help
Tutorial Install Platformio
https://www.letscontrolit.com/wiki/inde ... Platformio
Tutorial preparing to work with github
https://www.letscontrolit.com/wiki/inde ... ith_github
Tutorial building and uploading with platformio
https://www.letscontrolit.com/wiki/inde ... platformio
Pressing F7 then selecting PIO Build
The following errors for all the builds
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 440: ordinal not in range(128):
File "C:\users\gethub\.platformio\penv\lib\site-packages\platformio\builder\main.py", line 169:
env.SConscript("$BUILD_SCRIPT")
File "C:\Users\gethub\.platformio\packages\tool-scons\script\..\engine\SCons\Script\SConscript.py", line 541:
return _SConscript(self.fs, *files, **subst_kw)
File "C:\users\gethub\.platformio\platforms\espressif8266@src-e5a066500c9cb11856f3e2e1d0334f85\builder\main.py", line 316:
target_elf = env.BuildProgram()
File "C:\Users\gethub\.platformio\packages\tool-scons\script\..\engine\SCons\Environment.py", line 224:
return self.method(*nargs, **kwargs)
File "C:\users\gethub\.platformio\penv\lib\site-packages\platformio\builder\tools\platformio.py", line 107:
env.BuildFrameworks(env.get("PIOFRAMEWORK"))
File "C:\Users\gethub\.platformio\packages\tool-scons\script\..\engine\SCons\Environment.py", line 224:
env.ConvertInoToCpp()
File "C:\Users\gethub\.platformio\packages\tool-scons\script\..\engine\SCons\Environment.py", line 224:
return self.method(*nargs, **kwargs)
File "C:\users\gethub\.platformio\penv\lib\site-packages\platformio\builder\tools\piomisc.py", line 189:
out_file = c.convert(ino_nodes)
File "C:\users\gethub\.platformio\penv\lib\site-packages\platformio\builder\tools\piomisc.py", line 52:
contents = self.merge(nodes)
File "C:\users\gethub\.platformio\penv\lib\site-packages\platformio\builder\tools\piomisc.py", line 74:
return "\n".join(["#include <Arduino.h>"] + lines) if lines else None
Processing normal_core_241_ESP8266_4096 (framework: arduino; platform: https://github.com/TD-er/platform-espre ... it#patch/v
1.7.3_Puya; board: esp12e)
[ERROR] Took 2.59 seconds
I have un installed and re installed several times and still getting same errors.
Have checked python from command prompt
Microsoft Windows [Version 10.0.17134.590]
(c) 2018 Microsoft Corporation. All rights reserved.
C:\Users\gethub>python
Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
I am a new bee to this please help