be thor datashift_spree:load:products -d -v -i lib/assets/SpreeProductsWithImageUrls.xls
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
Verbose Mode
DataShift::Product starting upload from file: lib/assets/SpreeProductsWithImageUrls.xls
Loading from Excel file: lib/assets/SpreeProductsWithImageUrls.xls
["sku", "name", "price"]
["sku", "name", "shipping_category", "description", "available_on", "price", "cost_price", "product_properties", "taxons", "variants", "images"]
Dummy Run - Changes will be rolled back
Failed to process row [1] (["DEMO_001", "Demo Product for AR Loader", "default", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Categories>Paintings|Brand>WaterColour", "mime_type:jpeg,PDF,PNG", "https://raw.githubusercontent.com/autotelik/datashift_spree/master/spec/fixtures/images/DEMO_001_ror_bag.jpeg"])
#<NameError: undefined local variable or method `insistent_find_by_list' for #<DataShift::Populator:0x000000081b33e0>>
/home/user/.rvm/gems/ruby-2.1.1/bundler/gems/datashift-b423d76875ef/lib/datashift/populator.rb:165:in `insistent_belongs_to'
/home/user/.rvm/gems/ruby-2.1.1/bundler/gems/datashift-b423d76875ef/lib/datashift/populator.rb:88:in `assign'
/home/user/.rvm/gems/ruby-2.1.1/bundler/gems/datashift-b423d76875ef/lib/loaders/loader_base.rb:342:in `process'
/home/user/.rvm/gems/ruby-2.1.1/bundler/gems/datashift_spree-6c5290fa4fe9/lib/loaders/spree/product_loader.rb:178:in `process'
/home/user/.rvm/gems/ruby-2.1.1/bundler/gems/datashift-b423d76875ef/lib/loaders/excel_loader.rb:125:in `block (3 levels) in perform_excel_load'
/home/user/.rvm/gems/ruby-2.1.1/bundler/gems/datashift-b423d76875ef/lib/loaders/excel_loader.rb:113:in `each'
/home/user/.rvm/gems/ruby-2.1.1/bundler/gems/datashift-b423d76875ef/lib/loaders/excel_loader.rb:113:in `block (2 levels) in perform_excel_load'
/home/user/.rvm/gems/ruby-2.1.1/gems/spreadsheet-0.9.7/lib/spreadsheet/worksheet.rb:147:in `block in each'
/home/user/.rvm/gems/ruby-2.1.1/gems/spreadsheet-0.9.7/lib/spreadsheet/worksheet.rb:146:in `upto'
/home/user/.rvm/gems/ruby-2.1.1/gems/spreadsheet-0.9.7/lib/spreadsheet/worksheet.rb:146:in `each'
/home/user/.rvm/gems/ruby-2.1.1/gems/spreadsheet-0.9.7/lib/spreadsheet/excel/worksheet.rb:47:in `each'
/home/user/.rvm/gems/ruby-2.1.1/bundler/gems/datashift-b423d76875ef/lib/loaders/excel_loader.rb:84:in `each_with_index'
/home/user/.rvm/gems/ruby-2.1.1/bundler/gems/datashift-b423d76875ef/lib/loaders/excel_loader.rb:84:in `block in perform_excel_load'
/home/user/.rvm/gems/ruby-2.1.1/gems/activerecord-4.0.4/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction'
/home/user/.rvm/gems/ruby-2.1.1/gems/activerecord-4.0.4/lib/active_record/connection_adapters/abstract/database_statements.rb:221:in `within_new_transaction'
/home/user/.rvm/gems/ruby-2.1.1/gems/activerecord-4.0.4/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
/home/user/.rvm/gems/ruby-2.1.1/gems/activerecord-4.0.4/lib/active_record/transactions.rb:209:in `transaction'
/home/user/.rvm/gems/ruby-2.1.1/bundler/gems/datashift-b423d76875ef/lib/loaders/excel_loader.rb:82:in `perform_excel_load'
/home/user/.rvm/gems/ruby-2.1.1/bundler/gems/datashift-b423d76875ef/lib/loaders/loader_base.rb:114:in `perform_load'
/home/user/.rvm/gems/ruby-2.1.1/bundler/gems/datashift_spree-6c5290fa4fe9/lib/loaders/spree/spree_base_loader.rb:54:in `perform_load'
/home/user/.rvm/gems/ruby-2.1.1/bundler/gems/datashift_spree-6c5290fa4fe9/lib/loaders/spree/product_loader.rb:57:in `perform_load'
/home/user/.rvm/gems/ruby-2.1.1/bundler/gems/datashift_spree-6c5290fa4fe9/lib/thor/spree/products_images.thor:66:in `products'
/home/user/.rvm/gems/ruby-2.1.1/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
/home/user/.rvm/gems/ruby-2.1.1/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
/home/user/.rvm/gems/ruby-2.1.1/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
/home/user/.rvm/gems/ruby-2.1.1/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
/home/user/.rvm/gems/ruby-2.1.1/gems/thor-0.19.1/lib/thor/runner.rb:36:in `method_missing'
/home/user/.rvm/gems/ruby-2.1.1/gems/thor-0.19.1/lib/thor/command.rb:29:in `run'
/home/user/.rvm/gems/ruby-2.1.1/gems/thor-0.19.1/lib/thor/command.rb:126:in `run'
/home/user/.rvm/gems/ruby-2.1.1/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
/home/user/.rvm/gems/ruby-2.1.1/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
/home/user/.rvm/gems/ruby-2.1.1/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
/home/user/.rvm/gems/ruby-2.1.1/gems/thor-0.19.1/bin/thor:6:in `<top (required)>'
/home/user/.rvm/gems/ruby-2.1.1/bin/thor:23:in `load'
/home/user/.rvm/gems/ruby-2.1.1/bin/thor:23:in `<main>'
/home/user/.rvm/gems/ruby-2.1.1/bin/ruby_executable_hooks:15:in `eval'
/home/user/.rvm/gems/ruby-2.1.1/bin/ruby_executable_hooks:15:in `<main>'
Excel loading stage complete - Dummy run so Rolling Back.
Processing Summary Report
>>>>>>>>>>>>>>>>>>>>>>>>>
Processed total of 1 entry
0 objects were succesfully processed.
WARNING : Check logs : 1 rows contained errors and 1 records NOT created.