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

Uploading annotations onto a file which already contains annotations #4

Open
allorens opened this issue Oct 13, 2020 · 4 comments
Open

Comments

@allorens
Copy link

The library allows uploading annotations onto a file which already contains annotations for the same select staff. However and as expected, this turns the file into a corrupt one. What about a warning before the annotations are upladed?

@allorens
Copy link
Author

Sometimes this happens even when the file did not previously contain any labels. After saving it, if one tries to open it, the following error message appears:
image

Translation: Error when loading. The file C:/... can't be opened. Bad format.
Details: XML reading error in line 25, column 29: metaTag

This file already had some extra metadata. When reversing the order (1st attach labels and then add metadata) the error didn't occur.

@johentsch
Copy link
Owner

Oh very interesting, could you please send me such a corrupted file? Have you encountered this error multiple times?

@allorens
Copy link
Author

allorens commented Nov 5, 2020

Yes, it happened every time I followed the same procedure: adding metadata and then uploading annotations.

@johentsch
Copy link
Owner

Hi @allorens, is this error still happening? If yes, could you please paste the XML code around the line indicated in the error message?

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