LabelMeAnnotationTool icon indicating copy to clipboard operation
LabelMeAnnotationTool copied to clipboard

Fatal: there are problems with fetch_image.cgi

Open nbandaru1h opened this issue 2 years ago • 0 comments

I have tried the following solutions but without result from different issues opened on this space.

  1. Installing the following package sudo apt-get install libcgi-session-perl

  2. Looking at error file and finding this problem and doing as instructed below: The error was due to the missing file globalvariable.pl (in annotationTools/perl). Copy the globalvariable.pl.base as globlavariable.pl and initialize the LabelMe home directory variable "$LM_HOME" as a path to your LabelMe directory.

  3. I opened error log and found it was missing this file globalvariables.pl though it exists in the directory specified: I don't know anything about perl or apache…… Since it can't locate globalvariables.pl in @inc, I copied that to /etc/perl and it works……

  4. I added the following into config file:

The solution was to add to apache configuration (sites-available/default.conf) the following line:

SetEnv PERL5LIB /var/www/html/LabelMeAnnotationTool/annotationTools/perl

Please help. Any ideas what the problem may be?

nbandaru1h avatar Feb 27 '24 07:02 nbandaru1h