[ensembl-dev] Re: Re: Can't connect to ensembl database

simon andrews (BI) simon.andrews at bbsrc.ac.uk
Wed Aug 4 21:55:56 BST 2010


On 4 Aug 2010, at 19:39, Abel Ureta-Vidal wrote:

> Hi Grace,
> 
> I may have reproduced your problem. I'm assuming you downloaded the ensembl core API from this URL.
> http://www.ensembl.org/info/docs/api/api_installation.html. There is a link to download ensembl. The link url is
> http://cvs.sanger.ac.uk/cgi-bin/viewvc.cgi/ensembl.tar.gz?root=ensembl&only_with_tag=branch-ensembl-58&view=tar
> 
> I reproduce (partially) your error, by getting this API with a wget like this on the command line.
> 
> wget http://cvs.sanger.ac.uk/cgi-bin/viewvc.cgi/ensembl.tar.gz?root=ensembl&only_with_tag=branch-ensembl-58&view=tar
> 
> It happens that if you do it like that, without ' or " around the complete url, the shell cut the url for wget to digest. And when it does it,
> the API it somehow downloads the latest branch which is v59.

Abel.

I reported a problem a couple of months ago which ended up with this as the cause.  The problem is that the & in the URL is interpreted by the shell and the URL is truncated at that point.  As you say, you then end up with the head revision rather than the v58 branch.

Simon.





More information about the Dev mailing list