{"action":"opened","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/9390","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/9390/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/9390/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/9390/events","html_url":"https://github.com/fastlane/fastlane/issues/9390","id":234021020,"number":9390,"title":"IMG_BAD_DIMENSIONS error when updating IAP.","user":{"login":"mkimi-lightricks","id":20626100,"avatar_url":"https://avatars2.githubusercontent.com/u/20626100?v=3","gravatar_id":"","url":"https://api.github.com/users/mkimi-lightricks","html_url":"https://github.com/mkimi-lightricks","followers_url":"https://api.github.com/users/mkimi-lightricks/followers","following_url":"https://api.github.com/users/mkimi-lightricks/following{/other_user}","gists_url":"https://api.github.com/users/mkimi-lightricks/gists{/gist_id}","starred_url":"https://api.github.com/users/mkimi-lightricks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkimi-lightricks/subscriptions","organizations_url":"https://api.github.com/users/mkimi-lightricks/orgs","repos_url":"https://api.github.com/users/mkimi-lightricks/repos","events_url":"https://api.github.com/users/mkimi-lightricks/events{/privacy}","received_events_url":"https://api.github.com/users/mkimi-lightricks/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-06T20:52:40Z","updated_at":"2017-06-06T20:52:40Z","closed_at":null,"body":"### New Issue Checklist\r\n\r\n- [x] Updated fastlane to the latest version\r\n- [x] I have read the [Contribution Guidelines](https://github.com/fastlane/fastlane/blob/master/CONTRIBUTING.md)\r\n\r\n### Issue Description\r\n\r\nWhen modifying iap by uploading a `review_screenshot` [image](https://user-images.githubusercontent.com/20626100/26850877-bedf5a6c-4b11-11e7-882c-4c6c9dc04ea5.png), I'm getting `IMG_BAD_DIMENSIONS` error.\r\n\r\nWhen uploading the same image manually to iTunesConnect, the IAP is being saved successfully.\r\n\r\nImage size (750x1334) is aligned with [Apple's requirements](https://developer.apple.com/library/content/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/Chapters/Properties.html#//apple_ref/doc/uid/TP40011225-CH26-SW2). \r\n\r\nThe command's log:\r\n\r\n```\r\nmichaelkimyagarov@MKimi-MBP:Users/michaelkimyagarov$ fastlane spaceship\r\n/Library/Ruby/Gems/2.0.0/gems/fastimage-2.1.0/lib/fastimage.rb:67: warning: already initialized constant URI::DEFAULT_PARSER\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/uri/common.rb:545: warning: previous definition of DEFAULT_PARSER was here\r\nUsername: mkimi@lightricks.com\r\nLogging into to iTunes Connect (mkimi@lightricks.com)...\r\nSuccessfully logged in to iTunes Connect\r\n\r\nLogging into the Developer Portal (mkimi@lightricks.com)...\r\nSuccessfully logged in to the Developer Portal\r\n\r\n---------------------------------------\r\n| Welcome to the spaceship playground |\r\n---------------------------------------\r\n\r\nEnter docs to open up the documentation\r\nEnter exit to exit the spaceship playground\r\nEnter _ to access the return value of the last executed command\r\n\r\nJust enter the commands and confirm with Enter\r\n[1] pry(#<Spaceship::Playground>)> app = Spaceship::Tunes::Application.find(\"com.lightricks.Enlight-Editor-Playground\")\r\n=> <Spaceship::Tunes::Application\r\n\tapple_id=\"1191418545\",\r\n\tname=\"Enlight Editor Playground\",\r\n\tvendor_id=\"Enlight-Editor-Playground\",\r\n\tbundle_id=\"com.lightricks.Enlight-Editor-Playground\",\r\n\tlast_modified=1496278253000,\r\n\tissues_count=0,\r\n\tapp_icon_preview_url=nil,\r\n\tversion_sets=[<Spaceship::Tunes::VersionSet\r\n\t\ttype=\"APP\",\r\n\t\tapplication=<Spaceship::Tunes::Application\r\n\t\t#<Object ...>>,\r\n\t\tplatform=\"ios\">]>\r\n[2] pry(#<Spaceship::Playground>)> purchase = app.in_app_purchases.all.first.edit\r\n=> <Spaceship::Tunes::IAPDetail\r\n\tapplication=<Spaceship::Tunes::Application\r\n\t\tapple_id=\"1191418545\",\r\n\t\tname=\"Enlight Editor Playground\",\r\n\t\tvendor_id=\"Enlight-Editor-Playground\",\r\n\t\tbundle_id=\"com.lightricks.Enlight-Editor-Playground\",\r\n\t\tlast_modified=1496278253000,\r\n\t\tissues_count=0,\r\n\t\tapp_icon_preview_url=nil,\r\n\t\tversion_sets=[<Spaceship::Tunes::VersionSet\r\n\t\t\ttype=\"APP\",\r\n\t\t\tapplication=<Spaceship::Tunes::Application\r\n\t\t\t#<Object ...>>,\r\n\t\t\tplatform=\"ios\">]>,\r\n\tpurchase_id=\"1242314667\",\r\n\tis_news_subscription=false,\r\n\treference_name=\"EnlightEditorPlayground.kimi.test_pid\",\r\n\tproduct_id=\"com.lightricks.EnlightEditorPlayground.kimi.test_pid\",\r\n\tsubscription_free_trial=nil,\r\n\tsubscription_duration=nil,\r\n\tcleared_for_sale=true,\r\n\treview_screenshot=nil,\r\n\treview_notes=nil,\r\n\tsubscription_price_target=nil>\r\n[3] pry(#<Spaceship::Playground>)> purchase.review_notes = \"some long long note, more than 10 chars\"\r\n=> \"some long long note, more than 10 chars\"\r\n[4] pry(#<Spaceship::Playground>)> purchase.review_screenshot = \"/Users/michaelkimyagarov/Downloads/black_iap.png\"\r\n=> \"/Users/michaelkimyagarov/Downloads/black_iap.png\"\r\n[5] pry(#<Spaceship::Playground>)> purchase.save!\r\nSpaceship::Client::UnexpectedResponse: [IMG_BAD_DIMENSIONS] The image dimensions are not supported. Please adjust to acceptable dimensions and re-save it.\r\nfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-2.37.0/spaceship/lib/spaceship/du/du_client.rb:127:in `parse_upload_response'\r\n[6] pry(#<Spaceship::Playground>)>\r\n```\r\n\r\n### Environment\r\n\r\nPlease run `fastlane env` and copy the output below. This will help us help you :+1:\r\nIf you used `--capture_output` option please remove this block - as it is already included there.\r\n\r\n<details><summary>🚫 fastlane environment 🚫</summary>\r\n\r\n### Stack\r\n\r\n| Key                         | Value                                                          |\r\n| --------------------------- | -------------------------------------------------------------- |\r\n| OS                          | 10.12.5                                                        |\r\n| Ruby                        | 2.0.0                                                          |\r\n| Bundler?                    | false                                                          |\r\n| Git                         | git version 2.12.0                                             |\r\n| Installation Source         | /usr/local/bin/fastlane                                        |\r\n| Host                        | Mac OS X 10.12.5 (16F73)                                       |\r\n| Ruby Lib Dir                | /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib |\r\n| OpenSSL Version             | OpenSSL 0.9.8zc 19 Mar 2015                                    |\r\n| Is contained                | false                                                          |\r\n| Is homebrew                 | false                                                          |\r\n| Is installed via Fabric.app | false                                                          |\r\n| Xcode Path                  | /Library/Developer/CommandLineTools/                           |\r\n\r\n\r\n### System Locale\r\n\r\n| Error                       |\r\n| --------------------------- |\r\n| No Locale with UTF8 found 🚫 |\r\n\r\n\r\n### fastlane files:\r\n\r\n**No Fastfile found**\r\n\r\n\r\n**No Appfile found**\r\n\r\n\r\n### fastlane gems\r\n\r\n| Gem      | Version | Update-Status |\r\n| -------- | ------- | ------------- |\r\n| fastlane | 2.37.0  | ✅ Up-To-Date  |\r\n\r\n\r\n### Loaded fastlane plugins:\r\n\r\n**No plugins Loaded**\r\n\r\n\r\n<details><summary><b>Loaded gems</b></summary>\r\n\r\n| Gem                       | Version      |\r\n| ------------------------- | ------------ |\r\n| slack-notifier            | 1.5.1        |\r\n| CFPropertyList            | 2.3.5        |\r\n| colored2                  | 3.1.2        |\r\n| nanaimo                   | 0.2.3        |\r\n| xcodeproj                 | 1.4.4        |\r\n| rouge                     | 2.0.7        |\r\n| xcpretty                  | 0.2.8        |\r\n| terminal-notifier         | 1.8.0        |\r\n| unicode-display_width     | 1.2.1        |\r\n| terminal-table            | 1.8.0        |\r\n| plist                     | 3.3.0        |\r\n| public_suffix             | 2.0.5        |\r\n| addressable               | 2.5.1        |\r\n| multipart-post            | 2.0.0        |\r\n| word_wrap                 | 1.0.0        |\r\n| tty-screen                | 0.5.0        |\r\n| babosa                    | 1.0.2        |\r\n| colored                   | 1.2          |\r\n| highline                  | 1.7.8        |\r\n| commander-fastlane        | 4.4.4        |\r\n| excon                     | 0.56.0       |\r\n| faraday                   | 0.12.1       |\r\n| unf_ext                   | 0.0.7.4      |\r\n| unf                       | 0.1.4        |\r\n| domain_name               | 0.5.20170404 |\r\n| http-cookie               | 1.0.3        |\r\n| faraday-cookie_jar        | 0.0.6        |\r\n| fastimage                 | 2.1.0        |\r\n| gh_inspector              | 1.0.3        |\r\n| uber                      | 0.0.15       |\r\n| representable             | 2.3.0        |\r\n| retriable                 | 2.1.0        |\r\n| mime-types-data           | 3.2016.0521  |\r\n| mime-types                | 3.1          |\r\n| hurley                    | 0.2          |\r\n| little-plugger            | 1.1.4        |\r\n| multi_json                | 1.12.1       |\r\n| logging                   | 2.2.2        |\r\n| jwt                       | 1.5.6        |\r\n| memoist                   | 0.15.0       |\r\n| os                        | 0.9.6        |\r\n| signet                    | 0.7.3        |\r\n| googleauth                | 0.5.1        |\r\n| httpclient                | 2.8.3        |\r\n| google-api-client         | 0.9.28       |\r\n| json                      | 1.7.7        |\r\n| mini_magick               | 4.5.1        |\r\n| multi_xml                 | 0.6.0        |\r\n| rubyzip                   | 1.2.1        |\r\n| security                  | 0.1.3        |\r\n| xcpretty-travis-formatter | 0.0.4        |\r\n| dotenv                    | 2.2.1        |\r\n| bundler                   | 1.15.1       |\r\n| faraday_middleware        | 0.11.0.1     |\r\n| claide                    | 1.0.2        |\r\n</details>\r\n\r\n\r\n*generated on:* **2017-06-06**\r\n</details>\r\n"}}
{"actor":{"display_login":"mkimi-lightricks"}}