nefelim4ag / Ananicy

Ananicy - is Another auto nice daemon, with community rules support (Use pull request please)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Still problems with dump proc

d0m1n1q0 opened this issue · comments

arch linux & ananicy-git & python 3.10.7

sudo ananicy dump proc
Traceback (most recent call last):
File "/usr/bin/ananicy", line 845, in
main(sys.argv)
File "/usr/bin/ananicy", line 837, in main
daemon.dump_proc()
File "/usr/bin/ananicy", line 761, in dump_proc
print(json.dumps(proc_dict, indent=4), flush=True)
File "/usr/lib/python3.10/json/init.py", line 238, in dumps
**kw).encode(obj)
File "/usr/lib/python3.10/json/encoder.py", line 201, in encode
chunks = list(chunks)
File "/usr/lib/python3.10/json/encoder.py", line 431, in _iterencode
yield from _iterencode_dict(o, _current_indent_level)
File "/usr/lib/python3.10/json/encoder.py", line 376, in _iterencode_dict
raise TypeError(f'keys must be str, int, float, bool or None, '
TypeError: keys must be str, int, float, bool or None, not tuple