data61 / gnaf

GNAF geocoder and more
Other
42 stars 14 forks source link

on docker build data.gov.au 404 not found #10

Open stefanocudini opened 4 years ago

stefanocudini commented 4 years ago

on docker build .

Step 12/18 : RUN /bin/bash src/main/script/run.sh
 ---> Running in 8ee8fc68c320
++ sed 's/.*"\(.*\)"/\1/' version.sbt
+ version=1.1-SNAPSHOT
+ scalaVersion=2.11
+ [[ '' != \s\k\i\p ]]
+ [[ -f /root/gnaf.mv.db ]]
+ cd gnaf-db
+ src/main/script/createGnafDb.sh
+ baseDir=/gnaf-db
+ scriptDir=/gnaf-db/src/main/script
+ dataDir=/gnaf-db/data
+ mkdir -p /gnaf-db/data
+ jsonUrl='http://www.data.gov.au/api/3/action/package_show?id=19432f89-dc3a-4ef3-b943-5326ef1dbecc'
+ curl -sL 'http://www.data.gov.au/api/3/action/package_show?id=19432f89-dc3a-4ef3-b943-5326ef1dbecc'
++ jq -r '.result.resources[] | select(.format == "ZIP") | .url' meta.json
+ dataUrl='https://data.gov.au/data/dataset/19432f89-dc3a-4ef3-b943-5326ef1dbecc/resource/4b084096-65e4-4c8e-abbe-5e54ff85f42f/download/aug20_gnaf_pipeseparatedvalue.zip
https://data.gov.au/data/dataset/19432f89-dc3a-4ef3-b943-5326ef1dbecc/resource/fdce090a-b356-4afe-91bb-c78fbf88082a/download/aug20_gnaf_pipeseparatedvalue_gda2020.zip
https://data.gov.au/data/dataset/19432f89-dc3a-4ef3-b943-5326ef1dbecc/resource/5442e900-b685-44fb-b453-75f318267133/download/documents.zip'
++ jq -r '.result.resources[] | select(.format == "ZIP") | .last_modified' meta.json
+ last_modified='2020-08-20T21:44:32.891671
2020-08-20T21:54:36.276391
2020-08-17T06:24:10.330752'
+ zip=/gnaf-db/data/documents.zip
+ [[ -f /gnaf-db/data/documents.zip ]]
+ cd /gnaf-db/data
+ wget 'https://data.gov.au/data/dataset/19432f89-dc3a-4ef3-b943-5326ef1dbecc/resource/4b084096-65e4-4c8e-abbe-5e54ff85f42f/download/aug20_gnaf_pipeseparatedvalue.zip
https://data.gov.au/data/dataset/19432f89-dc3a-4ef3-b943-5326ef1dbecc/resource/fdce090a-b356-4afe-91bb-c78fbf88082a/download/aug20_gnaf_pipeseparatedvalue_gda2020.zip
https://data.gov.au/data/dataset/19432f89-dc3a-4ef3-b943-5326ef1dbecc/resource/5442e900-b685-44fb-b453-75f318267133/download/documents.zip'
--2020-10-08 11:52:57--  https://data.gov.au/data/dataset/19432f89-dc3a-4ef3-b943-5326ef1dbecc/resource/4b084096-65e4-4c8e-abbe-5e54ff85f42f/download/aug20_gnaf_pipeseparatedvalue.zip%0Ahttps://data.gov.au/data/dataset/19432f89-dc3a-4ef3-b943-5326ef1dbecc/resource/fdce090a-b356-4afe-91bb-c78fbf88082a/download/aug20_gnaf_pipeseparatedvalue_gda2020.zip%0Ahttps://data.gov.au/data/dataset/19432f89-dc3a-4ef3-b943-5326ef1dbecc/resource/5442e900-b685-44fb-b453-75f318267133/download/documents.zip
Resolving data.gov.au (data.gov.au)... 13.237.239.146, 13.236.21.177, 54.206.208.213, ...
Connecting to data.gov.au (data.gov.au)|13.237.239.146|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-10-08 11:52:58 ERROR 404: Not Found.