Hi,
I’m trying to batch export over a thousand Audacity project files.
I’m not much of a coder, so I’m editing the example .py file to accomplish this.
The script I cobbled together does export files correctly, however on completion when it tries to either close the project before opening a new one, or exit Audacity completely at the end of the conversion process, Audacity crashes and brings up the Submit Error Report dialogue box and never actually closes down any project or the program itself.
The main issue is that, without it closing the project etc. it just loads multiple instances until system resources are used up and everything freezes.
I originally thought that perhaps it was going to the next project file in the array before export was finished, and had put in wait timers, but these made no difference, Audacity would export the file, the script would then wait, then once finished promptly crash Audacity.
I was wondering if either there’s an issue with the script and there’s something else needed to let Audacity gracefully close a project/exit, or if there’s a way of disabling the Submit Error Report completely so that it can just crash.
I could do files in smaller batches, so that there’s enough resources available to cope and then force exit all the open instances through a task manager, but it would be good if I could fix the bug.
I’ve attached the script as a text file to the post:
Audacity_Batch_Export.txt (3.5 KB)
The version of Audacity I’m using is from March 2025, v.3.7.3 which is the version Debian Trixie installed.
Thanks for any help you can give me.