gepd / Deviot

Sublime Text plugin for IoT development based in PlatformIO ecosystem (Arduino IDE)
Apache License 2.0
307 stars 56 forks source link

Select Board Not Working After Installing Deviot #341

Open dman271828 opened 2 years ago

dman271828 commented 2 years ago

Before report an issue, please make sure it hasn't been reported before.

If you need information about an option or feature make sure to first look into the Deviot Wiki

Operating system

Windows 7

Board used

ESP32

Description of problem

The Deviot installs menu item on Sublime Text but the Platformio does not seem to work because I cannot Select Board

Error(s) in ST Console? (View > Show Console)

Does nothing when clicking Select Board

Steps to Reproduce

Install Python 2.7 to C:\python27 Open Command Editor or Environmental Editor add C:\Python27 to path

Open Sublime Text 3 Tools>Command Palette Type: Add Repository URL: https://github.com/gepd/Deviot.git Preferences>Package Control Type: Install Package Select: Deviot

Close and restart Sublime Text 3

Actual Results

Deviot Give this message: [ Deviot 2.3.0.dev13 ] Setup Downloading necessary files... Extracting files... Installing PlatformIO...

After 10 minutes it gives this message: There was an error

Expected Results

I expect the Deviot to install platformio so that the Select Board will function and and I could write a simple Blink program.

Additional info

I attempted this install on Windows 10 and got the same result.

Other people have suggested using Developer Pro Version shown in Deviot menu and then do a Board Refresh but that did not work either.

I did a test of Python from the command prompt and python27 is working.

Is there a way of manually installing platformio into Sublime Text? Is there some py file in Deviot that just needs to be edited?

You can edit the text above according to your need

dman271828 commented 2 years ago

PlatformIO is not installed Preparing to install it. Please be patient it; may take a while. Downloading necessary files... Extracting files... Installing PlatformIO... There was an error Collecting platformio c:\users\freecash\appdata\roaming\sublim~1\packages\user\deviot\penv\lib\site-packages\pip_vendor\requests\packages\urllib3\util\ssl.py:315: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning. SNIMissingWarning c:\users\freecash\appdata\roaming\sublim~1\packages\user\deviot\penv\lib\site-packages\pip_vendor\requests\packages\urllib3\util\ssl.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed out. (read timeout=15)",)': /simple/platformio/ c:\users\freecash\appdata\roaming\sublim~1\packages\user\deviot\penv\lib\site-packages\pip_vendor\requests\packages\urllib3\util\ssl.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed out. (read timeout=15)",)': /simple/platformio/ c:\users\freecash\appdata\roaming\sublim~1\packages\user\deviot\penv\lib\site-packages\pip_vendor\requests\packages\urllib3\util\ssl.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed out. (read timeout=15)",)': /simple/platformio/ c:\users\freecash\appdata\roaming\sublim~1\packages\user\deviot\penv\lib\site-packages\pip_vendor\requests\packages\urllib3\util\ssl.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed out. (read timeout=15)",)': /simple/platformio/ c:\users\freecash\appdata\roaming\sublim~1\packages\user\deviot\penv\lib\site-packages\pip_vendor\requests\packages\urllib3\util\ssl.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed out. (read timeout=15)",)': /simple/platformio/ c:\users\freecash\appdata\roaming\sublim~1\packages\user\deviot\penv\lib\site-packages\pip_vendor\requests\packages\urllib3\util\ssl.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning Could not find a version that satisfies the requirement platformio (from versions: ) No matching distribution found for platformio c:\users\freecash\appdata\roaming\sublim~1\packages\user\deviot\penv\lib\site-packages\pip_vendor\requests\packages\urllib3\util\ssl.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning Installation finished, now you can enjoy Deviot!

The Deviot Select Boards does not work.