-
Notifications
You must be signed in to change notification settings - Fork 92
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
Problem With Ebay Client With Rails3 (unknown axis: ConvertedMaxBid) #10
Comments
I am having the same problem. Any luck resolving the issue? |
Me too. |
Ah me .toooo |
this is my solution : |
only xml-mapping-0.8.1 works 0.9.1 is not |
I just created a fork that supports Rails 3 and Ruby 1.9.2. The problem I was encountering was that the RequesterCredentials were never being included in any of the requests. It worked fine in Ruby 1.8.7, but not in 1.9.2. The problem stemmed from this line /request/abstract.rb: object_node :requester_credentials, 'RequesterCredentials', :class => XMLRequesterCredentials, :optional => true For reasons I don't fully understand, under Ruby 1.9.2, XML-Mapping isn't calling the requester_credentials method in Base.rb. So I moved it to Abstract.rb and it's working fine for me. I'm guessing the issue is with the xml-mapping gem under 1.9.2, so my "fix" is just a hack. YMMV. My fork can be found at https://github.com/Kynlyn/ebay |
/var/lib/gems/1.8/gems/xml-mapping-0.9.1/lib/xml/../xml/xxpath.rb:45:in
initialize': XPath (/ConvertedMaxBid/): unknown axis: ConvertedMaxBid (XML::XXPathError) from /var/lib/gems/1.8/gems/xml-mapping-0.9.1/lib/xml/../xml/xxpath.rb:32:in
each'from /var/lib/gems/1.8/gems/xml-mapping-0.9.1/lib/xml/../xml/xxpath.rb:32:in
initialize' from /ebay/lib/support/xml_mapping/money_node.rb:6:in
new'from /ebay/lib/support/xml_mapping/money_node.rb:6:in
initialize_impl' from /var/lib/gems/1.8/gems/xml-mapping-0.9.1/lib/xml/../xml/mapping/base.rb:641:in
initialize'from (eval):2:in
new' from (eval):2:in
money_node'from /ebay/lib/ebay/types/bidding_details.rb:15
from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:239:in
require' from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:239:in
require'from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:225:in
load_dependency' from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:591:in
new_constants_in'from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:225:in
load_dependency' from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:239:in
require'from /ebay/lib/ebay/types/item.rb:5
from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:239:in
require' from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:239:in
require'from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:225:in
load_dependency' from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:591:in
new_constants_in'from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:225:in
load_dependency' from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:239:in
require'from /ebay/lib/ebay/requests/add_fixed_price_item.rb:1
from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:239:in
require' from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:239:in
require'from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:225:in
load_dependency' from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:591:in
new_constants_in'from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:225:in
load_dependency' from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:239:in
require'from /ebay/lib/ebay/requests.rb:4
from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:239:in
require' from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:239:in
require'from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:225:in
load_dependency' from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:591:in
new_constants_in'from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:225:in
load_dependency' from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:239:in
require'from /ebay/lib/ebay/ebay.rb:30
from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:239:in
require' from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:239:in
require'from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:225:in
load_dependency' from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:591:in
new_constants_in'from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:225:in
load_dependency' from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:239:in
require'from /ebay/lib/ebay.rb:24
from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:239:in
require' from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:239:in
require'from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:225:in
load_dependency' from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:591:in
new_constants_in'from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:225:in
load_dependency' from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:239:in
require'from /ebay/init.rb:1
from /var/lib/gems/1.8/gems/railties-3.0.1/lib/rails/plugin.rb:81
from /var/lib/gems/1.8/gems/railties-3.0.1/lib/rails/initializable.rb:25:in
instance_exec' from /var/lib/gems/1.8/gems/railties-3.0.1/lib/rails/initializable.rb:25:in
run'from /var/lib/gems/1.8/gems/railties-3.0.1/lib/rails/initializable.rb:50:in
run_initializers' from /var/lib/gems/1.8/gems/railties-3.0.1/lib/rails/initializable.rb:49:in
each'from /var/lib/gems/1.8/gems/railties-3.0.1/lib/rails/initializable.rb:49:in
run_initializers' from /var/lib/gems/1.8/gems/railties-3.0.1/lib/rails/application.rb:134:in
initialize!'from /var/lib/gems/1.8/gems/railties-3.0.1/lib/rails/application.rb:77:in
send' from /var/lib/gems/1.8/gems/railties-3.0.1/lib/rails/application.rb:77:in
method_missing'from /config/environment.rb:19
from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:239:in
require' from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:239:in
require'from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:225:in
load_dependency' from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:591:in
new_constants_in'from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:225:in
load_dependency' from /var/lib/gems/1.8/gems/activesupport-3.0.1/lib/active_support/dependencies.rb:239:in
require'from /config.ru:3
from /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/builder.rb:46:in
instance_eval' from /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/builder.rb:46:in
initialize'from /config.ru:1:in `new'
from /config.ru:1
The text was updated successfully, but these errors were encountered: