Error on imshow


#1

I asked on slack’s random channel as well but does anyone know why I’m getting errors from a simple ImageView.imshow (issue)?


#2

Same problem! maybe something to do with this: https://github.com/timholy/GtkUtilities.jl/blob/cce72d261957dec84f3200b856b68d7f17c8f06a/src/GtkUtilities.jl#L49

Not sure I don’t know enough about it to be sure.


#3

I’m glad to hear it’s not just me. Well, I’ll keep you updated once I know more.


#4

This is really weird because the last commit to that file was in Mar 27, 2017… So it’s higher up?


#5

Have you updated to Cairo 0.5.0? To comply with julia v0.7dev we replaced an importall to dedicated imports and maybe reset_transformation is missing. I can take a look, later.


#6

Thank you very much!
The error started right after I Pkg.update(), yes.


#7

Same here, I did a package update and ended up with this problem.


#8

at least you can pin Cairo to previous version


#9

Ok, I finally found the time to test your suggestion @lobingera

Pkg.pin("Cairo", v"0.4.0")
Pkg.update()

…and I had to close and reopen the REPL for some reason but that provided a fix that will work for now, thanks! :fist_right: :fist_left:


#10

don’t hold your breath for it, it looks like an assert in Graphics.jl (mustimplement macro) that doesn’t find reset_transform although available…


#11

I pinned as well, and it works, thanks. I’ll mention this in the issue.