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
Right now this ends up making my application crash. I would like to try-catch here and recover, if possible. Are there any changes that would be necessary in the library, or am I doing something wrong?
The text was updated successfully, but these errors were encountered:
The title here says, "can't try/catch, but I don't understand why that doesn't work. Are you calling this from a Gtk callback? Do you need a @guarded? Does it work if you try to load one of the busted files from the REPL rather than your Gtk application?
It's hard for me to reproduce this now, sorry I guess I was fishing for a bug. try-catching load_ works fine in the REPL, I guess if there was any issues it's in my code.
I'm writing a Gtk app where png images get decoded by ImageMagick.jl. Sometimes I hit a corrupt file, and this ends up triggering these lines
ImageMagick.jl/src/libmagickwand.jl
Line 187 in 39cf88a
ImageMagick.jl/src/libmagickwand.jl
Line 286 in 39cf88a
Right now this ends up making my application crash. I would like to try-catch here and recover, if possible. Are there any changes that would be necessary in the library, or am I doing something wrong?
The text was updated successfully, but these errors were encountered: