CSAILVision / CSAILVision/LabelMeAnnotationTool

Fatal: there are problems with fetch_image.cgi

オープン
#119 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
1.5k
フォーク
443
PR マージ指標
30日以内にマージされた PR はありません

説明

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?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

まず fetch_image.cgi と、globalvariables.pl に対する Perl の @INC の検索を調べ、次に issue に記載された Apache の設定と PERL5LIB の設定を比較します。完了の定義は、CGI が Perl ファイルを見つけられないために失敗しなくなり、報告されたデプロイ環境で fetch_image.cgi が動作することです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
apache, perl
領域
backend, devops
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
20/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。