X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f159fab8f9d6bc4254192ce43432defd5bd400aa..1fd7b7089dd0027d36e46c2e1fbb44aee4cc1e66:/sdk/cli/bin/crunch-job diff --git a/sdk/cli/bin/crunch-job b/sdk/cli/bin/crunch-job index b8afe638ac..242dff708b 100755 --- a/sdk/cli/bin/crunch-job +++ b/sdk/cli/bin/crunch-job @@ -1634,7 +1634,9 @@ sub create_output_collection Log (undef, "collate"); my ($child_out, $child_in); - my $pid = open2($child_out, $child_in, 'python', '-c', q{ + # This depends on the python-arvados-python-client package, which needs to be installed + # on the machine running crunch-dispatch (typically, the API server). + my $pid = open2($child_out, $child_in, '/usr/share/python2.7/dist/python-arvados-python-client/bin/python', '-c', q{ import arvados import sys print (arvados.api("v1").collections(). @@ -2156,6 +2158,7 @@ sub find_docker_image { return (undef, undef); # More than one file in the Collection. } else { $filename = (split(/:/, $filedata, 3))[2]; + $filename =~ s/\\([0-3][0-7][0-7])/chr(oct($1))/ge; } } }