Batch conversion silently fails (and buggy MSCX conversion) #23458
Labels
cli
Issues related to MuseScore's command line interface
community
Issues particularly suitable for community contributors to work on
needs info
More information is required before action can be taken
P2
Priority: Medium
regression MS4
Regression on a prior release
Issue type
Import/export issue
Bug description
Attempting to run a batch convert does absolutely nothing. It must have at some point, because I have converted files in MS4 previously, but not anymore. The JSON file is formatted correctly, and there is no error code. There's no way I can find to get any kind of debug information (
-d
/--debug
doesn't work).Fortunately, I was generating the JSON file with a Python script, so I just skipped the JSON and made my script convert every file individually with
-o
. This led me to another issue: Converting to .mscx files randomly fails sometimes. Retrying the conversion (sometimes multiple times) seems to work. It's not VST related, since it happened to a score that didn't have VST's (unless the built-in reverb counts). It doesn't happen with MP3, MIDI, PDF, MXL, or MusicXML file types (I haven't tested any others). It does seem to depend on the score, since some seem to fail most of the time, and some never fail. It doesn't seem to matter which instruments the score includes (one score only had guitar, and one only had piano and strings).Steps to reproduce
Batch convert issue
<path to MuseScore4.exe> -j <path to JSON file>
Other conversion issue
Screenshots/Screen recordings
No response
MuseScore Version
4.3.2
Regression
Yes, this used to work in a previous version of MuseScore 4.x
Operating system
OS: Windows 10 Version 2009, Arch.: x86_64
Additional context
No response
The text was updated successfully, but these errors were encountered: