CSAILVision / CSAILVision/LabelMeAnnotationTool

Fatal: there are problems with fetch_image.cgi

Open
#119 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.5k
Forks
443
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by examining fetch_image.cgi and the Perl @INC lookup for globalvariables.pl, then compare that with the Apache configuration and PERL5LIB setting described in the issue. Done means the CGI no longer fails because it cannot locate the Perl file and fetch_image.cgi works in the reported deployment.

Written by the indexing model from the issue text.

Assessment

Tech stack
apache, perl
Domain
backend, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.