CSAILVision / CSAILVision/LabelMeAnnotationTool

Fatal: there are problems with fetch_image.cgi

Đang mở
#119 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
1.5k
Fork
443
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Bắt đầu bằng việc kiểm tra fetch_image.cgi và cơ chế tìm kiếm Perl @INC đối với globalvariables.pl, sau đó so sánh với cấu hình Apache và thiết lập PERL5LIB được mô tả trong issue. Công việc được xem là hoàn tất khi CGI không còn lỗi do không thể định vị tệp Perl và fetch_image.cgi hoạt động trong deployment được báo cáo.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
apache, perl
Lĩnh vực
backend, devops
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
20/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.