[InterMine Dev] Error downloading data via perl script

Lewis, Brian Andrew brilewis at iupui.edu
Wed Sep 7 22:19:36 BST 2011


I recently discovered that there were shell scripts in bio/scripts that automatically download data from public database to a server directory.  When I tried running one of the scripts (get_psi_ontology), I got the following error:

Can't locate DataDownloader.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /../../intermine/perl/lib/) at get_psi_ontology line 15.
BEGIN failed--compilation aborted at get_psi_ontology line 15.

Pretty easy fix - just install the perl module.  After that I tried running the script again and got almost the same error:

Use of uninitialized value in concatenation (.) or string at get_psi_ontology line 13.
Can't locate InterMine/DataDownloader.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /../../intermine/perl/lib/) at get_psi_ontology line 15.
BEGIN failed--compilation aborted at get_psi_ontology line 15.

I've tried adding a statement similar to the following below the push(@INC... statement but I keep getting the "Can't locate..." error.

use '/usr/local/intermine_0_97/bio/scripts/DataDownloader/lib';

Any suggestions?

Thanks,
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.intermine.org/pipermail/dev/attachments/20110907/ea613f2c/attachment.html>


More information about the dev mailing list