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

Error in initialize.rb #6

Open
Olli opened this issue Aug 1, 2010 · 8 comments
Open

Error in initialize.rb #6

Olli opened this issue Aug 1, 2010 · 8 comments

Comments

@Olli
Copy link

Olli commented Aug 1, 2010

For example i when i do:
item = Ebay::Types::Item.new(
:item_id => ARGV.first,
:description => 'Revised Body'
)
i got:

ArgumentError: wrong number of arguments (1 for 0)
from /usr/lib/ruby/gems/1.8/gems/xml-mapping-0.9.1/lib/xml/../xml/mapping/base.rb:170:in initialize' from /usr/lib/ruby/gems/1.8/gems/xml-mapping-0.9.1/lib/xml/../xml/mapping/base.rb:170:ininitialize'
from /usr/lib/ruby/gems/1.8/gems/ebayapi-0.12.0/lib/ebay/initializer.rb:4:in initialize' from (irb):3:innew'
from (irb):3

@paulcookie
Copy link

i have the same problem

I really need a solution or hint with this problem

@rtomsmith
Copy link

I get this error running in the console with Rails 2.3.4 and attempting a simple get_ebay_official_time()

@clemcke
Copy link

clemcke commented Sep 24, 2010

Any solution to this yet?

@paulcookie
Copy link

use rebay by ccollins ))

@sweetnickyc
Copy link

(I'm a novice but) when I switched from xml-mapping 0.9.1 to xml-mapping 0.8.1 it began working. Looks like ebayapi is looking for anything >= 0.8.1, but there's some sort of breaking change that happened. Good luck.

@clemcke
Copy link

clemcke commented Sep 28, 2010

Fantastic, that fixed it for me.

@kenmickles
Copy link

Yeah, 0.8.1 works for me. Did run into this with it, though: http://www.lamnk.com/blog/computer/xml-mapping-gem-has-permission-problem/

@marcojrfurtado
Copy link

Thanks kenmickles.

It still does not work with 0.9.1, but 0.8.1 is fine.

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

7 participants