mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-29 10:12:38 +02:00
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:
parent
ccf4132ea0
commit
9cfac7ac2a
1 changed files with 2 additions and 2 deletions
|
@ -27,8 +27,8 @@ class ConversionException(Exception):
|
||||||
class QubesNotEnoughRAMError(ConversionException):
|
class QubesNotEnoughRAMError(ConversionException):
|
||||||
error_code = 126 # No ERROR_SHIFT since this is a qrexec error
|
error_code = 126 # No ERROR_SHIFT since this is a qrexec error
|
||||||
error_message = (
|
error_message = (
|
||||||
"Your system does not have enough RAM available to start the conversion. "
|
"Could not start a disposable qube for the file conversion. "
|
||||||
"Please close some qubes or programs and try again."
|
"More information should have shown up on the top-right corner of your screen."
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue