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

PIO Home: AttributeError: module 'asyncio' has no attribute 'run' #4169

Closed
bandyg opened this issue Jan 17, 2022 · 0 comments
Closed

PIO Home: AttributeError: module 'asyncio' has no attribute 'run' #4169

bandyg opened this issue Jan 17, 2022 · 0 comments
Assignees
Milestone

Comments

@bandyg
Copy link

bandyg commented Jan 17, 2022

%23 Description of problem
Leave a comment...

BEFORE SUBMITTING, PLEASE SEARCH FOR DUPLICATES IN

%23 Configuration

VSCode: 1.63.2
PIO IDE: v2.4.0
System: Linux, 4.15.0-29-generic, x64

%23 Exception

Error: Error: Traceback (most recent call last):
File "/home/bandyg/.platformio/penv/lib/python3.6/site-packages/platformio/__main__.py", line 121, in main
  cli()  %23 pylint: disable=no-value-for-parameter
File "/home/bandyg/.platformio/penv/lib/python3.6/site-packages/click/core.py", line 1128, in __call__
  return self.main(*args, **kwargs)
File "/home/bandyg/.platformio/penv/lib/python3.6/site-packages/click/core.py", line 1053, in main
  rv = self.invoke(ctx)
File "/home/bandyg/.platformio/penv/lib/python3.6/site-packages/platformio/commands/__init__.py", line 44, in invoke
  return super(PlatformioCLI, self).invoke(ctx)
File "/home/bandyg/.platformio/penv/lib/python3.6/site-packages/click/core.py", line 1659, in invoke
  return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/bandyg/.platformio/penv/lib/python3.6/site-packages/click/core.py", line 1395, in invoke
  return ctx.invoke(self.callback, **ctx.params)
File "/home/bandyg/.platformio/penv/lib/python3.6/site-packages/click/core.py", line 754, in invoke
  return __callback(*args, **kwargs)
File "/home/bandyg/.platformio/penv/lib/python3.6/site-packages/platformio/commands/home/command.py", line 93, in cli
  home_url=home_url,
File "/home/bandyg/.platformio/penv/lib/python3.6/site-packages/platformio/commands/home/run.py", line 98, in run_server
  log_level="warning",
File "/home/bandyg/.platformio/penv/lib/python3.6/site-packages/uvicorn/main.py", line 461, in run
  server.run()
File "/home/bandyg/.platformio/penv/lib/python3.6/site-packages/uvicorn/server.py", line 67, in run
  return asyncio.run(self.serve(sockets=sockets))
AttributeError: module 'asyncio' has no attribute 'run'

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

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.html

* Report this problem to the developers
https://github.com/platformio/platformio-core/issues

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


  at /home/bandyg/.vscode/extensions/platformio.platformio-ide-2.4.0/node_modules/platformio-node-helpers/dist/index.js:1:9851
  at ChildProcess.r (/home/bandyg/.vscode/extensions/platformio.platformio-ide-2.4.0/node_modules/platformio-node-helpers/dist/index.js:1:5134)
  at ChildProcess.emit (events.js:315:20)
  at ChildProcess.EventEmitter.emit (domain.js:467:12)
  at maybeClose (internal/child_process.js:1048:16)
  at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
@ivankravets ivankravets transferred this issue from platformio/platformio-vscode-ide Feb 5, 2022
@ivankravets ivankravets changed the title Start PIO Home Server PIO Home: AttributeError: module 'asyncio' has no attribute 'run' Feb 5, 2022
@ivankravets ivankravets self-assigned this Feb 5, 2022
@ivankravets ivankravets added this to the 5.2.5 milestone Feb 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants