Generalize "out of RAM" error to reflect other issues

When qrexec-client-vm fails, it could be a symptom of various issues:
  - the system being out of RAM
  - dz-dvm not existing

The exit code is the same in all cases (126), which makes it
particularly tricky to solve in the client application. For this reason
the approach is now to tell the user to see the qubes error notification
on the top right of their screen.
This commit is contained in:
deeplow 2023-10-02 11:06:17 +01:00
parent ccf4132ea0
commit 9cfac7ac2a
No known key found for this signature in database
GPG key ID: 577982871529A52A

View file

@ -27,8 +27,8 @@ class ConversionException(Exception):
class QubesNotEnoughRAMError(ConversionException):
error_code = 126 # No ERROR_SHIFT since this is a qrexec error
error_message = (
"Your system does not have enough RAM available to start the conversion. "
"Please close some qubes or programs and try again."
"Could not start a disposable qube for the file conversion. "
"More information should have shown up on the top-right corner of your screen."
)