Corrupted file

• Jan 3, 2016 - 08:49

L.S.
Happy New Year.

I experienced a corrupted file and tried to fix it following all the instructions in the document "How to fix a score that contains corruptions". I could not fix the file.
So I tried to reproduce the corruption :
* Took a new sheet with for bars (chorale). Left it empty except for the title and the measure (7/4). Saved it and reopened it five times. All went well;
* Then I changed the instruments into a sax quartet with soprano, alt, tenor and bariton. Left the score empty (no notes). Saved it and reopened it (one time) : file corrupted.
* Checked the first measures : the first measure is spontaniously changed into 5/4 and the second measure is a 7/4 as defined (see attachment);
* In the error report Musescore expects a 4/4 but in the attachment you can see that the first measure is 5/4 and the second measure is 7/4.

Error Report :
Note :
* All four bars are corrupted from measure 1 onwards (4/4 <> 7/4)
* From measure 7 another error appears (4/4 <> 42/24).

Translation of the first line :
Measure 7 Bar 1 incomplete. Expected 4/4; Found 42/24 (remarkable : the score is 42 measures long.

...
Maat 7 Regel 1 incompleet. Verwacht: 4/4; Gevonden: 42/24
Maat 7 Regel 2 incompleet. Verwacht: 4/4; Gevonden: 42/24
Maat 7 Regel 3 incompleet. Verwacht: 4/4; Gevonden: 42/24
Maat 7 Regel 4 incompleet. Verwacht: 4/4; Gevonden: 7/4
Maat 8 Regel 1 incompleet. Verwacht: 4/4; Gevonden: 42/24
Maat 8 Regel 2 incompleet. Verwacht: 4/4; Gevonden: 42/24
Maat 8 Regel 3 incompleet. Verwacht: 4/4; Gevonden: 42/24
Maat 8 Regel 4 incompleet. Verwacht: 4/4; Gevonden: 7/4
Maat 9 Regel 1 incompleet. Verwacht: 4/4; Gevonden: 42/24
Maat 9 Regel 2 incompleet. Verwacht: 4/4; Gevonden: 42/24
Maat 9 Regel 3 incompleet. Verwacht: 4/4; Gevonden: 42/24
Maat 9 Regel 4 incompleet. Verwacht: 4/4; Gevonden: 7/4
Maat 10 Regel 1 incompleet. Verwacht: 4/4; Gevonden: 42/24
Maat 10 Regel 2 incompleet. Verwacht: 4/4; Gevonden: 42/24
Maat 10 Regel 3 incompleet. Verwacht: 4/4; Gevonden: 42/24
Maat 10 Regel 4 incompleet. Verwacht: 4/4; Gevonden: 7/4

Please help.
Justus


Comments

Reproduced with 2.0.2-stable on Win7.

It only seems to happen if you delete all existing Instruments and add the new Instruments in the same action. Visual cue being that no time signature is present on the new Instruments, whilst the object debugger still marks those measures as having timesig 7/4.

Workaround for TS: first add the new Instruments and press OK. Then re-open the Instruments and remove the old Instruments.
You'll notice the time signature now being present on the new staves as well.

It looks like the time signature for an added instruments is copied from an existing one, but if all existing staves are removed, no signature can be copied, resulting upon re-opening in an interpretation of a default 4/4 time.

Also confirmed on Nightly c012358 on Win7.

Minimal reproduction steps:
1. Create new score with non-4/4-compatible time signature (so not 4/4 not 2/2 either). A different amount of beats per measure is required.
2. Press `I` to open the Instruments dialog
3. Add a new instrument (doesn't matter which one)
4. Remove all existing instruments
5. Confirm
6. Score is now in a corrupted state. Time signature is missing on the new instrument.

When 'Ignore' is pressed on the corrupt message, the score opens and by attempting note input, one can verify that the measures themselves still have the correct time signature, but it is in effect the time signature itself that is missing.

Do you still have an unanswered question? Please log in first to post your question.