CSAILVision / CSAILVision/LabelMeAnnotationTool

[Ubuntu 18.04] Can't locate globalvariables.pl

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

説明

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

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

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

調査の方向性

Ubuntu 16.04 のセットアップ手順と annotationTools/perl/write_logfile.cgi から始め、Apache CGI 環境を報告されている @INC パスおよび fetch_image.cgi の失敗と比較します。Ubuntu 18.04 でエラーを再現します。globalvariables.pl が見つかり、致命的な CGI エラーなしでツールが読み込まれれば完了です。

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

評価

技術スタック
apache, javascript, perl, ubuntu
領域
backend, operating-systems, web-dev
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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