Skip to content

Write stub UUIDs in binary DMX exports - #52

Open
iibaranov-IG wants to merge 1 commit into
TeamSpen210:masterfrom
iibaranov-IG:fix/51-dmx-stub-uuid
Open

iibaranov-IG wants to merge 1 commit into
TeamSpen210:masterfrom
iibaranov-IG:fix/51-dmx-stub-uuid

Conversation

@iibaranov-IG

Copy link
Copy Markdown

Fixes #51.

Binary DMX exports now write the stub element's null-terminated ASCII UUID immediately after the -2 marker, matching what parse_bin() and Source expect.

A focused in-memory round-trip regression verifies the format name/version, stub identity, and exact UUID. It fails on the pinned baseline with ValueError: Fell off end of file! and passes with this change.

Validation:

  • focused regression: 1 passed
  • tests/test_dmx.py: 122 passed; its remaining unrelated test requires the optional compiled _tokenizer extension, which was not built in the pure-Python test environment
  • both changed files compile; the diff introduces no whitespace errors

This branch has not been deployed

No deployments
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.

dmx: export_binary writes stub element references without their UUID, corrupting the file

1 participant