AMC cli - annotate command fails (Gtk2 -init) (Bug #503)
We have a problem regarding annotate command on our server.
When attempting to launch the annotate command we have the following error :
Gtk-WARNING **: cannot open display: at /usr/lib/x86_64-linux-gnu/perl5/5.24/Gtk2.pm line 126.
So in /sur/share/perl5/AMC/Annotate.pm code whe did this :
- do not use -init ?
#use Gtk2 -init;
And this seems to work in our use case.
Is this a solution or will it have side/unwanted effects on other use cases ?