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

Image cannot be processed #387

Open
subotic opened this issue Jun 28, 2023 · 1 comment
Open

Image cannot be processed #387

subotic opened this issue Jun 28, 2023 · 1 comment
Labels

Comments

@subotic
Copy link
Contributor

subotic commented Jun 28, 2023

The attached file is valid according to Siegfried (Droid). It can be uploaded with the traditional xmlupload, and is displayed in DSP-APP.

But when it is processed with dsp-tools process-files (for the fast xmlupload), SIPI raises this error message: Failed to parse XMP... (which originates here in the code: https://github.com/dasch-swiss/sipi/blob/main/src/formats/SipiIOJpeg.cpp#L651).

The resulting JP2 is invalid/cannot be opened. But the JP2 exists, so the fast xmlupload can continue.

Interestingly, on Johannes machine (Apple M1), the return code is 0, so the user doesn't even realize something went wrong. But on Rita's machine (Intel), the return code is 137, so the error is printed to Terminal.

M_317_Skizzenübersicht_A_1von2

@subotic
Copy link
Contributor Author

subotic commented Jun 28, 2023

@lrosenth here is another strange issue. There seems to be a difference in behaviour depending on the CPU type.

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

No branches or pull requests

2 participants