Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't locate globalvariables.pl #1

Closed
ghost opened this issue Jan 29, 2013 · 2 comments
Closed

Can't locate globalvariables.pl #1

ghost opened this issue Jan 29, 2013 · 2 comments

Comments

@ghost
Copy link

ghost commented Jan 29, 2013

I set up the LableMe annotation tool on the local server. While browsing the tool, I am receiving the error "Unknown objXml.status" and unable to draw a polygon. Set up files are fine in concern with the possible causes mentioned in the README file.
In the server error log, I found that globalvariables.pl is used in the perl scripts but it is not in the package. I was wondering if this file supposed to be in the labelme tool or is there a problem with perl installation?

Following is the snippet of the error log:
"Can't locate globalvariables.pl in @inc (@inc contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /var/www/public/LabelMe/annotationTools/perl/get_anno_file.cgi line 2., referer: http://myServer.LabelMe/tool.html?collection=LabelMe&mode=f&folder=example_folder&image=img1.jpg"

@ghost ghost closed this as completed Feb 9, 2013
@ghost ghost reopened this Feb 9, 2013
@ghost
Copy link
Author

ghost commented Feb 9, 2013

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.

PS:I will suggest to add this information in README file.

@daohu527
Copy link

Addition: If you use a docker and want to mount a volume, you should not use the entire "LabelMeAnnotationTool" dir. If you do this, you will receive the error "Fatal: there are problems with fetch_image.cgi"

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant