We use cookies and other tools to enhance your experience on our website and to analyze our web traffic.
For more information about these cookies and the data collected, please refer to our Privacy Policy.

Download failed

13 posts
bio
Was this reply useful? Learn more...
 
[-]
tianlei730 +0 points · over 2 years ago

create shhs/forms/ create shhs/forms/shhs1/ Traceback (most recent call last): 23: from C:/Ruby27-x64/bin/nsrr:23:in <main>' 22: from C:/Ruby27-x64/bin/nsrr:23:inload' 21: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/nsrr-7.0.0/bin/nsrr:6:in <top (required)>' 20: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/nsrr-7.0.0/lib/nsrr.rb:16:inlaunch' 19: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/nsrr-7.0.0/lib/nsrr.rb:26:in download' 18: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/nsrr-7.0.0/lib/nsrr/commands/download.rb:14:inrun' 17: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/nsrr-7.0.0/lib/nsrr/commands/download.rb:39:in run' 16: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/nsrr-7.0.0/lib/nsrr/models/dataset.rb:81:indownload' 15: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/nsrr-7.0.0/lib/nsrr/models/dataset.rb:123:in download_helper' 14: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/nsrr-7.0.0/lib/nsrr/models/dataset.rb:123:ineach' 13: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/nsrr-7.0.0/lib/nsrr/models/dataset.rb:124:in block in download_helper' 12: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/nsrr-7.0.0/lib/nsrr/models/dataset.rb:123:indownload_helper' 11: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/nsrr-7.0.0/lib/nsrr/models/dataset.rb:123:in each' 10: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/nsrr-7.0.0/lib/nsrr/models/dataset.rb:124:inblock in download_helper' 9: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/nsrr-7.0.0/lib/nsrr/models/dataset.rb:103:in download_helper' 8: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/nsrr-7.0.0/lib/nsrr/models/dataset.rb:103:ineach' 7: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/nsrr-7.0.0/lib/nsrr/models/dataset.rb:111:in block in download_helper' 6: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/nsrr-7.0.0/lib/nsrr/models/file.rb:39:indownload' 5: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/nsrr-7.0.0/lib/nsrr/models/file.rb:61:in force_download' 4: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/nsrr-7.0.0/lib/nsrr/models/file.rb:61:innew' 3: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/nsrr-7.0.0/lib/nsrr/helpers/download_request.rb:20:in initialize' 2: from C:/Ruby27-x64/lib/ruby/2.7.0/uri/common.rb:234:inparse' 1: from C:/Ruby27-x64/lib/ruby/2.7.0/uri/rfc3986_parser.rb:73:in parse' C:/Ruby27-x64/lib/ruby/2.7.0/uri/rfc3986_parser.rb:67:insplit': bad URI(is not URI?): "https://sleepdata.org/datasets/shhs/files/a/11973-EH6STKXNacFEbtA6kyBn/m/nsrr-gem-v7-0-0/forms/shhs1/SHHS 1 Adverse Events Form.pdf" (URI::InvalidURIError)

442 posts
bio
Was this reply useful? Learn more...
 
[-]
mrueschman +0 points · over 2 years ago

Hi,

Can you please provide output for these commands?

ruby -v

nsrr -v

13 posts
bio
Was this reply useful? Learn more...
 
[-]
tianlei730 +0 points · over 2 years ago

I download a data set and report errors as I run. I stop reporting errors from time to time. What's the reason?

13 posts
bio
Was this reply useful? Learn more...
 
[-]
tianlei730 +0 points · over 2 years ago

(getaddrinfo: I don't know such a host.)

13 posts
bio
Was this reply useful? Learn more...
 
[-]
tianlei730 +1 point · over 2 years ago

nsrr download mesa

442 posts
bio
Was this reply useful? Learn more...
 
[-]
mrueschman +0 points · over 2 years ago

Sorry, can you post screenshots of the two commands I listed? "ruby -v" and "nsrr -v"

I can then test the same setup you have. We haven't had any reports of the gem not working. Perhaps it is something with the version of Ruby you are using and the latest NSRR gem.

13 posts
bio
Was this reply useful? Learn more...
 
[-]
tianlei730 +0 points · over 2 years ago

I don't understand what you mean by the two orders?

I installed 2.7.4 version of ruby and 7.0.0 version of NSRR gem.

Is it the disconnection caused by large amount of data, small network bandwidth and network delay?

My C disk capacity is not big, I need to export the downloaded data several times to make room. If it's broken so often, every time you connect again, is it a download again?

442 posts
bio
Was this reply useful? Learn more...
 
[-]
mrueschman +0 points · over 2 years ago

You can switch to another drive before running the 'nsrr' command, which will then download to the other drive. For example, if you have an external hard drive that is the "E:" drive, then type "E:" in the Command Prompt before running the commands.

Can you please try that series of commands and post the results? Thanks!

13 posts
bio
Was this reply useful? Learn more...
 
[-]
tianlei730 +0 points · over 2 years ago
13 posts
bio
Was this reply useful? Learn more...
 
[-]
tianlei730 +0 points · over 2 years ago

Can not continue to download, often report errors, disconnect.It's really speechless

13 posts
bio
Was this reply useful? Learn more...
 
[-]
tianlei730 +0 points · over 2 years ago
2 posts
bio
Was this reply useful? Learn more...
 
[-]
fwajid +1 point · over 2 years ago

You are getting the same problem I did - there are spaces in the filename (SHHS 1 Adverse Event Forms.pdf) and this confuses the Ruby parser. I manually downloaded the files and put them in the shhs/data/forms/shhs1 and shhs2 directories.

You can see my post here: https://sleepdata.org/forum/shhs-dataset-fails-download-bad-uri

These are the files you need to download: https://sleepdata.org/datasets/shhs/files/forms/shhs1 and https://sleepdata.org/datasets/shhs/files/forms/shhs2

13 posts
bio
Was this reply useful? Learn more...
 
[-]
tianlei730 +0 points · over 2 years ago

I'm really sorry. It seems that it's my network problem. Today I replaced the interface and network cable of the switch, and the network is relatively stable. Although two errors were reported, it has been downloading for more than six hours, with a total of 30g. At present, the link has not been disconnected.

442 posts
bio
Was this reply useful? Learn more...
 
[-]
mrueschman +0 points · over 2 years ago

No problem. I wasn't sure how to troubleshoot further since it seemed like some sort of network issue outside of sleepdata.org. I'm glad the changes you tried on your end were successful!

All the best and enjoy the data.

13 posts
bio
Was this reply useful? Learn more...
 
[-]
tianlei730 +0 points · over 2 years ago

I successfully downloaded the data set mesa, but 0718.edf reported an error.Thank you for your help.

failed mesa-sleep-0718.edf File checksum mismatch, expected: 9248f635b3c454937f012257c44f08a7 actual: 6b9ea3bdbd62204e45e414b18ed945d9

13 posts
bio
Was this reply useful? Learn more...
 
[-]
tianlei730 +0 points · over 2 years ago

0718 can be downloaded manually.

52 posts
bio
Was this reply useful? Learn more...
 
[-]
remomueller +0 points · over 2 years ago

Hi all! A new version of the NSRR gem has been released that now properly handles downloading files and folders with spaces in the path name. You can download v8.0.0 here: https://rubygems.org/gems/nsrr, or update using gem install nsrr. Also note that the NSRR website now puts quotes around paths that include spaces, ex: nsrr download "stages/original/Site Specific PSG Notes and Information/Site PSG Sensor Photos/St Lukes".