CSAILVision / CSAILVision/LabelMeAnnotationTool
Can't return outside a subroutine at ./LabelMe/annotationTools/perl/fetch_image.cgi
- 主要语言
- JavaScript
- 星标
- 1.5k
- 派生
- 443
- PR 合并指标
- 30 天内没有已合并 PR
描述
Ubuntu 16.04 LTS. Install went ok, all apache mods required have been enabled. Image appears on page load, but then the page returns an error: Fatal: there are problems with fetch_image.cgi
Apache logs show the following:
[Thu Jun 07 13:07:41.886343 2018] [cgi:error] [pid 1427] [client 127.0.0.1:44032] AH01215: [Thu Jun 7 13:07:41 2018] fetch_image.cgi: Can't return outside a subroutine at LabelMe/annotationTools/perl/fetch_image.cgi line 49.: LabelMe/annotationTools/perl/fetch_image.cgi, referer: https://localhost/LabelMe/tool.html?collection=Shoes&mode=i&folder=Shoes&image=image.jpg
I've installed libcgi-session-perl and restarted Apache, but that didn't do much of anything.
Any other suggestions?
贡献指南
这个仓库没有索引到贡献指南
调研方向
从第 49 行的 LabelMe/annotationTools/perl/fetch_image.cgi 开始,将报告的 Apache CGI 错误与脚本周围的上下文进行比较。检查已安装的 CGI 依赖项和 Apache 配置是否会影响执行。当图像页面加载时不再出现 fetch_image.cgi 致命错误,并且 Apache 日志不再报告 return-outside-subroutine 故障,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- perl
- 领域
- backend, web-dev
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100