platformio / platformio-core

Your Gateway to Embedded Software Development Excellence :alien:
https://platformio.org
Apache License 2.0
7.88k stars 792 forks source link

cannot compile on Mac OS X 10.12.6 #3584

Closed mikesmam closed 4 years ago

mikesmam commented 4 years ago

What kind of issue is this?

You can erase any parts of this template not applicable to your Issue.


Configuration

Operating system:

PlatformIO Version (platformio --version):

Description of problem

Steps to Reproduce

1. 2. 3.

Actual Results

Expected Results

If problems with PlatformIO Build System:

The content of platformio.ini:

Insert here...

Source file to reproduce issue:

Insert here...

Additional info

mikesmam commented 4 years ago

Executing task: platformio run --environment LPC1768 <

Processing LPC1768 (platform: https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/0.1.2.zip; board: nxp_lpc1768; framework: arduino)

PlatformManager: Installing 0.1.2 Error: Please read http://bit.ly/package-manager-ioerror Error: Traceback (most recent call last): File "/Users/mikesam/.platformio/penv/lib/python2.7/site-packages/platformio/main.py", line 109, in main cli() # pylint: disable=no-value-for-parameter File "/Users/mikesam/.platformio/penv/lib/python2.7/site-packages/click/core.py", line 829, in call return self.main(args, kwargs) File "/Users/mikesam/.platformio/penv/lib/python2.7/site-packages/click/core.py", line 782, in main rv = self.invoke(ctx) File "/Users/mikesam/.platformio/penv/lib/python2.7/site-packages/platformio/commands/init.py", line 44, in invoke return super(PlatformioCLI, self).invoke(ctx) File "/Users/mikesam/.platformio/penv/lib/python2.7/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/Users/mikesam/.platformio/penv/lib/python2.7/site-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, ctx.params) File "/Users/mikesam/.platformio/penv/lib/python2.7/site-packages/click/core.py", line 610, in invoke return callback(args, kwargs) File "/Users/mikesam/.platformio/penv/lib/python2.7/site-packages/click/decorators.py", line 21, in new_func return f(get_current_context(), *args, *kwargs) File "/Users/mikesam/.platformio/penv/lib/python2.7/site-packages/platformio/commands/run/command.py", line 138, in cli is_test_running, File "/Users/mikesam/.platformio/penv/lib/python2.7/site-packages/platformio/commands/run/command.py", line 170, in process_env result = {"env": name, "duration": time(), "succeeded": ep.process()} File "/Users/mikesam/.platformio/penv/lib/python2.7/site-packages/platformio/commands/run/processor.py", line 75, in process skip_default_package=True, File "/Users/mikesam/.platformio/penv/lib/python2.7/site-packages/click/core.py", line 610, in invoke return callback(args, kwargs) File "/Users/mikesam/.platformio/penv/lib/python2.7/site-packages/platformio/commands/platform.py", line 325, in platform_install force=force, File "/Users/mikesam/.platformio/penv/lib/python2.7/site-packages/platformio/managers/platform.py", line 84, in install self, name, requirements, silent=silent, force=force File "/Users/mikesam/.platformio/penv/lib/python2.7/site-packages/platformio/managers/package.py", line 702, in install pkg_dir = self._install_from_url(name, url, requirements, track=True) File "/Users/mikesam/.platformio/penv/lib/python2.7/site-packages/platformio/managers/package.py", line 480, in _install_from_url dlpath = self.download(url, tmp_dir, sha1) File "/Users/mikesam/.platformio/penv/lib/python2.7/site-packages/platformio/managers/package.py", line 195, in download raise e SSLError: HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /p3p/pio-nxplpc-arduino-lpc176x/archive/0.1.2.zip (Caused by SSLError(SSLError(1, u'[SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)'),))

============================================================

An unexpected error occurred. Further steps:

============================================================

The terminal process terminated with exit code: 1

Terminal will be reused by tasks, press any key to close it.

