mirror of
https://github.com/SabreTools/MPF.git
synced 2026-02-08 21:31:47 +00:00
Writing Artifacts w/Include Artifacts checkbox enabled is broken #829
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ArchivistGoals on GitHub (May 12, 2025).
Originally assigned to: @mnadareski on GitHub.
Before You Submit
If all of those fail, then continue...
Version
What version are you using?
Build
What runtime version are you using?
Describe the issue
The legacy feature to "Include Artifacts" checkbox should be removed. By default, this checkbox is left blank. However, end-users might feel inclined to check it, which can cause a writing .json file error to occur,
This was evident while attempting to dump a LEGO Mindstorms Upgrade Disc CD-ROM. The above error message continued to be displayed during each dump attempt until the Include Artifacts checkbox was unticked.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Redumper to finish. The logs to be written. And for the prompt to enter metadata without any error in the previous step.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
n/a
@mnadareski commented on GitHub (May 12, 2025):
This will likely not get removed as a part of this, but there is definitely a better way to handle the output data from a sufficiently large JSON with artifacts. It likely needs to either do an async write or a chunked write. Both are relatively easy to implement.
@mnadareski commented on GitHub (May 13, 2025):
Possibly addressed as of
4016b3fc19@Deterous commented on GitHub (Oct 1, 2025):
@mnadareski I tested this on rolling, no errors for me when Include Artifacts checkbox is checked.
@mnadareski commented on GitHub (Oct 8, 2025):
Unobserved in a long time, will close.