Skip to main content

Snippets MIDI Export Crash

Posted

Hi,

The 2nd time I try a Snippets MIDI Export, I get a crash   (first time seemed to work OK).

The highlighted directory, where the result should have been, was empty:

Are the parentheses in the directory name a clue?

 


Sun, 2025-12-07 - 17:12 Permalink

Yeah, a bit of further testing shows the parentheses to be the culprit.

You should be able to reproduce the issue if your harmony snippet has the parens in the title.

FWIW, I'm running Windows 11 here.

Parens don't seem to be disallowed in dir or file names, but somewhere in the code path there is a problem when they are present.

 

Tue, 2025-12-09 - 19:30 Permalink

Maybe there is blank space around the name?

OK, I think you've called it!

There was indeed a trailing space at the end of the name of the 4-chord snippet.  Once eliminated I don't see the problem anymore.

I suggest this condition be detected and announced at export time when/if it occurs, with a graceful exit and a prompt to the user to fix the name.    Thanks!