Skip to content

Close the quote in the CLI version info so dleapp.exe can build again - #114

Merged
abrignoni merged 1 commit into
abrignoni:mainfrom
OneSixForensics:fix/dleapp-cli-version-info
Sep 3, 2026
Merged

abrignoni merged 1 commit into
abrignoni:mainfrom
OneSixForensics:fix/dleapp-cli-version-info

Conversation

@OneSixForensics

Copy link
Copy Markdown
Contributor

scripts/pyinstaller/dleapp-file_version_info.txt line 19 is missing its closing quote:

StringStruct('FileVersion', '2026.3.1-dev),

PyInstaller evaluates that file as Python, so the CLI build fails before it starts:

SyntaxError: unterminated string literal (detected at line 19)
ValueError: Failed to deserialize VSVersionInfo from text-based representation!

The GUI's copy of the file (dleappGUI-file_version_info.txt) has the quote and builds
fine, which is why only dleapp.exe is affected.

Introduced in 1687c16 "Update version number to 2026.3.1-dev" (2026-08-17), so the CLI
binary has not been buildable since. It went unnoticed because test_builds.yml is
workflow_dispatch only — nothing builds the binaries on push, so the break never
surfaced in a PR.

Found while building a local test binary. With this one character restored,
pyinstaller dleapp.spec completes and the resulting dleapp.exe passes the same smoke
test test_builds.yml runs: --help exits 0, and a full run against an empty input
directory exits 0 and writes a report with no import errors.

Worth considering separately: the same class of break will recur silently as long as
nothing builds on push. Adding the binary build to a scheduled or pull-request trigger
would have caught this on the commit that introduced it.

🤖 Generated with Claude Code

scripts/pyinstaller/dleapp-file_version_info.txt line 19 reads

    StringStruct('FileVersion', '2026.3.1-dev),

with no closing quote. PyInstaller evaluates this file as Python, so the CLI
build dies before it starts:

    SyntaxError: unterminated string literal (detected at line 19)
    ValueError: Failed to deserialize VSVersionInfo from text-based representation!

The GUI's copy of the file has the quote and builds fine, which is why only
dleapp.exe is affected.

Introduced in 1687c16 "Update version number to 2026.3.1-dev" (2026-08-17), so
the CLI binary has not been buildable since. It went unnoticed because
test_builds.yml is workflow_dispatch only, so nothing builds the binaries on
push.

Co-Authored-By: Claude Opus 5 <[email protected]>
@abrignoni
abrignoni merged commit 4d5e04b into abrignoni:main Sep 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants