You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VSCode: 1.96.2
PIO IDE: v3.3.3
System: Linux, 5.15.0-124-generic, x64
%23 Exception
Error: InvalidProjectConfError: Invalid '/home/wolf/Documents/PlatformIO/Pshatzmann_Audio_Pico/pico-arduino/examples/blink/platformio.ini' (project configuration file): 'File contains no section headers.
file: '/home/wolf/Documents/PlatformIO/Pshatzmann_Audio_Pico/pico-arduino/examples/blink/platformio.ini', line: 1
'platform = https://github.com/maxgerhardt/platform-raspberrypi.git\n''
Traceback (most recent call last):
File "/home/wolf/.platformio/penv/lib/python3.10/site-packages/platformio/project/config.py", line 111, in read
self._parser.read(path, "utf-8")
File "/usr/lib/python3.10/configparser.py", line 699, in read
self._read(fp, filename)
File "/usr/lib/python3.10/configparser.py", line 1087, in _read
raise MissingSectionHeaderError(fpname, lineno, line)
configparser.MissingSectionHeaderError: File contains no section headers.
file: '/home/wolf/Documents/PlatformIO/Pshatzmann_Audio_Pico/pico-arduino/examples/blink/platformio.ini', line: 1
'platform = https://github.com/maxgerhardt/platform-raspberrypi.git\n'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/wolf/.platformio/penv/lib/python3.10/site-packages/platformio/__main__.py", line 144, in <module>
sys.exit(main())
File "/home/wolf/.platformio/penv/lib/python3.10/site-packages/platformio/__main__.py", line 134, in main
maintenance.on_platformio_exit()
File "/home/wolf/.platformio/penv/lib/python3.10/site-packages/platformio/maintenance.py", line 65, in on_platformio_exit
telemetry.on_exit()
File "/home/wolf/.platformio/penv/lib/python3.10/site-packages/platformio/telemetry.py", line 177, in on_exit
TelemetryLogger().send()
File "/home/wolf/.platformio/penv/lib/python3.10/site-packages/platformio/util.py", line 133, in get_instance
_instances[cls] = cls(*args, **kwargs)
File "/home/wolf/.platformio/penv/lib/python3.10/site-packages/platformio/telemetry.py", line 78, in __init__
self._http_session = HTTPSession()
File "/home/wolf/.platformio/penv/lib/python3.10/site-packages/platformio/http.py", line 52, in __init__
self.headers.update({"User-Agent": app.get_user_agent()})
File "/home/wolf/.platformio/penv/lib/python3.10/site-packages/platformio/app.py", line 277, in get_user_agent
if not get_setting("enable_telemetry"):
File "/home/wolf/.platformio/penv/lib/python3.10/site-packages/platformio/app.py", line 208, in get_setting
with State() as state:
File "/home/wolf/.platformio/penv/lib/python3.10/site-packages/platformio/app.py", line 88, in __init__
self.path = resolve_state_path("core_dir", "appstate.json")
File "/home/wolf/.platformio/penv/lib/python3.10/site-packages/platformio/app.py", line 77, in resolve_state_path
state_dir = ProjectConfig.get_instance().get("platformio", conf_option_dir)
File "/home/wolf/.platformio/penv/lib/python3.10/site-packages/platformio/project/config.py", line 524, in get_instance
instance = {"mtime": mtime, "config": ProjectConfig(path)}
File "/home/wolf/.platformio/penv/lib/python3.10/site-packages/platformio/project/config.py", line 99, in __init__
self.read(path, parse_extra)
File "/home/wolf/.platformio/penv/lib/python3.10/site-packages/platformio/project/config.py", line 113, in read
raise exception.InvalidProjectConfError(path, str(exc)) from exc
platformio.project.exception.InvalidProjectConfError: Invalid '/home/wolf/Documents/PlatformIO/Pshatzmann_Audio_Pico/pico-arduino/examples/blink/platformio.ini' (project configuration file): 'File contains no section headers.
file: '/home/wolf/Documents/PlatformIO/Pshatzmann_Audio_Pico/pico-arduino/examples/blink/platformio.ini', line: 1
'platform = https://github.com/maxgerhardt/platform-raspberrypi.git\n''
Exception ignored in atexit callback: <function _finalize at 0x7f705e623ac0>
Traceback (most recent call last):
File "/home/wolf/.platformio/penv/lib/python3.10/site-packages/platformio/telemetry.py", line 313, in _finalize
telemetry = TelemetryLogger()
File "/home/wolf/.platformio/penv/lib/python3.10/site-packages/platformio/util.py", line 133, in get_instance
_instances[cls] = cls(*args, **kwargs)
File "/home/wolf/.platformio/penv/lib/python3.10/site-packages/platformio/telemetry.py", line 78, in __init__
self._http_session = HTTPSession()
File "/home/wolf/.platformio/penv/lib/python3.10/site-packages/platformio/http.py", line 52, in __init__
self.headers.update({"User-Agent": app.get_user_agent()})
File "/home/wolf/.platformio/penv/lib/python3.10/site-packages/platformio/app.py", line 277, in get_user_agent
if not get_setting("enable_telemetry"):
File "/home/wolf/.platformio/penv/lib/python3.10/site-packages/platformio/app.py", line 208, in get_setting
with State() as state:
File "/home/wolf/.platformio/penv/lib/python3.10/site-packages/platformio/app.py", line 88, in __init__
self.path = resolve_state_path("core_dir", "appstate.json")
File "/home/wolf/.platformio/penv/lib/python3.10/site-packages/platformio/app.py", line 77, in resolve_state_path
state_dir = ProjectConfig.get_instance().get("platformio", conf_option_dir)
File "/home/wolf/.platformio/penv/lib/python3.10/site-packages/platformio/project/config.py", line 524, in get_instance
instance = {"mtime": mtime, "config": ProjectConfig(path)}
File "/home/wolf/.platformio/penv/lib/python3.10/site-packages/platformio/project/config.py", line 99, in __init__
self.read(path, parse_extra)
File "/home/wolf/.platformio/penv/lib/python3.10/site-packages/platformio/project/config.py", line 113, in read
raise exception.InvalidProjectConfError(path, str(exc)) from exc
platformio.project.exception.InvalidProjectConfError: Invalid '/home/wolf/Documents/PlatformIO/Pshatzmann_Audio_Pico/pico-arduino/examples/blink/platformio.ini' (project configuration file): 'File contains no section headers.
file: '/home/wolf/Documents/PlatformIO/Pshatzmann_Audio_Pico/pico-arduino/examples/blink/platformio.ini', line: 1
'platform = https://github.com/maxgerhardt/platform-raspberrypi.git\n''
at /home/wolf/.vscode/extensions/platformio.platformio-ide-3.3.3-linux-x64/node_modules/platformio-node-helpers/dist/index.js:1:10939
at ChildProcess.i (/home/wolf/.vscode/extensions/platformio.platformio-ide-3.3.3-linux-x64/node_modules/platformio-node-helpers/dist/index.js:1:4559)
at ChildProcess.emit (node:events:518:28)
at ChildProcess.emit (node:domain:489:12)
at maybeClose (node:internal/child_process:1104:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5)
The text was updated successfully, but these errors were encountered:
%23 Description of problem
Leave a comment...
BEFORE SUBMITTING, PLEASE SEARCH FOR DUPLICATES IN
%23 Configuration
VSCode: 1.96.2
PIO IDE: v3.3.3
System: Linux, 5.15.0-124-generic, x64
%23 Exception
The text was updated successfully, but these errors were encountered: