TypeError: argument of 'NoneType' is not iterable
Hey, first of all - thank you so much for an amazing project.
I'm getting an error on NixOS (currently on unstable version, but I've also tried with 25.05).
I'm also using Hyprland, version:
`Hyprland 0.50.1 built from branch v0.50.1-b at commit 4e242d086e20b32951fdc0ebcbfb4d41b5be8dcc`.
`nwg-displays` version is 0.3.25 .
The error, is the following:
```python
Error loading json: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "/nix/store/jk8cclq15v6p6b5hviwm6gg684jpw1gg-nwg-displays-0.3.25/bin/.nwg-displays-wrapped", line 9, in <module>
sys.exit(main())
~~~~^^
File "/nix/store/jk8cclq15v6p6b5hviwm6gg684jpw1gg-nwg-displays-0.3.25/lib/python3.13/site-packages/nwg_displays/main.py", line 10
79, in main
if config_keys_missing(config, config_file):
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/jk8cclq15v6p6b5hviwm6gg684jpw1gg-nwg-displays-0.3.25/lib/python3.13/site-packages/nwg_displays/tools.py", line 2
90, in config_keys_missing
if key not in config:
^^^^^^^^^^^^^^^^^
TypeError: argument of type 'NoneType' is not iterable
```
Any help with this would be greatly appreciated!
关闭于 2025-08-23 1 条评论