On Tue, 2012-07-17 at 08:11 +0000, Cédric LACZNY wrote: > Hello, > Hello,
> > I am currently doing my first steps with easybuild and I created an > easyconfig for bowtie2. The difficulty here is that it seems that the > extractCmd() in filetools.py is unable to handle the link of the > package > (http://sourceforge.net/projects/bowtie-bio/files/bowtie2/2.0.0-beta7/bowtie2-2.0.0-beta7-linux-x86_64.zip/download). > > Easybuild returns the following error: > EasyBuildError: "EasyBuild crashed with an error (at > easybuild/easybuild/tools/filetools.py:146 in extractCmd): Unknown > file type from > file > /home/clusterusers/claczny/easybuild_sources/b/bowtie2/bowtie2-2.0.0-beta7-linux-x86_64.zip/download > (['/home/clusterusers/claczny/easybuild_sources/b/bowtie2/bowtie2-2', '0', > '0-beta7-linux-x86_64', 'zip/download'])" Can you specify how you supplied this link? For sourceforge links it's easier if you supply sourceURLs=['http://downloads.sourceforge.net/bowtie-bio/'] EasyBuild will then try to download http://downloads.sourceforge.net/bowtie-bio/bowtie2-2.0.0-beta7-linux-x86_64.zip This works on sourceforge, and this way the download ends in .zip, so the extractcommand should work correctly. In other url's where you have a suffix behind the actual package name you can also use sourceURLs=[('http://sourceforge.net/projects/bowtie-bio/files/bowtie2/2.0.0-beta7/', '/download')] If even this fails you can always download the package yourself in the sources directory. Regards, Jens Timmerman

