bzip2: Compressed file ends unexpectedly;
perhaps it is corrupted? *Possible* reason follows.
bzip2: Inappropriate ioctl for device
Input file = (stdin), output file = (stdout)
It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.
You can use the `bzip2recover' program to attempt to recover
error: [interpolation(TIGER)] Failed to unzip tl_2016_55085_addrfeat.zip
error: [interpolation(TIGER)] message=invalid signature: 0x6d783f3c, stack=Error: invalid signature: 0x6d783f3c
at /code/pelias/interpolation/node_modules/unzip/lib/parse.js:59:13
at runCallback (timers.js:705:18)
at tryOnImmediate (timers.js:676:5)
at processImmediate (timers.js:658:5)
I am getting following errors while downloading the planet data:
$ pelias download all
Downloading whosonfirst-data-postalcode-my-latest.tar.bz2 bundle error downloading whosonfirst-data-postalcode-ca-latest.tar.bz2 bundle: Error: Command failed: curl -s https://dist.whosonfirst.org/bundles/whosonfirst-data-postalcode-ca-latest.tar.bz2 | tar -xj --strip-components=1 --exclude=README.txt -C /data/whosonfirst && mv /data/whosonfirst/whosonfirst-data-postalcode-ca-latest.csv /data/whosonfirst/meta
You can use the `bzip2recover' program to attempt to recover
error: [interpolation(TIGER)] Failed to unzip tl_2016_55085_addrfeat.zip error: [interpolation(TIGER)] message=invalid signature: 0x6d783f3c, stack=Error: invalid signature: 0x6d783f3c at /code/pelias/interpolation/node_modules/unzip/lib/parse.js:59:13 at runCallback (timers.js:705:18) at tryOnImmediate (timers.js:676:5) at processImmediate (timers.js:658:5)