dragonmeteor / AnimeDrawingsDataset

A dataset for 2D pose estimation of anime/manga images.
123 stars 12 forks source link

SocketError: Failed to open TCP connection to danbooru.donmai.us:443 (getaddrinfo: nodename nor servname provided, or not known) #1

Open Patrickctyyx opened 5 years ago

Patrickctyyx commented 5 years ago

After the command rake build, the program started to download pics, however, every time I tried, it aborted at the same place with the mistake below.

My operating system is macOS Mojave 10.14.3 (18D109), and I tried restarting the terminal and computer, but it still didn't work.

** Invoke build (first_time)
** Invoke data:images_raw (first_time)
** Invoke data/images_raw/done.txt (first_time)
** Invoke data/data.json (first_time, not_needed)
** Execute data/images_raw/done.txt
data/images_raw/1001467.jpg
data/images_raw/1001488.jpg
data/images_raw/1003724.jpg
data/images_raw/1007455.jpg
data/images_raw/1009178.jpg
data/images_raw/1009182.jpg
data/images_raw/1009665.jpg
data/images_raw/1009667.jpg
data/images_raw/10111.jpg
data/images_raw/1013132.jpg
data/images_raw/1013820.jpg
data/images_raw/1016124.jpg
data/images_raw/1018104.jpg
data/images_raw/10213.jpg
data/images_raw/1023065.jpg
data/images_raw/1025179.jpg
data/images_raw/1025744.jpg
data/images_raw/1029172.jpg
data/images_raw/10361.jpg
data/images_raw/1036519.jpg
data/images_raw/1036987.jpg
data/images_raw/1037173.jpg
data/images_raw/1039542.jpg
data/images_raw/1040808.jpg
data/images_raw/1042141.jpg
data/images_raw/1042544.jpg
data/images_raw/1043263.jpg
data/images_raw/1043358.jpg
data/images_raw/1043976.jpg
data/images_raw/1046000.jpg
data/images_raw/1047001.jpg
data/images_raw/1047585.jpg
data/images_raw/1048141.jpg
data/images_raw/1051938.jpg
data/images_raw/1053180.jpg
data/images_raw/1055097.jpg
data/images_raw/1057023.jpg
data/images_raw/1058374.jpg
data/images_raw/1059103.jpg
data/images_raw/1059428.jpg
data/images_raw/1060050.jpg
data/images_raw/1060053.jpg
data/images_raw/1060055.jpg
data/images_raw/1064598.jpg
data/images_raw/1064664.jpg
data/images_raw/1064835.jpg
data/images_raw/1065511.jpg
data/images_raw/1065570.jpg
data/images_raw/1066330.jpg
data/images_raw/10677.jpg
data/images_raw/1068333.jpg
data/images_raw/1068895.jpg
data/images_raw/1068942.jpg
data/images_raw/1070308.jpg
data/images_raw/1072333.jpg
data/images_raw/1072505.jpg
data/images_raw/1073415.jpg
data/images_raw/107342.jpg
data/images_raw/1073636.jpg
data/images_raw/1073638.jpg
data/images_raw/1074006.jpg
data/images_raw/1075356.jpg
data/images_raw/10754.jpg
data/images_raw/1075716.jpg
data/images_raw/1076035.jpg
data/images_raw/1077121.jpg
data/images_raw/1078546.jpg
data/images_raw/1078852.jpg
data/images_raw/1079807.jpg
data/images_raw/1080877.jpg
data/images_raw/1083587.jpg
data/images_raw/1084269.jpg
data/images_raw/1084280.jpg
data/images_raw/1084295.jpg
data/images_raw/1084296.jpg
data/images_raw/1084297.jpg
data/images_raw/1084298.jpg
data/images_raw/1084303.jpg
data/images_raw/1084304.jpg
data/images_raw/1084306.jpg
data/images_raw/1086895.jpg
data/images_raw/108742.jpg
data/images_raw/1089084.jpg
data/images_raw/1091903.jpg
data/images_raw/1093981.jpg
data/images_raw/1094120.jpg
data/images_raw/1094613.jpg
data/images_raw/1094724.jpg
data/images_raw/1095341.jpg
data/images_raw/1095380.jpg
data/images_raw/1096444.jpg
data/images_raw/1096446.jpg
data/images_raw/10966.jpg
data/images_raw/1098208.jpg
data/images_raw/1098646.jpg
data/images_raw/1098715.jpg
data/images_raw/1101011.jpg
data/images_raw/1101024.jpg
data/images_raw/1101661.jpg
data/images_raw/1102909.jpg
data/images_raw/1103098.jpg
data/images_raw/1103618.jpg
data/images_raw/1104079.jpg
data/images_raw/1104192.jpg
data/images_raw/1104842.jpg
data/images_raw/1104843.jpg
data/images_raw/1104845.jpg
data/images_raw/1105121.jpg
data/images_raw/1107252.jpg
data/images_raw/1107964.jpg
data/images_raw/1121337.jpg
data/images_raw/112174.jpg
data/images_raw/1125006.jpg
data/images_raw/1128248.jpg
data/images_raw/1139275.jpg
data/images_raw/1141403.jpg
data/images_raw/1142959.jpg
data/images_raw/1146242.jpg
data/images_raw/1146331.jpg
data/images_raw/1148539.jpg
data/images_raw/1149571.jpg
data/images_raw/1149941.jpg
data/images_raw/1150377.jpg
rake aborted!
SocketError: Failed to open TCP connection to danbooru.donmai.us:443 (getaddrinfo: nodename nor servname provided, or not known)
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/net/http.rb:882:in `rescue in block in connect'
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/net/http.rb:879:in `block in connect'
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/timeout.rb:91:in `block in timeout'
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/timeout.rb:101:in `timeout'
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/net/http.rb:878:in `connect'
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/net/http.rb:863:in `do_start'
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/net/http.rb:858:in `start'
/Library/Ruby/Gems/2.3.0/gems/net-http-persistent-3.0.0/lib/net/http/persistent.rb:692:in `start'
/Library/Ruby/Gems/2.3.0/gems/net-http-persistent-3.0.0/lib/net/http/persistent.rb:622:in `connection_for'
/Library/Ruby/Gems/2.3.0/gems/net-http-persistent-3.0.0/lib/net/http/persistent.rb:927:in `request'
/Library/Ruby/Gems/2.3.0/gems/mechanize-2.7.6/lib/mechanize/http/agent.rb:280:in `fetch'
/Library/Ruby/Gems/2.3.0/gems/mechanize-2.7.6/lib/mechanize/http/agent.rb:998:in `response_redirect'
/Library/Ruby/Gems/2.3.0/gems/mechanize-2.7.6/lib/mechanize/http/agent.rb:321:in `fetch'
/Library/Ruby/Gems/2.3.0/gems/mechanize-2.7.6/lib/mechanize.rb:464:in `get'
/Users/patrick/Desktop/AnimeDrawingsDataset/Rakefile:56:in `fetch_raw_image'
/Users/patrick/Desktop/AnimeDrawingsDataset/Rakefile:74:in `block (3 levels) in <class:DownloadDataTasks>'
/Users/patrick/Desktop/AnimeDrawingsDataset/Rakefile:73:in `each'
/Users/patrick/Desktop/AnimeDrawingsDataset/Rakefile:73:in `block (2 levels) in <class:DownloadDataTasks>'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:273:in `block in execute'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:273:in `each'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:273:in `execute'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:214:in `block in invoke_with_call_chain'
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:194:in `invoke_with_call_chain'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:238:in `block in invoke_prerequisites'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:236:in `each'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:236:in `invoke_prerequisites'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:213:in `block in invoke_with_call_chain'
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:194:in `invoke_with_call_chain'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:238:in `block in invoke_prerequisites'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:236:in `each'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:236:in `invoke_prerequisites'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:213:in `block in invoke_with_call_chain'
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:194:in `invoke_with_call_chain'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:183:in `invoke'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:160:in `invoke_task'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:116:in `block (2 levels) in top_level'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:116:in `each'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:116:in `block in top_level'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:125:in `run_with_threads'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:110:in `top_level'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:83:in `block in run'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:186:in `standard_exception_handling'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:80:in `run'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/exe/rake:27:in `<top (required)>'
/usr/local/bin/rake:22:in `load'
/usr/local/bin/rake:22:in `<main>'

