Skip to content
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

[!] Cannot update languages - could not find an editable info - when trying to upload metadata #17321

Closed
4 tasks done
sergeykochanov opened this issue Sep 25, 2020 · 5 comments · Fixed by #21472
Closed
4 tasks done

Comments

@sergeykochanov
Copy link

New Issue Checklist

Issue Description

I'm trying to upload metadata (what's new texts) for my iOS app. Previously it worked fine, but now it throws the following error: "[!] Cannot update languages - could not find an editable info".
Probably it may be related to macOS app I have:
image

Command executed

fastlane deliver --force -u *** -a *** --skip_binary_upload true -i xxx.ipa -j ios -m /xxx/metadata --skip_screenshots true --phased_release

Complete output when running fastlane, including the stack trace and command used
2020-09-25T13:13:10.1736880Z [command]fastlane deliver --force -u xxx -a xxx --skip_binary_upload true -i xxx.ipa -j ios -m /Users/jenkins/TFS/deployment_agent/_work/r13/a/metadata --skip_screenshots true --phased_release
2020-09-25T13:13:13.4232470Z [16:13:13]: ‌Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile‌
2020-09-25T13:13:15.0449350Z [16:13:15]: Login to App Store Connect (***)
2020-09-25T13:13:17.8127640Z [16:13:17]: Login successful
2020-09-25T13:13:22.6996440Z 
2020-09-25T13:13:22.7070940Z +--------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
2020-09-25T13:13:22.7088420Z |                                                                                          deliver 2.160.0 Summary                                                                                           |
2020-09-25T13:13:22.7105130Z +--------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
2020-09-25T13:13:22.7121640Z | force                                | true                                                                                                                                                                |
2020-09-25T13:13:22.7135530Z | username                             | ***                                                                                                                                      |
2020-09-25T13:13:22.7152160Z | app_identifier                       | ***                                                                                                                                        |
2020-09-25T13:13:22.7168670Z | skip_binary_upload                   | true                                                                                                                                                                |
2020-09-25T13:13:22.7187270Z | ipa                                  | ***.ipa |
2020-09-25T13:13:22.7208880Z | platform                             | ios                                                                                                                                                                 |
2020-09-25T13:13:22.7229620Z | metadata_path                        | /Users/jenkins/TFS/deployment_agent/_work/r13/a/metadata                                                                                                            |
2020-09-25T13:13:22.7247480Z | skip_screenshots                     | true                                                                                                                                                                |
2020-09-25T13:13:22.7264490Z | phased_release                       | true                                                                                                                                                                |
2020-09-25T13:13:22.7279200Z | screenshots_path                     | ./screenshots                                                                                                                                                       |
2020-09-25T13:13:22.7293890Z | app_version                          | 2.35.0                                                                                                                                                              |
2020-09-25T13:13:22.7309000Z | edit_live                            | false                                                                                                                                                               |
2020-09-25T13:13:22.7323700Z | use_live_version                     | false                                                                                                                                                               |
2020-09-25T13:13:22.7336400Z | skip_metadata                        | false                                                                                                                                                               |
2020-09-25T13:13:22.7349020Z | skip_app_version_update              | false                                                                                                                                                               |
2020-09-25T13:13:22.7361610Z | overwrite_screenshots                | false                                                                                                                                                               |
2020-09-25T13:13:22.7374210Z | submit_for_review                    | false                                                                                                                                                               |
2020-09-25T13:13:22.7386820Z | reject_if_possible                   | false                                                                                                                                                               |
2020-09-25T13:13:22.7405230Z | automatic_release                    | false                                                                                                                                                               |
2020-09-25T13:13:22.7430450Z | reset_ratings                        | false                                                                                                                                                               |
2020-09-25T13:13:22.7450790Z | run_precheck_before_submit           | true                                                                                                                                                                |
2020-09-25T13:13:22.7468380Z | precheck_default_rule_level          | warn                                                                                                                                                                |
2020-09-25T13:13:22.7484640Z | ignore_language_directory_validation | false                                                                                                                                                               |
2020-09-25T13:13:22.7499430Z | precheck_include_in_app_purchases    | true                                                                                                                                                                |
2020-09-25T13:13:22.7518310Z +--------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
2020-09-25T13:13:22.7529740Z 
2020-09-25T13:13:22.7545490Z [16:13:22]: Making sure the latest version on App Store Connect matches '2.35.0'...
2020-09-25T13:13:23.3209700Z [16:13:23]: '2.35.0' is the latest version on App Store Connect
2020-09-25T13:13:23.3236320Z [16:13:23]: Loading '/Users/jenkins/TFS/deployment_agent/_work/r13/a/metadata/ar-SA/release_notes.txt'...
2020-09-25T13:13:23.3259980Z [16:13:23]: Loading '/Users/jenkins/TFS/deployment_agent/_work/r13/a/metadata/de-DE/release_notes.txt'...
2020-09-25T13:13:23.3282050Z [16:13:23]: Loading '/Users/jenkins/TFS/deployment_agent/_work/r13/a/metadata/en-AU/release_notes.txt'...
2020-09-25T13:13:23.3302820Z [16:13:23]: Loading '/Users/jenkins/TFS/deployment_agent/_work/r13/a/metadata/en-GB/release_notes.txt'...
2020-09-25T13:13:23.3322940Z [16:13:23]: Loading '/Users/jenkins/TFS/deployment_agent/_work/r13/a/metadata/en-US/release_notes.txt'...
2020-09-25T13:13:23.3342830Z [16:13:23]: Loading '/Users/jenkins/TFS/deployment_agent/_work/r13/a/metadata/es-ES/release_notes.txt'...
2020-09-25T13:13:23.3361980Z [16:13:23]: Loading '/Users/jenkins/TFS/deployment_agent/_work/r13/a/metadata/es-MX/release_notes.txt'...
2020-09-25T13:13:23.3380960Z [16:13:23]: Loading '/Users/jenkins/TFS/deployment_agent/_work/r13/a/metadata/fr-FR/release_notes.txt'...
2020-09-25T13:13:23.3399070Z [16:13:23]: Loading '/Users/jenkins/TFS/deployment_agent/_work/r13/a/metadata/id/release_notes.txt'...
2020-09-25T13:13:23.3417070Z [16:13:23]: Loading '/Users/jenkins/TFS/deployment_agent/_work/r13/a/metadata/it/release_notes.txt'...
2020-09-25T13:13:23.3435150Z [16:13:23]: Loading '/Users/jenkins/TFS/deployment_agent/_work/r13/a/metadata/ja/release_notes.txt'...
2020-09-25T13:13:23.3453160Z [16:13:23]: Loading '/Users/jenkins/TFS/deployment_agent/_work/r13/a/metadata/ko/release_notes.txt'...
2020-09-25T13:13:23.3471470Z [16:13:23]: Loading '/Users/jenkins/TFS/deployment_agent/_work/r13/a/metadata/pt-BR/release_notes.txt'...
2020-09-25T13:13:23.3489620Z [16:13:23]: Loading '/Users/jenkins/TFS/deployment_agent/_work/r13/a/metadata/ru/release_notes.txt'...
2020-09-25T13:13:23.3507660Z [16:13:23]: Loading '/Users/jenkins/TFS/deployment_agent/_work/r13/a/metadata/tr/release_notes.txt'...
2020-09-25T13:13:23.3525700Z [16:13:23]: Loading '/Users/jenkins/TFS/deployment_agent/_work/r13/a/metadata/uk/release_notes.txt'...
2020-09-25T13:13:25.4524020Z [16:13:25]: Cannot find edit app info... Retrying after 10 seconds (remaining: 4)
2020-09-25T13:13:36.3000560Z [16:13:36]: Cannot find edit app info... Retrying after 10 seconds (remaining: 3)
2020-09-25T13:13:47.3957290Z [16:13:47]: Cannot find edit app info... Retrying after 10 seconds (remaining: 2)
2020-09-25T13:13:58.5352910Z [16:13:58]: Cannot find edit app info... Retrying after 10 seconds (remaining: 1)
2020-09-25T13:14:09.3336970Z [16:14:09]: Cannot find edit app info... Retrying after 10 seconds (remaining: 0)
2020-09-25T13:14:19.3433860Z 
2020-09-25T13:14:19.3461320Z [!] Cannot update languages - could not find an editable info

Environment

 
🚫 fastlane environment 🚫

Stack

Key Value
OS 10.15.6
Ruby 2.5.3
Bundler? false
Git git version 2.21.1 (Apple Git-122.3)
Installation Source ~/.rvm/gems/ruby-2.5.3/bin/fastlane
Host Mac OS X 10.15.6 (19G2021)
Ruby Lib Dir ~/.rvm/rubies/ruby-2.5.3/lib
OpenSSL Version OpenSSL 1.1.1d 10 Sep 2019
Is contained false
Is homebrew false
Is installed via Fabric.app false
Xcode Path /Applications/Xcode-11.3.1.app/Contents/Developer/
Xcode Version 11.3.1

System Locale

Error
No Locale with UTF8 found 🚫

fastlane files:

No Fastfile found

No Appfile found

fastlane gems

Gem Version Update-Status
fastlane 2.160.0 ✅ Up-To-Date

Loaded fastlane plugins:

No plugins Loaded

Loaded gems
Gem Version
did_you_mean 1.2.0
executable-hooks 1.6.0
bundler-unload 1.0.2
rubygems-bundler 1.4.5
bundler 1.16.6
slack-notifier 2.3.2
rouge 2.0.7
xcpretty 0.3.0
terminal-notifier 2.0.0
terminal-table 1.8.0
plist 3.5.0
addressable 2.7.0
multipart-post 2.0.0
word_wrap 1.0.0
babosa 1.0.3
colored 1.2
highline 1.7.10
commander-fastlane 4.4.6
excon 0.75.0
unf 0.1.4
domain_name 0.5.20190701
http-cookie 1.0.3
faraday-cookie_jar 0.0.6
faraday 1.0.1
faraday_middleware 1.0.0
fastimage 2.1.7
gh_inspector 1.1.3
json 2.1.0
rubyzip 2.3.0
security 0.1.3
xcpretty-travis-formatter 1.0.0
uber 0.1.0
declarative-option 0.1.0
representable 3.0.4
retriable 3.1.2
mini_mime 1.0.2
signet 0.14.0
httpclient 2.8.3
google-api-client 0.38.0
nanaimo 0.3.0
colored2 3.1.2
claide 1.0.3
CFPropertyList 3.0.2
atomos 0.1.3
xcodeproj 1.17.1
unicode-display_width 1.7.0
public_suffix 4.0.5
tty-screen 0.8.1
tty-cursor 0.7.1
tty-spinner 0.9.3
unf_ext 0.0.7.7
mini_magick 4.10.1
dotenv 2.7.6
naturally 2.2.0
simctl 1.6.8
jwt 2.2.1
declarative 0.0.20
multi_json 1.15.0
os 1.1.0
memoist 0.16.2
googleauth 0.13.0
rake 13.0.1
digest-crc 0.6.1
google-cloud-errors 1.0.1
google-cloud-env 1.3.3
google-cloud-core 1.5.0
google-cloud-storage 1.26.2
emoji_regex 3.0.0
aws-eventstream 1.1.0
aws-sigv4 1.2.1
aws-partitions 1.345.0
jmespath 1.4.0
aws-sdk-core 3.104.3
aws-sdk-kms 1.36.0
aws-sdk-s3 1.75.0
openssl 2.1.2
date 1.0.0
fileutils 1.0.2
ipaddr 1.2.0
psych 3.0.2
webrick 1.4.2

generated on: 2020-09-25

@sergeykochanov
Copy link
Author

I investigated the issue a bit and found out that tunes.get_app_infos() returns two objects:

@app_store_state="READY_FOR_SALE", @app_store_age_rating="FOUR_PLUS", @brazil_age_rating="L", @kids_age_band=nil, @primary_category=#<Spaceship::ConnectAPI::AppCategory:0x00007fa0454ceb30 @id="PRODUCTIVITY", @platforms=["IOS", "MAC_OS", "TV_OS"]>, @secondary_category=#<Spaceship::ConnectAPI::AppCategory:0x00007fa0454ce978 @id="UTILITIES", @platforms=["IOS", "MAC_OS", "TV_OS"]>>

@app_store_state="PENDING_DEVELOPER_RELEASE", @app_store_age_rating="FOUR_PLUS", @brazil_age_rating="L", @kids_age_band=nil, @primary_category=#<Spaceship::ConnectAPI::AppCategory:0x00007fa0454ce6d0 @id="PRODUCTIVITY", @platforms=["IOS", "MAC_OS", "TV_OS"]>, @secondary_category=#<Spaceship::ConnectAPI::AppCategory:0x00007fa0454ce540 @id="UTILITIES", @platforms=["IOS", "MAC_OS", "TV_OS"]>>

Please note it doesn't contain actual new iOS version which is currently PREPARE_FOR_SUBMISSION. So, that's the reason why fetch_edit_app_info() is empty. However, I didn't get why we need fetch_edit_app_info instead of fetch_live_app_info. I replaced app.fetch_edit_app_info to app.fetch_live_app_info || app.fetch_edit_app_info and it seems to work...

@sergeykochanov
Copy link
Author

@joshdholtz Could you please take a look on this? If my assumption is correct I can make a PR with this change. Thanks!

@joshdholtz
Copy link
Member

@sergeykochanov Ahhhhhh, that is a weird issue! If you want to make a PR that would be great 😊 I’d be happy to test it out!

@fastlane-bot
Copy link

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.

Please make sure to update to the latest fastlane version and check if that solves the issue. Let us know if that works for you by adding a comment 👍

Friendly reminder: contributions are always welcome! Check out CONTRIBUTING.md for more information on how to help with fastlane and feel free to tackle this issue yourself 💪

@fastlane-bot
Copy link

This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem 👍

@fastlane fastlane locked and limited conversation to collaborators Jan 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
4 participants