Skip to content

Image cannot be processed #387

@subotic

Description

@subotic

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions