Coder Social home page Coder Social logo

spree_importer's People

Contributors

mincedmit avatar weeksie avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

spree_importer's Issues

Imports 1st row only - Rails 4 - Spree 2.1

Hi,

I tested Your gem with Rails 4 and Spree 2.1 stable. At first I would like to say that it was a brilliant idea to use Google Spreadsheets.
I set up a small, 10 row file with the following columns:
name
price
description

I tried to import it from both google and from csv, but it imports the first row only.

The only error message I get is this:
ActionController::RoutingError (No route matches [GET] "/admin/assets/spritemap.png")

Any idea why this happens?

Errors while running spree_importer:install command

bundle exec rails g spree_importer:install
      append  db/seeds.rb
      append  app/assets/javascripts/store/all.js
/Users/aditya/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/actions/inject_into_file.rb:98:in `binread': No such file or directory @ rb_sysopen - /Users/aditya/Practice/sunray/dlr/app/assets/javascripts/store/all.js (Errno::ENOENT)
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/actions/inject_into_file.rb:98:in `replace!'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/actions/inject_into_file.rb:59:in `invoke!'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/actions.rb:94:in `action'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/actions/inject_into_file.rb:30:in `insert_into_file'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/actions/file_manipulation.rb:180:in `append_to_file'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/bundler/gems/spree_importer-5c7c8af2d4c7/lib/generators/spree_importer/install/install_generator.rb:13:in `add_javascripts'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `block in invoke_all'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `each'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `map'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `invoke_all'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/group.rb:232:in `dispatch'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/railties-4.2.1/lib/rails/generators.rb:157:in `invoke'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/railties-4.2.1/lib/rails/commands/generate.rb:13:in `<top (required)>'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `block in require'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:240:in `load_dependency'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/railties-4.2.1/lib/rails/commands/commands_tasks.rb:123:in `require_command!'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/railties-4.2.1/lib/rails/commands/commands_tasks.rb:130:in `generate_or_destroy'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/railties-4.2.1/lib/rails/commands/commands_tasks.rb:50:in `generate'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/railties-4.2.1/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/railties-4.2.1/lib/rails/commands.rb:17:in `<top (required)>'
    from bin/rails:8:in `require'
    from bin/rails:8:in `<main>

Unknow action :The action 'index' could not be found for Spree::Admin::ImportSourceFilesController

I have installed the gem successfully . I can see the IMPORT option in the product tab .But when i click on the import getting the error The action 'index' could not be found for Spree::Admin::ImportSourceFilesController.

I am using the rails 4.1.8 with spree 2-4-stable. I try to add the the index action inside controller but then getting template missing error .So how can access the import functionality.

redirect uri mismatch

Could you please how google auth is working?
Do I need to register my application on google console and get the id and secret and keep it somewhere in the application. What should be the redirect uri and javascript origin?

new in this

I hope this is not stupid question. I have install the gem. but how do I used this gem? I cannot find any documentation what is the command how to import products? Any ideas? Thanks.

including taxons with uploads

I can't figure out how to specify the taxons that pertain to products which are listed in csv file which is uploaded. Any help would be greatly appreciated.

Template is missing

Template is missing
Missing template spree/admin/import_source_files/index, spree/admin/resource/index, spree/admin/base/index, spree/base/index, application/index with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby, :jbuilder, :coffee, :rabl], :versions=>[:v1]}. Searched in: * "d:/Projects/webstore/app/views" * "c:/Ruby200/lib/ruby/gems/2.0.0/bundler/gems/spree_importer-432b3b13d5ab/app/views" * "c:/Ruby200/lib/ruby/gems/2.0.0/bundler/gems/spree_hub_connector-1cea0a174fc9/app/views" * "c:/Ruby200/lib/ruby/gems/2.0.0/bundler/gems/better_spree_paypal_express-104dda73d6f1/app/views" * "c:/Ruby200/lib/ruby/gems/2.0.0/bundler/gems/spree_social-357d58f69df1/app/views" * "c:/Ruby200/lib/ruby/gems/2.0.0/bundler/gems/spree_marketplace-a0ab2b6006ba/app/views" * "c:/Ruby200/lib/ruby/gems/2.0.0/bundler/gems/spree_contact_us-ec742ff30966/app/views" * "c:/Ruby200/lib/ruby/gems/2.0.0/bundler/gems/spree_static_content-5966c16c9ef1/app/views" * "c:/Ruby200/lib/ruby/gems/2.0.0/bundler/gems/spree_drop_ship-a264fd792586/app/views" * "c:/Ruby200/lib/ruby/gems/2.0.0/bundler/gems/spree_fancy-43b746cdeedd/app/views" * "c:/Ruby200/lib/ruby/gems/2.0.0/bundler/gems/spree_auth_devise-92b424f05c9f/app/views" * "c:/Ruby200/lib/ruby/gems/2.0.0/gems/devise-3.2.2/app/views" * "c:/Ruby200/lib/ruby/gems/2.0.0/bundler/gems/spree_gateway-04c51e6bd24e/app/views" * "c:/Ruby200/lib/ruby/gems/2.0.0/bundler/gems/spree-119e859d3daa/frontend/app/views" * "c:/Ruby200/lib/ruby/gems/2.0.0/bundler/gems/spree-119e859d3daa/backend/app/views" * "c:/Ruby200/lib/ruby/gems/2.0.0/bundler/gems/spree-119e859d3daa/api/app/views" * "c:/Ruby200/lib/ruby/gems/2.0.0/bundler/gems/spree-119e859d3daa/core/app/views" * "c:/Ruby200/lib/ruby/gems/2.0.0/gems/kaminari-0.15.1/app/views"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.