TypeError: 'type' object is not subscriptable
See original GitHub issueyes Describe the bug
the command doesn’t start Who to reproduce
After uninstalling the earlier version, updating and reinstalling the latest version, the command doesn’t start at all with any argument:
output:
linux-enable-ir-emitter -h Traceback (most recent call last): File "/usr/bin/linux-enable-ir-emitter", line 9, in <module> from command import boot, fix, manual, run, configure File "/usr/lib/linux-enable-ir-emitter/command/boot.py", line 5, in <module> from Systemd import Systemd File "/usr/lib/linux-enable-ir-emitter/Systemd.py", line 19, in <module> class Systemd: File "/usr/lib/linux-enable-ir-emitter/Systemd.py", line 20, in Systemd def __init__(self, devices: list[str]) -> None: TypeError: 'type' object is not subscriptable
Additional info
- Distro: Ubuntu
- Version: 20.04
- Version of linux-enable-ir-emitter: the latest on 2021.11.06
- How did you install linux-enable-ir-emitter: bash
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top GitHub Comments
I also have this 😃
python3.8 -V Python 3.8.10
and after doing this:
sudo apt install python3.9
I have this:
python3.9 -V Python 3.9.5
I confirm this version is working:
linux-enable-ir-emitter 3.2.2