[Bug]: USER_GUIDE.md missing on Windows #32

Closed
opened 2026-06-10 01:05:54 +00:00 by ValleyGeek · 1 comment
Owner

App version

0.1.3

Platform

Windows

Steps to reproduce

  1. Open the application
  2. Click Help

Expected behavior

User guide displayed to the user

Actual behavior

The workbench renders correctly but in the area where the user guide should display is the following message:

Bulk Image Organizer — Help
The user guide file was not found on disk. Reinstall the application or run from the project source tree with resources/help/USER_GUIDE.md present.

Additional context

Only an issue on Windows.

### App version 0.1.3 ### Platform Windows ### Steps to reproduce 1. Open the application 2. Click `Help` ### Expected behavior User guide displayed to the user ### Actual behavior The workbench renders correctly but in the area where the user guide should display is the following message: ``` Bulk Image Organizer — Help The user guide file was not found on disk. Reinstall the application or run from the project source tree with resources/help/USER_GUIDE.md present. ``` ### Additional context Only an issue on Windows.
Member

Fixed on branch 0.1.23/issue-61-windows-release (release 0.1.24).

Root cause: Nuitka 4.x Windows onefile builds often omit sys.frozen, so bundle_root() fell through to project_root() — four levels above resource_paths.py inside the versioned unpack tree — which landed on the product folder instead of the versioned cache directory where resources/help/USER_GUIDE.md is unpacked.

Fix: is_frozen_runtime() treats __compiled__ as a frozen signal; bundle_root() walks unpack anchors, scans versioned onefile cache dirs, and only uses project_root() when pyproject.toml is present. CI verifies bundled resources via --bio-packaging-self-test before publish.

Closing as resolved by the Windows packaging work in PR for #61.

Fixed on branch `0.1.23/issue-61-windows-release` (release **0.1.24**). **Root cause:** Nuitka 4.x Windows onefile builds often omit `sys.frozen`, so `bundle_root()` fell through to `project_root()` — four levels above `resource_paths.py` inside the versioned unpack tree — which landed on the product folder instead of the versioned cache directory where `resources/help/USER_GUIDE.md` is unpacked. **Fix:** `is_frozen_runtime()` treats `__compiled__` as a frozen signal; `bundle_root()` walks unpack anchors, scans versioned onefile cache dirs, and only uses `project_root()` when `pyproject.toml` is present. CI verifies bundled resources via `--bio-packaging-self-test` before publish. Closing as resolved by the Windows packaging work in PR for #61.
Grok closed this issue 2026-06-12 20:14:17 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ai-collab/bulk-image-organizer#32
No description provided.