ivankravets commented 4 years ago
  1. Please install the latest Python 3 https://docs.platformio.org/en/latest/faq.html#install-python-interpreter
  2. Remove /Users/mikesam/.platformio/penv folder and restart VSCode

Everything should work now.

mikesmam commented 4 years ago
  1. I installed the latest Python 3 https://docs.platformio.org/en/latest/faq.html#install-python-interpreter https://docs.platformio.org/en/latest/faq.html#install-python-interpreter
  2. could not find the file: Remove /Users/mikesam/.platformio/penv folder and restart VSCode

tried to build ::

Executing task: platformio run <

Processing STM32F103RE_btt (platform: ststm32; board: genericSTM32F103RE; framework: arduino)

Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/genericSTM32F103RE.html PLATFORM: ST STM32 7.0.0 > STM32F103RE (64k RAM. 512k Flash) HARDWARE: STM32F103RET6 72MHz, 64KB RAM, 512KB Flash DEBUG: Current (stlink) External (blackmagic, jlink, stlink) PACKAGES:

Environment Status Duration


mega2560 IGNORED mega1280 IGNORED rambo IGNORED FYSETC_F6_13 IGNORED FYSETC_F6_14 IGNORED sanguino644p IGNORED sanguino1284p IGNORED melzi IGNORED melzi_optiboot IGNORED at90usb1286_cdc IGNORED at90usb1286_dfu IGNORED DUE IGNORED DUE_USB IGNORED DUE_debug IGNORED LPC1768 IGNORED LPC1769 IGNORED STM32F103RC IGNORED STM32F103RC_fysetc IGNORED STM32F103RC_btt IGNORED STM32F103RC_btt_USB IGNORED STM32F103RC_btt_512K IGNORED STM32F103RC_btt_512K_USB IGNORED STM32F103RE IGNORED STM32F103RE_btt FAILED 00:00:02.235 STM32F103RE_btt_USB IGNORED STM32F4 IGNORED STM32F7 IGNORED ARMED IGNORED STM32F103VE_GTM32 IGNORED STM32F103VE_longer IGNORED mks_robin_mini IGNORED mks_robin_nano IGNORED mks_robin IGNORED mks_robin_pro IGNORED mks_robin_lite IGNORED mks_robin_lite3 IGNORED jgaurora_a5s_a1 IGNORED STM32F103CB_malyan IGNORED chitu_f103 IGNORED STM32F401VE_STEVAL IGNORED FLYF407ZG IGNORED FYSETC_S6 IGNORED STM32F407VE_black IGNORED BIGTREE_SKR_PRO IGNORED BIGTREE_GTR_V1_0 IGNORED BIGTREE_BTT002 IGNORED teensy31 IGNORED teensy35 IGNORED esp32 IGNORED linux_native IGNORED SAMD51_grandcentral_m4 IGNORED rumba32_f446ve IGNORED rumba32_mks IGNORED include_tree IGNORED ==================================================================== 1 failed, 0 succeeded in 00:00:02.235 ==================================================================== The terminal process "platformio 'run'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

Michael Sampognaro Morgan Hill Cellars / Pedrizzetti Winery 1645 San Pedro Avenue Morgan Hill, Ca 95037

408 779 7389

www.morganhillcellars.com

On Aug 17, 2020, at 3:01 AM, Ivan Kravets notifications@github.com wrote:

Please install the latest Python 3 https://docs.platformio.org/en/latest/faq.html#install-python-interpreter https://docs.platformio.org/en/latest/faq.html#install-python-interpreter Remove /Users/mikesam/.platformio/penv folder and restart VSCode Everything should work now.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/platformio/platformio-core/issues/3584#issuecomment-674787122, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQGXDPI4MSVIN5RORXNZGALSBD5ZFANCNFSM4OUC54ZQ.

ivankravets commented 4 years ago

Please remove /Users/mikesam/MarlinFirmware/.pio folder and try to build project again.