sipi icon indicating copy to clipboard operation
sipi copied to clipboard

Segmentation fault when file not found

Open subotic opened this issue 8 years ago • 2 comments

Although this error happens when I do something fishy, I think that it would be a good idea to catch this error case (if possible), so that sipi does not crash.

Kakadu-library: Error in Kakadu File Format Support:
Unable to open output file, "./images/knora/R/46bYxQUqiFw-DQlCPnY3V1E.jpx".
Jun 26 10:40:10  Sipi[6224] <Error>: Kakadu-library: Error in Kakadu File Format Support:
	Unable to open output file, "./images/knora/R/46bYxQUqiFw-DQlCPnY3V1E.jpx".
[1]    6224 segmentation fault  ./build/sipi -c config/sipi.knora-config.lua

subotic avatar Jun 26 '17 08:06 subotic

Which file. Describe more when this error occurs!

Lukas

Sent from my iPad

On 26 Jun 2017, at 10:47, Ivan Subotic <[email protected]mailto:[email protected]> wrote:

Assigned #179https://github.com/dhlab-basel/Sipi/issues/179 to @lrosenthhttps://github.com/lrosenth.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/dhlab-basel/Sipi/issues/179#event-1138256276, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AFN9zIA5ojXUTkiuGS0-UlCKVSs2qiAJks5sH3AAgaJpZM4OFBuq.

lrosenth avatar Jun 26 '17 09:06 lrosenth

Unable to open output file, "./images/knora/R/46bYxQUqiFw-DQlCPnY3V1E.jpx".

I'm trying to reproduce this in a test, but I need some help from @benjamingeer. As soon as the test works i.e. fails, you can take over :-) I will let you know.

subotic avatar Jun 26 '17 10:06 subotic