These are chat archives for mattbeedle/usda-nutrient-database

20th
Oct 2014
Morkevicius Saulius
@morkevicius
Oct 20 2014 11:53
hey
Matt Beedle
@mattbeedle
Oct 20 2014 11:54
hey
what’s up?
Morkevicius Saulius
@morkevicius
Oct 20 2014 11:54
not sure if u're ok with me bothering u about ur gem
:)
but
seems like they've change something with the path of the zip download
i guess :)
Matt Beedle
@mattbeedle
Oct 20 2014 11:55
hmm, ok, so the import is no longer working?
Morkevicius Saulius
@morkevicius
Oct 20 2014 11:55
rake usda:import --trace
Invoke usda:import (first_time) Invoke environment (first_time)
Execute environment Execute usda:import
rake aborted!
Zip::Error: Zip end of central directory signature not found
/home/saulius/.rvm/gems/ruby-2.1.3/gems/rubyzip-1.1.6/lib/zip/central_directory.rb:143:in get_e_o_c_d' /home/saulius/.rvm/gems/ruby-2.1.3/gems/rubyzip-1.1.6/lib/zip/central_directory.rb:103:inread_e_o_c_d'
/home/saulius/.rvm/gems/ruby-2.1.3/gems/rubyzip-1.1.6/lib/zip/central_directory.rb:136:in read_from_stream' /home/saulius/.rvm/gems/ruby-2.1.3/gems/rubyzip-1.1.6/lib/zip/file.rb:77:inblock in initialize'
/home/saulius/.rvm/gems/ruby-2.1.3/gems/rubyzip-1.1.6/lib/zip/file.rb:76:in open' /home/saulius/.rvm/gems/ruby-2.1.3/gems/rubyzip-1.1.6/lib/zip/file.rb:76:ininitialize'
/home/saulius/.rvm/gems/ruby-2.1.3/gems/rubyzip-1.1.6/lib/zip/file.rb:96:in new' /home/saulius/.rvm/gems/ruby-2.1.3/gems/rubyzip-1.1.6/lib/zip/file.rb:96:inopen'
/home/saulius/.rvm/gems/ruby-2.1.3/gems/usda-nutrient-database-1.1.0/lib/usda_nutrient_database/import/downloader.rb:42:in unzip' /home/saulius/.rvm/gems/ruby-2.1.3/gems/usda-nutrient-database-1.1.0/lib/usda_nutrient_database/import/downloader.rb:20:indownload_and_unzip'
/home/saulius/.rvm/gems/ruby-2.1.3/gems/usda-nutrient-database-1.1.0/lib/usda_nutrient_database/importer.rb:11:in import' /home/saulius/.rvm/gems/ruby-2.1.3/gems/usda-nutrient-database-1.1.0/lib/usda_nutrient_database/tasks/usda_nutrient_database.rake:4:inblock (2 levels) in <top (required)>'
/home/saulius/.rvm/gems/ruby-2.1.3/gems/rake-10.3.2/lib/rake/task.rb:240:in call' /home/saulius/.rvm/gems/ruby-2.1.3/gems/rake-10.3.2/lib/rake/task.rb:240:inblock in execute'
/home/saulius/.rvm/gems/ruby-2.1.3/gems/rake-10.3.2/lib/rake/task.rb:235:in each' /home/saulius/.rvm/gems/ruby-2.1.3/gems/rake-10.3.2/lib/rake/task.rb:235:inexecute'
/home/saulius/.rvm/gems/ruby-2.1.3/gems/rake-10.3.2/lib/rake/task.rb:179:in block in invoke_with_call_chain' /home/saulius/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/monitor.rb:211:inmon_synchronize'
/home/saulius/.rvm/gems/ruby-2.1.3/gems/rake-10.3.2/lib/rake/task.rb:172:in invoke_with_call_chain' /home/saulius/.rvm/gems/ruby-2.1.3/gems/rake-10.3.2/lib/rake/task.rb:165:ininvoke'
/home/saulius/.rvm/gems/ruby-2.1.3/gems/rake-10.3.2/lib/rake/application.rb:150:in invoke_task' /home/saulius/.rvm/gems/ruby-2.1.3/gems/rake-10.3.2/lib/rake/application.rb:106:inblock (2 levels) in top_level'
/home/saulius/.rvm/gems/ruby-2.1.3/gems/rake-10.3.2/lib/rake/application.rb:106:in each' /home/saulius/.rvm/gems/ruby-2.1.3/gems/rake-10.3.2/lib/rake/application.rb:106:inblock in top_level'
/home/saulius/.rvm/gems/ruby-2.1.3/gems/rake-10.3.2/lib/rake/application.rb:115:in run_with_threads' /home/saulius/.rvm/gems/ruby-2.1.3/gems/rake-10.3.2/lib/rake/application.rb:100:intop_level'
/home/saulius/.rvm/gems/ruby-2.1.3/gems/rake-10.3.2/lib/rake/application.rb:78:in block in run' /home/saulius/.rvm/gems/ruby-2.1.3/gems/rake-10.3.2/lib/rake/application.rb:176:instandard_exception_handling'
/home/saulius/.rvm/gems/ruby-2.1.3/gems/rake-10.3.2/lib/rake/application.rb:75:in run' /home/saulius/.rvm/gems/ruby-2.1.3/gems/rake-10.3.2/bin/rake:33:in<top (required)>'
/home/saulius/.rvm/gems/ruby-2.1.3/bin/rake:23:in load' /home/saulius/.rvm/gems/ruby-2.1.3/bin/rake:23:in<main>'
/home/saulius/.rvm/gems/ruby-2.1.3/bin/ruby_executable_hooks:15:in eval' /home/saulius/.rvm/gems/ruby-2.1.3/bin/ruby_executable_hooks:15:in<main>'
nope
Matt Beedle
@mattbeedle
Oct 20 2014 11:56
ok, that’s annoying.
maybe you could create an issue on github and I’ll try to look into it as soon as possible
shouldn’t be hard to fix I guess
this file exists
hmz never mind i will try to figure out what's wrong and if i manage will leave u a note here
ta ;)
Matt Beedle
@mattbeedle
Oct 20 2014 11:58
so the download location is correct then?
Morkevicius Saulius
@morkevicius
Oct 20 2014 11:59
yup
something wrong with the zip file itself or something else
Matt Beedle
@mattbeedle
Oct 20 2014 11:59
ok, I’ll also take a look when I can. Unfortunately just RVM imploded after installing Yosemite so it will take me a little while to get up and running again
Morkevicius Saulius
@morkevicius
Oct 20 2014 12:02
shoudnt be much of the hassle to get it up and running, i believe i will manage to figure out what's wrong with;) will let u know what i can find out
Morkevicius Saulius
@morkevicius
Oct 20 2014 12:49
so