AutoMidiPlayer icon indicating copy to clipboard operation
AutoMidiPlayer copied to clipboard

got error when adding .mid file into songs

Open william-chan-sudo opened this issue 8 months ago • 2 comments

Program crashes when trying to add .mid file or add path to MIDI folder in setting. Got error "DialogHost was not set"

Attached error log for reference.

crash_log.txt

william-chan-sudo avatar Mar 05 '26 19:03 william-chan-sudo

Hi, can I ask which version (e.g. v6.12.3) and installation (portable or net-installed) are you using?

If possible can you also attach the MIDI file in question so I can inspect it. Thanks!

It seems like you added a bad MIDI file and the app fails to display the ContentDialogHost because it isn't initialized yet, I'm working on this fix now.

Jed556 avatar Mar 06 '26 01:03 Jed556

Should be handled in 46de273f425f1069bceefbefd04a42205aeac554, let me know if errors still occur.

A new release including this fix is now available at https://github.com/Jed556/AutoMidiPlayer/releases/v6.12.6

Jed556 avatar Mar 06 '26 02:03 Jed556