platformio / platformio-home

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

Could not initialize project #8932

Open CKP0MHOSTb opened 2 weeks ago

CKP0MHOSTb commented 2 weeks ago

PIO Core Call Error: "The following files/directories have been created in C:\Users\POKIDOV\Documents\PlatformIO\Projects\gkgk on reg v2\r\ninclude - Put project header files here\r\nlib - Put project specific (private) libraries here\r\nsrc - Put project source files here\r\nplatformio.ini - Project Configuration File\r\nResolving bluepill_f103c8 dependencies...\r\nAlready up-to-date.\r\nUpdating metadata for the vscode IDE...\r\n\n\nNameError: Traceback (most recent call last):\r\n File \"C:\Users\POKIDOV\.platformio\penv\Lib\site-packages\platformio\main.py\", line 103, in main\r\n cli() # pylint: disable=no-value-for-parameter\r\n ^^^^^\r\n File \"C:\Users\POKIDOV\.platformio\penv\Lib\site-packages\click\core.py\", line 1157, in call\r\n return self.main(args, kwargs)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"C:\Users\POKIDOV\.platformio\penv\Lib\site-packages\click\core.py\", line 1078, in main\r\n rv = self.invoke(ctx)\r\n ^^^^^^^^^^^^^^^^\r\n File \"C:\Users\POKIDOV\.platformio\penv\Lib\site-packages\platformio\cli.py\", line 85, in invoke\r\n return super().invoke(ctx)\r\n ^^^^^^^^^^^^^^^^^^^\r\n File \"C:\Users\POKIDOV\.platformio\penv\Lib\site-packages\click\core.py\", line 1688, in invoke\r\n return _process_result(sub_ctx.command.invoke(sub_ctx))\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"C:\Users\POKIDOV\.platformio\penv\Lib\site-packages\click\core.py\", line 1434, in invoke\r\n return ctx.invoke(self.callback, ctx.params)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"C:\Users\POKIDOV\.platformio\penv\Lib\site-packages\click\core.py\", line 783, in invoke\r\n return __callback(args, kwargs)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"C:\Users\POKIDOV\.platformio\penv\Lib\site-packages\platformio\project\commands\init.py\", line 122, in project_init_cmd\r\n generator.generate()\r\n File \"C:\Users\POKIDOV\.platformio\penv\Lib\site-packages\platformio\project\integration\generator.py\", line 165, in generate\r\n contents = self._render_tpl(tpl_path, tpl_vars)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"C:\Users\POKIDOV\.platformio\penv\Lib\site-packages\platformio\project\integration\generator.py\", line 171, in _render_tpl\r\n return bottle.template(fp.read(), tpl_vars)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"C:\Users\POKIDOV\.platformio\penv\Lib\site-packages\bottle.py\", line 4495, in template\r\n return TEMPLATES[tplid].render(kwargs)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"C:\Users\POKIDOV\.platformio\penv\Lib\site-packages\bottle.py\", line 4272, in render\r\n self.execute(stdout, env)\r\n File \"C:\Users\POKIDOV\.platformio\penv\Lib\site-packages\bottle.py\", line 4257, in execute\r\n exec(self.co, env)\r\n File \"\", line 75, in \r\nNameError: name 'includes' is not defined\r\n\r\n============================================================\r\n\r\nAn unexpected error occurred. Further steps:\r\n\r\n Verify that you have the latest version of PlatformIO using\r\n python -m pip install -U platformio command\r\n\r\n Try to find answer in FAQ Troubleshooting section\r\n https://docs.platformio.org/page/faq/index.html\r\n\r\n* Report this problem to the developers\r\n https://github.com/platformio/platformio-core/issues\r\n\r\n============================================================"