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

Deliver couldn't download already existing screenshots from App Store Connect. #13522

Closed
4 tasks done
Salierik opened this issue Oct 11, 2018 · 23 comments
Closed
4 tasks done

Comments

@Salierik
Copy link

Salierik commented Oct 11, 2018

New Issue Checklist

Issue Description

Fastlane Deliver can't download screenshots from the store. I've tried the fastlane deliver init and fastlane deliver download_screenshots with no result. The same output and the same error.

+--------------------------------------+---------------------+
| deliver 2.106.0 Summary |
+--------------------------------------+---------------------+
| run_precheck_before_submit | false |
| username | my_user_name |
| app_identifier | my_app_ident |
| screenshots_path | ./screenshots |
| metadata_path | ./metadata |
| platform | ios |
| edit_live | false |
| use_live_version | false |
| skip_binary_upload | false |
| skip_screenshots | false |
| skip_metadata | false |
| skip_app_version_update | false |
| force | false |
| overwrite_screenshots | false |
| submit_for_review | false |
| reject_if_possible | false |
| automatic_release | false |
| phased_release | false |
| precheck_default_rule_level | warn |
| ignore_language_directory_validation | false |
| precheck_include_in_app_purchases | true |
+--------------------------------------+---------------------+

[20:11:57]: Writing to './metadata/nl-NL/description.txt'
[20:11:57]: Writing to './metadata/zh-Hans/description.txt'
[20:11:57]: Writing to './metadata/en-US/description.txt'
[20:11:57]: Writing to './metadata/da/description.txt'
[20:11:57]: Writing to './metadata/pt-BR/description.txt'
[20:11:57]: Writing to './metadata/de-DE/description.txt'
[20:11:57]: Writing to './metadata/ko/description.txt'
[20:11:57]: Writing to './metadata/sv/description.txt'
[20:11:57]: Writing to './metadata/no/description.txt'
[20:11:57]: Writing to './metadata/en-GB/description.txt'
[20:11:57]: Writing to './metadata/en-AU/description.txt'
[20:11:57]: Writing to './metadata/en-CA/description.txt'
[20:11:57]: Writing to './metadata/ru/description.txt'
[20:11:57]: Writing to './metadata/es-ES/description.txt'
[20:11:57]: Writing to './metadata/it/description.txt'
[20:11:57]: Writing to './metadata/zh-Hant/description.txt'
[20:11:57]: Writing to './metadata/fi/description.txt'
[20:11:57]: Writing to './metadata/pt-PT/description.txt'
[20:11:57]: Writing to './metadata/ja/description.txt'
[20:11:57]: Writing to './metadata/fr-FR/description.txt'
[20:11:57]: Writing to './metadata/es-MX/description.txt'
[20:11:57]: Writing to './metadata/nl-NL/keywords.txt'
[20:11:57]: Writing to './metadata/zh-Hans/keywords.txt'
[20:11:57]: Writing to './metadata/en-US/keywords.txt'
[20:11:57]: Writing to './metadata/da/keywords.txt'
[20:11:57]: Writing to './metadata/pt-BR/keywords.txt'
[20:11:57]: Writing to './metadata/de-DE/keywords.txt'
[20:11:57]: Writing to './metadata/ko/keywords.txt'
[20:11:57]: Writing to './metadata/sv/keywords.txt'
[20:11:57]: Writing to './metadata/no/keywords.txt'
[20:11:57]: Writing to './metadata/en-GB/keywords.txt'
[20:11:57]: Writing to './metadata/en-AU/keywords.txt'
[20:11:57]: Writing to './metadata/en-CA/keywords.txt'
[20:11:57]: Writing to './metadata/ru/keywords.txt'
[20:11:57]: Writing to './metadata/es-ES/keywords.txt'
[20:11:57]: Writing to './metadata/it/keywords.txt'
[20:11:57]: Writing to './metadata/zh-Hant/keywords.txt'
[20:11:57]: Writing to './metadata/fi/keywords.txt'
[20:11:57]: Writing to './metadata/pt-PT/keywords.txt'
[20:11:57]: Writing to './metadata/ja/keywords.txt'
[20:11:57]: Writing to './metadata/fr-FR/keywords.txt'
[20:11:57]: Writing to './metadata/es-MX/keywords.txt'
[20:11:57]: Writing to './metadata/nl-NL/release_notes.txt'
[20:11:57]: Writing to './metadata/zh-Hans/release_notes.txt'
[20:11:57]: Writing to './metadata/en-US/release_notes.txt'
[20:11:57]: Writing to './metadata/da/release_notes.txt'
[20:11:57]: Writing to './metadata/pt-BR/release_notes.txt'
[20:11:57]: Writing to './metadata/de-DE/release_notes.txt'
[20:11:57]: Writing to './metadata/ko/release_notes.txt'
[20:11:57]: Writing to './metadata/sv/release_notes.txt'
[20:11:57]: Writing to './metadata/no/release_notes.txt'
[20:11:57]: Writing to './metadata/en-GB/release_notes.txt'
[20:11:57]: Writing to './metadata/en-AU/release_notes.txt'
[20:11:57]: Writing to './metadata/en-CA/release_notes.txt'
[20:11:57]: Writing to './metadata/ru/release_notes.txt'
[20:11:57]: Writing to './metadata/es-ES/release_notes.txt'
[20:11:57]: Writing to './metadata/it/release_notes.txt'
[20:11:57]: Writing to './metadata/zh-Hant/release_notes.txt'
[20:11:57]: Writing to './metadata/fi/release_notes.txt'
[20:11:57]: Writing to './metadata/pt-PT/release_notes.txt'
[20:11:57]: Writing to './metadata/ja/release_notes.txt'
[20:11:57]: Writing to './metadata/fr-FR/release_notes.txt'
[20:11:57]: Writing to './metadata/es-MX/release_notes.txt'
[20:11:57]: Writing to './metadata/nl-NL/support_url.txt'
[20:11:57]: Writing to './metadata/zh-Hans/support_url.txt'
[20:11:57]: Writing to './metadata/en-US/support_url.txt'
[20:11:57]: Writing to './metadata/da/support_url.txt'
[20:11:58]: Writing to './metadata/pt-BR/support_url.txt'
[20:11:58]: Writing to './metadata/de-DE/support_url.txt'
[20:11:58]: Writing to './metadata/ko/support_url.txt'
[20:11:58]: Writing to './metadata/sv/support_url.txt'
[20:11:58]: Writing to './metadata/no/support_url.txt'
[20:11:58]: Writing to './metadata/en-GB/support_url.txt'
[20:11:58]: Writing to './metadata/en-AU/support_url.txt'
[20:11:58]: Writing to './metadata/en-CA/support_url.txt'
[20:11:58]: Writing to './metadata/ru/support_url.txt'
[20:11:58]: Writing to './metadata/es-ES/support_url.txt'
[20:11:58]: Writing to './metadata/it/support_url.txt'
[20:11:58]: Writing to './metadata/zh-Hant/support_url.txt'
[20:11:58]: Writing to './metadata/fi/support_url.txt'
[20:11:58]: Writing to './metadata/pt-PT/support_url.txt'
[20:11:58]: Writing to './metadata/ja/support_url.txt'
[20:11:58]: Writing to './metadata/fr-FR/support_url.txt'
[20:11:58]: Writing to './metadata/es-MX/support_url.txt'
[20:11:58]: Writing to './metadata/nl-NL/marketing_url.txt'
[20:11:58]: Writing to './metadata/zh-Hans/marketing_url.txt'
[20:11:58]: Writing to './metadata/en-US/marketing_url.txt'
[20:11:58]: Writing to './metadata/da/marketing_url.txt'
[20:11:58]: Writing to './metadata/pt-BR/marketing_url.txt'
[20:11:58]: Writing to './metadata/de-DE/marketing_url.txt'
[20:11:58]: Writing to './metadata/ko/marketing_url.txt'
[20:11:58]: Writing to './metadata/sv/marketing_url.txt'
[20:11:58]: Writing to './metadata/no/marketing_url.txt'
[20:11:58]: Writing to './metadata/en-GB/marketing_url.txt'
[20:11:58]: Writing to './metadata/en-AU/marketing_url.txt'
[20:11:58]: Writing to './metadata/en-CA/marketing_url.txt'
[20:11:58]: Writing to './metadata/ru/marketing_url.txt'
[20:11:58]: Writing to './metadata/es-ES/marketing_url.txt'
[20:11:58]: Writing to './metadata/it/marketing_url.txt'
[20:11:58]: Writing to './metadata/zh-Hant/marketing_url.txt'
[20:11:58]: Writing to './metadata/fi/marketing_url.txt'
[20:11:58]: Writing to './metadata/pt-PT/marketing_url.txt'
[20:11:58]: Writing to './metadata/ja/marketing_url.txt'
[20:11:58]: Writing to './metadata/fr-FR/marketing_url.txt'
[20:11:58]: Writing to './metadata/es-MX/marketing_url.txt'
[20:11:58]: Writing to './metadata/nl-NL/promotional_text.txt'
[20:11:58]: Writing to './metadata/zh-Hans/promotional_text.txt'
[20:11:58]: Writing to './metadata/en-US/promotional_text.txt'
[20:11:58]: Writing to './metadata/da/promotional_text.txt'
[20:11:58]: Writing to './metadata/pt-BR/promotional_text.txt'
[20:11:58]: Writing to './metadata/de-DE/promotional_text.txt'
[20:11:58]: Writing to './metadata/ko/promotional_text.txt'
[20:11:58]: Writing to './metadata/sv/promotional_text.txt'
[20:11:58]: Writing to './metadata/no/promotional_text.txt'
[20:11:58]: Writing to './metadata/en-GB/promotional_text.txt'
[20:11:58]: Writing to './metadata/en-AU/promotional_text.txt'
[20:11:58]: Writing to './metadata/en-CA/promotional_text.txt'
[20:11:58]: Writing to './metadata/ru/promotional_text.txt'
[20:11:58]: Writing to './metadata/es-ES/promotional_text.txt'
[20:11:58]: Writing to './metadata/it/promotional_text.txt'
[20:11:58]: Writing to './metadata/zh-Hant/promotional_text.txt'
[20:11:58]: Writing to './metadata/fi/promotional_text.txt'
[20:11:58]: Writing to './metadata/pt-PT/promotional_text.txt'
[20:11:58]: Writing to './metadata/ja/promotional_text.txt'
[20:11:58]: Writing to './metadata/fr-FR/promotional_text.txt'
[20:11:58]: Writing to './metadata/es-MX/promotional_text.txt'
[20:11:58]: Writing to './metadata/nl-NL/name.txt'
[20:11:58]: Writing to './metadata/zh-Hans/name.txt'
[20:11:58]: Writing to './metadata/en-US/name.txt'
[20:11:58]: Writing to './metadata/da/name.txt'
[20:11:58]: Writing to './metadata/pt-BR/name.txt'
[20:11:58]: Writing to './metadata/de-DE/name.txt'
[20:11:58]: Writing to './metadata/ko/name.txt'
[20:11:58]: Writing to './metadata/sv/name.txt'
[20:11:58]: Writing to './metadata/no/name.txt'
[20:11:58]: Writing to './metadata/en-GB/name.txt'
[20:11:58]: Writing to './metadata/en-AU/name.txt'
[20:11:58]: Writing to './metadata/en-CA/name.txt'
[20:11:58]: Writing to './metadata/ru/name.txt'
[20:11:58]: Writing to './metadata/es-ES/name.txt'
[20:11:58]: Writing to './metadata/it/name.txt'
[20:11:58]: Writing to './metadata/zh-Hant/name.txt'
[20:11:58]: Writing to './metadata/fi/name.txt'
[20:11:58]: Writing to './metadata/pt-PT/name.txt'
[20:11:58]: Writing to './metadata/ja/name.txt'
[20:11:58]: Writing to './metadata/fr-FR/name.txt'
[20:11:58]: Writing to './metadata/es-MX/name.txt'
[20:11:58]: Writing to './metadata/nl-NL/subtitle.txt'
[20:11:58]: Writing to './metadata/zh-Hans/subtitle.txt'
[20:11:58]: Writing to './metadata/en-US/subtitle.txt'
[20:11:58]: Writing to './metadata/da/subtitle.txt'
[20:11:58]: Writing to './metadata/pt-BR/subtitle.txt'
[20:11:58]: Writing to './metadata/de-DE/subtitle.txt'
[20:11:58]: Writing to './metadata/ko/subtitle.txt'
[20:11:58]: Writing to './metadata/sv/subtitle.txt'
[20:11:58]: Writing to './metadata/no/subtitle.txt'
[20:11:58]: Writing to './metadata/en-GB/subtitle.txt'
[20:11:58]: Writing to './metadata/en-AU/subtitle.txt'
[20:11:58]: Writing to './metadata/en-CA/subtitle.txt'
[20:11:58]: Writing to './metadata/ru/subtitle.txt'
[20:11:58]: Writing to './metadata/es-ES/subtitle.txt'
[20:11:58]: Writing to './metadata/it/subtitle.txt'
[20:11:58]: Writing to './metadata/zh-Hant/subtitle.txt'
[20:11:58]: Writing to './metadata/fi/subtitle.txt'
[20:11:58]: Writing to './metadata/pt-PT/subtitle.txt'
[20:11:58]: Writing to './metadata/ja/subtitle.txt'
[20:11:58]: Writing to './metadata/fr-FR/subtitle.txt'
[20:11:58]: Writing to './metadata/es-MX/subtitle.txt'
[20:11:58]: Writing to './metadata/nl-NL/privacy_url.txt'
[20:11:58]: Writing to './metadata/zh-Hans/privacy_url.txt'
[20:11:58]: Writing to './metadata/en-US/privacy_url.txt'
[20:11:58]: Writing to './metadata/da/privacy_url.txt'
[20:11:58]: Writing to './metadata/pt-BR/privacy_url.txt'
[20:11:58]: Writing to './metadata/de-DE/privacy_url.txt'
[20:11:58]: Writing to './metadata/ko/privacy_url.txt'
[20:11:58]: Writing to './metadata/sv/privacy_url.txt'
[20:11:58]: Writing to './metadata/no/privacy_url.txt'
[20:11:58]: Writing to './metadata/en-GB/privacy_url.txt'
[20:11:58]: Writing to './metadata/en-AU/privacy_url.txt'
[20:11:58]: Writing to './metadata/en-CA/privacy_url.txt'
[20:11:58]: Writing to './metadata/ru/privacy_url.txt'
[20:11:58]: Writing to './metadata/es-ES/privacy_url.txt'
[20:11:58]: Writing to './metadata/it/privacy_url.txt'
[20:11:58]: Writing to './metadata/zh-Hant/privacy_url.txt'
[20:11:58]: Writing to './metadata/fi/privacy_url.txt'
[20:11:58]: Writing to './metadata/pt-PT/privacy_url.txt'
[20:11:58]: Writing to './metadata/ja/privacy_url.txt'
[20:11:58]: Writing to './metadata/fr-FR/privacy_url.txt'
[20:11:58]: Writing to './metadata/es-MX/privacy_url.txt'
[20:11:58]: Writing to './metadata/copyright.txt'
[20:11:58]: Writing to './metadata/primary_category.txt'
[20:11:58]: Writing to './metadata/secondary_category.txt'
[20:11:58]: Writing to './metadata/primary_first_sub_category.txt'
[20:11:58]: Writing to './metadata/primary_second_sub_category.txt'
[20:11:58]: Writing to './metadata/secondary_first_sub_category.txt'
[20:11:58]: Writing to './metadata/secondary_second_sub_category.txt'
[20:11:58]: Writing to './metadata/trade_representative_contact_information/trade_name.txt'
[20:11:58]: Writing to './metadata/trade_representative_contact_information/first_name.txt'
[20:11:58]: Writing to './metadata/trade_representative_contact_information/last_name.txt'
[20:11:58]: Writing to './metadata/trade_representative_contact_information/address_line1.txt'
[20:11:58]: Writing to './metadata/trade_representative_contact_information/address_line2.txt'
[20:11:58]: Writing to './metadata/trade_representative_contact_information/address_line3.txt'
[20:11:58]: Writing to './metadata/trade_representative_contact_information/city_name.txt'
[20:11:58]: Writing to './metadata/trade_representative_contact_information/state.txt'
[20:11:58]: Writing to './metadata/trade_representative_contact_information/country.txt'
[20:11:58]: Writing to './metadata/trade_representative_contact_information/postal_code.txt'
[20:11:58]: Writing to './metadata/trade_representative_contact_information/phone_number.txt'
[20:11:58]: Writing to './metadata/trade_representative_contact_information/email_address.txt'
[20:11:58]: Writing to './metadata/trade_representative_contact_information/is_displayed_on_app_store.txt'
[20:11:58]: Writing to './metadata/review_information/first_name.txt'
[20:11:58]: Writing to './metadata/review_information/last_name.txt'
[20:11:58]: Writing to './metadata/review_information/phone_number.txt'
[20:11:58]: Writing to './metadata/review_information/email_address.txt'
[20:11:58]: Writing to './metadata/review_information/demo_user.txt'
[20:11:58]: Writing to './metadata/review_information/demo_password.txt'
[20:11:58]: Writing to './metadata/review_information/notes.txt'
[20:11:58]: Successfully created new configuration files.
[20:11:58]: Downloading all existing screenshots...
[20:12:00]: Downloading existing screenshot '1_iphone6Plus_1.us - iphone -1.png' for language 'en-US'
[20:12:00]: No such file or directory @ rb_sysopen - https://URL_TO_AVAILABLE_SCREENSHOT
[20:12:00]: Couldn't download already existing screenshots from App Store Connect.
[20:12:00]: Successfully created new Deliverfile at path './Deliverfile'

Environment

✅ fastlane environment ✅

Stack

Key Value
OS Linux 3.0.101-0.35.99-default #1 SMP Wed Jul 9 11:43:04 UTC 2014 (c36987d) x86_64 x86_64 x86_64 GNU/Linux
Ruby 2.3.1
Bundler? false
Git git version 2.14.1
Installation Source ~/.rvm/gems/ruby-2.3.1/bin/fastlane
Host Welcome to SUSE Linux Enterprise Server 11 SP3 (x86_64) - Kernel %r (%t). Linux 3.0.101-0.35.99-default #1 SMP Wed Jul 9 11:43:04 UTC 2014 (c36987d) x86_64 x86_64 x86_64 GNU/Linux (3.0.101-0.35.99-default)
Ruby Lib Dir ~/.rvm/rubies/ruby-2.3.1/lib
OpenSSL Version OpenSSL 1.0.1k 8 Jan 2015
Is contained false
Is homebrew false
Is installed via Fabric.app false

System Locale

Variable Value
LANG en_US.UTF-8
LC_ALL
LANGUAGE

fastlane files:

No Fastfile found

No Appfile found

fastlane gems

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

Loaded fastlane plugins:

No plugins Loaded

Loaded gems
Gem Version
did_you_mean 1.0.0
executable-hooks 1.3.2
bundler-unload 1.0.2
rubygems-bundler 1.4.4
bundler 1.14.6
io-console 0.4.5
slack-notifier 2.3.2
atomos 0.1.3
CFPropertyList 2.3.5
claide 1.0.2
colored2 3.1.2
nanaimo 0.2.6
xcodeproj 1.6.0
rouge 2.0.7
xcpretty 0.3.0
terminal-notifier 1.7.1
unicode-display_width 1.1.3
terminal-table 1.7.3
plist 3.2.0
public_suffix 2.0.5
addressable 2.5.1
multipart-post 2.0.0
word_wrap 1.0.0
tty-screen 0.6.4
tty-cursor 0.5.0
tty-spinner 0.8.0
babosa 1.0.2
colored 1.2
highline 1.7.8
commander-fastlane 4.4.6
excon 0.55.0
faraday 0.11.0
unf_ext 0.0.7.2
unf 0.1.4
domain_name 0.5.20170223
http-cookie 1.0.3
faraday-cookie_jar 0.0.6
fastimage 2.1.0
gh_inspector 1.1.2
json 1.8.3
mini_magick 4.5.1
multi_json 1.12.1
multi_xml 0.6.0
rubyzip 1.2.2
security 0.1.3
xcpretty-travis-formatter 0.0.4
dotenv 2.2.0
faraday_middleware 0.11.0.1
naturally 2.1.0
simctl 1.6.3
uber 0.0.15
declarative 0.0.9
declarative-option 0.1.0
representable 3.0.4
retriable 2.1.0
mime-types-data 3.2016.0521
mime-types 3.1
little-plugger 1.1.4
logging 2.2.0
jwt 1.5.6
memoist 0.15.0
os 0.9.6
signet 0.7.3
googleauth 0.5.1
httpclient 2.8.3
google-api-client 0.21.2
emoji_regex 0.1.1
msgpack 1.2.4
bootsnap 1.3.2

generated on: 2018-10-11

@kubbing
Copy link

kubbing commented Oct 12, 2018

same issue here

@datacosmos
Copy link

same issue here with deliver 2.106.2
INFO [2018-10-15 19:49:06.71]: Downloading all existing screenshots...
INFO [2018-10-15 19:49:08.42]: Downloading existing screenshot '1_iphone65_1.Simulator Screen Shot - iPhone XS Max - 2018-10-11 at 21.11.00.png' for language 'de-DE'
ERROR [2018-10-15 19:49:08.42]: No such file or directory @ rb_sysopen - https://is1-ssl.mzstatic.com/image/thumb/......jpg
ERROR [2018-10-15 19:49:08.42]: Couldn't download already existing screenshots from App Store Connect.
--verbose switch does not show anymore information ...
When I open the mentioned link to the snapshot in the browser I can see the screenshot.

@syedsmith
Copy link

same issue as datacosmos #13522 (comment)

@Salierik
Copy link
Author

Looks like fixed after 39e52ac5b0713643ea220d47cf34503bd9bec819.
@joshdholtz Thank you very much!

@syedsmith
Copy link

39e52ac worked
Thank you so much

@lkraider
Copy link
Contributor

lkraider commented Oct 24, 2018

Still having the issue in 2.107.0 :

[18:13:27]: ▸ [18:13:27]: Downloading all existing screenshots...
[18:13:29]: ▸ [18:13:29]: Downloading existing screenshot '1_iphone6Plus_1.Image App SplashiPhone.png' for language 'pt-BR'
[18:13:29]: ▸ [18:13:29]: No such file or directory @ rb_sysopen - https://is1-ssl.mzstatic.com/image/thumb/Purple118/v4/....../pr_source.png/0x0ss.jpg

If I click the link to open in browser, the image file exists.

@artyom-stv
Copy link

artyom-stv commented Oct 25, 2018

Same issue in 2.107.0:

INFO [2018-10-25 11:28:38.40]: Downloading all existing screenshots...
INFO [2018-10-25 11:28:41.23]: Downloading existing screenshot '1_iphone58_1.1.png' for language 'it'
ERROR [2018-10-25 11:28:41.23]: No such file or directory @ rb_sysopen - https://is1-ssl.mzstatic.com/image/thumb/Purple118/v4/59/84/e7/5984e734-e570-611d-a892-6ae0529440d5/mzl.hchjcmct.png/0x0ss.jpg
ERROR [2018-10-25 11:28:41.23]: Couldn't download already existing screenshots from App Store Connect.

The image can be opened in browser.

@konrad-gibaszewski
Copy link

Same issue in 2.107.0:

INFO [2018-10-25 11:28:38.40]: Downloading all existing screenshots...
INFO [2018-10-25 11:28:41.23]: Downloading existing screenshot '1_iphone58_1.1.png' for language 'it'
ERROR [2018-10-25 11:28:41.23]: No such file or directory @ rb_sysopen - https://is1-ssl.mzstatic.com/image/thumb/Purple118/v4/59/84/e7/5984e734-e570-611d-a892-6ae0529440d5/mzl.hchjcmct.png/0x0ss.jpg
ERROR [2018-10-25 11:28:41.23]: Couldn't download already existing screenshots from App Store Connect.

The image can be opened in browser.

Having the same issue as artyom-stv in 2.107.0

@phink0
Copy link

phink0 commented Oct 31, 2018

I had the same problem and fixed it by adding:
require 'open-uri'
at the beginning of .../deliver/lib/deliver/download_screenshots.rb

@Salierik
Copy link
Author

I had the same problem and fixed it by adding:
require 'open-uri'
at the beginning of .../deliver/lib/deliver/download_screenshots.rb

Actually, it has been fixed with this commit with the same diff...

@alexandre-g
Copy link

@Salierik Did not work for me in 2.108.0 until I've added the require to download_screenshots.rb as advised by phink0

