[ensembl-dev] Warning when registry is loaded
Kieron Taylor
ktaylor at ebi.ac.uk
Mon Mar 3 11:09:51 GMT 2014
Hi Sebastien,
Apologies for this log noise. The warning should be harmless. Our
collected efforts to make the Ensembl API portable across database
providers will have a few minor unintended consequences. We've tested
the changes, but such warnings easily go unnoticed. We'll tidy this up
when we can.
--
Kieron Taylor PhD.
Ensembl Core team
EBI
On 03/03/2014 09:49, Sébastien Moretti wrote:
> Hi
>
> with the API from Ensembl 75, every time I load the registry I got this
> warning I did not get before:
>
> Use of uninitialized value $driver in string eq at
>
> /usr/local/ensembl/ensembl/modules//Bio/EnsEMBL/DBSQL/DBConnection.pm
> line 162 (#1)
>
>
>
> It looks to work as before with it but it's a bit annoying in log files
> and maybe highlight a potential problem.
>
>
> I set the connection to our local, or the official, Ensembl db this way:
> #!/usr/bin/env perl
>
> use strict;
> use warnings;
> use diagnostics;
>
> use Bio::EnsEMBL::Registry;
>
> my $registry = 'Bio::EnsEMBL::Registry';
>
> $registry->load_registry_from_db(
> -host => 'ensembldb.ensembl.org',
> -user => 'anonymous',
> -species => 'homo sapiens',
> -verbose => 1,
> );
>
> exit 0;
>
>
> Noticed with perl 5.14.2 and 5.16.2
>
> Thanks
>
More information about the Dev
mailing list