You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Knora API v1 creates files with a .bin suffix using FileUtil.createTempFile. When such a file is submitted to Sipi using Knora's convert_from_path.lua script, the Sipi function mimetype_consistency fails with this error:
Sipi image error at [/sipi/src/SipiImage.cpp: 255]:
Unsupported file type: "tmp_7340135413634979849.bin
This seems to be why call to mimetype_consistency was commented out in convert_from_path.lua in PR #1459:
Knora API v1 creates files with a
.bin
suffix usingFileUtil.createTempFile
. When such a file is submitted to Sipi using Knora'sconvert_from_path.lua
script, the Sipi functionmimetype_consistency
fails with this error:This seems to be why call to
mimetype_consistency
was commented out inconvert_from_path.lua
in PR #1459:https://github.com/dasch-swiss/knora-api/pull/1459/files#diff-4a1a2aedd2d8b7dee2f824e33b243ca1R123
The text was updated successfully, but these errors were encountered: