Traceback (most recent call last):


 "/home/ristillu/.local/bin/prospector", line 8, in <module>

sys.exit(main())


 "/home/ristillu/.local/lib/python3.8/site-packages/prospector/run.py", line 168, in main

prospector.print_messages()


 "/home/ristillu/.local/lib/python3.8/site-packages/prospector/run.py", line 128, in print_messages

self.write_to(formatter, sys.stdout)


 "/home/ristillu/.local/lib/python3.8/site-packages/prospector/run.py", line 136, in write_to

formatter.render(


 "/home/ristillu/.local/lib/python3.8/site-packages/prospector/formatters/json.py", line 36, in render

return json.dumps(output, indent=2)


 "/opt/rh/rh-python38/root/usr/lib64/python3.8/json/__init__.py", line 234, in dumps

return cls(


 "/opt/rh/rh-python38/root/usr/lib64/python3.8/json/encoder.py", line 201, in encode

chunks = list(chunks)


 "/opt/rh/rh-python38/root/usr/lib64/python3.8/json/encoder.py", line 431, in _iterencode

yield from _iterencode_dict(o, _current_indent_level)


 "/opt/rh/rh-python38/root/usr/lib64/python3.8/json/encoder.py", line 405, in _iterencode_dict

yield from chunks


 "/opt/rh/rh-python38/root/usr/lib64/python3.8/json/encoder.py", line 325, in _iterencode_list

yield from chunks


 "/opt/rh/rh-python38/root/usr/lib64/python3.8/json/encoder.py", line 405, in _iterencode_dict

yield from chunks


 "/opt/rh/rh-python38/root/usr/lib64/python3.8/json/encoder.py", line 405, in _iterencode_dict

yield from chunks


 "/opt/rh/rh-python38/root/usr/lib64/python3.8/json/encoder.py", line 438, in _iterencode

o = _default(o)


 "/opt/rh/rh-python38/root/usr/lib64/python3.8/json/encoder.py", line 179, in default

raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type PosixPath is not JSON serializable

Traceback (most recent call last):


 "/home/amnesia/Persistent/securedrop/admin/.venv3/lib/python3.5/weakref.py", line 117, in remove
TypeError: 'NoneType' object is not callable
