If nothing gets engraved, there should be an exception, not just a warning, and exiting without error. It seems to be written as a TODO at lily/global-context-scheme.cc:114. It would remove the need to check for the image file(s) in other projects if there is an exception at this level.
Issue #5246: Make empty scores abort engraving process
This change makes the "no music" warning fatal during the output
process.
Issue: 5246
http://codereview.appspot.com/332470043
This fails make check (reg tests) but I cannot figure out specifically why, there is no one obvious test or error message that is consistent across the failures.
Abandoned.