Use this page when a run fails or quality output is unexpectedly weak. It is optimized for fast diagnosis and safe recovery.
dist/logs/latest_run.log for EXE runs (or logs/latest_run.log for Python runs) and locate the first blocking error.logs/db_uploader.log for first failing row.review_queue by Review_Status/QC_Status.Symptoms: caption stage stalls, timeout errors, or missing model exceptions.
Checks:
ollama list and confirm service responsiveness.minicpm-v:latest).logs/latest_run.log.Fix path:
ollama pull <model>.Symptoms: scoring stage crash, missing metric fields, or repeated stage abort.
Checks:
sac+logos+ava1-l14-linearMSE.pth exists in repository root.Score runtime python: ... (ver=(3, 13)) appears in stage log.logs/latest_run.log.Fix path:
python312.dll conflict, relaunch EXE with AMIR_PYTHON set to the 3.13 interpreter.QC_Status=ResizeFailed)Symptoms: rows flagged as ResizeFailed and caption prefill skipped.
Checks:
data/ollama_tmp.Fix path: correct filesystem constraints, then rerun the affected set through normal pipeline entry.
Symptoms: uploader errors, partial remote updates, or missing published records.
Checks:
logs/db_uploader.log and identify first failed item.amir2000_config.py.Fix path:
File_Name in MySQL table photos_info_revamp.data/review.db lock.data/ before destructive actions.python .\init_db.py and rerun batch.data/used_filenames.json and destination folder contents.Symptoms: app window closes unexpectedly, or Windows Event Viewer shows native crash events (for example 0xc0000005 / BEX64).
Safe continue path:
Recovery file: data/multiset_session.json. Optional backups: data/multiset_session.backup_*.json.
If crash happened while clicking Add set, inspect data/crash_runtime.log first. For high-volume queue building, you can disable automatic subject generation with AUTO_AI_SUBJECT_ON_SELECT=0 and run AI suggest manually per set.
Escalation path: Step 3: Runbook.
Symptoms: unrelated location keywords appear (for example usa, colorado) in non-USA images.
Checks:
Location/Subject vs generated Keywords in review editor.data/location_list.json and data/folder_map.json.caption_review_local.py and runtime logs.Fix path:
For the 2026-02-18 affected 321-row publish batch, use:
data/mysql_cleanup_exact_run321_20260218.sql from the automation project root.
photos_info_revamp.target_rows = 321 in the script result.still_geo_bad = 0 and still_unsupported_terrain = 0.Symptoms: captions/alt/keywords conflict with obvious set context, for example NL/polder images getting mountain terms or sunrise filenames getting sunset text.
Checks:
File_Name cue words (sunrise/sunset) against generated Caption, alt_text, and Keywords.Subject/Location/Folder) against terrain-heavy output terms.logs/latest_run.log for the affected row IDs.Fix path:
caption_review_local.py and rebuild the EXE.