Skip to content
This repository has been archived by the owner on May 12, 2022. It is now read-only.

Track fails #4

Open
zamsler opened this issue Nov 16, 2016 · 2 comments
Open

Track fails #4

zamsler opened this issue Nov 16, 2016 · 2 comments

Comments

@zamsler
Copy link

zamsler commented Nov 16, 2016

OSX 10.12.1

gem -v
2.0.14.1

dji track -o XXXXXXXXXXXX -p XXXX
/Library/Ruby/Gems/2.0.0/gems/dji-0.7.4/lib/dji/order_tracking.rb:78:in tracking_details': undefined method text' for nil:NilClass (NoMethodError)
from /Library/Ruby/Gems/2.0.0/gems/dji-0.7.4/lib/dji/commands/track/track_command.rb:45:in track' from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/command.rb:27:in run'
from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in invoke_command' from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor.rb:359:in dispatch'
from /Library/Ruby/Gems/2.0.0/gems/dji-0.7.4/lib/dji/command/base.rb:33:in perform' from /Library/Ruby/Gems/2.0.0/gems/dji-0.7.4/lib/dji/command.rb:31:in invoke'
from /Library/Ruby/Gems/2.0.0/gems/dji-0.7.4/exe/dji:16:in <top (required)>' from /usr/local/bin/dji:23:in load'
from /usr/local/bin/dji:23:in `

'

fedex works

% dji fedex -c us -p 89074

FedEx Packages for Country us, Postal Code 89074 as of 2016-11-15 17:34:15 -0800

PACKAGE 1

Origin : SHENZHEN, CN, CN
Destination : HENDERSON, NV, US
Tendered : 2016-11-08 11:41:00 UTC
Picked Up : 2016-11-08 12:30:00 UTC
Shipped : 2016-11-09 06:00:00 UTC
Delivered : 2016-11-10 17:32:00 UTC
Dimensions : 11x11x5 in.
Total Weight : 4.85 lbs (2.2 kgs)
Status : Delivered

@bassrock
Copy link

I am seeing the same issue on ruby 2.3.3

@kevinelliott
Copy link
Owner

Yes, unfortunately DJI broke this some time ago with the introduction of their captcha on the forms. Unfortunately, they have not responded back to my emails about finding an official API to interact with. You might try to contact them as well if you want to help re-enable this.

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

No branches or pull requests

3 participants