
On Wed, Aug 21, 2013 at 1:45 PM, Dave Bouvier <dave@bx.psu.edu> wrote:
Peter,
Here is the relevant log output for the installation of ncbi_blast_plus. A quick google informs me that exit code 64 means "command line usage error", for what it's worth.
install_and_test_repositories INFO 2013-08-20 23:34:43,270 Installing and testing revision 946749c8605f of repository ncbi_blast_plus owned by peterjc... install_repository_ncbi_blast_plus (install_and_test_tool_shed_repositories.functional.test_install_repositories.TestInstallRepository_ncbi_blast_plus) Install the repository ncbi_blast_plus from http://testtoolshed.g2.bx.psu.edu. ... tool_shed.util.shed_util_common DEBUG 2013-08-20 23:34:47,484 Adding new row (or updating an existing row) for repository 'ncbi_blast_plus' in the tool_shed_repository table, status set to 'New'. tool_shed.util.shed_util_common DEBUG 2013-08-20 23:34:47,674 Adding new row (or updating an existing row) for repository 'blast_datatypes' in the tool_shed_repository table, status set to 'New'. tool_shed.util.shed_util_common DEBUG 2013-08-20 23:34:47,886 Adding new row (or updating an existing row) for repository 'package_blast_plus_2_2_26' in the tool_shed_repository table, status set to 'New'.
Warning: local() encountered an error (return code 64) while executing ' if [[ "$(uname)" == "Linux" ]]; then export FILENAME="ncbi-blast-2.2.26+-ia32-linux.tar.gz"; fi && if [[ "$(arch)" == "x86_64" ]]; then export FILENAME="ncbi-blast-2.2.26+-x64-linux.tar.gz"; fi && if [[ "$(uname)" == "Darwin" ]]; then export FILENAME="ncbi-blast-2.2.26+-universal-macosx.tar.gz"; fi && echo Fetching $FILENAME && if [[ "$(uname)" == "Linux" ]]; then wget ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.26/$FILENAME; fi && if [[ "$(uname)" == "Darwin" ]]; then curl -O ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.26/$FILENAME; fi && tar -zxvf $FILENAME && echo Downloaded and decompressed '
Thanks Dave, I've made a note on this Trello card about exposing the log information of unsuccessful builds on the Tool Shed, https://trello.com/c/HVGrShnC/1042-tool-shed-should-test-installation-of-pac... Can you tell me what version of Linux this is, and which shell? $ uname ... $ arch ... $ echo $0 ... That might give me a clue about the nature of the failure. My hunch is that I am using something bash specific. The simplest solution would be if you could run each of these command by hand to see if it triggers the same error: if [[ "$(uname)" == "Linux" ]]; then export FILENAME="ncbi-blast-2.2.26+-ia32-linux.tar.gz"; fi if [[ "$(arch)" == "x86_64" ]]; then export FILENAME="ncbi-blast-2.2.26+-x64-linux.tar.gz"; fi if [[ "$(uname)" == "Darwin" ]]; then export FILENAME="ncbi-blast-2.2.26+-universal-macosx.tar.gz"; fi echo Fetching $FILENAME if [[ "$(uname)" == "Linux" ]]; then wget ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.26/$FILENAME; fi if [[ "$(uname)" == "Darwin" ]]; then curl -O ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.26/$FILENAME; fi tar -zxvf $FILENAME echo Downloaded and decompressed Thanks, Peter