CSAILVision / LabelMeAnnotationTool

Source code for the LabelMe annotation tool.
MIT License
1.39k stars 437 forks source link

Fatal: there are problems with fetch_image.cgi #119

Open nbandaru1h opened 7 months ago

nbandaru1h commented 7 months ago

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?