Hi @franklin,
We have also tried the openneuro cli to grab the latest snapshot but it failed.
Here is my terminal:
(base) alfoi_admin@rosenberg:~$ openneuro download --snapshot 1.0.8 ds001919 ds001919-download/
/usr/lib/node_modules/openneuro-cli/src/config.js:1
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received null
at Object.openSync (fs.js:450:10)
at Proxy.readFileSync (fs.js:360:35)
at readConfig (/usr/lib/node_modules/openneuro-cli/src/config.js:14:13)
at getUrl (/usr/lib/node_modules/openneuro-cli/src/config.js:45:29)
at getDownloadMetadata (/usr/lib/node_modules/openneuro-cli/src/download.js:41:22)
at getDownload (/usr/lib/node_modules/openneuro-cli/src/download.js:56:3)
at Command.download (/usr/lib/node_modules/openneuro-cli/src/actions.js:211:5)
at Proxy.listener (/usr/lib/node_modules/openneuro-cli/node_modules/commander/index.js:315:8)
at Proxy.emit (events.js:315:20)
at Proxy.EventEmitter.emit (domain.js:482:12) {
code: 'ERR_INVALID_ARG_TYPE'
}
(base) alfoi_admin@rosenberg:~$ openneuro -V
3.15.0-alpha.1
I even updated the cli to the latest version, but it seems to have a similar behaviour:
(base) alfoi_admin@rosenberg:~$ openneuro download --snapshot 1.0.8 ds001919 ds001919-download/
/usr/lib/node_modules/openneuro-cli/src/config.js:1
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received null
at Object.openSync (fs.js:450:10)
at Proxy.readFileSync (fs.js:360:35)
at readConfig (/usr/lib/node_modules/openneuro-cli/src/config.js:14:13)
at getUrl (/usr/lib/node_modules/openneuro-cli/src/config.js:45:29)
at getDownloadMetadata (/usr/lib/node_modules/openneuro-cli/src/download.js:41:22)
at getDownload (/usr/lib/node_modules/openneuro-cli/src/download.js:56:3)
at Command.download (/usr/lib/node_modules/openneuro-cli/src/actions.js:211:5)
at Proxy.listener (/usr/lib/node_modules/openneuro-cli/node_modules/commander/index.js:315:8)
at Proxy.emit (events.js:315:20)
at Proxy.EventEmitter.emit (domain.js:482:12) {
code: 'ERR_INVALID_ARG_TYPE'
}
(base) alfoi_admin@rosenberg:~$ openneuro -V
3.15.1
Is there a way of grabbing the latest snapshot using command line? We’re currently stuck in processing the data on our remote servers due to this issue.
The possible solution suggested here, doesn’t work due to the fact that GH hasn’t been updated since 28 days ago.
Your help will be greatly appreciated.
Regards,
Alexandru