gui.utils.utils_validation

File:

EuljiroBible/gui/utils/utils_validation.py

Author:

Benjamin Jaedon Choi - https://github.com/saintbenjamin

Affiliated Church:

The Eulji-ro Presbyterian Church [대한예수교장로회(통합) 을지로교회]

Address:

The Eulji-ro Presbyterian Church, 24-10, Eulji-ro 20-gil, Jung-gu, Seoul 04549, South Korea

Telephone:

+82-2-2266-3070

E-mail:

euljirochurch [at] G.M.A.I.L. (replace [at] with @ and G.M.A.I.L as you understood.)

License:

MIT License with Attribution Requirement (see LICENSE file for details); Copyright (c) 2025 The Eulji-ro Presbyterian Church.

Validates presence of Bible data files necessary to launch the GUI properly.

gui.utils.utils_validation.verify_bible_data()[source]

Verify the presence and validity of the Bible data directory.

This function checks whether the configured Bible data directory exists and whether it contains at least one JSON file. These JSON files are required for loading Bible text data at runtime.

If the directory does not exist or contains no JSON files, a critical error dialog is shown to the user and the application terminates immediately.

Raises:

SystemExit – If the Bible data directory is missing or contains no valid JSON files.