Can't start WhisperBack when /root/.cache/doc is mounted
While dogfooding Tails 5.8~beta1, I could open WhisperBack once, but it fails to open a second time with the following error on the terminal:
amnesia@amnesia:~$ whisperback /usr/lib/python3/dist-packages/whisperBack/whisperback.py:77: SyntaxWarning: "is" with a literal. Did you mean "=="? gpgkey is ''): /bin/df: /root/.cache/doc: Operation not permitted Traceback (most recent call last): File "/usr/local/sbin/tails-debugging-info", line 167, in main() File "/usr/local/sbin/tails-debugging-info", line 74, in main info.append(debug_command(args=_args['args'], shell=shell)) # nosec any_other_function_with_shell_equals_true File "/usr/local/sbin/tails-debugging-info", line 92, in debug_command command_output = subprocess.check_output(args) File "/usr/lib/python3.9/subprocess.py", line 424, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/lib/python3.9/subprocess.py", line 528, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['/bin/df', '--human-readable', '--print-type']' returned non-zero exit status 1. Traceback (most recent call last): File "/usr/local/bin/whisperback", line 41, in ui = whisperBack.WhisperBackUI() File "/usr/lib/python3/dist-packages/whisperBack/gui.py", line 129, in __init__ self.backend = whisperBack.whisperback.WhisperBack() File "/usr/lib/python3/dist-packages/whisperBack/whisperback.py", line 120, in __init__ self.appended_data = self.__get_debug_info(self.mail_appended_info()) File "/usr/lib/python3/dist-packages/whisperBack/whisperback.py", line 159, in __get_debug_info all_info = json.loads(raw_debug) File "/usr/lib/python3.9/json/__init__.py", line 346, in loads return _default_decoder.decode(s) File "/usr/lib/python3.9/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.9/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)