Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when trying to change frame of image stack #306

Closed
tejasramdas opened this issue May 15, 2024 · 1 comment
Closed

Error when trying to change frame of image stack #306

tejasramdas opened this issue May 15, 2024 · 1 comment

Comments

@tejasramdas
Copy link

tejasramdas commented May 15, 2024

I'm trying to follow the example to show the "MRI" stack from TestImages. imshow works and I'm able to see a window with the first frame and controls to change the frame. However, when I try to go to the next frame or use any of the controls in the window, I get the following error:

 Warning: Executing #35:
└ @ Gtk4.GLib ~/.julia/packages/Gtk4/A6vTW/src/GLib/signals.jl:122
ERROR: could not load symbol "g_bookmark_file_get_type":
/home/para/.julia/artifacts/1cfe0ebb804cb8b0d7d1e8f98e5cda94b2b31b3d/lib/libgobject-2.0.so.0: undefined symbol: g_bookmark_file_get_type
Stacktrace:
 [1] g_type(#unused#::Type{Gtk4.GLib.GBookmarkFile})
   @ Gtk4.GLib ~/.julia/packages/Gtk4/A6vTW/src/gen/glib_structs:7
 [2] getindex(gv::Base.RefValue{Gtk4.GLib.GValue}, #unused#::Type{Any})
   @ Gtk4.GLib ~/.julia/packages/Gtk4/A6vTW/src/GLib/gvalues.jl:234
 [3] (::Gtk4.GLib.var"#134#136"{Ptr{Gtk4.GLib.GValue}, UInt32, Ptr{Gtk4.GLib.GValue}, Vector{Any}, GtkObservables.var"#35#36"})()
   @ Gtk4.GLib ~/.julia/packages/Gtk4/A6vTW/src/GLib/signals.jl:60
 [4] g_siginterruptible(f::Gtk4.GLib.var"#134#136"{Ptr{Gtk4.GLib.GValue}, UInt32, Ptr{Gtk4.GLib.GValue}, Vector{Any}, GtkObservables.var"#35#36"}, cb::Any)
   @ Gtk4.GLib ~/.julia/packages/Gtk4/A6vTW/src/GLib/signals.jl:244
 [5] GClosureMarshal(closuref::Ptr{Nothing}, return_value::Ptr{Gtk4.GLib.GValue}, n_param_values::UInt32, param_values::Ptr{Gtk4.GLib.GValue}, invocation_hint::Ptr{Nothing}, marshal_data::Ptr{Nothing})
   @ Gtk4.GLib ~/.julia/packages/Gtk4/A6vTW/src/GLib/signals.jl:57
 [6] (::Gtk4.GLib.var"#233#234")()
   @ Gtk4.GLib ~/.julia/packages/Gtk4/A6vTW/src/GLib/loop.jl:83
 [7] g_sigatom(f::Any)
   @ Gtk4.GLib ~/.julia/packages/Gtk4/A6vTW/src/GLib/signals.jl:211
 [8] glib_main()
   @ Gtk4.GLib ~/.julia/packages/Gtk4/A6vTW/src/GLib/loop.jl:80

This seems to be an error in GLib so I'm not sure if this is the correct place to post this issue. I'm running Ubuntu 20.04 and Julia 1.8.4 and I've updated all the necessary Julia packages. This doesn't seem to be an issue for Julia 1.10.3 but I cannot upgrade because of other dependency issues.

@tejasramdas
Copy link
Author

I managed to upgrade to 1.10.3 so this is no longer a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant