lxd: Distingish FileNotFoundError if not installed
Metadata
Current evaluation
Merged PR #1400 (commit 2a5affc17) added distinct handling for FileNotFoundError when lxc is unavailable, fixing Launchpad bug 1703344.
Resolution: closed resolved
Reason: PR #1400 was merged as commit 2a5affc17. It distinguishes a missing LXD installation or lxc executable from CalledProcessError and fixes Launchpad bug 1703344.
Evaluated by: mr-cal-bot
No scores available.
Issue body
If LXD is not installed the exception FileNotFoundError will be raised because the 'lxc' executable doesn't exist. The code currently only handles CalledProcessError.
Fixes: [bug 1703344](https://bugs.launchpad.net/snapcraft/+bug/1703344)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #1400 (commit 2a5affc17) added distinct handling for FileNotFoundError when lxc is unavailable, fixing Launchpad bug 1703344. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #1400 (commit 2a5affc17) to distinguish missing LXD FileNotFoundError from CalledProcessError, fixing Launchpad bug 1703344. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged a fix distinguishing FileNotFoundError from CalledProcessError when LXD is not installed, resolving bug 1703344. Approved by one reviewer and merged despite minor unresolved comments and feedback on test fixture complexity. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged to resolve bug 1703344 by catching FileNotFoundError when LXD is not installed. The update ensures missing lxc executables are properly handled instead of only catching CalledProcessError. |
Update history
No update history recorded yet.
Related issues
No related issues found above the similarity threshold.