CSAILVision / CSAILVision/LabelMeAnnotationTool
Fatal: there are problems with fetch_image.cgi
- Vorherrschende Sprache
- JavaScript
- Sterne
- 1.5k
- Forks
- 443
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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?
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- apache, perl
- Bereich
- backend, devops
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 20/100