Closed peterstory closed 4 hours ago
Tests:
Completed:
Finally:
Known error states:
In both cases, we have non-zero exit codes. But we only want to show an error in the second case.
I tested with the rebased code on Linux, and I'm not getting an error when I click "Cancel Receiving." Everything seems to work properly!
A stack trace containing a KeyboardInterrupt exception is displayed when cancelling receiving.
Not observed on macOS, testing with either the main or user-study branches. The error does occur when running from the .app!
Observed on Linux when using the .deb installer. Not observed when installed from either the main or user-study branches. So this issue is specific to PyInstaller: https://github.com/pyinstaller/pyinstaller/issues/3646
This code suggests that pyinstaller always exits with -1 or a successful return code: https://github.com/pyinstaller/pyinstaller/pull/3515/files#diff-6f619220d264acecf4826ad08ebc2ef4881ecd22b92f4561a7b1ae2be399b8c4R886