Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

errors trying to convert and use help #2

Open
angelacode opened this issue Jun 11, 2015 · 2 comments
Open

errors trying to convert and use help #2

angelacode opened this issue Jun 11, 2015 · 2 comments

Comments

@angelacode
Copy link

json2csv help convert  
=> NameError: undefined local variable or method `convert' for main:Object

json2csv convert errors.json
=> NameError: undefined local variable or method `errors' for main:Object
@angelacode
Copy link
Author

Here is the full stack trace:

NoMethodError: undefined method `convert' for main:Object from (irb):4 from /usr/local/opt/rbenv/versions/2.1.5/bin/irb:11:in`' irb(main):005:0> puts caller /usr/local/opt/rbenv/versions/2.1.5/lib/ruby/2.1.0/irb/workspace.rb:86:in `eval' /usr/local/opt/rbenv/versions/2.1.5/lib/ruby/2.1.0/irb/workspace.rb:86:in`evaluate' /usr/local/opt/rbenv/versions/2.1.5/lib/ruby/2.1.0/irb/context.rb:380:in `evaluate' /usr/local/opt/rbenv/versions/2.1.5/lib/ruby/2.1.0/irb.rb:492:in`block (2 levels) in eval_input' /usr/local/opt/rbenv/versions/2.1.5/lib/ruby/2.1.0/irb.rb:624:in `signal_status' /usr/local/opt/rbenv/versions/2.1.5/lib/ruby/2.1.0/irb.rb:489:in`block in eval_input' /usr/local/opt/rbenv/versions/2.1.5/lib/ruby/2.1.0/irb/ruby-lex.rb:247:in `block (2 levels) in each_top_level_statement' /usr/local/opt/rbenv/versions/2.1.5/lib/ruby/2.1.0/irb/ruby-lex.rb:233:in`loop' /usr/local/opt/rbenv/versions/2.1.5/lib/ruby/2.1.0/irb/ruby-lex.rb:233:in `block in each_top_level_statement' /usr/local/opt/rbenv/versions/2.1.5/lib/ruby/2.1.0/irb/ruby-lex.rb:232:in`catch' /usr/local/opt/rbenv/versions/2.1.5/lib/ruby/2.1.0/irb/ruby-lex.rb:232:in `each_top_level_statement' /usr/local/opt/rbenv/versions/2.1.5/lib/ruby/2.1.0/irb.rb:488:in`eval_input' /usr/local/opt/rbenv/versions/2.1.5/lib/ruby/2.1.0/irb.rb:397:in `block in start' /usr/local/opt/rbenv/versions/2.1.5/lib/ruby/2.1.0/irb.rb:396:in`catch' /usr/local/opt/rbenv/versions/2.1.5/lib/ruby/2.1.0/irb.rb:396:in `start' /usr/local/opt/rbenv/versions/2.1.5/bin/irb:11:in`' => nil

@korczis
Copy link
Owner

korczis commented Jun 20, 2015

Can you provide sample data file, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants