[ensembl-dev] Error when doing a search on an Ensembl mirror

Anne Parker ap5 at sanger.ac.uk
Mon Nov 7 17:10:34 GMT 2011


No worries. I've fixed it on the branch and head - anyone using the default search in release 64 should update Factory::Search to get the patch.

Cheers

Anne


On 7 Nov 2011, at 17:01, Diogo Costa wrote:

> Ok, fixed it :)
> 
> A simple "if defined $results;" in line 149 did the trick.
> 
> Thank you Anne for pointing me in the right direction :)
> 
> On Mon, Nov 7, 2011 at 4:59 PM, Diogo Costa <costa.h4evr at gmail.com> wrote:
> Hi,
> 
> I tried searching for a known scaffold and it did not failed, so you must be right!
> 
> If you could fix it it would be very nice thank you :) I'll try to fix it too, so I'll let you know if I fix it.
> 
> Thank you!
> 
> On Mon, Nov 7, 2011 at 4:45 PM, Anne Parker <ap5 at sanger.ac.uk> wrote:
> Hi Diogo
> 
> Do all your searches fail? It looks like the text search is failing to return any results.
> 
> I can patch the code so that the relevant method always returns an arrayref - then we can see if it fixes your problem!
> 
> Cheers
> 
> Anne
> 
> 
> 
> On 7 Nov 2011, at 16:27, Diogo Costa wrote:
> 
> > Hello,
> >
> > I installed an Ensembl mirror and realized that the search functionality is not working (error 500).
> > I consulted the error logs and it has the following message:
> >
> > [Mon Nov 07 16:13:58 2011] [error] [client ::1] Can't use an undefined value as an ARRAY reference at /usr/local/ensembl/modules/EnsEMBL/Web/Factory/Search.pm line 149.\n, referer: http://drosophila.ibmc.up.pt/Drosophila_virilis/Location/Genome?r=scaffold_13049:10294877-10343354
> >
> > Am I missing some setting or something? I searched the webs and it doesn't seems to be a common error...
> >
> > Thank you in advance,
> > Diogo
> > _______________________________________________
> > Dev mailing list    Dev at ensembl.org
> > List admin (including subscribe/unsubscribe): http://lists.ensembl.org/mailman/listinfo/dev
> > Ensembl Blog: http://www.ensembl.info/
> 
> Anne Parker
> Ensembl Web Production Manager
> http://www.ensembl.org
> 
> 
> 
> 
> 
> --
>  The Wellcome Trust Sanger Institute is operated by Genome Research
>  Limited, a charity registered in England with number 1021457 and a
>  company registered in England with number 2742969, whose registered
>  office is 215 Euston Road, London, NW1 2BE.
> 
> 

Anne Parker
Ensembl Web Production Manager
http://www.ensembl.org







More information about the Dev mailing list