Closed murtyk closed 6 years ago
Hi,
What is the output of iTunes::Store::Transporter::Shell.default_path
?
Can you call the method after using the :print_stderr => true
option and paste the output here?
itms = iTunes::Store::Transporter.new(username: "myuser", password: "mypassword", :print_stderr => true)
I am running this on Mac
2.2.2 :003 > itms = iTunes::Store::Transporter.new(username: "myuser", password: "mypassword", :print_stderr => true)
=> #<ITunes::Store::Transporter::ITMSTransporter:0x007fe756901790 @defaults={:username=>"myuser", :password=>"mypassword"}, @config={:path=>nil, :print_stdout=>nil, :print_stderr=>true}>
2.2.2 :004 > iTunes::Store::Transporter::Shell.default_path
=> "/Applications/Xcode.app/Contents/Developer/../Applications/Application Loader.app/Contents/itms/bin/iTMSTransporter"
2.2.2 :005 >
Now that you've set :print_stderr => true
can you execute itms.providers
and add the output here?
When you run iTMSTransporter directly you're calling /usr/local/itms/bin/iTMSTransporter
. I suggest passing in that path to iTunes::Store::Transporter.new
and trying again:
itms = iTunes::Store::Transporter.new(username: "myuser", password: "mypassword", :print_stderr => true, :path => "/usr/local/itms/bin/iTMSTransporter")
Closing due to lack of info and my inability to reproduce this issue.
Feel free to reopen if you have more info.
When I run the provider command directly using itunes transporter, it works and lists the providers. Using gem's itms.provders is giving error