LabelMeAnnotationTool icon indicating copy to clipboard operation
LabelMeAnnotationTool copied to clipboard

there are problems with fetch_image.cgi

Open safooray opened this issue 7 years ago • 1 comments

On Windows 10 I'm getting Fatal: there are problems with fetch_image.cgi popup on web-page opening and then on each of Next image clicks which fail. I looked inside Apache error log and found this:

(OS 2)The system cannot find the file specified. : [client ::1:63885] AH01223: couldn't spawn child process: C:/git/LabelMeAnnotationTool/annotationTools/perl/write_logfile.cgi (OS 2)The system cannot find the file specified. : [client ::1:63886] couldn't create child process: 720002: write_logfile.cgi

I have installed Active Perl and the shebang line in my cgi scripts points to the where my perl.exe sits. I have included these lines in my Apache conf:

    LoadModule cgi_module modules/mod_cgi.so
    ScriptAlias /cgi-bin/ "C:/git/LabelMeAnnotationTool/"
    AddHandler cgi-script .cgi .pl
<Directory "C:/git/LabelMeAnnotationTool/">
    AllowOverride None
    Options None
    Require all granted
</Directory>

safooray avatar Jun 04 '18 17:06 safooray

Hello @safooray , From the comments you mentioned in the issues, I understand that you are also setting this on Windows. I have recently started following this and wanted your help in setting up the environment. Especially the fetch_image.cgi. I am very confused on where and how to edit the file and where to add the code. Can you please share your code for the fetch_image.cgi? It would be of a great help. Thank you!

tirthparikh avatar Oct 02 '18 16:10 tirthparikh