Comments (4)
thor options are shown in short form/long form .. you have used BOTH -i and --input .. you only need one of them
from datashift_spree.
same for the others either -m or --model not both
from datashift_spree.
I tried 1 row data, but failed.
Report summary as follows:
Processing Column 0
Current value to assign : Huan Lian Su Coated Tablets
Failed to process row [1]
["C:/inetpub/vhosts/99chinesemedicine.com/httpdocs/App_Data/Ruby22-x64/lib/ruby/gems/2.2.0/gems/datashift-0.15.0/lib/datashift/populator.rb:125:in assign'", "C:/inetpub/vhosts/99chinesemedicine.com/httpdocs/App_Data/Ruby22-x64/lib/ruby/gems/2.2.0/gems/datashift-0.15.0/lib/loaders/loader_base.rb:342:in
process'", "C:/inetpub/vhosts/99chinesemedicine.com/httpdocs/App_Data/Ruby22-x64/lib/ruby/gems/2.2.0/gems/datashift-0.15.0/lib/loaders/excel_loader.rb:125:in block (3 levels) in perform_excel_load'", "C:/inetpub/vhosts/99chinesemedicine.com/httpdocs/App_Data/Ruby22-x64/lib/ruby/gems/2.2.0/gems/datashift-0.15.0/lib/loaders/excel_loader.rb:113:in
each'", "C:/inetpub/vhosts/99chinesemedicine.com/httpdocs/App_Data/Ruby22-x64/lib/ruby/gems/2.2.0/gems/datashift-0.15.0/lib/loaders/excel_loader.rb:113:in block (2 levels) in perform_excel_load'", "C:/inetpub/vhosts/99chinesemedicine.com/httpdocs/App_Data/Ruby22-x64/lib/ruby/gems/2.2.0/gems/spreadsheet-1.0.5/lib/spreadsheet/worksheet.rb:147:in
block in each'", "C:/inetpub/vhosts/99chinesemedicine.com/httpdocs/App_Data/Ruby22-x64/lib/ruby/gems/2.2.0/gems/spreadsheet-1.0.5/lib/spreadsheet/worksheet.rb:146:in upto'", "C:/inetpub/vhosts/99chinesemedicine.com/httpdocs/App_Data/Ruby22-x64/lib/ruby/gems/2.2.0/gems/spreadsheet-1.0.5/lib/spreadsheet/worksheet.rb:146:in
each'", "C:/inetpub/vhosts/99chinesemedicine.com/httpdocs/App_Data/Ruby22-x64/lib/ruby/gems/2.2.0/gems/spreadsheet-1.0.5/lib/spreadsheet/excel/worksheet.rb:47:in each'", "C:/inetpub/vhosts/99chinesemedicine.com/httpdocs/App_Data/Ruby22-x64/lib/ruby/gems/2.2.0/gems/datashift-0.15.0/lib/loaders/excel_loader.rb:84:in
each_with_index'", "C:/inetpub/vhosts/99chinesemedicine.com/httpdocs/App_Data/Ruby22-x64/lib/ruby/gems/2.2.0/gems/datashift-0.15.0/lib/loaders/excel_loader.rb:84:in block in perform_excel_load'", "C:/inetpub/vhosts/99chinesemedicine.com/httpdocs/App_Data/Ruby22-x64/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in
block in transaction'", "C:/inetpub/vhosts/99chinesemedicine.com/httpdocs/App_Data/Ruby22-x64/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/abstract/transaction.rb:184:in within_new_transaction'", "C:/inetpub/vhosts/99chinesemedicine.com/httpdocs/App_Data/Ruby22-x64/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in
transaction'", "C:/inetpub/vhosts/99chinesemedicine.com/httpdocs/App_Data/Ruby22-x64/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/transactions.rb:220:in transaction'", "C:/inetpub/vhosts/99chinesemedicine.com/httpdocs/App_Data/Ruby22-x64/lib/ruby/gems/2.2.0/gems/datashift-0.15.0/lib/loaders/excel_loader.rb:82:in
perform_excel_load'", "C:/inetpub/vhosts/99chinesemedicine.com/httpdocs/App_Data/Ruby22-x64/lib/ruby/gems/2.2.0/gems/datashift-0.15.0/lib/loaders/excel_loader.rb:204:in perform_load'", "C:/inetpub/vhosts/99chinesemedicine.com/httpdocs/App_Data/Ruby22-x64/lib/ruby/gems/2.2.0/gems/datashift-0.15.0/lib/thor/import.thor:79:in
excel'", "C:/inetpub/vhosts/99chinesemedicine.com/httpdocs/App_Data/Ruby22-x64/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/command.rb:27:in run'", "C:/inetpub/vhosts/99chinesemedicine.com/httpdocs/App_Data/Ruby22-x64/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in
invoke_command'", "C:/inetpub/vhosts/99chinesemedicine.com/httpdocs/App_Data/Ruby22-x64/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor.rb:359:in dispatch'", "C:/inetpub/vhosts/99chinesemedicine.com/httpdocs/App_Data/Ruby22-x64/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/base.rb:440:in
start'", "C:/inetpub/vhosts/99chinesemedicine.com/httpdocs/App_Data/Ruby22-x64/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/runner.rb:36:in method_missing'", "C:/inetpub/vhosts/99chinesemedicine.com/httpdocs/App_Data/Ruby22-x64/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/command.rb:29:in
run'", "C:/inetpub/vhosts/99chinesemedicine.com/httpdocs/App_Data/Ruby22-x64/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/command.rb:126:in run'", "C:/inetpub/vhosts/99chinesemedicine.com/httpdocs/App_Data/Ruby22-x64/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in
invoke_command'", "C:/inetpub/vhosts/99chinesemedicine.com/httpdocs/App_Data/Ruby22-x64/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor.rb:359:in dispatch'", "C:/inetpub/vhosts/99chinesemedicine.com/httpdocs/App_Data/Ruby22-x64/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/base.rb:440:in
start'", "C:/inetpub/vhosts/99chinesemedicine.com/httpdocs/App_Data/Ruby22-x64/lib/ruby/gems/2.2.0/gems/thor-0.19.1/bin/thor:6:in <top (required)>'", "C:/inetpub/vhosts/99chinesemedicine.com/httpdocs/App_Data/Ruby22-x64/bin/thor:23:in
load'", "C:/inetpub/vhosts/99chinesemedicine.com/httpdocs/App_Data/Ruby22-x64/bin/thor:23:in `
from datashift_spree.
sorry this is an open source project, I do not have the time to provide support for individual data issues. I would suggest you fork the project and try to debug the code. Could maybe be a data format issue, as something being thrown from the spreadsheet gem .... e.g C:/inetpub/vhosts/99chinesemedicine.com/httpdocs/App_Data/Ruby22-x64/lib/ruby/gems/2.2.0/gems/spreadsheet-1.0.5/lib/spreadsheet/worksheet.rb
from datashift_spree.
Related Issues (20)
- Spree verison 3.0.4 HOT 7
- Feature: spree_related_products support HOT 2
- No Thor commands available HOT 5
- #<NoMethodError: undefined method `stock_location_name=' for #<Spree::Product:0x00000007ecd9a0>> HOT 2
- change count_on_hand in templates to stock_items
- master price is reset if using variants
- Product assigned to every parent taxonomy
- thor datashift_spree:load:products fails to render values from xls formulas HOT 1
- Paperclip not working for spree 3? HOT 6
- Error to upload images using datashift_spree:load:images HOT 3
- how to upload order and users HOT 1
- Products price get a trailing zero in import
- Failed to import supplier_id (spree_drop_ship) HOT 6
- uninitialized constant DataShift::CsvLoading (NameError) HOT 3
- can't attach images on product update HOT 5
- ERROR: "thor csv" was called with arguments ["-i,", "-m,"] Usage: "thor datashift:import:csv -i, --input=INPUT -m, --model=MODEL" HOT 9
- uninitialized constant DataShift::Spree HOT 1
- Failed to import Products. Error: undefined method `type_cast_from_database' HOT 10
- Variants are not updated with variant SKU
- how do i generate compatible csv files HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datashift_spree.