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

Error when opening Serial monitor in VS Code #4363

Closed
vabean opened this issue Jul 18, 2022 · 4 comments
Closed

Error when opening Serial monitor in VS Code #4363

vabean opened this issue Jul 18, 2022 · 4 comments
Labels

Comments

@vabean
Copy link

vabean commented Jul 18, 2022

Everything works fine, i can compile and upload to my D1 mini (esp8266).

But when opening Serial monitor I get this error message. I made sure that platformio is installed via 'platformio'

 *  Executing task in folder Blink: platformio device monitor 

Error: Traceback (most recent call last):
  File "/home/user/.platformio/penv/lib/python3.10/site-packages/platformio/__main__.py", line 102, in main
    cli()  # pylint: disable=no-value-for-parameter
  File "/home/user/.platformio/penv/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/home/user/.platformio/penv/lib/python3.10/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/home/user/.platformio/penv/lib/python3.10/site-packages/platformio/cli.py", line 71, in invoke
    return super().invoke(ctx)
  File "/home/user/.platformio/penv/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/user/.platformio/penv/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/user/.platformio/penv/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/user/.platformio/penv/lib/python3.10/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/home/user/.platformio/penv/lib/python3.10/site-packages/platformio/device/monitor/command.py", line 143, in device_monitor_cmd
    unknown_filters = set(options["filters"]) - known_filters
TypeError: 'NoneType' object is not iterable

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

An unexpected error occurred. Further steps:

* Verify that you have the latest version of PlatformIO using
  `pip install -U platformio` command

* Try 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

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


 *  The terminal process "platformio 'device', 'monitor'" terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it. 
@cristiano88
Copy link

I also have this bug

@arnoldNuvisto
Copy link

Same problem for me.

Started this morning after updating VS Code.

@ivankravets ivankravets added this to the 6.1.3 milestone Jul 18, 2022
@ivankravets ivankravets removed this from the 6.1.4 milestone Jul 18, 2022
@ivankravets
Copy link
Member

Sorry for the issue, the quick 6.1.3 is coming soon.

@ivankravets
Copy link
Member

Please re-run pio upgrade

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants