platformio / platformio-home

PlatformIO Home
https://docs.platformio.org/page/home/index.html
Apache License 2.0
95 stars 62 forks source link

Could not initialize project #4862

Closed evandro-teixeira closed 2 years ago

evandro-teixeira commented 2 years ago

PIO Core Call Error: "The current working directory /home/evandro/Documentos/PlatformIO/Projects/TesteMbed will be used for the project.\n\nThe next files/directories have been created in /home/evandro/Documentos/PlatformIO/Projects/TesteMbed\ninclude - Put project header files here\nlib - Put here project specific (private) libraries\nsrc - Put project source files here\nplatformio.ini - Project Configuration File\nResolving frdm_kl25z dependencies...\nAlready up-to-date.\nUpdating metadata for the vscode IDE...\n\n\nError: Processing frdm_kl25z (platform: freescalekinetis; board: frdm_kl25z; framework: mbed)\n--------------------------------------------------------------------------------\nVerbose mode can be enabled via -v, --verbose option\nCONFIGURATION: https://docs.platformio.org/page/boards/freescalekinetis/frdm_kl25z.html\nPLATFORM: Freescale Kinetis (9.2.0) > Freescale Kinetis FRDM-KL25Z\nHARDWARE: MKL25Z128VLK4 48MHz, 16KB RAM, 128KB Flash\nDEBUG: Current (cmsis-dap) On-board (cmsis-dap) External (blackmagic, jlink)\nPACKAGES: \n - framework-mbed @ 6.60900.210318 (6.9.0) \n - toolchain-gccarmnoneeabi @ 1.90201.191206 (9.2.1)\nImportError: cannot import name 'Iterable' from 'collections' (/usr/lib/python3.10/collections/init.py):\n File \"/home/evandro/.platformio/penv/lib/python3.10/site-packages/platformio/builder/main.py\", line 188:\n env.SConscript(\"$BUILD_SCRIPT\")\n File \"/home/evandro/.platformio/packages/tool-scons/scons-local-4.3.0/SCons/Script/SConscript.py\", line 597:\n return _SConscript(self.fs, *files, subst_kw)\n File \"/home/evandro/.platformio/packages/tool-scons/scons-local-4.3.0/SCons/Script/SConscript.py\", line 285:\n exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)\n File \"/home/evandro/.platformio/platforms/freescalekinetis/builder/main.py\", line 96:\n target_elf = env.BuildProgram()\n File \"/home/evandro/.platformio/packages/tool-scons/scons-local-4.3.0/SCons/Util.py\", line 742:\n return self.method(*nargs, *kwargs)\n File \"/home/evandro/.platformio/penv/lib/python3.10/site-packages/platformio/builder/tools/platformio.py\", line 62:\n env.ProcessProgramDeps()\n File \"/home/evandro/.platformio/packages/tool-scons/scons-local-4.3.0/SCons/Util.py\", line 742:\n return self.method(nargs, kwargs)\n File \"/home/evandro/.platformio/penv/lib/python3.10/site-packages/platformio/builder/tools/platformio.py\", line 122:\n env.BuildFrameworks(env.get(\"PIOFRAMEWORK\"))\n File \"/home/evandro/.platformio/packages/tool-scons/scons-local-4.3.0/SCons/Util.py\", line 742:\n return self.method(*nargs, kwargs)\n File \"/home/evandro/.platformio/penv/lib/python3.10/site-packages/platformio/builder/tools/platformio.py\", line 328:\n SConscript(env.GetFrameworkScript(name), exports=\"env\")\n File \"/home/evandro/.platformio/packages/tool-scons/scons-local-4.3.0/SCons/Script/SConscript.py\", line 660:\n return method(*args, *kw)\n File \"/home/evandro/.platformio/packages/tool-scons/scons-local-4.3.0/SCons/Script/SConscript.py\", line 597:\n return _SConscript(self.fs, files, subst_kw)\n File \"/home/evandro/.platformio/packages/tool-scons/scons-local-4.3.0/SCons/Script/SConscript.py\", line 285:\n exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)\n File \"/home/evandro/.platformio/platforms/freescalekinetis/builder/frameworks/mbed.py\", line 35:\n SConscript(\n File \"/home/evandro/.platformio/packages/tool-scons/scons-local-4.3.0/SCons/Script/SConscript.py\", line 660:\n return method(*args, *kw)\n File \"/home/evandro/.platformio/packages/tool-scons/scons-local-4.3.0/SCons/Script/SConscript.py\", line 597:\n return _SConscript(self.fs, files, **subst_kw)\n File \"/home/evandro/.platformio/packages/tool-scons/scons-local-4.3.0/SCons/Script/SConscript.py\", line 285:\n exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)\n File \"/home/evandro/.platformio/packages/framework-mbed/platformio/platformio-build.py\", line 44:\n from pio_mbed_adapter import PlatformioMbedAdapter\n File \"/home/evandro/.platformio/packages/framework-mbed/platformio/pio_mbed_adapter.py\", line 23:\n from tools.build_api import prepare_toolchain, UPDATE_WHITELIST\n File \"/home/evandro/.platformio/packages/framework-mbed/tools/build_api.py\", line 48:\n from .libraries import Library\n File \"/home/evandro/.platformio/packages/framework-mbed/tools/libraries.py\", line 25:\n from tools.tests import TEST_MBED_LIB, DEFAULT_SUPPORT\n File \"/home/evandro/.platformio/packages/framework-mbed/tools/tests.py\", line 18:\n from past.builtins import cmp\n File \"/home/evandro/.platformio/packages/framework-mbed/platformio/package_deps/py3/past/builtins/init.py\", line 43:\n from past.builtins.noniterators import (filter, map, range, reduce, zip)\n File \"/home/evandro/.platformio/packages/framework-mbed/platformio/package_deps/py3/past/builtins/noniterators.py\", line 24:\n from past.types import basestring\n File \"/home/evandro/.platformio/packages/framework-mbed/platformio/package_deps/py3/past/types/init.py\", line 25:\n from .oldstr import oldstr\n File \"/home/evandro/.platformio/packages/framework-mbed/platformio/package_deps/py3/past/types/oldstr.py\", line 5:\n from collections import Iterable\n========================== [FAILED] Took 3.62 seconds =========================="

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. Please provide more details or it will be closed if no further activity occurs. Thank you for your contributions.