{"action":"created","issue":{"url":"https://api.github.com/repos/flutter/flutter/issues/13588","repository_url":"https://api.github.com/repos/flutter/flutter","labels_url":"https://api.github.com/repos/flutter/flutter/issues/13588/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/13588/comments","events_url":"https://api.github.com/repos/flutter/flutter/issues/13588/events","html_url":"https://github.com/flutter/flutter/issues/13588","id":282284908,"number":13588,"title":"stock example - generation of localisation files does not work","user":{"login":"ride4sun","id":7740651,"avatar_url":"https://avatars0.githubusercontent.com/u/7740651?v=4","gravatar_id":"","url":"https://api.github.com/users/ride4sun","html_url":"https://github.com/ride4sun","followers_url":"https://api.github.com/users/ride4sun/followers","following_url":"https://api.github.com/users/ride4sun/following{/other_user}","gists_url":"https://api.github.com/users/ride4sun/gists{/gist_id}","starred_url":"https://api.github.com/users/ride4sun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ride4sun/subscriptions","organizations_url":"https://api.github.com/users/ride4sun/orgs","repos_url":"https://api.github.com/users/ride4sun/repos","events_url":"https://api.github.com/users/ride4sun/events{/privacy}","received_events_url":"https://api.github.com/users/ride4sun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-15T00:37:31Z","updated_at":"2017-12-26T08:52:24Z","closed_at":null,"author_association":"NONE","body":"## Steps to Reproduce\r\nI try to regenerate the i18n directory to try out the localisation process but there is no output\r\n(see below)\r\nThis in the stock example. The process is described in the regenerate.md\r\nIt seems like the complete process relies on that process to work.\r\nPlatform is Windows 10\r\n## Logs\r\n\r\n```\r\nC:\\sdks\\flutter\\examples\\stocks>flutter --verbose  pub pub run intl_translation:extract_to_arb --output-dir=lib\\i lib\\stock_strings.dart\r\n[  +25 ms] [c:\\sdks\\flutter\\] git rev-parse --abbrev-ref --symbolic @{u}\r\n[  +82 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}\r\n[        ] origin/alpha\r\n[        ] [c:\\sdks\\flutter\\] git rev-parse --abbrev-ref HEAD\r\n[  +60 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD\r\n[        ] alpha\r\n[        ] [c:\\sdks\\flutter\\] git ls-remote --get-url origin\r\n[  +62 ms] Exit code 0 from: git ls-remote --get-url origin\r\n[        ] https://github.com/flutter/flutter.git\r\n[        ] [c:\\sdks\\flutter\\] git log -n 1 --pretty=format:%H\r\n[  +62 ms] Exit code 0 from: git log -n 1 --pretty=format:%H\r\n[        ] 8f65fec5f5f7d7afbb0965f4a44bdb330a28fb19\r\n[        ] [c:\\sdks\\flutter\\] git log -n 1 --pretty=format:%ar\r\n[  +62 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar\r\n[        ] 2 days ago\r\n[ +162 ms] c:\\sdks\\flutter\\bin\\cache\\dart-sdk\\bin\\pub.bat run intl_translation:extract_to_arb --output-dir=lib\\i lib\\stock_strings.dart\r\nc:\\sdks\\flutter\\packages\\flutter\\pubspec.yaml has changed since the pubspec.lock file was generated, please run \"pub get\" again.\r\n[ +403 ms] \"flutter pub\" took 442ms.\r\npub finished with exit code 65\r\n\r\n#0      throwToolExit (package:flutter_tools/src/base/common.dart:28)\r\n#1      pubInteractively (package:flutter_tools/src/dart/pub.dart:176)\r\n<asynchronous suspension>\r\n#2      PackagesPassthroughCommand.runCommand (package:flutter_tools/src/commands/packages.dart:128)\r\n#3      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:256)\r\n<asynchronous suspension>\r\n#4      FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:196)\r\n<asynchronous suspension>\r\n#5      CommandRunner.runCommand (package:args/command_runner.dart:194)\r\n<asynchronous suspension>\r\n#6      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:279)\r\n<asynchronous suspension>\r\n#7      CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:109)\r\n#8      new Future.sync (dart:async/future.dart:222)\r\n#9      CommandRunner.run (package:args/command_runner.dart:109)\r\n#10     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:162)\r\n#11     run.<anonymous closure> (package:flutter_tools/runner.dart:89)\r\n<asynchronous suspension>\r\n#12     AppContext._run (package:flutter_tools/src/base/context.dart:76)\r\n<asynchronous suspension>\r\n#13     AppContext.runInZone.<anonymous closure> (package:flutter_tools/src/base/context.dart:66)\r\n#14     _rootRun (dart:async/zone.dart:1120)\r\n#15     _CustomZone.run (dart:async/zone.dart:1001)\r\n#16     runZoned (dart:async/zone.dart:1467)\r\n#17     AppContext.runInZone (package:flutter_tools/src/base/context.dart:65)\r\n#18     run (package:flutter_tools/runner.dart:60)\r\n<asynchronous suspension>\r\n#19     main (package:flutter_tools/executable.dart:43)\r\n<asynchronous suspension>\r\n#20     main (file:///c:/sdks/flutter/packages/flutter_tools/bin/flutter_tools.dart:16)\r\n#21     _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:263)\r\n#22     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)\r\n\r\n\r\n[  +51 ms] ensureAnalyticsSent: 43ms\r\n[   +8 ms] exiting with code 65\r\n\r\nC:\\sdks\\flutter\\examples\\stocks>\r\n\r\n```\r\n\r\n## Flutter Doctor\r\n```\r\nC:\\sdks\\flutter\\examples\\stocks>flutter doctor\r\n[√] Flutter (on Microsoft Windows [Version 10.0.16299.98], locale en-US, channel alpha)\r\n    • Flutter at c:\\sdks\\flutter\r\n    • Framework revision 8f65fec5f5 (2 days ago), 2017-12-12 09:50:14 -0800\r\n    • Engine revision edaecdc8b8\r\n    • Tools Dart version 1.25.0-dev.11.0\r\n    • Engine Dart version 2.0.0-edge.d8ae797298c3a6cf8dc9f4558707bd2672224d3e\r\n\r\n[√] Android toolchain - develop for Android devices (Android SDK 27.0.1)\r\n    • Android SDK at C:\\Users\\ride4\\AppData\\Local\\Android\\sdk\r\n    • Android NDK location not configured (optional; useful for native profiling support)\r\n    • Platform android-27, build-tools 27.0.1\r\n    • Java binary at: C:\\Program Files\\Android\\Android Studio\\jre\\bin\\java\r\n    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)\r\n\r\n[√] Android Studio (version 3.0)\r\n    • Android Studio at C:\\Program Files\\Android\\Android Studio\r\n    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)\r\n\r\n[√] IntelliJ IDEA Community Edition (version 2017.2)\r\n    • Flutter plugin version 19.1\r\n    • Dart plugin version 172.4343.25\r\n\r\n[√] Connected devices\r\n    • Moto G 5 Plus             • ZY224DHFWG    • android-arm • Android 7.0 (API 24)\r\n    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 7.1.1 (API 25) (emulator)\r\n\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/flutter/flutter/issues/comments/353940910","html_url":"https://github.com/flutter/flutter/issues/13588#issuecomment-353940910","issue_url":"https://api.github.com/repos/flutter/flutter/issues/13588","id":353940910,"user":{"login":"robinbakkerus","id":1663081,"avatar_url":"https://avatars0.githubusercontent.com/u/1663081?v=4","gravatar_id":"","url":"https://api.github.com/users/robinbakkerus","html_url":"https://github.com/robinbakkerus","followers_url":"https://api.github.com/users/robinbakkerus/followers","following_url":"https://api.github.com/users/robinbakkerus/following{/other_user}","gists_url":"https://api.github.com/users/robinbakkerus/gists{/gist_id}","starred_url":"https://api.github.com/users/robinbakkerus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robinbakkerus/subscriptions","organizations_url":"https://api.github.com/users/robinbakkerus/orgs","repos_url":"https://api.github.com/users/robinbakkerus/repos","events_url":"https://api.github.com/users/robinbakkerus/events{/privacy}","received_events_url":"https://api.github.com/users/robinbakkerus/received_events","type":"User","site_admin":false},"created_at":"2017-12-26T08:52:24Z","updated_at":"2017-12-26T08:52:24Z","author_association":"NONE","body":"I have the same problem on Windows 8, but I get the following \r\n\r\n```\r\nC:\\my-dev\\Projects\\flutter\\flutter-master\\examples\\stocks>flutter pub pub run intl_translation:extract_to_arb --output-dir=lib/i18n lib/stock_strings.dart\r\nc:\\my-dev\\ide\\flutter\\packages\\flutter\\pubspec.yaml has changed since the pubspec.lock file was generated, please run \"pub get\" again.\r\npub finished with exit code 65\r\n```\r\n"}}
{"actor":{"display_login":"robinbakkerus"}}