CSAILVision / LabelMeAnnotationTool

Source code for the LabelMe annotation tool.
MIT License
1.41k stars 438 forks source link

a cgi error 'Scalar found where operator expected at ' #118

Open kinglong198404 opened 2 years ago

kinglong198404 commented 2 years ago
  when deploy on windows,after requesting tool.html, i get an error "Fatal: there are problems with fetch_image.cgi", i see the error info in apache's error.log as follows:
  Scalar found where operator expected at D:/Software/Apache24/htdocs/annotationTools/perl/fetch_image.cgi line 35, near "$i $im_dir"\r: D:/Software/Apache24/htdocs/annotationTools/perl/fetch_image.cgi,.

  by the way ,my website location is "D:\Software\Apache24\htdocs",it don't work follow the below configation :
  Alias /LabelMe/ "C:/POSTDOC/LabelMe/"
  ScriptAlias /cgi-bin/ "C:/POSTDOC/LabelMe/" 

  i don't know how to change this 2 items?

  could anyone give me some suggestion,thank you !
kinglong198404 commented 2 years ago

i fixed the error with recovering the file fetch_image.cgi. while i modify the file named image.cgi following WINDOWS.md,the error “Fatal: there are problems with fetch_image.cgi” occurs again.