-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Description
WIthout xvfb-run, this package fails to precompile on a headless machine due to:
[ Info: Precompiling ProfileView [c46f51b8-102a-5cf2-8d2c-8597cb0e0da7]
ERROR: LoadError: InitError: Cannot open display:
Stacktrace:
[1] error @ ./error.jl:35
[2] Gtk.GLib.GError(f::Gtk.var"#325#331")
@ Gtk.GLib ~/.julia/packages/Gtk/oo3cW/src/GLib/gerror.jl:17
[3] __init__()
@ Gtk ~/.julia/packages/Gtk/oo3cW/src/Gtk.jl:142
during initialization of module Gtk
in expression starting at /home/vtjnash/.julia/packages/ProfileView/S6A1N/src/ProfileView.jl:1
in expression starting at stdin:2
ERROR: Failed to precompile ProfileView [c46f51b8-102a-5cf2-8d2c-8597cb0e0da7] to "/home/vtjnash/.julia/compiled/v1.10/ProfileView/jl_q4d6Ny".
But it probably is not necessary to fully initialize gtk for precompile processes (similar to how it delays starting the gtk_main loop until required)
Metadata
Metadata
Assignees
Labels
No labels