Platformio-vscode-ide: Issue loading PlatformIO

Created on 19 Apr 2019  Â·  5Comments  Â·  Source: platformio/platformio-vscode-ide

Solution

Please run PlatformIO >Update All or Open PlatformIO IDE and run pio update. Restart VSCode


Hi guys, I have an issue loading PlatformIO in my laptop. It was working fine before but it seems that some of the last updates are generating some issues.

image

The issue reported on the screen is:
exceptions.AttributeError: 'int' object has no attribute 'splitlines'

Here you can see the versions that I am using:
image

PlatformIO Version: 1.7.0
Python Version: 2019.3.6558

it seems that the issue is with this line:
C:\Users\Admin.platformio\packages\contrib-pysite\twisted\web\http_headers.py:40 in _sanitizeLinearWhitespace

I didn't make any modifications on configurations or .py files. Just a typical install (and it was working fine before.)

Please let me know if you need any other information to diagnose this issue or if you have some workaround to suggest I will really appreciate it.
Worst scenario case I will re-install everything again, but I want to avoid it because it will take some time.
I was checking previous issues, but nothing seems to be similar to this issue, that is why I am reporting it.

Thanks in advance for your support.

Pablo

Most helpful comment

Please run PlatformIO >Update All or Open PlatformIO IDE and run pio update. Restart VSCode

All 5 comments

same problem...
platformio_problem

+1

Please run PlatformIO >Update All or Open PlatformIO IDE and run pio update. Restart VSCode

Thanks Ivan! Your recommendation worked fine!

I updated as you suggested:
image

and now it is back:

image

Thanks for your quick response!

Regards

Pablo

@ivankravets thanks, it is now fixed.

Was this page helpful?
0 / 5 - 0 ratings