Entering edit mode
9.6 years ago
tino_s3004
•
0
Hi,
I'm new to both Perl and especially to BioPerl so bear with me.
It was a struggle to install BioPerl on Windows to begin with and now I got this error just by trying to run: use Bio::DB::GenBank;
Use of uninitialized value $Bio::DB::NCBIHelper::HOSTBASE in concatenation (.) or string at C:/Strawberry/perl/site/lib/Bio/DB/Query/GenBank.pm line 103.
Use of uninitialized value $Bio::DB::NCBIHelper::HOSTBASE in concatenation (.) or string at C:/Strawberry/perl/site/lib/Bio/DB/Query/GenBank.pm line 104.
line 103: use constant EPOST => $Bio::DB::NCBIHelper::HOSTBASE.'/entrez/eutils/epost.fcgi';
line 104: use constant ESEARCH => $Bio::DB::NCBIHelper::HOSTBASE.'/entrez/eutils/esearch.fcgi';
However if I try to print $Bio::DB::NCBIHelper::HOSTBASE
it prints the correct hostbase (http://eutils.ncbi.nlm.nih.gov), meaning that it is in fact not uninitialized right?
Please show a small piece of code that generates the error.
Well there is not much to show. Like I said the error occurs just by running the line:
I can't reproduce that, could you please show us the version of bioperl you are using.