@Salierik Salierik reopened this Nov 6, 2018
@morellan
Copy link

morellan commented Nov 8, 2018

I had the same problem in 2.108.0, I added require 'open-uri on the Deliverfile instead of modifying the gem.

@metasmile
Copy link

hm. always we can see side-effect in almost every version.

@crakrause
Copy link

crakrause commented Nov 12, 2018

We have the same problem with the most of our apps. Just one app has no problem and we can download all the screenshots.

@KrauseFx Can you help?

@janpio
Copy link
Member

janpio commented Nov 19, 2018

Could the people still having this problem (including those that solved it by manually adding some code somewhere!) please post a complete output of the command they are running and their fastlane env? It is a bit hard to get a good overview what is still broken and what got fixed. Thanks, we will take a look at it.

@CBeloch
Copy link

CBeloch commented Nov 19, 2018

I used fastlane deliver download_screenshots directly from the command line and had to make the same fix.

@janpio This is my fastlane env

✅ fastlane environment ✅

Stack

Key Value
OS 10.14.1
Ruby 2.2.4
Bundler? false
Git git version 2.19.1
Installation Source ~/.fastlane/bin/bundle/bin/fastlane
Host Mac OS X 10.14.1 (18B75)
Ruby Lib Dir ~/.fastlane/bin/bundle/lib
OpenSSL Version OpenSSL 1.0.2g 1 Mar 2016
Is contained false
Is homebrew true
Is installed via Fabric.app false
Xcode Path /Applications/Xcode.app/Contents/Developer/
Xcode Version 10.1

System Locale

Variable Value
LANG en_US.UTF-8
LC_ALL en_US.UTF-8
LANGUAGE en_US.UTF-8

fastlane files:

`./fastlane/Fastfile`

REDACTED (unused for the direct CLI command)

`./fastlane/Appfile`
app_identifier "REDACTED"
team_id "REDACTED"

fastlane gems

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

Loaded fastlane plugins:

No plugins Loaded

Loaded gems
Gem Version
slack-notifier 2.3.2
atomos 0.1.3
CFPropertyList 3.0.0
claide 1.0.2
colored2 3.1.2
nanaimo 0.2.6
xcodeproj 1.6.0
rouge 2.0.7
xcpretty 0.3.0
terminal-notifier 1.8.0
unicode-display_width 1.1.3
terminal-table 1.7.3
plist 3.4.0
public_suffix 2.0.5
addressable 2.5.2
multipart-post 2.0.0
word_wrap 1.0.0
tty-screen 0.6.4
tty-cursor 0.5.0
tty-spinner 0.8.0
babosa 1.0.2
colored 1.2
highline 1.7.10
commander-fastlane 4.4.6
excon 0.62.0
faraday 0.12.1
unf_ext 0.0.7.4
unf 0.1.4
domain_name 0.5.20170404
http-cookie 1.0.3
faraday-cookie_jar 0.0.6
fastimage 2.1.1
gh_inspector 1.1.3
json 1.8.1
mini_magick 4.5.1
multi_json 1.13.1
multi_xml 0.6.0
rubyzip 1.2.2
security 0.1.3
xcpretty-travis-formatter 0.0.4
dotenv 2.2.1
bundler 1.14.6
faraday_middleware 0.11.0.1
naturally 2.1.0
simctl 1.6.3
uber 0.1.0
declarative 0.0.10
declarative-option 0.1.0
representable 3.0.4
retriable 3.1.1
mime-types-data 3.2016.0521
mime-types 3.1
little-plugger 1.1.4
logging 2.2.2
jwt 1.5.6
memoist 0.16.0
os 0.9.6
signet 0.7.3
googleauth 0.5.1
httpclient 2.8.3
google-api-client 0.21.2
emoji_regex 0.1.1
libxml-ruby 3.0.0
psych 2.0.8

generated on: 2018-11-19

@janpio
Copy link
Member

janpio commented Nov 19, 2018

Thanks @CBeloch. The complete output of the command (maybe with --verbose but only the fix) would be very handy.

@antoniokly
Copy link

antoniokly commented Nov 21, 2018

I had the same problem in 2.108.0, I added require 'open-uri on the Deliverfile instead of modifying the gem.

same here

@krunk4ever
Copy link

krunk4ever commented Dec 9, 2018

Also hit this problem calling fastlane deliver download_screentshots

Got the following error and fixed it by adding require 'open-uri' to download_screenshots.rb:

[20:41:10]: Downloading all existing screenshots...
[20:41:14]: Downloading existing screenshot '*****.png' for language 'it'
[20:41:14]: No such file or directory @ rb_sysopen - https://is1-ssl.mzstatic.com/image/thumb/*****/0x0ss.jpg
[20:41:14]: Couldn't download already existing screenshots from App Store Connect.

Here's my fastlane env --verbose:

✅ fastlane environment ✅

Stack

Key Value
OS 10.14.1
Ruby 2.4.1
Bundler? true
Git git version 2.19.0
Installation Source ~/.rvm/gems/ruby-2.4.1/bin/fastlane
Host Mac OS X 10.14.1 (18B75)
Ruby Lib Dir ~/.rvm/rubies/ruby-2.4.1/lib
OpenSSL Version OpenSSL 1.1.0g 2 Nov 2017
Is contained false
Is homebrew false
Is installed via Fabric.app false
Xcode Path /Applications/Xcode.app/Contents/Developer/
Xcode Version 10.1

System Locale

Variable Value
LANG en_US.UTF-8
LC_ALL
LANGUAGE

fastlane files:

No Fastfile found

No Appfile found

fastlane gems

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

Loaded fastlane plugins:

No plugins Loaded

Loaded gems
Gem Version
did_you_mean 1.1.0
executable-hooks 1.3.2
bundler-unload 1.0.2
rubygems-bundler 1.4.4
bundler 1.16.1
io-console 0.4.6
CFPropertyList 3.0.0
public_suffix 2.0.5
addressable 2.5.2
atomos 0.1.3
babosa 1.0.2
claide 1.0.2
colored 1.2
colored2 3.1.2
highline 1.7.10
commander-fastlane 4.4.6
declarative 0.0.10
declarative-option 0.1.0
unf_ext 0.0.7.5
unf 0.1.4
domain_name 0.5.20180417
dotenv 2.5.0
emoji_regex 0.1.1
excon 0.62.0
multipart-post 2.0.0
faraday 0.15.4
http-cookie 1.0.3
faraday-cookie_jar 0.0.6
faraday_middleware 0.12.2
fastimage 2.1.5
gh_inspector 1.1.3
jwt 2.1.0
memoist 0.16.0
multi_json 1.13.1
os 1.0.0
signet 0.11.0
googleauth 0.6.7
httpclient 2.8.3
mime-types-data 3.2018.0812
mime-types 3.2.2
uber 0.1.0
representable 3.0.4
retriable 3.1.2
google-api-client 0.23.9
json 2.1.0
mini_magick 4.5.1
multi_xml 0.6.0
plist 3.4.0
rubyzip 1.2.2
security 0.1.3
naturally 2.2.0
simctl 1.6.5
slack-notifier 2.3.2
terminal-notifier 1.8.0
unicode-display_width 1.4.0
terminal-table 1.8.0
tty-screen 0.6.5
tty-cursor 0.6.0
tty-spinner 0.9.0
word_wrap 1.0.0
nanaimo 0.2.6
xcodeproj 1.7.0
rouge 2.0.7
xcpretty 0.3.0
xcpretty-travis-formatter 1.0.0

generated on: 2018-12-08

@slorber
Copy link
Contributor

slorber commented Dec 21, 2018

I can confirm the workaround above work.

The mentionned require does not seem to be included in recent releases and it was missing here: /Users/sebastienlorber/.gem/gems/fastlane-2.112.0/deliver/lib/deliver/download_screenshots.rb

@slorber
Copy link
Contributor

slorber commented Dec 21, 2018

don't understand why the fix is not on master anymore, but submitted a PR: #13972

@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 👍

@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 Apr 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests