help needed with PlatformIO -> getting started step 2: Build the source code #160
Unanswered
peterneuteboom
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm trying to get NightDriverStrip working but so far unsuccessful. Must admit that i am a total newbie using Platform IO. I have some experience with the Arduino IDE, but this is a whole new ballgame to me.
So far i tried to follow the 'getting started' tips as well as the 'Build Pointers' (but there is where i get stuck)
I installed (and updated) VScode and PlatformIO.
I cloned the NightDriver GIT project to a local directory
changed password and SSID in secrets.h
next step is to build the source code. I opened the command shell (PlatformIO core CLI) followed by the 'pio run' command
then it spits out a lot of errors that do not make sense to me (see at the end of this post).
what did i try to do to fix this problem?
read several discussions in this repository, but with no succes
watched dave's garage youtube tutorial and tried the PlatformIO build command (ctrl+shift+p), but same result.
tried tot look up some error codes (google), but not being a native speaker nor a programmer that didn't do much.
Can someone please point me to the right direction?
Thanks in advance.
=========
Error: Traceback (most recent call last):
File "C:\Users\peter.platformio\penv\lib\site-packages\platformio_main_.py", line 102, in main
cli() # pylint: disable=no-value-for-parameter
File "C:\Users\peter.platformio\penv\lib\site-packages\click\core.py", line 1130, in call
return self.main(*args, **kwargs)
File "C:\Users\peter.platformio\penv\lib\site-packages\click\core.py", line 1055, in main
rv = self.invoke(ctx)
File "C:\Users\peter.platformio\penv\lib\site-packages\platformio\cli.py", line 71, in invoke
return super().invoke(ctx)
File "C:\Users\peter.platformio\penv\lib\site-packages\click\core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Users\peter.platformio\penv\lib\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\peter.platformio\penv\lib\site-packages\click\core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "C:\Users\peter.platformio\penv\lib\site-packages\click\decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "C:\Users\peter.platformio\penv\lib\site-packages\platformio\run\cli.py", line 144, in cli
process_env(
File "C:\Users\peter.platformio\penv\lib\site-packages\platformio\run\cli.py", line 201, in process_env
result = {"env": name, "duration": time(), "succeeded": ep.process()}
File "C:\Users\peter.platformio\penv\lib\site-packages\platformio\run\processor.py", line 83, in process
install_project_env_dependencies(
File "C:\Users\peter.platformio\penv\lib\site-packages\platformio\package\commands\install.py", line 132, in install_project_env_dependencies
_install_project_env_libraries(project_env, options),
File "C:\Users\peter.platformio\penv\lib\site-packages\platformio\package\commands\install.py", line 247, in _install_project_env_libraries
env_lm.install(
File "C:\Users\peter.platformio\penv\lib\site-packages\platformio\package\manager_install.py", line 48, in install
pkg = self._install(spec, skip_dependencies=skip_dependencies, force=force)
File "C:\Users\peter.platformio\penv\lib\site-packages\platformio\package\manager_install.py", line 92, in _install
self.install_dependencies(pkg, print_header=False)
File "C:\Users\peter.platformio\penv\lib\site-packages\platformio\package\manager_install.py", line 140, in install_dependencies
self.install_dependency(dependency)
File "C:\Users\peter.platformio\penv\lib\site-packages\platformio\package\manager\library.py", line 89, in install_dependency
not_builtin_conds.append(not self.is_builtin_lib(spec.name))
File "C:\Users\peter.platformio\penv\lib\site-packages\platformio\package\manager\library.py", line 120, in is_builtin_lib
for storage in cls.get_builtin_libs():
File "C:\Users\peter.platformio\penv\lib\site-packages\platformio\util.py", line 56, in wrapper
self.cache[key] = (time.time(), func(*args, **kwargs))
File "C:\Users\peter.platformio\penv\lib\site-packages\platformio\package\manager\library.py", line 105, in get_builtin_libs
for storage in p.get_lib_storages():
File "C:\Users\peter.platformio\penv\lib\site-packages\platformio\platform\base.py", line 216, in get_lib_storages
pkg = self.get_package(opts["package"])
File "C:\Users\peter.platformio\penv\lib\site-packages\platformio\platform_packages.py", line 29, in get_package
return self.pm.get_package(spec or self.get_package_spec(name))
File "C:\Users\peter.platformio\penv\lib\site-packages\platformio\platform_packages.py", line 21, in get_package_spec
owner=self.packages[name].get("owner"),
KeyError: 'framework-stm32cube'
============================================================
An unexpected error occurred. Further steps:
Verify that you have the latest version of PlatformIO using
pip install -U platformio
commandTry to find answer in FAQ Troubleshooting section
https://docs.platformio.org/page/faq/index.html
Report this problem to the developers
https://github.com/platformio/platformio-core/issues
============================================================
Beta Was this translation helpful? Give feedback.
All reactions