Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

repeating "Output" problem #5001

Open
JSCoobs opened this issue Oct 21, 2024 · 0 comments
Open

repeating "Output" problem #5001

JSCoobs opened this issue Oct 21, 2024 · 0 comments

Comments

@JSCoobs
Copy link

JSCoobs commented Oct 21, 2024

Platformio IDE
I keep getting this result when trying to build my firmware.
I have been working on this for more than a month and now I have this issue.

   OUTPUT

  Resolving genericSTM32F103RC dependencies...

AttributeError: Traceback (most recent call last):
File "/Users/johncoobs/.platformio/penv/lib/python3.11/site-packages/platformio/main.py", line 103, in main
cli() # pylint: disable=no-value-for-parameter
^^^^^
File "/Users/johncoobs/.platformio/penv/lib/python3.11/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/johncoobs/.platformio/penv/lib/python3.11/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/Users/johncoobs/.platformio/penv/lib/python3.11/site-packages/platformio/cli.py", line 85, in invoke
return super().invoke(ctx)
^^^^^^^^^^^^^^^^^^^
File "/Users/johncoobs/.platformio/penv/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/johncoobs/.platformio/penv/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/johncoobs/.platformio/penv/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/johncoobs/.platformio/penv/lib/python3.11/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/johncoobs/.platformio/penv/lib/python3.11/site-packages/platformio/project/commands/init.py", line 106, in project_init_cmd
install_project_dependencies(
File "/Users/johncoobs/.platformio/penv/lib/python3.11/site-packages/platformio/package/commands/install.py", line 107, in install_project_dependencies
already_up_to_date = not install_project_env_dependencies(env, options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/johncoobs/.platformio/penv/lib/python3.11/site-packages/platformio/package/commands/install.py", line 132, in install_project_env_dependencies
_install_project_env_platform(project_env, options),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/johncoobs/.platformio/penv/lib/python3.11/site-packages/platformio/package/commands/install.py", line 149, in _install_project_env_platform
PlatformPackageManager().install(
File "/Users/johncoobs/.platformio/penv/lib/python3.11/site-packages/platformio/package/manager/platform.py", line 60, in install
p.configure_project_packages(project_env, project_targets)
File "/Users/johncoobs/.platformio/penv/lib/python3.11/site-packages/platformio/platform/base.py", line 185, in configure_project_packages
self.configure_default_packages(options, targets or [])
File "/Users/johncoobs/.platformio/platforms/[email protected]/platform.py", line 43, in configure_default_packages
if board.startswith("portenta"):
^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'startswith'

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

An unexpected error occurred. Further steps:

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

      BUILD
  • Executing task: platformio run --environment genericSTM32F103RC

Processing genericSTM32F103RC (platform: ststm32@~12.1; framework: arduino)

AttributeError: Traceback (most recent call last):
File "/Users/johncoobs/.platformio/penv/lib/python3.11/site-packages/platformio/main.py", line 103, in main
cli() # pylint: disable=no-value-for-parameter
^^^^^
File "/Users/johncoobs/.platformio/penv/lib/python3.11/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/johncoobs/.platformio/penv/lib/python3.11/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/Users/johncoobs/.platformio/penv/lib/python3.11/site-packages/platformio/cli.py", line 85, in invoke
return super().invoke(ctx)
^^^^^^^^^^^^^^^^^^^
File "/Users/johncoobs/.platformio/penv/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/johncoobs/.platformio/penv/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/johncoobs/.platformio/penv/lib/python3.11/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/johncoobs/.platformio/penv/lib/python3.11/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/johncoobs/.platformio/penv/lib/python3.11/site-packages/platformio/run/cli.py", line 145, in cli
process_env(
File "/Users/johncoobs/.platformio/penv/lib/python3.11/site-packages/platformio/run/cli.py", line 208, in process_env
).process()
^^^^^^^^^
File "/Users/johncoobs/.platformio/penv/lib/python3.11/site-packages/platformio/run/processor.py", line 81, in process
install_project_env_dependencies(
File "/Users/johncoobs/.platformio/penv/lib/python3.11/site-packages/platformio/package/commands/install.py", line 132, in install_project_env_dependencies
_install_project_env_platform(project_env, options),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/johncoobs/.platformio/penv/lib/python3.11/site-packages/platformio/package/commands/install.py", line 149, in _install_project_env_platform
PlatformPackageManager().install(
File "/Users/johncoobs/.platformio/penv/lib/python3.11/site-packages/platformio/package/manager/platform.py", line 60, in install
p.configure_project_packages(project_env, project_targets)
File "/Users/johncoobs/.platformio/penv/lib/python3.11/site-packages/platformio/platform/base.py", line 185, in configure_project_packages
self.configure_default_packages(options, targets or [])
File "/Users/johncoobs/.platformio/platforms/[email protected]/platform.py", line 43, in configure_default_packages
if board.startswith("portenta"):
^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'startswith'

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

An unexpected error occurred. Further steps:

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

  • The terminal process "platformio 'run', '--environment', 'genericSTM32F103RC'" terminated with exit code: 1.
  • Terminal will be reused by tasks, press any key to close it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant