AMC cli - annotate command fails (Gtk2 -init) (Bug #503)


Added by Patrick Guillou over 6 years ago. Updated about 6 years ago.


Status:Closed Start date:10/19/2017
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:-
Target version:1.4.0

Description

Hi !

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 :

package AMC::Annotate;

  1. do not use -init ?
    #use Gtk2 -init;
    use Gtk2;

And this seems to work in our use case.

Is this a solution or will it have side/unwanted effects on other use cases ?

Thanks


History

Updated by Alexis Bienvenüe over 6 years ago

I think this is a solution. Thanks!

  • Target version set to 1.4.0

Updated by Patrick Guillou over 6 years ago

Great !

Updated by Alexis Bienvenüe about 6 years ago

Applied in changeset hg:6c83b64dd6ae.

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Updated by Alexis Bienvenüe about 6 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF