Giter VIP home page Giter VIP logo

Comments (6)

asfalcone avatar asfalcone commented on June 16, 2024

@dg76 Hi, we just released a new version of supply0.4.0 that uses a new version of the google api library. Could you update and try again? If you still run into this error can you paste the full command you're running as well as the all of the output? Thanks!

from supply.

dg76 avatar dg76 commented on June 16, 2024

The problem still occurs. I have removed some sensitive data from the command but aside from that here it is:

supply --apk build/outputs/apk/mybetarelease.apk --track beta -i myemailaccount -p mypackagename --skip_upload_metadata --skip_upload_images --skip_upload_screenshots
[11:38:13]: DEPRECATED --issuer OPTION. Use --json_key instead
[11:38:13]: DEPRECATED --key OPTION. Use --json_key instead

+-------------------------+------------------------------------------------+
|                         Summary for supply 0.4.0                         |
+-------------------------+------------------------------------------------+
| package_name            | mypackagename                                  |
| track                   | beta                                           |
| rollout                 | 1.0                                            |
| metadata_path           | ./metadata                                     |
| key                     | Google Play Android Developer.p12              |
| apk                     | build/outputs/apk/mybetarelease.apk            |
| skip_upload_apk         | false                                          |
| skip_upload_metadata    | true                                           |
| skip_upload_images      | true                                           |
| skip_upload_screenshots | true                                           |
+-------------------------+------------------------------------------------+

[11:38:13]: Fetching a new access token from Google...
[11:38:18]: Preparing apk at path 'build/outputs/apk/mybetarelease.apk' for upload...
[11:38:35]: Updating track 'beta'...
[11:38:36]: Uploading all changes to Google Play...
/Library/Ruby/Gems/2.0.0/gems/google-api-client-0.9.2/lib/google/apis/core/http_command.rb:199:in `check_status': Unauthorized (Google::Apis::AuthorizationError)
    from /Library/Ruby/Gems/2.0.0/gems/google-api-client-0.9.2/lib/google/apis/core/api_command.rb:105:in `check_status'
    from /Library/Ruby/Gems/2.0.0/gems/google-api-client-0.9.2/lib/google/apis/core/http_command.rb:170:in `process_response'
    from /Library/Ruby/Gems/2.0.0/gems/google-api-client-0.9.2/lib/google/apis/core/http_command.rb:275:in `execute_once'
    from /Library/Ruby/Gems/2.0.0/gems/google-api-client-0.9.2/lib/google/apis/core/http_command.rb:107:in `block (2 levels) in execute'
    from /Library/Ruby/Gems/2.0.0/gems/retriable-2.1.0/lib/retriable.rb:54:in `block in retriable'
    from /Library/Ruby/Gems/2.0.0/gems/retriable-2.1.0/lib/retriable.rb:48:in `times'
    from /Library/Ruby/Gems/2.0.0/gems/retriable-2.1.0/lib/retriable.rb:48:in `retriable'
    from /Library/Ruby/Gems/2.0.0/gems/google-api-client-0.9.2/lib/google/apis/core/http_command.rb:104:in `block in execute'
    from /Library/Ruby/Gems/2.0.0/gems/retriable-2.1.0/lib/retriable.rb:54:in `block in retriable'
    from /Library/Ruby/Gems/2.0.0/gems/retriable-2.1.0/lib/retriable.rb:48:in `times'
    from /Library/Ruby/Gems/2.0.0/gems/retriable-2.1.0/lib/retriable.rb:48:in `retriable'
    from /Library/Ruby/Gems/2.0.0/gems/google-api-client-0.9.2/lib/google/apis/core/http_command.rb:96:in `execute'
    from /Library/Ruby/Gems/2.0.0/gems/google-api-client-0.9.2/lib/google/apis/core/base_service.rb:267:in `execute_or_queue_command'
    from /Library/Ruby/Gems/2.0.0/gems/google-api-client-0.9.2/generated/google/apis/androidpublisher_v2/service.rb:91:in `commit_edit'
    from /Library/Ruby/Gems/2.0.0/gems/supply-0.4.0/lib/supply/client.rb:89:in `commit_current_edit!'
    from /Library/Ruby/Gems/2.0.0/gems/supply-0.4.0/lib/supply/uploader.rb:28:in `perform_upload'
    from /Library/Ruby/Gems/2.0.0/gems/supply-0.4.0/lib/supply/commands_generator.rb:39:in `block (2 levels) in run'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:68:in `run!'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
    from /Library/Ruby/Gems/2.0.0/gems/supply-0.4.0/lib/supply/commands_generator.rb:57:in `run'
    from /Library/Ruby/Gems/2.0.0/gems/supply-0.4.0/lib/supply/commands_generator.rb:15:in `start'
    from /Library/Ruby/Gems/2.0.0/gems/supply-0.4.0/bin/supply:6:in `<top (required)>'
    from /usr/bin/supply:23:in `load'
    from /usr/bin/supply:23:in `<main>'

from supply.

lacostej avatar lacostej commented on June 16, 2024

@dg76 this is a bug on Google's side.

See https://wiki.jenkins-ci.org/display/JENKINS/Google+Play+Android+Publisher+Plugin#GooglePlayAndroidPublisherPlugin-Pleasenote

from supply.

dg76 avatar dg76 commented on June 16, 2024

Thank you for this link! So Google has acknowledged that bug 18 months ago but did not fix it yet. :-(

from supply.

lacostej avatar lacostej commented on June 16, 2024

We could improve the situation by adding some error_handling message in the case we are in production track

from supply.

fastlanebot avatar fastlanebot commented on June 16, 2024

This issue was migrated to fastlane/fastlane#3383. Please post all further comments there.

fastlane is now a mono repo, you can read more about the change in our blog post. All tools are now available in the fastlane main repo 🚀

from supply.

Related Issues (20)

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.