devedeng-extended/src/devedeng
Luna 6b624a72cd Narrow bare except blocks so real errors aren't swallowed (roadmap A4)
Replaced all 46 bare 'except:' across the package with specific exception
types, and logged the cases that indicate a real problem:

- config load/save: FileNotFoundError is the silent first-run case; other
  OSError/ValueError/UnicodeDecodeError are logged.
- ffprobe/avprobe: JSON parse failures are now logged (previously a media
  file that ffprobe couldn't read just silently failed to import); decode
  fallbacks -> UnicodeDecodeError; duration parse -> ValueError/TypeError/
  KeyError; install check -> OSError/SubprocessError.
- executor: pre_/post_function and progress-polling hooks now use hasattr
  checks, and a real exception inside a defined hook is logged instead of
  swallowed; decode fallbacks and numeric parses narrowed.
- best-effort filesystem ops (makedirs/unlink) -> OSError.
- all backend check_is_installed probes -> OSError/SubprocessError.
- shutdown: also fixes a latent NameError ('failure' was only set in the
  except branch, so a successful logind PowerOff would crash the handler).

No bare 'except:' remain. Full suite (51 tests) green; GUI starts clean.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-07 01:02:33 -07:00
..
data Add developer tag to AppStream metadata 2025-01-25 11:10:08 +00:00
__init__.py Update the license comments 2025-08-29 18:26:12 +02:00
about.py Update the license comments 2025-08-29 18:26:12 +02:00
add_files.py Update the license comments 2025-08-29 18:26:12 +02:00
ask.py Update the license comments 2025-08-29 18:26:12 +02:00
ask_subtitles.py Update the license comments 2025-08-29 18:26:12 +02:00
avbase.py Narrow bare except blocks so real errors aren't swallowed (roadmap A4) 2026-06-07 01:02:33 -07:00
avconv.py Narrow bare except blocks so real errors aren't swallowed (roadmap A4) 2026-06-07 01:02:33 -07:00
avprobe.py Narrow bare except blocks so real errors aren't swallowed (roadmap A4) 2026-06-07 01:02:33 -07:00
brasero.py Narrow bare except blocks so real errors aren't swallowed (roadmap A4) 2026-06-07 01:02:33 -07:00
choose_disc_type.py Narrow bare except blocks so real errors aren't swallowed (roadmap A4) 2026-06-07 01:02:33 -07:00
configuration_data.py Narrow bare except blocks so real errors aren't swallowed (roadmap A4) 2026-06-07 01:02:33 -07:00
converter.py Update the license comments 2025-08-29 18:26:12 +02:00
create_disk_window.py Update the license comments 2025-08-29 18:26:12 +02:00
devedeng.py Update the license comments 2025-08-29 18:26:12 +02:00
dvd_menu.py Narrow bare except blocks so real errors aren't swallowed (roadmap A4) 2026-06-07 01:02:33 -07:00
dvdauthor_converter.py Narrow bare except blocks so real errors aren't swallowed (roadmap A4) 2026-06-07 01:02:33 -07:00
end_job.py Update the license comments 2025-08-29 18:26:12 +02:00
error.py Surface the real failure cause in the error dialog (roadmap A3) 2026-06-05 12:22:55 -07:00
executor.py Narrow bare except blocks so real errors aren't swallowed (roadmap A4) 2026-06-07 01:02:33 -07:00
ffmpeg.py Narrow bare except blocks so real errors aren't swallowed (roadmap A4) 2026-06-07 01:02:33 -07:00
ffprobe.py Narrow bare except blocks so real errors aren't swallowed (roadmap A4) 2026-06-07 01:02:33 -07:00
file_copy.py Narrow bare except blocks so real errors aren't swallowed (roadmap A4) 2026-06-07 01:02:33 -07:00
file_movie.py Add DVD encode profiles and subtitle hardsub burn-in 2026-06-02 12:45:36 -07:00
genisoimage.py Narrow bare except blocks so real errors aren't swallowed (roadmap A4) 2026-06-07 01:02:33 -07:00
help.py Update the license comments 2025-08-29 18:26:12 +02:00
interface_manager.py Update the license comments 2025-08-29 18:26:12 +02:00
k3b.py Narrow bare except blocks so real errors aren't swallowed (roadmap A4) 2026-06-07 01:02:33 -07:00
message.py Update the license comments 2025-08-29 18:26:12 +02:00
mkisofs.py Narrow bare except blocks so real errors aren't swallowed (roadmap A4) 2026-06-07 01:02:33 -07:00
mplayer.py Narrow bare except blocks so real errors aren't swallowed (roadmap A4) 2026-06-07 01:02:33 -07:00
mpv.py Narrow bare except blocks so real errors aren't swallowed (roadmap A4) 2026-06-07 01:02:33 -07:00
mux_dvd_menu.py Update the license comments 2025-08-29 18:26:12 +02:00
opensave.py Update the license comments 2025-08-29 18:26:12 +02:00
preview.py Update the license comments 2025-08-29 18:26:12 +02:00
project.py Narrow bare except blocks so real errors aren't swallowed (roadmap A4) 2026-06-07 01:02:33 -07:00
runner.py Surface the real failure cause in the error dialog (roadmap A3) 2026-06-05 12:22:55 -07:00
separator.py Update the license comments 2025-08-29 18:26:12 +02:00
settings.py Update the license comments 2025-08-29 18:26:12 +02:00
shutdown.py Narrow bare except blocks so real errors aren't swallowed (roadmap A4) 2026-06-07 01:02:33 -07:00
subtitles_mux.py Update the license comments 2025-08-29 18:26:12 +02:00
title.py Update the license comments 2025-08-29 18:26:12 +02:00
vcdimager_converter.py Update the license comments 2025-08-29 18:26:12 +02:00
vlc.py Narrow bare except blocks so real errors aren't swallowed (roadmap A4) 2026-06-07 01:02:33 -07:00
xfburn.py Narrow bare except blocks so real errors aren't swallowed (roadmap A4) 2026-06-07 01:02:33 -07:00