Caused by:
SocketError: getaddrinfo: nodename nor servname provided, or not known
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/net/http.rb:880:in `initialize'
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/net/http.rb:880:in `open'
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/net/http.rb:880:in `block in connect'
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/timeout.rb:91:in `block in timeout'
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/timeout.rb:101:in `timeout'
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/net/http.rb:878:in `connect'
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/net/http.rb:863:in `do_start'
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/net/http.rb:858:in `start'
/Library/Ruby/Gems/2.3.0/gems/net-http-persistent-3.0.0/lib/net/http/persistent.rb:692:in `start'
/Library/Ruby/Gems/2.3.0/gems/net-http-persistent-3.0.0/lib/net/http/persistent.rb:622:in `connection_for'
/Library/Ruby/Gems/2.3.0/gems/net-http-persistent-3.0.0/lib/net/http/persistent.rb:927:in `request'
/Library/Ruby/Gems/2.3.0/gems/mechanize-2.7.6/lib/mechanize/http/agent.rb:280:in `fetch'
/Library/Ruby/Gems/2.3.0/gems/mechanize-2.7.6/lib/mechanize/http/agent.rb:998:in `response_redirect'
/Library/Ruby/Gems/2.3.0/gems/mechanize-2.7.6/lib/mechanize/http/agent.rb:321:in `fetch'
/Library/Ruby/Gems/2.3.0/gems/mechanize-2.7.6/lib/mechanize.rb:464:in `get'
/Users/patrick/Desktop/AnimeDrawingsDataset/Rakefile:56:in `fetch_raw_image'
/Users/patrick/Desktop/AnimeDrawingsDataset/Rakefile:74:in `block (3 levels) in <class:DownloadDataTasks>'
/Users/patrick/Desktop/AnimeDrawingsDataset/Rakefile:73:in `each'
/Users/patrick/Desktop/AnimeDrawingsDataset/Rakefile:73:in `block (2 levels) in <class:DownloadDataTasks>'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:273:in `block in execute'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:273:in `each'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:273:in `execute'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:214:in `block in invoke_with_call_chain'
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:194:in `invoke_with_call_chain'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:238:in `block in invoke_prerequisites'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:236:in `each'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:236:in `invoke_prerequisites'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:213:in `block in invoke_with_call_chain'
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:194:in `invoke_with_call_chain'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:238:in `block in invoke_prerequisites'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:236:in `each'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:236:in `invoke_prerequisites'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:213:in `block in invoke_with_call_chain'
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:194:in `invoke_with_call_chain'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:183:in `invoke'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:160:in `invoke_task'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:116:in `block (2 levels) in top_level'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:116:in `each'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:116:in `block in top_level'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:125:in `run_with_threads'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:110:in `top_level'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:83:in `block in run'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:186:in `standard_exception_handling'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:80:in `run'
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/exe/rake:27:in `<top (required)>'
/usr/local/bin/rake:22:in `load'
/usr/local/bin/rake:22:in `<main>'
Tasks: TOP => build => data:images_raw => data/images_raw/done.txt