PEAK Pcan M2 : raise RuntimeError('Event loop is closed')
Posted: Sun 5. Sep 2021, 20:01
python3.8
ros noetic
Peak can board M2
Hello the team,
I need to use asyncio in my code, and it returns an error after the first query. Any idea ?
Here is my code : https://pastebin.com/ndcbTS59
here is the terminal error : https://pastebin.com/DRjCrz1Z
the main() is ru the first time, and works correctly.
On the second run, errors appear.
Any idea ?
Best regards, the team.
Vincent
ros noetic
Peak can board M2
Hello the team,
I need to use asyncio in my code, and it returns an error after the first query. Any idea ?
Here is my code : https://pastebin.com/ndcbTS59
here is the terminal error : https://pastebin.com/DRjCrz1Z
the main() is ru the first time, and works correctly.
On the second run, errors appear.
Any idea ?
Best regards, the team.
Vincent