CSAILVision / CSAILVision/LabelMeAnnotationTool

[Ubuntu 18.04] Can't locate globalvariables.pl

Offen
#105 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
1.5k
Forks
443
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

OS: Ubuntu 18.04
Follow Instruction: [UBUNTU_16_04](https://github.com/CSAILVision/LabelMeAnnotationTool/blob/master/UBUNTU_16_04.md)

I tried solution from https://github.com/CSAILVision/LabelMeAnnotationTool/issues/69 and https://github.com/CSAILVision/LabelMeAnnotationTool/issues/1:

Setting $LM_HOME by input in shell
```
export LM_HOME=/var/www/html/LabelMeAnnotationTool
```

But it doesn't work, the tool.html still shows **_"Fatal: there are problems with fetch_image.cgi"_** when loading.

I have tried ubuntu 16 docker and it works well in my local server. I'm not sure whether there is special configure for ubuntu 18. It will be really appreciate, if you could help me to solve this problem.

---
Error Log:

[Mon Oct 28 16:48:05.529643 2019] [cgi:error] [pid 6417] [client 127.0.0.1:42144] AH01215: **Can't locate globalvariables.pl** in @INC (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /var/www/html/LabelMeAnnotationTool/annotationTools/perl/**write_logfile.cgi** line 2.: /var/www/html/LabelMeAnnotationTool/annotationTools/perl/write_logfile.cgi, referer: http://127.0.0.1/LabelMeAnnotationTool/tool.html?collection=LabelMe&mode=i&folder=null&image=null
[Mon Oct 28 16:48:05.529709 2019] [cgi:error] [pid 6417] [client 127.0.0.1:42144] End of script output before headers: write_logfile.cgi, referer: http://127.0.0.1/LabelMeAnnotationTool/tool.html?collection=LabelMe&mode=i&folder=null&image=null
[Mon Oct 28 16:48:05.529900 2019] [cgi:error] [pid 6386] [client 127.0.0.1:42146] AH01215: **Can't locate globalvariables.pl** in @INC (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /var/www/html/LabelMeAnnotationTool/annotationTools/perl/write_logfile.cgi line 2.: /var/www/html/LabelMeAnnotationTool/annotationTools/perl/write_logfile.cgi, referer: http://127.0.0.1/LabelMeAnnotationTool/tool.html?collection=LabelMe&mode=i&folder=null&image=null
[Mon Oct 28 16:48:05.529952 2019] [cgi:error] [pid 6386] [client 127.0.0.1:42146] End of script output before headers: write_logfile.cgi, referer: http://127.0.0.1/LabelMeAnnotationTool/tool.html?collection=LabelMe&mode=i&folder=null&image=null

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Beginne mit den Ubuntu-16.04-Einrichtungsanweisungen und annotationTools/perl/write_logfile.cgi und vergleiche dann die Apache-CGI-Umgebung mit den gemeldeten @INC-Pfaden und dem Fehler von fetch_image.cgi. Reproduziere den Fehler unter Ubuntu 18.04; abgeschlossen ist die Aufgabe, wenn globalvariables.pl gefunden wird und das Tool ohne den fatalen CGI-Fehler geladen wird.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
apache, javascript, perl, ubuntu
Bereich
backend, operating-systems, web-dev
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.