Giter Club home page Giter Club logo

trackerific's Issues

usps not working

Trackerific::Services::USPS.track("EJ958083578US")
Trackerific::Error: -2147219093The 'version' attribute is required at this location.

Services not Loaded or Registered

Hello Travis,

I was very glad to find your gem, but do you have any ideas why I might be getting this:

/Users/rahmal/.rvm/gems/ruby-1.9.3-p448@boxes/gems/trackerific-0.6.2/lib/trackerific/configuration.rb:17:in `method_missing': NoMethodError (NoMethodError)
    from /Users/rahmal/Projects/Boxes/api/config/initializers/trackerific.rb:4:in `block in <top (required)>'
    from /Users/rahmal/.rvm/gems/ruby-1.9.3-p448@boxes/gems/trackerific-0.6.2/lib/trackerific/configuration.rb:46:in `configure'
    from /Users/rahmal/Projects/Boxes/api/config/initializers/trackerific.rb:3:in `<top (required)>'
    from /Users/rahmal/.rvm/gems/ruby-1.9.3-p448@boxes/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:245:in `load'
    from /Users/rahmal/.rvm/gems/ruby-1.9.3-p448@boxes/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:245:in `block in load'

This issue seems to be that none of the services are getting registered. But I have credentials for all of them. After looking a bit deeper, it seemed that the services module was not getting loaded at all. It throws an error when I try to checking if Trackerific::Services is in the load path. Any help you could offer would be appreciated.

find_by_package_id not recognizing FedEx

Trackerific::Services.find_by_package_id("123456789012")
=> []

USPS and UPS appear to be working fine:
irb(main):006:0> Trackerific::Services.find_by_package_id("1Z12345E0291980793")
=> [Trackerific::Services::UPS]
irb(main):007:0> Trackerific::Services.find_by_package_id("EJ958083578US")
=> [Trackerific::Services::USPS]

Does USPS require a password?

I just signed up for their dev account and they gave me both a user_id and a password.

Looks like in the docs the gem doesn't require a pass but running Trackerific::Services.find_by_package_id(params[:tracking_number]) is returning nil

Any ideas?

** Resolved **
I tried to bump to version 0.7.5 but it looks like it's conflicting with Nokogiri and needs a version less than 1.6.0. Is that correct? Upon further investigation, and trying to use @superjustin's version, this seems to be a main problem as well. Using Rails 4 and Ruby 2, I have to use a version of Nokogiri less than 1.6 to run Trackerific 0.7.5

This last part seemed to be a Mavericks problem. I had to do this: http://jasdeep.ca/2013/10/installing-nokogiri-fails-os-x-mavericks/ to update my command line tools for the new version of OS X, then install Nokogiri 1.5.10, then it let me install Trackerific 0.7.5

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.