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

Runtime error in asyncio from python3.8 #158

Open
thomas-zimmerman opened this issue Jun 10, 2020 · 0 comments
Open

Runtime error in asyncio from python3.8 #158

thomas-zimmerman opened this issue Jun 10, 2020 · 0 comments

Comments

@thomas-zimmerman
Copy link

Distribution (run cat /etc/os-release):
Pop!OS 20.04

Related Application and/or Package Version (run apt policy $PACKAGE NAME):
20.04.9159171989220.04~4518e0b --probably, but not confirmed

Issue/Bug Description:
Jun 09 20:15:18 pop-os system76-daemon[819]: 2020-06-09 20:15:18,126 INFO Headphone volume adjustment not needed for 'oryp3-ess'
Jun 09 20:15:18 pop-os system76-daemon[819]: 2020-06-09 20:15:18,127 INFO DPCD PWM fix not needed for 'oryp3-ess'
Jun 09 20:15:18 pop-os system76-daemon[819]: 2020-06-09 20:15:18,127 INFO Limit Power Draw not needed 'oryp3-ess'
Jun 09 20:15:18 pop-os system76-daemon[819]: Exception ignored in: <function InputDevice.del at 0x7f97948535e0>
Jun 09 20:15:18 pop-os system76-daemon[819]: Traceback (most recent call last):
Jun 09 20:15:18 pop-os system76-daemon[819]: File "/usr/lib/python3/dist-packages/evdev/device.py", line 159, in del
Jun 09 20:15:18 pop-os system76-daemon[819]: self.close()
Jun 09 20:15:18 pop-os system76-daemon[819]: File "/usr/lib/python3/dist-packages/evdev/device.py", line 304, in close
Jun 09 20:15:18 pop-os system76-daemon[819]: super().close()
Jun 09 20:15:18 pop-os system76-daemon[819]: File "/usr/lib/python3/dist-packages/evdev/eventio_async.py", line 54, in close
Jun 09 20:15:18 pop-os system76-daemon[819]: loop = asyncio.get_event_loop()
Jun 09 20:15:18 pop-os system76-daemon[819]: File "/usr/lib/python3.8/asyncio/events.py", line 639, in get_event_loop
Jun 09 20:15:18 pop-os system76-daemon[819]: raise RuntimeError('There is no current event loop in thread %r.'
Jun 09 20:15:18 pop-os system76-daemon[819]: RuntimeError: There is no current event loop in thread 'Dummy-1'.
Jun 09 20:15:18 pop-os system76-daemon[819]: Exception ignored in: <function InputDevice.del at 0x7f97948535e0>
Jun 09 20:15:18 pop-os system76-daemon[819]: Traceback (most recent call last):
Jun 09 20:15:18 pop-os system76-daemon[819]: File "/usr/lib/python3/dist-packages/evdev/device.py", line 159, in del
Jun 09 20:15:18 pop-os system76-daemon[819]: self.close()
Jun 09 20:15:18 pop-os system76-daemon[819]: File "/usr/lib/python3/dist-packages/evdev/device.py", line 304, in close
Jun 09 20:15:18 pop-os system76-daemon[819]: super().close()
Jun 09 20:15:18 pop-os system76-daemon[819]: File "/usr/lib/python3/dist-packages/evdev/eventio_async.py", line 54, in close
Jun 09 20:15:18 pop-os system76-daemon[819]: loop = asyncio.get_event_loop()
Jun 09 20:15:18 pop-os system76-daemon[819]: File "/usr/lib/python3.8/asyncio/events.py", line 639, in get_event_loop
Jun 09 20:15:18 pop-os system76-daemon[819]: raise RuntimeError('There is no current event loop in thread %r.'
Jun 09 20:15:18 pop-os system76-daemon[819]: RuntimeError: There is no current event loop in thread 'Dummy-1'.
Jun 09 20:15:18 pop-os system76-daemon[819]: Exception ignored in: <function InputDevice.del at 0x7f97948535e0>
Jun 09 20:15:18 pop-os system76-daemon[819]: Traceback (most recent call last):
Jun 09 20:15:18 pop-os system76-daemon[819]: File "/usr/lib/python3/dist-packages/evdev/device.py", line 159, in del
Jun 09 20:15:18 pop-os system76-daemon[819]: self.close()
Jun 09 20:15:18 pop-os system76-daemon[819]: File "/usr/lib/python3/dist-packages/evdev/device.py", line 304, in close
Jun 09 20:15:18 pop-os system76-daemon[819]: super().close()
Jun 09 20:15:18 pop-os system76-daemon[819]: File "/usr/lib/python3/dist-packages/evdev/eventio_async.py", line 54, in close
Jun 09 20:15:18 pop-os system76-daemon[819]: loop = asyncio.get_event_loop()
Jun 09 20:15:18 pop-os system76-daemon[819]: File "/usr/lib/python3.8/asyncio/events.py", line 639, in get_event_loop
Jun 09 20:15:18 pop-os system76-daemon[819]: raise RuntimeError('There is no current event loop in thread %r.'
Jun 09 20:15:18 pop-os system76-daemon[819]: RuntimeError: There is no current event loop in thread 'Dummy-1'.

Expected behavior:
No crash

Other Notes:
Investigating other issues with this system as it fails to complete a boot (but gets to a desktop).

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