Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fatal: there are problems with fetch_image.cgi: Resolved #69

Closed
AndreV84 opened this issue Nov 19, 2017 · 0 comments
Closed

Fatal: there are problems with fetch_image.cgi: Resolved #69

AndreV84 opened this issue Nov 19, 2017 · 0 comments

Comments

@AndreV84
Copy link

AndreV84 commented Nov 19, 2017

sudo apt-get install libcgi-session-perl
applied, Ubuntu 16.04. The issue persists.
reference found:
#1
implementing the solution...



[Sun Nov 19 00:53:01.752525 2017] [cgid:error] [pid 16183:tid 140658928985856] [client 37.195.55.131:52045] End of script output before headers: write_logfile.cgi, referer: http://34.216.15.125/LabelMeAnnotationTool/tool.html?collection=LabelMe&mode=f&folder=example_folder&image=img2.jpg
Can't locate globalvariables.pl in @INC (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /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.
[Sun Nov 19 00:53:01.754743 2017] [cgid:error] [pid 16183:tid 140658920593152] [client 37.195.55.131:52049] End of script output before headers: write_logfile.cgi, referer: http://34.216.15.125/LabelMeAnnotationTool/tool.html?collection=LabelMe&mode=f&folder=example_folder&image=img2.jpg
[Sun Nov 19 00:53:02 2017] fetch_image.cgi: Can't locate globalvariables.pl in @INC (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /var/www/html/LabelMeAnnotationTool/annotationTools/perl/fetch_image.cgi line 7.

now it got to the form of:

[Sun Nov 19 01:13:38 2017] fetch_image.cgi: Cannot read folder LM_TOOL_HOME/Images/example_folder at /var/www/html/LabelMeAnnotationTool/annotationTools/perl/fetch_image.cgi line 89.
sh: 1: identify: not found
sh: 1: identify: not found
Died at /var/www/html/LabelMeAnnotationTool/annotationTools/perl/submit.cgi line 104.
[Sun Nov 19 01:13:45.860679 2017] [cgid:error] [pid 16602:tid 140039161874176] [client 37.195.55.131:52307] End of script output before headers: submit.cgi, referer: http://34.216.15.125/LabelMeAnnotationTool/tool.html?collection=LabelMe&mode=f&folder=example_folder&image=img2.jpg
[Sun Nov 19 01:13:47 2017] fetch_image.cgi: Cannot read folder LM_TOOL_HOME/Images/example_folder at /var/www/html/LabelMeAnnotationTool/annotationTools/perl/fetch_image.cgi line 89.
[Sun Nov 19 01:13:49 2017] fetch_image.cgi: Cannot read folder LM_TOOL_HOME/Images/example_folder at /var/www/html/LabelMeAnnotationTool/annotationTools/perl/fetch_image.cgi line 89.

I added
export LM_TOOL_HOME=/var/www/html/LabelMeAnnotationTool
but it wont help
added
export LM_HOME=/var/www/html/LabelMeAnnotationTool
Corresponding info:

echo $LM_HOME
/var/www/html/LabelMeAnnotationTool

/var/www/html/LabelMeAnnotationTool$ ll
total 100
drwxrwxrwx 10 www-data www-data 4096 Nov 19 00:13 ./
drwxrwxrwx  3 www-data www-data 4096 Nov 19 00:13 ../
drwxrwxrwx  6 www-data www-data 4096 Nov 19 00:13 annotationCache/
drwxrwxrwx  3 www-data www-data 4096 Nov 19 00:13 Annotations/
drwxrwxrwx 10 www-data www-data 4096 Nov 19 00:13 annotationTools/
-rwxrwxrwx  1 www-data www-data 1454 Nov 19 00:13 Dockerfile*
drwxrwxrwx  8 www-data www-data 4096 Nov 19 00:13 .git/
-rwxrwxrwx  1 www-data www-data  235 Nov 19 00:13 .gitignore*
-rwxrwxrwx  1 www-data www-data  868 Nov 19 00:13 .htaccess*
drwxrwxrwx  4 www-data www-data 4096 Nov 19 00:13 Icons/
drwxrwxrwx  3 www-data www-data 4096 Nov 19 00:13 Images/
-rwxrwxrwx  1 www-data www-data 1158 Nov 19 00:13 LICENSE.txt*
-rwxrwxrwx  1 www-data www-data  927 Nov 19 00:13 Makefile*
drwxrwxrwx  3 www-data www-data 4096 Nov 19 00:13 Masks/
-rwxrwxrwx  1 www-data www-data 9222 Nov 19 00:13 README.md*
drwxrwxrwx  3 www-data www-data 4096 Nov 19 00:13 Scribbles/
-rwxrwxrwx  1 www-data www-data 9326 Nov 19 00:13 tool.html*
-rwxrwxrwx  1 www-data www-data  493 Nov 19 00:13 ubuntu.conf*
-rwxrwxrwx  1 www-data www-data 1213 Nov 19 00:13 UBUNTU.md*
-rwxrwxrwx  1 www-data www-data 2115 Nov 19 00:13 unit_tests.html*
-rwxrwxrwx  1 www-data www-data 1992 Nov 19 00:13 WINDOWS.md*

/var/www/html/LabelMeAnnotationTool/Images/example_folder$ ll
total 7776
drwxrwxrwx 2 www-data www-data    4096 Nov 19 00:18 ./
drwxrwxrwx 3 www-data www-data    4096 Nov 19 00:13 ../
-rwxrwxrwx 1 www-data www-data 2886406 Nov 19 00:18 9.JPG*
-rwxrwxrwx 1 www-data www-data 1056605 Nov 19 00:13 img1.jpg*
-rwxrwxrwx 1 www-data www-data 2886406 Nov 19 00:20 img2.jpg*
-rwxrwxrwx 1 www-data www-data 1122021 Nov 19 00:13 img3.jpg*

have found instruction for Ubuntu 16.04,
f55e552#diff-4f27ede38bd7416ca3339699b7d8b36c
trying to get the thing work from empty instance instalation with that instruction
please mark the issue as resolved

@AndreV84 AndreV84 changed the title Fatal: there are problems with fetch_image.cgi Fatal: there are problems with fetch_image.cgi: Resolved Nov 19, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant