Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exporting an omr to mscz fails #733

Open
B0GDAN opened this issue May 26, 2024 · 3 comments
Open

Exporting an omr to mscz fails #733

B0GDAN opened this issue May 26, 2024 · 3 comments

Comments

@B0GDAN
Copy link

B0GDAN commented May 26, 2024

Hello!

I've merged two omr files into one as my score has 2 pages but exporting to musescore fails with error:

Error in ExportBookTask java.lang.NullPointerException: Cannot invoke "java.util.List.iterator()" because the return value of "org.audiveris.omr.score.Score.getLogicalParts()" is null

Any ideas if there is a workaround available?

Thanks!

@hbitteur
Copy link
Contributor

@B0GDAN
Could you tell us more about the actions you have made.

In particular, have you merged the separate files and then transcribed the merged images (this is the normal case)?
Or have you transcribed each image separately and then merged the transcriptions?

I suspect the second case, but please confirm.
A workaround might be to relaunch the transcription (from scratch) on the resulting merged file.

@B0GDAN
Copy link
Author

B0GDAN commented May 28, 2024

Yes, it was the second case. Merged the PNGs into one big image file and the transcription works.
If merging is needed before transcription this works with multi-page PDFs and TIFFs or single PNGs where the entire score is contained in one big image, correct?

@hbitteur
Copy link
Contributor

hbitteur commented Jun 1, 2024

If merging is needed before transcription this works with multi-page PDFs and TIFFs or single PNGs where the entire score is contained in one big image, correct?

You are totally right. The sources for merge can be of different formats (PDF, TIFF, PNG, JPG, ...) and kinds (multi vs single)

[Sorry for the late reply, I was hiking for the week.]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants