Package io.flutter.facade not found after upgrading to  1.12.13+hotfix.5

Steps to Reproduce

Upgrade Flutter to  1.12.13+hotfix.5
Following Add-To-App 's by aar part to add my flutter view to my existing android app's fragment. Am using codes like this:

......
import io.flutter.facade.Flutter;
......
_flutterView = Flutter.createView(
this.getActivity(),
getLifecycle(),
SCREEN
);

Build the app.

Target Platform: Android
Target OS version/browser: Windows10, Android3.5.3
Devices: emulator
Logs

error: package io.flutter.facade is not existed
import io.flutter.facade.Flutter;^

>flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.12.13+hotfix.5, on Microsoft Windows [Version 10.0.17763.914], locale ja-JP)
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    X Android license status unknown.
      Try re-installing or updating your Android SDK Manager.
      See https://developer.android.com/studio/#downloads or visit https://flutter.dev/setup/#android-setup for detailed instructions.
[√] Android Studio (version 3.5)
[!] IntelliJ IDEA Community Edition (version 2018.3)
    X Dart plugin not installed; this adds Dart specific functionality.
[√] VS Code (version 1.40.2)
[√] Connected device (1 available)

! Doctor found issues in 2 categories.

I have this problem too

Hi @MacroLove
could you please run
flutter clean
flutter pub cache repair
If the issue persist
could you please provide your flutter run --verbose?
thank you

Sorry for the inconvenience. We sent an announcement on this previously at https://groups.google.com/g/flutter-announce/c/uWjhEu6atlA/m/1EtQiqCQAAAJ.
See upgrade steps at https://flutter.dev/go/android-project-migration.
If you can't make the migration, you can try to source control your own copy of the facade classes from your module's .android directory using an older version of Flutter until you're ready to upgrade.

@iapicca  Thanks. I tried the clean and repair cmd, but still same errors.
here is the logs of flutter run --verbose:

C:\Users\macrolove\Documents\MyWork\demoFlutterThemo\demo_fl_themo>flutter run --verbose
[  +33 ms] executing: [C:\Users\macrolove\Documents\AppStandlone\flutterNewest\flutter] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +485 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] 27321ebbad34b0a3fafe99fac037102196d655ff
[        ] executing: [C:\Users\macrolove\Documents\AppStandlone\flutterNewest\flutter] git describe --match v*.. --first-parent --long --tags
[ +499 ms] Exit code 0 from: git describe --match v*.. --first-parent --long --tags
[        ] v1.12.13+hotfix.5-0-g27321ebba
[   +9 ms] executing: [C:\Users\macrolove\Documents\AppStandlone\flutterNewest\flutter] git rev-parse --abbrev-ref --symbolic @{u}
[ +414 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [C:\Users\macrolove\Documents\AppStandlone\flutterNewest\flutter] git ls-remote --get-url origin
[ +410 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +507 ms] executing: [C:\Users\macrolove\Documents\AppStandlone\flutterNewest\flutter] git rev-parse --abbrev-ref HEAD
[ +418 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] stable
[+1189 ms] executing: C:\Users\macrolove\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[ +908 ms] Exit code 0 from: C:\Users\macrolove\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[   +1 ms] List of devices attached
emulator-5554          offline transport_id:1125
emulator-5556          device product:sdk_gphone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:2
[  +16 ms] C:\Users\macrolove\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5556 shell getprop
[ +879 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[  +33 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[  +12 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +272 ms] Generating C:\Users\macrolove\Documents\MyWork\demoFlutterThemo\demo_fl_themo.android\Flutter\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +48 ms] ro.hardware = ranchu
[  +44 ms] Using hardware rendering with device Android SDK built for x86. If you get graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
[  +25 ms] Launching lib\main.dart on Android SDK built for x86 in debug mode...
[  +69 ms] executing: C:\Users\macrolove\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5556 shell -x logcat -v time -s flutter
[   +8 ms] executing: C:\Users\macrolove\AppData\Local\Android\sdk\platform-tools\adb.exe version
[+2013 ms] E/flutter (23567): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method initState on channel com.demo.app/tg_thermo)
[   +1 ms] E/flutter (23567): #0      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:319:7)
[        ] E/flutter (23567):
[        ] E/flutter (23567): #1      TaskHelper.callNative (package:flutter_test/helper/helpers.dart:53:33)
[   +1 ms] E/flutter (23567): #2      _ThermostatScreenState.initState (package:flutter_test/themo/thermostat_screen.dart:28:25)
[        ] E/flutter (23567): #3      StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4355:58)
[        ] E/flutter (23567): #4      ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
[   +1 ms] E/flutter (23567): #5      Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
[        ] E/flutter (23567): #6      Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
[   +1 ms] E/flutter (23567): #7      SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5445:14)
[        ] E/flutter (23567): #8      Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
[        ] E/flutter (23567): #9      Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
[        ] E/flutter (23567): #10     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
[        ] E/flutter (23567): #11     Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
[        ] E/flutter (23567): #12     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4206:5)
[        ] E/flutter (23567): #13     ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
[        ] E/flutter (23567): #14     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
[        ] E/flutter (23567): #15     Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
[        ] E/flutter (23567): #16     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5445:14)
[        ] E/flutter (23567): #17     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
[        ] E/flutter (23567): #18     Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
[        ] E/flutter (23567): #19     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5445:14)
[        ] E/flutter (23567): #20     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
[        ] E/flutter (23567): #21     Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
[        ] E/flutter (23567): #22     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
[   +1 ms] E/flutter (23567): #23     Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
[        ] E/flutter (23567): #24     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4206:5)
[        ] E/flutter (23567): #25     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4381:11)
[        ] E/flutter (23567): #26     ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
[        ] E/flutter (23567): #27     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
[        ] E/flutter (23567): #28     Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
[        ] E/flutter (23567): #29     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5445:14)
[        ] E/flutter (23567): #30     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
[        ] E/flutter (23567): #31     Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
[        ] E/flutter (23567): #32     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5445:14)
[        ] E/flutter (23567): #33     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
[        ] E/flutter (23567): #34     Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
[        ] E/flutter (23567): #35     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
[        ] E/flutter (23567): #36     Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
[        ] E/flutter (23567): #37     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4206:5)
[        ] E/flutter (23567): #38     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4381:11)
[   +1 ms] E/flutter (23567): #39     ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
[        ] E/flutter (23567): #40     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
[        ] E/flutter (23567): #41     Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
[        ] E/flutter (23567): #42     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
[        ] E/flutter (23567): #43     Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
[        ] E/flutter (23567): #44     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart
[        ] I/flutter (23567): {time: 00:04, temp: 0.5, fan: 6, sw: 7}
[        ] I/flutter (23567): {time: 00:04, temp: 0.5, fan: 6, sw: 1}
[        ] I/flutter (23567): {time: 00:04, temp: 0.5, fan: 6, sw: 1}
[   +1 ms] E/flutter (23567): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method dismiss on channel com.demo.app/tg_thermo)
[        ] E/flutter (23567): #0      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:319:7)
[        ] E/flutter (23567):
[        ] E/flutter (23567): #1      TaskHelper.callNative (package:flutter_test/helper/helpers.dart:53:33)
[        ] E/flutter (23567): #2      _ThermostatScreenState.build. (package:flutter_test/themo/thermostat_screen.dart:86:35)
[        ] E/flutter (23567): #3      _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:706:14)
[        ] E/flutter (23567): #4      _InkResponseState.build. (package:flutter/src/material/ink_well.dart:789:36)
[   +1 ms] E/flutter (23567): #5      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:182:24)
[   +1 ms] E/flutter (23567): #6      TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:486:11)
[   +1 ms] E/flutter (23567): #7      BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:264:5)
[        ] E/flutter (23567): #8      BaseTapGestureRecognizer.handlePrimaryPointer (package:flutter/src/gestures/tap.dart:199:7)
[        ] E/flutter (23567): #9      PrimaryPointerGestureRecognizer.handleEvent (package:flutter/src/gestures/recognizer.dart:467:9)
[        ] E/flutter (23567): #10     PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:76:12)
[        ] E/flutter (23567): #11     PointerRouter._dispatchEventToRoutes. (package:flutter/src/gestures/pointer_router.dart:117:9)
[        ] E/flutter (23567): #12     _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:379:8)
[   +1 ms] E/flutter (23567): #13     PointerRouter._dispatchEventToRoutes (package:flutter/src/gestures/pointer_router.dart:115:18)
[        ] E/flutter (23567): #14     PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:101:7)
[        ] E/flutter (23567): #15     GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:218:19)
[        ] E/flutter (23567): #16     GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:198:22)
[        ] E/flutter (23567): #17     GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:156:7)
[        ] E/flutter (23567): #18     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:102:7)
[        ] E/flutter (23567): #19     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:86:7)
[        ] E/flutter (23567): #20     _rootRunUnary (dart:async/zone.dart:1138:13)
[        ] E/flutter (23567): #21     _CustomZone.runUnary (dart:async/zone.dart:1031:19)
[   +1 ms] Android Debug Bridge version 1.0.41
Version 29.0.4-5871666
Installed as C:\Users\macrolove\AppData\Local\Android\sdk\platform-tools\adb.exe
[   +3 ms] executing: C:\Users\macrolove\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[   +1 ms] E/flutter (23567): #22     _CustomZone.runUnaryGuarded (dart:async/zone.dart:933:7)
[        ] E/flutter (23567): #23     _invoke1 (dart:ui/hooks.dart:273:10)
[        ] E/flutter (23567): #24     _dispatchPointerDataPacket (dart:ui/hooks.dart:182:5)
[   +1 ms] E/flutter (23567):
[        ] E/flutter (23567): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method dismiss on channel com.demo.app/tg_thermo)
[        ] E/flutter (23567): #0      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:319:7)
[        ] E/flutter (23567):
[        ] E/flutter (23567): #1      TaskHelper.callNative (package:flutter_test/helper/helpers.dart:53:33)
[        ] E/flutter (23567): #2      _ThermostatScreenState.build. (package:flutter_test/themo/thermostat_screen.dart:86:35)
[ +753 ms] E/flutter (23567): #3      _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:706:14)
[   +1 ms] E/flutter (23567): #4      _InkResponseState.build. (package:flutter/src/material/ink_well.dart:789:36)
[        ] E/flutter (23567): #5      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:182:24)
[        ] E/flutter (23567): #6      TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:486:11)
[        ] E/flutter (23567): #7      BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:264:5)
[   +1 ms] E/flutter (23567): #8      BaseTapGestureRecognizer.handlePrimaryPointer (package:flutter/src/gestures/tap.dart:199:7)
[   +1 ms] E/flutter (23567): #9      PrimaryPointerGestureRecognizer.handleEvent (package:flutter/src/gestures/recognizer.dart:467:9)
[        ] E/flutter (23567): #10     PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:76:12)
[   +1 ms] E/flutter (23567): #11     PointerRouter._dispatchEventToRoutes. (package:flutter/src/gestures/pointer_router.dart:117:9)
[        ] E/flutter (23567): #12     _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:379:8)
[        ] E/flutter (23567): #13     PointerRouter._dispatchEventToRoutes (package:flutter/src/gestures/pointer_router.dart:115:18)
[        ] E/flutter (23567): #14     PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:101:7)
[        ] E/flutter (23567): #15     GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:218:19)
[        ] E/flutter (23567): #16     GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:198:22)
[        ] E/flutter (23567): #17     GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:156:7)
[   +1 ms] E/flutter (23567): #18     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:102:7)
[        ] E/flutter (23567): #19     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:86:7)
[        ] E/flutter (23567): #20     _rootRunUnary (dart:async/zone.dart:1138:13)
[        ] E/flutter (23567): #21     _CustomZone.runUnary (dart:async/zone.dart:1031:19)
[        ] E/flutter (23567): #22     _CustomZone.runUnaryGuarded (dart:async/zone.dart:933:7)
[        ] E/flutter (23567): #23     _invoke1 (dart:ui/hooks.dart:273:10)
[        ] E/flutter (23567): #24     _dispatchPointerDataPacket (dart:ui/hooks.dart:182:5)
[        ] E/flutter (23567):
[        ] I/flutter (23567): Click down
[        ] E/flutter (23567): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method sendData on channel com.demo.app/tg_thermo)
[        ] E/flutter (23567): #0      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:319:7)
[        ] E/flutter (23567):
[        ] E/flutter (23567): #1      TaskHelper.callNative (package:flutter_test/helper/helpers.dart:53:33)
[        ] E/flutter (23567): #2      _ThermostatScreenState.sendData (package:flutter_test/themo/thermostat_screen.dart:45:25)
[        ] E/flutter (23567): #3      _ThermostatScreenState.build. (package:flutter_test/themo/thermostat_screen.dart:286:21)
[        ] E/flutter (23567): #4      _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:706:14)
[        ] E/flutter (23567): #5      _InkResponseState.build. (package:flutter/src/material/ink_well.dart:789:36)
[        ] E/flutter (23567): #6      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:182:24)
[        ] E/flutter (23567): #7      TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:486:11)
[        ] E/flutter (23567): #8      BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:264:5)
[        ] E/flutter (23567): #9      BaseTapGestureRecognizer.handlePrimaryPointer (package:flutter/src/gestures/tap.dart:199:7)
[        ] E/flutter (23567): #10     PrimaryPointerGestureRecognizer.handleEvent (package:flutter/src/gestures/recognizer.dart:467:9)
[        ] E/flutter (23567): #11     PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:76:12)
[        ] E/flutter (23567): #12     PointerRouter._dispatchEventToRoutes. (package:flutter/src/gestures/pointer_router.dart:117:9)
[        ] E/flutter (23567): #13     _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:379:8)
[        ] E/flutter (23567): #14     PointerRouter._dispatchEventToRoutes (package:flutter/src/gestures/pointer_router.dart:115:18)
[        ] E/flutter (23567): #15     PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:101:7)
[   +1 ms] E/flutter (23567): #16     GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:218:19)
[        ] E/flutter (23567): #17     GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:198:22)
[        ] E/flutter (23567): #18     GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:156:7)
[        ] E/flutter (23567): #19     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:102:7)
[        ] E/flutter (23567): #20     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:86:7)
[   +3 ms] E/flutter (23567): #21     _rootRunUnary (dart:async/zone.dart:1138:13)
[        ] E/flutter (23567): #22     _CustomZone.runUnary (dart:async/zone.dart:1031:19)
[        ] E/flutter (23567): #23     _CustomZone.runUnaryGuarded (dart:async/zone.dart:933:7)
[   +1 ms] E/flutter (23567): #24     _invoke1 (dart:ui/hooks.dart:273:10)
[        ] E/flutter (23567): #25     _dispatchPointerDataPacket (dart:ui/hooks.dart:182:5)
[        ] E/flutter (23567):
[        ] I/flutter (23567): Dialog disposed!!!!!.......0
[        ] I/flutter (23567): Click down
[        ] E/flutter (23567): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method sendData on channel com.demo.app/tg_thermo)
[        ] E/flutter (23567): #0      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:319:7)
[        ] E/flutter (23567):
[        ] E/flutter (23567): #1      TaskHelper.callNative (package:flutter_test/helper/helpers.dart:53:33)
[        ] E/flutter (23567): #2      _ThermostatScreenState.sendData (package:flutter_test/themo/thermostat_screen.dart:45:25)
[        ] E/flutter (23567): #3      _ThermostatScreenState.build. (package:flutter_test/themo/thermostat_screen.dart:286:21)
[        ] E/flutter (23567): #4      _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:706:14)
[        ] E/flutter (23567): #5      _InkResponseState.build. (package:flutter/src/material/ink_well.dart:789:36)
[        ] E/flutter (23567): #6      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:182:24)
[   +1 ms] E/flutter (23567): #7      TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:486:11)
[        ] E/flutter (23567): #8      BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:264:5)
[        ] E/flutter (23567): #9      BaseTapGestureRecognizer.handlePrimaryPointer (package:flutter/src/gestures/tap.dart:199:7)
[   +1 ms] E/flutter (23567): #10     PrimaryPointerGestureRecognizer.handleEvent (package:flutter/src/gestures/recognizer.dart:467:9)
[        ] E/flutter (23567): #11     PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:76:12)
[        ] E/flutter (23567): #12     PointerRouter._dispatchEventToRoutes. (package:flutter/src/gestures/pointer_router.dart:117:9)
[        ] E/flutter (23567): #13     _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:379:8)
[        ] E/flutter (23567): #14     PointerRouter._dispatchEventToRoutes (package:flutter/src/gestures/pointer_router.dart:115:18)
[        ] E/flutter (23567): #15     PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:101:7)
[        ] E/flutter (23567): #16     GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:218:19)
[        ] E/flutter (23567): #17     GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:198:22)
[        ] E/flutter (23567): #18     GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:156:7)
[        ] E/flutter (23567): #19     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:102:7)
[        ] E/flutter (23567): #20     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:86:7)
[        ] E/flutter (23567): #21     _rootRunUnary (dart:async/zone.dart:1138:13)
[        ] E/flutter (23567): #22     _CustomZone.runUnary (dart:async/zone.dart:1031:19)
[        ] E/flutter (23567): #23     _CustomZone.runUnaryGuarded (dart:async/zone.dart:933:7)
[        ] E/flutter (23567): #24     _invoke1 (dart:ui/hooks.dart:273:10)
[        ] E/flutter (23567): #25     _dispatchPointerDataPacket (dart:ui/hooks.dart:182:5)
[        ] E/flutter (23567):
[        ] I/flutter (23567): Dialog disposed!!!!!.......0
[  +15 ms] Building APK
[  +12 ms] [!] Your app isn't using AndroidX.
[        ]     To avoid potential build failures, you can quickly migrate your app by following the steps on https://goo.gl/CP92wY.
[  +11 ms] Running Gradle task 'assembleDebug'...
[   +2 ms] gradle.properties already sets android.enableR8
[  +16 ms] Using gradle from C:\Users\macrolove\Documents\MyWork\demoFlutterThemo\demo_fl_themo.android\gradlew.bat.
[  +17 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +973 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[        ] openjdk version "1.8.0_202-release"
OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
OpenJDK 64-Bit Server VM (build 25.202-b03, mixed mode)
[   +4 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +982 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[        ] openjdk version "1.8.0_202-release"
OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
OpenJDK 64-Bit Server VM (build 25.202-b03, mixed mode)
[   +8 ms] executing: [C:\Users\macrolove\Documents\MyWork\demoFlutterThemo\demo_fl_themo.android] C:\Users\macrolove\Documents\MyWork\demoFlutterThemo\demo_fl_themo.android\gradlew.bat -Pverbose=true -Ptarget=C:\Users\macrolove\Documents\MyWork\demoFlutterThemo\demo_fl_themo\lib\main.dart
-Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root -Ptarget-platform=android-x86 assembleDebug
[+4768 ms] Starting a Gradle Daemon (subsequent builds will be faster)
[+16291 ms] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preDebugBuild UP-TO-DATE
[+10625 ms] > Task :flutter:compileFlutterBuildDebug
[   +8 ms] [  +30 ms] executing: [C:\Users\macrolove\Documents\AppStandlone\flutterNewest\flutter] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +760 ms] [ +729 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] [   +1 ms] 27321ebbad34b0a3fafe99fac037102196d655ff
[        ] [        ] executing: [C:\Users\macrolove\Documents\AppStandlone\flutterNewest\flutter] git describe --match v*.. --first-parent --long --tags
[ +818 ms] [ +868 ms] Exit code 0 from: git describe --match v*.. --first-parent --long --tags
[   +4 ms] [        ] v1.12.13+hotfix.5-0-g27321ebba
[        ] [  +10 ms] executing: [C:\Users\macrolove\Documents\AppStandlone\flutterNewest\flutter] git rev-parse --abbrev-ref --symbolic @{u}
[ +574 ms] [ +560 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/stable
[        ] [        ] executing: [C:\Users\macrolove\Documents\AppStandlone\flutterNewest\flutter] git ls-remote --get-url origin
[ +716 ms] [ +721 ms] Exit code 0 from: git ls-remote --get-url origin
[   +2 ms] [        ] https://github.com/flutter/flutter.git
[ +790 ms] [ +663 ms] executing: [C:\Users\macrolove\Documents\AppStandlone\flutterNewest\flutter] git rev-parse --abbrev-ref HEAD
[ +403 ms] [ +551 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[  +33 ms] [        ] stable
[ +107 ms] [  +59 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[ +126 ms] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[  +19 ms] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[  +11 ms] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] [  +25 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +3 ms] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [ +198 ms] Initializing file store
[  +72 ms] [  +35 ms] kernel_snapshot: Starting due to {}
[        ] [  +19 ms] C:\Users\macrolove\Documents\AppStandlone\flutterNewest\flutter\bin\cache\dart-sdk\bin\dart.exe C:\Users\macrolove\Documents\AppStandlone\flutterNewest\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\Users\macrolove\Documents\AppStandlone\flutterNewest\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --target=flutter -Ddart.developer.causal_async_stacks=true -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation --no-link-platform --packages C:\Users\macrolove\Documents\MyWork\demoFlutterThemo\demo_fl_themo.packages
--output-dill C:\Users\macrolove\Documents\MyWork\demoFlutterThemo\demo_fl_themo.dart_tool\flutter_build\b37b1cbbc5f11f67768a311a9c68f7b7\app.dill --depfile
C:\Users\macrolove\Documents\MyWork\demoFlutterThemo\demo_fl_themo.dart_tool\flutter_build\b37b1cbbc5f11f67768a311a9c68f7b7\kernel_snapshot.d package:flutter_test/main.dart
[+9500 ms] [+9551 ms] kernel_snapshot: Complete
[+1999 ms] [+2020 ms] debug_android_application: Starting due to {}
[+1315 ms] [+1141 ms] debug_android_application: Complete
[ +583 ms] [ +740 ms] Persisting file store
[        ] [  +13 ms] Done persisting file store
[  +99 ms] [   +5 ms] build succeeded.
[   +1 ms] [  +13 ms] "flutter assemble" took 14,375ms.
[ +500 ms] > Task :flutter:packLibsflutterBuildDebug
[        ] > Task :flutter:preBuild UP-TO-DATE
[        ] > Task :flutter:preDebugBuild UP-TO-DATE
[        ] > Task :flutter:compileDebugAidl NO-SOURCE
[   +2 ms] > Task :app:compileDebugAidl NO-SOURCE
[   +1 ms] > Task :flutter:packageDebugRenderscript NO-SOURCE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[ +103 ms] > Task :app:checkDebugManifest
[  +89 ms] > Task :app:generateDebugBuildConfig
[  +99 ms] > Task :flutter:compileDebugRenderscript NO-SOURCE
[        ] > Task :flutter:checkDebugManifest
[ +108 ms] > Task :flutter:generateDebugBuildConfig
[ +100 ms] > Task :flutter:generateDebugResValues
[   +2 ms] > Task :flutter:generateDebugResources
[ +187 ms] > Task :flutter:packageDebugResources
[+1784 ms] > Task :flutter:processDebugManifest
[  +49 ms] > Task :app:mainApkListPersistenceDebug
[ +113 ms] > Task :app:generateDebugResValues
[   +1 ms] > Task :app:generateDebugResources
[+12071 ms] > Task :app:createDebugCompatibleScreenManifests
[+1201 ms] > Task :app:processDebugManifest
[  +15 ms] > Task :app:mergeDebugShaders
[   +1 ms] > Task :app:compileDebugShaders
[   +1 ms] > Task :app:generateDebugAssets
[  +48 ms] > Task :flutter:cleanPackageDebugAssets UP-TO-DATE
[  +19 ms] > Task :flutter:mergeDebugShaders
[ +114 ms] > Task :flutter:compileDebugShaders
[   +4 ms] > Task :flutter:generateDebugAssets
[        ] > Task :flutter:packageDebugAssets
[+1791 ms] > Task :flutter:copyFlutterAssetsDebug
[+1710 ms] > Task :app:mergeDebugAssets
[  +12 ms] > Task :app:processDebugJavaRes NO-SOURCE
[   +1 ms] > Task :flutter:processDebugJavaRes NO-SOURCE
[ +333 ms] > Task :app:checkDebugDuplicateClasses
[ +389 ms] > Task :app:validateSigningDebug
[ +242 ms] > Task :app:signingConfigWriterDebug
[   +9 ms] > Task :app:mergeDebugJniLibFolders
[  +88 ms] > Task :flutter:mergeDebugJniLibFolders
[ +397 ms] > Task :flutter:javaPreCompileDebug
[  +37 ms] > Task :app:desugarDebugFileDependencies
[ +461 ms] > Task :flutter:mergeDebugNativeLibs
[  +98 ms] > Task :flutter:stripDebugDebugSymbols
[   +2 ms] > Task :flutter:transformNativeLibsWithIntermediateJniLibsForDebug
[  +97 ms] > Task :flutter:transformNativeLibsWithSyncJniLibsForDebug
[        ] > Task :flutter:parseDebugLibraryResources
[ +100 ms] > Task :flutter:prepareLintJarForPublish
[ +299 ms] > Task :flutter:generateDebugRFile
[+8195 ms] > Task :flutter:compileDebugJavaWithJavac
[+1902 ms] > Task :app:mergeDebugResources
[+2399 ms] > Task :app:processDebugResources
[ +400 ms] > Task :flutter:extractDebugAnnotations
[   +1 ms] > Task :flutter:mergeDebugGeneratedProguardFiles
[        ] > Task :flutter:mergeDebugConsumerProguardFiles
[   +1 ms] > Task :flutter:compileDebugSources
[ +163 ms] > Task :app:mergeExtDexDebug
[ +107 ms] > Task :flutter:bundleLibRuntimeDebug
[  +27 ms] > Task :flutter:bundleLibResDebug
[  +54 ms] > Task :flutter:createFullJarDebug
[ +161 ms] > Task :flutter:mergeDebugJavaResource
[ +128 ms] > Task :flutter:transformClassesAndResourcesWithSyncLibJarsForDebug
[+2873 ms] > Task :flutter:bundleDebugAar
[  +34 ms] > Task :flutter:assembleDebug
[        ] > Task :flutter:bundleLibCompileDebug
[ +149 ms] > Task :app:javaPreCompileDebug
[+3995 ms] > Task :app:compileDebugJavaWithJavac
[        ] > Task :app:compileDebugSources
[+2499 ms] > Task :app:transformClassesWithDexBuilderForDebug
[ +740 ms] > Task :app:mergeDebugNativeLibs
[+4958 ms] > Task :app:stripDebugDebugSymbols
[ +200 ms] > Task :app:mergeDebugJavaResource
[        ] > Task :app:mergeDexDebug
[+7899 ms] > Task :app:packageDebug
[        ] > Task :app:assembleDebug
[  +98 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
[        ] Use '--warning-mode all' to show the individual deprecation warnings.
[        ] See https://docs.gradle.org/5.6.2/userguide/command_line_interface.html#sec:command_line_warnings
[        ] BUILD SUCCESSFUL in 1m 47s
[        ] 57 actionable tasks: 56 executed, 1 up-to-date
[ +405 ms] Running Gradle task 'assembleDebug'... (completed in 111.8s)
[  +36 ms] calculateSha: LocalDirectory: 'C:\Users\macrolove\Documents\MyWork\demoFlutterThemo\demo_fl_themo\build\host\outputs\apk'/app.apk
[  +44 ms] calculateSha: reading file took 40us
[ +463 ms] calculateSha: computing sha took 462us
[   +6 ms] √ Built build\host\outputs\apk\debug\app-debug.apk.
[  +22 ms] executing: C:\Users\macrolove\AppData\Local\Android\sdk\build-tools\29.0.2\aapt dump xmltree C:\Users\macrolove\Documents\MyWork\demoFlutterThemo\demo_fl_themo\build\host\outputs\apk\app.apk AndroidManifest.xml
[+1069 ms] Exit code 0 from: C:\Users\macrolove\AppData\Local\Android\sdk\build-tools\29.0.2\aapt dump xmltree C:\Users\macrolove\Documents\MyWork\demoFlutterThemo\demo_fl_themo\build\host\outputs\apk\app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
E: manifest (line=2)
A: android:versionCode(0x0101021b)=(type 0x10)0x1
A: android:versionName(0x0101021c)="1.0" (Raw: "1.0")
A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
A: package="com.tg.flutter_test.host" (Raw: "com.tg.flutter_test.host")
A: platformBuildVersionCode=(type 0x10)0x1c
A: platformBuildVersionName=(type 0x10)0x9
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
E: uses-permission (line=16)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
E: application (line=24)
A: android:label(0x01010001)="flutter_test" (Raw: "flutter_test")
A: android:icon(0x01010002)=@0x7f0c0000
A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
A: android:appComponentFactory(0x0101057a)="android.support.v4.app.CoreComponentFactory" (Raw: "android.support.v4.app.CoreComponentFactory")
E: activity (line=30)
A: android:theme(0x01010000)=@0x7f0e00c5
A: android:name(0x01010003)="com.tg.flutter_test.host.MainActivity" (Raw: "com.tg.flutter_test.host.MainActivity")
A: android:launchMode(0x0101001d)=(type 0x10)0x1
A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
E: meta-data (line=44)
A: android:name(0x01010003)="io.flutter.app.android.SplashScreenUntilFirstFrame" (Raw: "io.flutter.app.android.SplashScreenUntilFirstFrame")
A: android:value(0x01010024)=(type 0x12)0xffffffff
E: intent-filter (line=48)
E: action (line=49)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
E: category (line=51)
A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
E: meta-data (line=58)
A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
A: android:value(0x01010024)=(type 0x10)0x2
E: meta-data (line=61)
A: android:name(0x01010003)="flutterProjectType" (Raw: "flutterProjectType")
A: android:value(0x01010024)="module" (Raw: "module")
[   +5 ms] Stopping app 'app.apk' on Android SDK built for x86.
[   +4 ms] executing: C:\Users\macrolove\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5556 shell am force-stop com.tg.flutter_test.host
[+1394 ms] executing: C:\Users\macrolove\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5556 shell pm list packages com.tg.flutter_test.host
[+1126 ms] package:com.tg.flutter_test.host
[   +3 ms] executing: C:\Users\macrolove\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5556 shell cat /data/local/tmp/sky.com.tg.flutter_test.host.sha1
[+1323 ms] c48ef7869a097bd0ab03dea19ddb6085f83c2732
[   +2 ms] Installing APK.
[   +4 ms] executing: C:\Users\macrolove\AppData\Local\Android\sdk\platform-tools\adb.exe version
[+1052 ms] Android Debug Bridge version 1.0.41
Version 29.0.4-5871666
Installed as C:\Users\macrolove\AppData\Local\Android\sdk\platform-tools\adb.exe
[   +1 ms] executing: C:\Users\macrolove\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[+1114 ms] Installing build\host\outputs\apk\app.apk...
[   +1 ms] executing: C:\Users\macrolove\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5556 install -t -r C:\Users\macrolove\Documents\MyWork\demoFlutterThemo\demo_fl_themo\build\host\outputs\apk\app.apk
[+13859 ms] Performing Streamed Install
Success
[        ] Installing build\host\outputs\apk\app.apk... (completed in 13.9s)
[   +2 ms] executing: C:\Users\macrolove\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5556 shell echo -n db8cb8cf203d300993fe485c829ba15b2bf11e00 > /data/local/tmp/sky.com.tg.flutter_test.host.sha1
[+2278 ms] Android SDK built for x86 startApp
[   +6 ms] executing: C:\Users\macrolove\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5556 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true
com.tg.flutter_test.host/com.tg.flutter_test.host.MainActivity
[+3023 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.tg.flutter_test.host/.MainActivity (has extras) }
[   +5 ms] Waiting for observatory port to be available...
[+8590 ms] Observatory URL on device: http://<IP_ADDRESS>:46294/A8ruqyBMvss=/
[   +4 ms] executing: C:\Users\macrolove\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5556 forward tcp:0 tcp:46294
[+1012 ms] 64287
[        ] Forwarded host port 64287 to device port 46294 for Observatory
[  +10 ms] Connecting to service protocol: http://<IP_ADDRESS>:64287/A8ruqyBMvss=/
[ +945 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:64287/A8ruqyBMvss=/
[   +3 ms] Sending to VM service: getVM({})
[  +43 ms] Result: {type: VM, name: vm, architectureBits: 32, hostCPU: Intel(R) Core(TM) i5-8500T CPU @ 2.10GHz, operatingSystem: android, targetCPU: ia32, version: 2.7.0 (Mon Dec 2 20:10:59 2019 +0100) on "android_ia32", _profilerMode: VM, _nativeZoneMemoryUsage: 0...
[   +4 ms] Sending to VM service: getIsolate({isolateId: isolates/3687108870799363})
[   +3 ms] Sending to VM service: _flutter.listViews({})
[  +46 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0xdc0e8710, isolate: {type: @Isolate, fixedId: true, id: isolates/3687108870799363, name: main.dart$main-3687108870799363, number:<PHONE_NUMBER>799363}}]}
[   +5 ms] DevFS: Creating new filesystem on the device (null)
[   +1 ms] Sending to VM service: _createDevFS({fsName: demo_fl_themo})
[ +140 ms] Result: {type: Isolate, id: isolates/3687108870799363, name: main, number:<PHONE_NUMBER>799363, _originNumber:<PHONE_NUMBER>799363, startTime:<PHONE_NUMBER>765, _heaps: {new: {type: HeapSpace, name: new, vmName: Scavenger, collections: 2, avgCollectionPeriodMillis...
[  +16 ms] Result: {type: FileSystem, name: demo_fl_themo, uri: file:///data/user/0/com.tg.flutter_test.host/code_cache/demo_fl_themoDIQXKE/demo_fl_themo/}
[        ] DevFS: Created new filesystem on the device (file:///data/user/0/com.tg.flutter_test.host/code_cache/demo_fl_themoDIQXKE/demo_fl_themo/)
[   +2 ms] Updating assets
[ +677 ms] Syncing files to device Android SDK built for x86...
[   +2 ms] Scanning asset files
[  +68 ms] <- reset
[   +1 ms] Compiling dart to kernel with 0 updated files
[  +14 ms] C:\Users\macrolove\Documents\AppStandlone\flutterNewest\flutter\bin\cache\dart-sdk\bin\dart.exe C:\Users\macrolove\Documents\AppStandlone\flutterNewest\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\Users\macrolove\Documents\AppStandlone\flutterNewest\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter -Ddart.developer.causal_async_stacks=true --output-dill C:\Users\TIANBA~1.ZHA\AppData\Local\Temp\flutter_tool.04adb206-213c-11ea-be7b-b88584c24f2d\app.dill
--packages C:\Users\macrolove\Documents\MyWork\demoFlutterThemo\demo_fl_themo.packages -Ddart.vm.profile=false -Ddart.vm.product=false --bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts
--track-widget-creation --filesystem-scheme org-dartlang-root
[+1230 ms] <- compile package:flutter_test/main.dart
[+1349 ms] E/flutter (28061): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method initState on channel com.demo.app/tg_thermo)
[        ] E/flutter (28061): #0      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:319:7)
[        ] E/flutter (28061):
[   +1 ms] E/flutter (28061): #1      TaskHelper.callNative (package:flutter_test/helper/helpers.dart:53:33)
[        ] E/flutter (28061): #2      _ThermostatScreenState.initState (package:flutter_test/themo/thermostat_screen.dart:28:25)
[        ] E/flutter (28061): #3      StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4355:58)
[   +1 ms] E/flutter (28061): #4      ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
[        ] E/flutter (28061): #5      Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
[        ] E/flutter (28061): #6      Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
[        ] E/flutter (28061): #7      SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5445:14)
[        ] E/flutter (28061): #8      Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
[        ] E/flutter (28061): #9      Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
[        ] E/flutter (28061): #10     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
[        ] E/flutter (28061): #11     Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
[        ] E/flutter (28061): #12     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4206:5)
[        ] E/flutter (28061): #13     ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
[        ] E/flutter (28061): #14     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
[        ] E/flutter (28061): #15     Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
[        ] E/flutter (28061): #16     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5445:14)
[        ] E/flutter (28061): #17     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
[        ] E/flutter (28061): #18     Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
[        ] E/flutter (28061): #19     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5445:14)
[        ] E/flutter (28061): #20     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
[        ] E/flutter (28061): #21     Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
[        ] E/flutter (28061): #22     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
[        ] E/flutter (28061): #23     Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
[        ] E/flutter (28061): #24     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4206:5)
[        ] E/flutter (28061): #25     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4381:11)
[        ] E/flutter (28061): #26     ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
[        ] E/flutter (28061): #27     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
[        ] E/flutter (28061): #28     Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
[        ] E/flutter (28061): #29     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5445:14)
[        ] E/flutter (28061): #30     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
[        ] E/flutter (28061): #31     Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
[        ] E/flutter (28061): #32     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5445:14)
[        ] E/flutter (28061): #33     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
[        ] E/flutter (28061): #34     Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
[        ] E/flutter (28061): #35     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
[        ] E/flutter (28061): #36     Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
[        ] E/flutter (28061): #37     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4206:5)
[        ] E/flutter (28061): #38     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4381:11)
[        ] E/flutter (28061): #39     ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
[   +1 ms] E/flutter (28061): #40     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
[        ] E/flutter (28061): #41     Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
[        ] E/flutter (28061): #42     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
[        ] E/flutter (28061): #43     Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
[        ] E/flutter (28061): #44     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart
[+5472 ms] Updating files
[+1327 ms] DevFS: Sync finished
[   +1 ms] Syncing files to device Android SDK built for x86... (completed in 9,494ms, longer than expected)
[   +1 ms] Synced 1.3MB.
[   +1 ms] Sending to VM service: _flutter.listViews({})
[ +124 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0xdc0e8710, isolate: {type: @Isolate, fixedId: true, id: isolates/3687108870799363, name: main.dart$main-3687108870799363, number:<PHONE_NUMBER>799363}}]}
[   +1 ms] <- accept
[        ] Connected to _flutterView/0xdc0e8710.
[   +2 ms] 🔥  To hot reload changes while running, press "r". To hot restart (and rebuild state), press "R".
[   +1 ms] An Observatory debugger and profiler on Android SDK built for x86 is available at: http://<IP_ADDRESS>:64287/A8ruqyBMvss=/
[        ] For a more detailed help message, press "h". To detach, press "d"; to quit, press "q".
[+12489 ms] Application finished.
[   +4 ms] DevFS: Deleting filesystem on the device (file:///data/user/0/com.tg.flutter_test.host/code_cache/demo_fl_themoDIQXKE/demo_fl_themo/)
[   +3 ms] Sending to VM service: _deleteDevFS({fsName: demo_fl_themo})

@iapicca  the flutter module can run itself, but when I integerated it into my app, it will throw the io.flutter.facade not found  error. I checked that and that package  really not been generated.

Sorry for the inconvenience. We sent an announcement on this previously at https://groups.google.com/g/flutter-announce/c/uWjhEu6atlA/m/1EtQiqCQAAAJ.
See upgrade steps at https://flutter.dev/go/android-project-migration.
If you can't make the migration, you can try to source control your own copy of the facade classes from your module's .android directory using an older version of Flutter until you're ready to upgrade.

Thanks @xster .
Am studying it now and trying to migrate it via the doc.
well, to tell the truth, these migrations guides are really too complicated. even though for an me an 7 years android developer. my bad, Sorry......

umm, as spent a day of research, I decided to use:

If you can't make the migration, you can try to source control your own copy of the facade classes from your module's .android directory using an older version of Flutter until you're ready to upgrade.

Will consider this migration later.
thanks.

Understood. Closing this issue for now. Please feel free to open more issues if you run into issues with the migration.


enum syntax highlighting not working

Hey there! 👋 First of all, thanks a lot for the plugin!
I've just installed and I realized that the enum syntax highlighting is not working. Is is supported?

I am using NVIM v0.4.3

Hi, it might be your theme, try again with a different there.
Otherwise, please paste the datamodel here so that I can test it

It works for me now. Although, I am not very happy with the grammar that this plugin use. I am planning a rewrite.

Oh, that definitely seems like a problem with the Dracula theme! I will try it with another theme as you suggested, thanks.

Just a quick follow up: it is indeed a problem with the theme! Just tested it using Gruvbox and it worked great.


Configuration argument to 'run' not taking affect

Repro:

do a dotnet watch on an app. This will by default compile the target app in debug mode.
Ctrl + C to kill the dotnet watch
do a dotnet watch --run -c Release and you should see this not building the app for Release

C:\temp\DotnetWatchTestApp\src\ConsoleApp [master]> dotnet --info
.NET Command Line Tools (1.0.0-rc2-002659)

Product Information:
 Version:     1.0.0-rc2-002659
 Commit Sha:  11a001706f

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.10586
 OS Platform: Windows
 RID:         win10-x64

You command is incorrect.  My bad. I verified it now and it works.


feat: removed font-weight from typography classes

#220  👈
develop

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @bob-obringer and the rest of your teammates on  Graphite


BUG: Network jones2009_3x3_drives.json is incompatible with MPI

I ran into the following issue when investigating #871. Currently, this bug prevents the default number of cores from being greater than one, in the case of the GUI when MPI is activated.
I was testing the GUI by way of enabling MPI and increasing the default number of cores used. However, weirdly, only some, but not all, of the GUI tests were failing at the actual simulation step. I realized that the problem was with this particular test network itself, not the GUI. Here is an example script that, if you run it from the hnn-core directory, reproduces the error (assuming you have MPI installed):
#!/usr/bin/env python

from pathlib import Path
from hnn_core import jones_2009_model, MPIBackend, simulate_dipole
from hnn_core import hnn_io as hio

hnn_core_root = Path('hnn_core')

###########################
# Network 1: the default case of HNN-Core's API. The config file is shown here
# ONLY for the sake of comparison.
config_net1 = (hnn_core_root / 'param' / 'default.json')
net1 = jones_2009_model()

###########################
# Network 2: the default case for the GUI. Note that this must be loaded
# differently than the classic case above.
config_net2 = (hnn_core_root / 'param' / 'jones2009_base.json')
net2 = hio.read_network_configuration(config_net2)

###########################
# Network 3: the network that is sometimes, but not always, the network used in
# actual GUI tests. Specifically, this is the network used in GUI tests when
# the `setup_gui` fixture is used.
config_net3 = (hnn_core_root / 'tests' / 'assets' / 'jones2009_3x3_drives.json')
net3 = hio.read_network_configuration(config_net3)

########################################################################
# Now let's test that they actually simulate using MPI.
# We will see that Networks 1 and 2 work, but 3 does not. Therefore, any GUI
# tests that use Network 3 and attempt to use MPI will fail.
for net in [net1, net2, net3]:
    try:
        with MPIBackend(n_procs=4):
            dpl = simulate_dipole(net, tstop=20., n_trials=1)
    except RuntimeError as err:
        print(err)

If you run this, you'll notice that net1 (the default model of the API) and net2 (the default model of the GUI) work fine, but net3 fails. The key part of the error appears to be the following:
Building the NEURON model
0 /opt/anaconda3/envs/hc12/bin/nrniv: usable mindelay is 0 (or less than dt for fixed step method)
0  near line 0
0  ^
        0 finitialize()
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
  Proc: [[5323,1],0]
  Errorcode: -1

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------
[Done]

Looking at the NEURON forums ( https://www.neuron.yale.edu/phpBB/viewtopic.php?t=3090 ), this may be tied to a particular but unknown delay parameter causing problems in net3 but not net2.
More generally, this is a case of inconsistency in what networks we test and when: this issue caused many, but not all, GUI tests which run simulations to fail. As it turns out, the actual network being simulated is inconsistent in test_gui.py: sometimes, it's the default GUI network (such as in test_gui.py::test_gui_add_drives()), but sometimes it's instead the network tied to this issue (any test that uses the test_gui.py::setup_gui() fixture). This also implies that many of our GUI tests are not actually testing the default GUI network!
Therefore, the tasks for this issue should include:

[ ] Diagnose and fix the issue preventing the network of jones2009_3x3_drives.json from using MPI. Based on its creation in test_io.py::jones_2009_network(), and the error output from NEURON and MPI, it is almost certainly an issue with a delay parameter in one of the additional drives added to this network, which are not present in the default network.
[ ] Properly introduce pytest fixture usage to GUI testing, and ensure that, at minimum, all testing tests the default network (except where unreasonable).

This is almost certainly related to #663


Saliency map GAT input shape error

Describe the bug
I trained a GAT for binary node classification with the following structure
    __________________________________________________________________________________________________
    Layer (type)                    Output Shape         Param #     Connected to
    ==================================================================================================
    input_1 (InputLayer)            [(1, 20379, 51)]     0
    __________________________________________________________________________________________________
    input_3 (InputLayer)            [(1, None, 2)]       0
    __________________________________________________________________________________________________
    input_4 (InputLayer)            [(1, None)]          0
    __________________________________________________________________________________________________
    dropout (Dropout)               (1, 20379, 51)       0           input_1[0][0]
    __________________________________________________________________________________________________
    squeezed_sparse_conversion (Squ (20379, 20379)       0           input_3[0][0]
                                                                     input_4[0][0]
    __________________________________________________________________________________________________
    graph_attention_sparse (GraphAt (1, 20379, 128)      6914        dropout[0][0]
                                                                     squeezed_sparse_conversion[0][0]
    __________________________________________________________________________________________________
    dropout_1 (Dropout)             (1, 20379, 128)      0           graph_attention_sparse[0][0]
    __________________________________________________________________________________________________
    graph_attention_sparse_1 (Graph (1, 20379, 1)        133         dropout_1[0][0]
                                                                     squeezed_sparse_conversion[0][0]
    __________________________________________________________________________________________________
    input_2 (InputLayer)            [(1, None)]          0
    __________________________________________________________________________________________________
    gather_indices (GatherIndices)  (1, None, 1)         0           graph_attention_sparse_1[0][0]
                                                                     input_2[0][0]
    __________________________________________________________________________________________________
    lambda (Lambda)                 (1, None, 1)         0           gather_indices[0][0]
    ==================================================================================================
    Total params: 7,047
    Trainable params: 7,043
    Non-trainable params: 4

I saved the model with model.save() and then used the following code to obtain node self-importance following https://stellargraph.readthedocs.io/en/stable/demos/interpretability/gat-node-link-importance.html?highlight=GAT saliency
    G = StellarGraph(X, edges=conv2adj_list(adj_matrix))
    generator = FullBatchNodeGenerator(G, method="gat", sparse=False)
    train_gen = generator.flow(train_subjects.index, train_targets)
    model = tf.keras.models.load_model('GAT10_2layers', custom_objects={'mcc':mcc})
    create_file('out/gat_saliency_nodes.txt', ['node id', 'self-importance', 'pred', 'class'])
    int_grad_saliency = IntegratedGradientsGAT(model, train_gen, generator.node_list)
    saliency = GradientSaliencyGAT(model, train_gen)

but the IntegratedGradientsGAT fails with too many arguments to unpack expected 3.
print(model.input) returns 4 inputs.
[<KerasTensor: shape=(1, 20379, 51) dtype=float32 (created by layer 'input_1')>, <KerasTensor: shape=(1, None) dtype=int32 (created by layer 'input_2')>, <KerasTensor: shape=(1, None, 2) dtype=int64 (created by layer 'input_3')>, <KerasTensor: shape=(1, None) dtype=float32 (created by layer 'input_4')>]

I am using the same generator / inputs/labels for training and saliency, is there something obvious that I am missing?

Thanks for filing an issue! I think I'll need a little bit more info:

What's the exact error message/stack trace?
How did you create the GAT model?
Could you try running the IntegratedGradientsGAT construction in the original code and see if it fails in the same way? (You can do this after compiling but without training, if training takes a long time.) That is, it'd be good to narrow down whether this is caused by saving/loading, or is unrelated to that.

FYI, I edited your issue text to fix a minor markdown mistake: a multi-line code blocks are much easier to read using three backticks rather than just one, for example:
```python
G = StellarGraph(X, edges=conv2adj_list(adj_matrix))
generator = FullBatchNodeGenerator(G, method="gat", sparse=False)
train_gen = generator.flow(train_subjects.index, train_targets)
model = tf.keras.models.load_model('GAT10_2layers', custom_objects={'mcc':mcc})
create_file('out/gat_saliency_nodes.txt', ['node id', 'self-importance', 'pred', 'class'])
int_grad_saliency = IntegratedGradientsGAT(model, train_gen, generator.node_list)
saliency = GradientSaliencyGAT(model, train_gen)
```

(It's easy to forget, so Github has a nice little guide with examples as a reminder: https://guides.github.com/features/mastering-markdown/#examples . It's linked in comment boxes as the little M↓ logo in the bottom right corner.)

Thanks for fixing the formatting, missed to preview it before posting.
Answering to your questions the full stack of the error is the following
Traceback (most recent call last):
  File "gat_saliencymaps.py", line 141, in <module>
    int_grad_saliency = IntegratedGradientsGAT(model, train_gen, generator.node_list)
  File "/Users/anfossat/opt/anaconda3/lib/python3.7/site-packages/stellargraph/interpretability/saliency_maps/integrated_gradients_gat.py", line 43, in __init__
    super().__init__(model, generator)
  File "/Users/anfossat/opt/anaconda3/lib/python3.7/site-packages/stellargraph/interpretability/saliency_maps/saliency_gat.py", line 59, in __init__
    features_t, output_indices_t, adj_t = model.input
ValueError: too many values to unpack (expected 3)

I created the GAT model with the following code

def conv2list(adj_m):
    """
    converts adjacency matrix to adj list
    """
    idx = np.triu_indices(n=adj_m.shape[0])
    v = adj_m[idx].reshape(-1, 1)
    col = idx[0].reshape(-1, 1)
    row = idx[1].reshape(-1, 1)
    final = np.concatenate((row, col, v), axis=1)
    d = pd.DataFrame(final)
    d.columns = ['source', 'target', 'weight']
    d = d[d['weight']>0]
    return d

def mcc(y_true, y_pred):
    y_pred_pos = K.round(K.clip(y_pred, 0, 1))
    y_pred_neg = 1 - y_pred_pos

    y_pos = K.round(K.clip(y_true, 0, 1))
    y_neg = 1 - y_pos

    tp = K.sum(y_pos * y_pred_pos)
    tn = K.sum(y_neg * y_pred_neg)

    fp = K.sum(y_neg * y_pred_pos)
    fn = K.sum(y_pos * y_pred_neg)

    numerator = (tp * tn - fp * fn)
    denominator = K.sqrt((tp + fp) * (tp + fn) * (tn + fp) * (tn + fn))

    return numerator / (denominator + K.epsilon())

G = StellarGraph(X, edges=conv2list(A))
train_y, test_y = model_selection.train_test_split(
    y, test_size=0.2, stratify=y
)
val_y, test_y = model_selection.train_test_split(
    test_y, test_size=0.5, stratify=test_y
)

generator = FullBatchNodeGenerator(G, method="gat")
train_gen = generator.flow(train_y.index, train_y.values)

gat = GAT(
    layer_sizes=[16, 1],
    activations=["elu", "sigmoid"],
    attn_heads=8,
    generator=generator,
    in_dropout=0.3,
    attn_dropout=0.3,
    normalize=None,
    saliency_map_support=True
)

x_inp, x_out = gat.in_out_tensors()

model = Model(inputs=x_inp, outputs=x_out)

model.compile(
    optimizer=optimizers.Adam(lr=0.01),
    loss = BinaryCrossentropy(),
    metrics=[mcc, 'acc'],
)

log_dir = "logs/fit/tb"
tensorboard_callback = tf.keras.callbacks.TensorBoard(log_dir=log_dir, histogram_freq=1)

checkpoint_name = './tmp_weights.hdf5'
checkpoint = ModelCheckpoint(checkpoint_name, monitor='val_loss', verbose = 1, save_best_only = True, mode ='min', patience=100)
stop = EarlyStopping(monitor='val_loss', min_delta=0.00001, patience=100, verbose=0, mode='auto')
callbacks_list = [checkpoint, stop, tensorboard_callback]

val_gen = generator.flow(val_subjects.index, val_targets)

history = model.fit(
    train_gen,
    shuffle=False,
    epochs=4000,
    verbose=2,
    validation_data=val_gen,
    callbacks = [callbacks_list]
)

model.load_weights("tmp_weights.hdf5")
model.save('GAT10_2layers')

The generator has the following shapes
G.info()
StellarGraph: Undirected multigraph
 Nodes: 20379, Edges: 20457

 Node types:
  default: [20379]
    Features: float64 vector, length 51
    Edge types: default-default->default

 Edge types:
    default-default->default: [20457]
        Weights: all 1 (default)
        Features: none

Running the IntegratedGradientSaliency without compiling fails with
Traceback (most recent call last):
  File "trainGAT.py", line 150, in <module>
    int_grad_saliency = IntegratedGradientsGAT(model, generator, generator.node_list)
  File "/Users/anfossat/opt/anaconda3/lib/python3.7/site-packages/stellargraph/interpretability/saliency_maps/integrated_gradients_gat.py", line 43, in __init__
    super().__init__(model, generator)
  File "/Users/anfossat/opt/anaconda3/lib/python3.7/site-packages/stellargraph/interpretability/saliency_maps/saliency_gat.py", line 47, in __init__
    "The generator supplied has to be an object of FullBatchSequence."
TypeError: The generator supplied has to be an object of FullBatchSequence.

The generator passed is created by
train_gen = generator.flow(train_subjects.index, train_targets)

Thanks for all the info! I think the problem is you're passing a sparse GAT model into IntegratedGradientsGAT, but it needs a dense one. In particular, https://github.com/stellargraph/stellargraph/issues/1839#issuecomment-756560275 is a little ambiguous but the key thing is having two GAT models (a sparse one for training, and a dense one for interpreting), which means load_model isn't quite right by itself. As a sketch, the code should look like:
# sparse model for training
sparse_generator = FullBatchNodeGenerator(G, method="gat", sparse=True)
sparse_train_gen = sparse_generator.flow(...)

sparse_gat = GAT(
    ...,
    generator=sparse_generator,
    # don't need this support (but doesn't actually matter either way)
    saliency_map_support=False,
)
# ...
sparse_model = Model(...) # things computed from dense_gat

# train (etc.) with sparse_model

# build a whole new model with sparse=False (i.e. dense adjacency matrix)
dense_generator = FullBatchNodeGenerator(G, method="gat", sparse=False)
dense_train_gen = dense_generator.flow(...)

dense_gat = GAT(
    ...,
    # exactly the same parameters as sparse_gat, except for these two:
    generator=dense_generator,
    saliency_map_support=True,
)

dense_model = Model(...) # tensors computed from dense_gat

# transfer weights from sparse training model to dense interpretable model
# this could also be done with .load_weights(...) to load from a file
dense_model.set_weights(model.get_weights())

int_grad_saliency = IntegratedGradientsGAT(dense_model, dense_train_gen, dense_generator.node_list)

I've done a more complete sketch here: https://colab.research.google.com/drive/1KjO3T1oHTEcoIKsn4j75Fvgu-b9Lr0uo?usp=sharing .
The model architecture must be identical except for the sparse and saliency_map_support arguments, it may make sense to define a function like:
def create_model(saliency):
    sparse = not saliency
    generator = FullBatchNodeGenerator(G, method="gat", sparse=sparse)
    gat = GAT(..., generator=generator, saliency_map_support=saliency)
    x_inp, x_out = gat.in_out_tensors()
    ...
    model = Model(...)

    return generator, gat, model

sparse_generator, sparse_gat, sparse_model = create_model(saliency=False)
dense_generator, dense_gat, dense_model = create_model(saliency=True)

The error message here could definitely be much improved. I think it could be done before the existing FullBatchSequence check in the following (this is theoretically covered by the FullBatchSequence check, but as you've observed, it's easy to mix and match a sparse model with a dense generator): https://github.com/stellargraph/stellargraph/blob/6e4ab0f5f76e452af50d0b807a59359906a2bee2/stellargraph/interpretability/saliency_maps/saliency_gat.py#L45-L49
by adding something like:
if model.use_sparse:
    raise ValueError("model: expected a non-sparse GAT model, found a sparse one; use FullBatchNodeGenerator(..., sparse=False) to create the generator")

Feel free to submit a pull request adding this, and maybe even including a hint about the sparse -> dense weight transfer if you think that would be helpful. It might also be nice to rephrase the FullBatchSequence error message to be more helpful, like generator: expected a FullBatchSequence produced by a FullBatchNodeGenerator(..., sparse=False), found {type(generator).__name__}.

Running the IntegratedGradientSaliency without compiling fails with

FWIW, I think there's a typo in that particular code since the error message is something very different. The second argument should be train_gen, not generator:
int_grad_saliency = IntegratedGradientsGAT(model, train_gen, generator.node_list)


Improve BigQuery load error message

R: @davorbonaci

LGTM. Merging.

Looks like this wasn't autoclosed, but I can close it?

I double-checked; it is a part of master branch. Ok to manually close.


Set Create process?

Hey,
Is it possible to control the following option via the API?

By default is in singel part and I want to add composite.

so far this is not possible via cwapi3d

ok, Thanks for the info


[Feature] Update sample configurations with larger resource requests

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
The KubeRay sample configurations show Ray clusters with tiny Ray nodes (1 CPU) etc.
It's fine to have a couple such configurations for local experiments -- but the majority of the samples should emphasize real life applications where a Ray node should be sized to take up a sizable fraction of a K8s node (if not the entire node).
Ray is not meant to operate with 1 CPU nodes.
Use case
Prevent users from burning themselves with tiny Ray nodes.
Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

We use multiple Worker-groups in a single ray cluster. Each group has a difference functionality, some have 6 or 12 cores and others have only 2 cores.
I think in our examples and docs we can add a note that users should not limit themselves to a single core, but I don't think we should "prevent" them :)

Thanks Ali, great point.
I'm just curious -- 2 cores is a little small -- what's the application for that?

we dynamically add and remove simulators used for RL during training, some simulators do not need more than 0.5 cores. We can share the sim config using Ray GCS. And that is why they sit in their own worker-group. When the training is complete, we can remove the entire Ray Cluster with all the workers.

Ray folks consider this sufficiently important for preventing user confusion that we consider this a release blocker -- I've added the label.


[Automation] Generate Fluent Lite from connectedvmware#package-2023-10

[Automation] Generate Fluent Lite from connectedvmware#package-2023-10

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-resourcemanager-connectedvmware


Could not find a MSBuild project file in 'C:\Users\HP'. Specify which project to use with the --project option.

Problem encountered on https://dotnet.microsoft.com/en-us/learn/aspnet/hello-world-tutorial/modify
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

Can you please share the exact command line you are trying to execute?
Note that the command must be run in a directory with the .sln or .csproj file.

I had the exact same problem and it turns out I was in the wrong folder.. make sure you are in the app folder

I just had the same problem and realized i am in the wrong folder. Who could have seen that coming!


[GOBBLIN-1668] Add audit counts for iceberg registration

Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[x] My PR addresses the following Gobblin JIRA issues and references them in the PR title. For example, "[GOBBLIN-XXX] My Gobblin PR"

https://issues.apache.org/jira/browse/GOBBLIN-1668

Description

[x] Here are some details about my PR, including screenshots (if applicable):
Pass audit count maps from streaming through a new field in GMCE, then publish those counts to a new tier after iceberg registration is done.

Add a new field in GMCE to contain a serialized audit map string

Populate this in MCE publisher using key SERIALIZED_AUDIT_MAP_KEY (will be set internally)

After iceberg commit, call sendAuditCounts using the map from the GMCE (will be implemented internally)

Also use a new WhitelistBlacklist for sending these audit counts, because we may want to count only for specific dbs.

Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:
Tested in parallel pipeline

Commits

[x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Codecov Report

Merging #3527 (cdca10d) into master (7aad1f9) will increase coverage by 4.05%.
The diff coverage is n/a.

:exclamation: Current head cdca10d differs from pull request most recent head 2dbb091. Consider uploading reports for the commit 2dbb091 to get more accurate results

@@             Coverage Diff              @@
##             master    #3527      +/-   ##
============================================
+ Coverage     46.61%   50.66%   +4.05%
+ Complexity    10409     5711    -4698
============================================
  Files          2081     1042    -1039
  Lines         81449    39739   -41710
  Branches       9090     4456    -4634
============================================
- Hits          37965    20135   -17830
+ Misses        39973    17865   -22108
+ Partials       3511     1739    -1772

Impacted Files
Coverage Δ

...management/partition/CopyableDatasetRequestor.java
35.48% <0.00%> (-9.68%)
:arrow_down:

.../apache/gobblin/runtime/api/JobExecutionState.java
79.43% <0.00%> (-0.94%)
:arrow_down:

...org/apache/gobblin/iceberg/GobblinMCEProducer.java

...gobblin/iceberg/publisher/GobblinMCEPublisher.java

.../gobblin/iceberg/writer/IcebergMetadataWriter.java

...obblin/config/store/deploy/FsDeploymentConfig.java

...ce/purger/PurgeableHivePartitionDatasetSchema.java

...in/java/org/apache/gobblin/util/TemplateUtils.java

...org/apache/gobblin/stream/FlushRecordEnvelope.java

...pache/gobblin/cluster/GobblinHelixTaskFactory.java

... and 1045 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7aad1f9...2dbb091. Read the comment docs.


treewide: reconnect receiver and repeat last message

This PR adds support for reconnecting the WebSocket on error and implements a new feature to repeat the last message for /receive/pop.
Previously the API was left running but no new messages received if e.g. signal-cli-rest-api was restarted.
The repeat the last message feature is useful in Home Assistant to avoid clearing the sensor status on next scan.
Thanks for creating the project, came in handy. And I pretty much skipped writing tests for the new functionality so let me know if you want me to add those. Cheers.

@mafredri thank you for your contribution, much appreciated! Do you mind splitting out the repeat last message feature into its own PR? Tests are much appreciated. Thank you!

@kalbasit I made the changes you requested but I see you've made a lot of changes since then that don't merge nicely.
In case you want it, here's the test I added for the reconnect feature:
type mockClient struct {
	connectCalled int
	connectErr    chan error
	recvMsg       chan receiver.Message
	recvErr       chan error
	msgs          []receiver.Message
}

func (mc *mockClient) Connect() error {
	mc.connectCalled++
	if mc.connectErr != nil {
		return <-mc.connectErr
	}
	return nil
}

func (mc *mockClient) ReceiveLoop() error {
	for {
		select {
		case msg := <-mc.recvMsg:
			mc.msgs = append(mc.msgs, msg)
		case err := <-mc.recvErr:
			return err
		}
	}
}

func (mc *mockClient) Connect() error {
	return nil
}

func (mc *mockClient) ReceiveLoop() error {
	<-(make(chan struct{})) // block forever.

	return nil
}

func (mc *mockClient) Pop() *receiver.Message {
	if len(mc.msgs) == 0 {
		return nil
	}

	msg := mc.msgs[0]
	mc.msgs = mc.msgs[1:]

	return &msg
}

func (mc *mockClient) Flush() []receiver.Message {
	msgs := mc.msgs
	mc.msgs = []receiver.Message{}

	return msgs
}

func TestServerReconnect(t *testing.T) {
	mc := &mockClient{
		connectErr: make(chan error),
		recvMsg:    make(chan receiver.Message),
		recvErr:    make(chan error),
	}
	_ = New(mc)

	if want, got := 0, mc.connectCalled; want != got {
		t.Errorf("want %d, got %d", want, got)
	}

	mc.recvMsg <- receiver.Message{Account: "0"}

	mc.recvErr <- nil
	mc.connectErr <- nil

	if want, got := 1, len(mc.msgs); want != got {
		t.Errorf("len(mc.msgs) want %d, got %d", want, got)
	}

	mc.recvMsg <- receiver.Message{Account: "0"}

	if want, got := 1, mc.connectCalled; want != got {
		t.Errorf("mc.connectCalled want %d, got %d", want, got)
	}

	mc.recvErr <- nil

	if want, got := 2, len(mc.msgs); want != got {
		t.Errorf("len(mc.msgs) want %d, got %d", want, got)
	}
}

And here's what I added for repeat:
func TestConnectAndReconnect(t *testing.T) {
	newMessage := func(i int) Message {
		message := strconv.Itoa(i)
		return Message{
			Envelope: Envelope{
				DataMessage: &DataMessage{
					Message: &message,
				},
			},
		}
	}

	ch := make(chan chan Message, 1)
	server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
		upgrader := websocket.Upgrader{}
		conn, err := upgrader.Upgrade(w, r, nil)
		if err != nil {
			t.Errorf("upgrade websocket: %v", err)
			return
		}
		defer conn.Close()

		messages := <-ch
		for msg := range messages {
			if err := conn.WriteJSON(msg); err != nil {
				t.Errorf("write message: %v", err)
				return
			}
		}
	}))
	defer server.Close()

	uri, err := url.Parse("ws" + strings.TrimPrefix(server.URL, "http"))
	if err != nil {
		t.Fatalf("parse server URL: %v", err)
	}

	client, err := New(uri)
	if err != nil {
		t.Fatalf("New: %v", err)
	}

	for j := 1; j <= 2; j++ {
		messages := make(chan Message, 3)
		for i := 1; i <= cap(messages); i++ {
			messages <- newMessage(j * i)
		}
		close(messages)
		ch <- messages

		err = client.ReceiveLoop()
		if err == nil {
			t.Fatalf("ReceiveLoop: want an error, got nil")
		}

		for i := 1; i <= 3; i++ {
			msg := client.Pop()
			if msg == nil {
				t.Errorf("Pop: want a message, got nil")
			} else if want, got := strconv.Itoa(j*i), *msg.Envelope.DataMessage.Message; want != got {
				t.Errorf("msg.Account: want %q got %q", want, got)
			}
		}

		err = client.Connect()
		if err != nil {
			t.Fatalf("Connect: %v", err)
		}
	}
}

@mafredri thank you! I opened #40 and will add these tests, appreciate it!


Community Backup

Is it possible to backup all the posts in a community that I mod?

It would be possible to download them, though it would take a looooong time if the community was big.
It would not be possible to upload the posts back I'm afraid.


Fixed bug where editor wouldn't launch

For some reason, maybe a quirk of my terminal or a Go quirk, Discordo couldn't launch an editor. Launching Neovim would hang and Nano would stright up fail. Some poking around found that it was due to Stdout. For some reason, setting Stdout to a string just didn't work.
Now I could try to capture Stdout, but I decided to opt for the simple route of "create a temporary file and extract the message from there".
This is my first time touching Go at all, so it's not the best, but it fixes this issue.

Creating discord_msg.txt on /tmp will make 2 clients interfere with each other when running in the same machine.
Use a unique file name. Something like discord_msg_$$.txt where $$ is the current process ID.
And don't forget to delete it. It's annoying to see 50 or so files in /tmp. Some people don't restart their machines for weeks.

Alright I've now made it so the message file includes the PID of the instance, and I've also added deleting the file whenever any error occurs (with the exception of file creation since I'm not sure if the file would exist when there's an error in creating the file).

Sorry about the extra commit. I was working on image viewer support and pushed to the wrong branch.

Why not defer the os.Remove(msg_file) call instead of calling it twice?

Again, this is my first time even touching Go, so stuff like deferring is new to me

Alright I've added the suggested change to os.CreateTemp(). It seems to drastically reduce the amount of code needed for creating the file.

@StandingPadAnimations Can you change this PR so it can be merged with the new file locations?

Sorry for the long wait, I've now updated this branch

On 23/07/20 07:56PM, StandingPad wrote:

Sorry for the long wait, I've now updated this branch
--
Reply to this email directly or view it on GitHub:
https://github.com/ayn2op/discordo/pull/302#issuecomment-1644915941
You are receiving this because you commented.
Message ID: @.***>

Good.
--


Using custom directive in template doesn't work

I'm currently migrating and Angular app on meteor. I've got a custom directive called dsTable with a restrict on element. When use it in a .tpl file like
<ds-table></ds-table>
template appears but is not rendered (showing curly braces) and link method of my directive is not called.

This is strange..  we use custom directive in our apps all the time.
Can you maybe share your code, the directive itself and maybe also the usage?
If possible in a MeteorPad but also a regular repo is fine
Thanks

check you template url. 'client/templates/xxx.tpl'

My bad...
After investigation it was due to a call of $meteorCollection.subscribe I made with $collection.subscribe params.
Thank you for your work.

Dear friend!
Just wanted to say  hello to  you  and let  you  know that I found something interesting for you, look at it here  http://release.918forlease.com/e4uyi
My Best, jakob

Above is most likely spam. Beware.


strange error when loading image assets

Hi! Im trying to add an image to animate on the canvas and I keep getting this error in the console:
'file:///Users/courtneyvigo/Desktop/CHEERScup_Pixi/images/red.png' from origin 'file://' has been blocked by CORS policy: Invalid response. Origin 'null' is therefore not allowed access.
This is what I am trying so far:
// create a texture from an image path
var texture = PIXI.Texture.fromImage("images/red.png");
// create a new Sprite using the texture
var red = new PIXI.Sprite(texture);
// center the sprites anchor point
red.anchor.x = 0.5;
red.anchor.y = 0.5;
// move the sprite t the center of the screen
red.position.x = 200;
red.position.y = 150;
stage.addChild(red);

Hiya. It's really best to test your page via web server rather than just loading the html file directly. Windows comes with iis that you can install so you can host the page on your own pc, but there are others. Browsers don't like hosting files from a local file system due to security reasons.

You rock! Thank you!

Its still not loading but the error is gone

What should I do if it wont load past 50%?
loader
//add images by:
.add("images/red.png")
.add("https://res.cloudinary.com/dubyisimd/image/upload/v1481228417/buttonplaceholder_iit0dp.png")
//creates a progress statement that will check to see if assets are loading
.on("progress", loadProgressHandler)
.load(runAnimation, addButton, addRedGem);
//this function will check to see if all assets are loading to the stage. loader
function loadProgressHandler(loader, resource) {
//Display the file url currently being loaded
console.log("loading: " + resource.url);
//Display the precentage of files currently loaded
console.log("progress: " + loader.progress + "%");
}
//button:
function addButton() {
button = TextureCache(resources["https://res.cloudinary.com/dubyisimd/image/upload/v1481228417/buttonplaceholder_iit0dp.png"].texture);
stage.addChild(button);
button.position.set(15,15);
}
var TextureCache = PIXI.utils.TextureCache;
function addRedGem() {
red = TextureCache(resources["images/red.png"]);
stage.addChild(red);
red.position.set(40,40);
}

https://jsfiddle.net/courtneyvigo/3t6ncvhz/15/


Bump github actions to use stable 2.0 build once ready

Github actions using workflow to download  an artifact but currently uses 1.3. Some tests are not compatible with 1.3 on the main branch. But we don't really have a stable build for 2.0 yet. So once we do we should switch the github actions on main to use 2.0 or refactor it to pull the package version.

For every plugin workflow, update the version.
See this sample location
https://github.com/opensearch-project/opensearch-dashboards-functional-test/blob/main/.github/workflows/alerting-release-e2e-workflow.yml#L13

If https://github.com/opensearch-project/opensearch-dashboards-functional-test/issues/142 is done, this issue will need to just read package.json


Problem with heroku - it doesn't show the toolbar

Hi!
I have some issues with bootsy in heroku, it doesn't show the toolbar, however it is visible in localhost.
Attachment screenshot of application.scss

Attachment screenshot of applitacion.js

Also after executing push execute the command asset:precompile.
I could observe that in my localhost in body the wysihtml5-supported class is added, however in heroku this class is not added.
Cheers!!

See the documentation about Bootstrap SASS and how to properly import it: https://github.com/twbs/bootstrap-sass
You need to remove that block of comments from your application.scss and import all your files using @import statements. Also, bootstrap-sass needs to be imported before bootstrap, according to the instructions I listed above.

Hi,
Volmer I have the same problem, in my localhost it works correctly, while in heroku the toolbar is not displayed.
Attached my application.scss file:

Attached my application.js file:

Thank you!


OnStage - several items not recognized in Spy mode.

Items not recognized.
And the arrow shouldn't be there.

@mdeiman did you use Web_generic protocol or Webdriver_generic protocol?
Web_generic uses Windows accessibility API and that does not work well with web applications.


Interlocked race condition

Hiya,
I've created a project to get data from Binance API, what I came across is a race condition basically that is never ending.
I looked into the code and debugged it to see the reason of why it happened (with some extra eyes from my gf).
Anyhow, function WaitForWriteLock in ReaderWriteLockAsync may get a never ending loop.
How? I am creating a WebSocket that sends multiple coins(a symbol list).
So, if multiple threads try to access the WaitForWriteLock at the same time, it just ends up in the WaitForWriteLock loop. (In the while loop ofcourse)
I've added simple log to show what is going on:
[12120] Get
[12:26:49.83734 AM][724] WaitForWriteLock
[Thread:1] Starting order book for symbols:[BTCUSDT ETHPAX BCHSVUSDT ]
[12120] Get
[12:26:50.33391 AM][724] WaitForWriteLock
BTCUSDT ETHPAX BCHSVUSDT Press any key to stop
Recieved symbols:  BTCUSDT  ETHPAX  BCHSVUSDT
Web socket connected
[17428] Received data
[17428] Received data
[8224]Test1
Getfullorderbook for ETHPAX
[8224] Test10
[8224] Get
[8224]Test100
[8224]Test1
Getfullorderbook for BTCUSDT
[8224] Test10
[8224] Get
[8224]Test100
[12:26:53.10330 AM][17464]Test1000
[12:26:53.10330 AM][17504]Test1000
[12:26:53.10345 AM][17464] WaitForWriteLock
[12:26:53.10365 AM][17464] Number of writers - 1 number of readers - 2
[12:26:53.10376 AM][17504] Number of writers - 1 number of readers - 2
[12:26:53.10522 AM][17464] Number of writers - 2 number of readers - 2
[12:26:53.10522 AM][17504] Number of writers - 2 number of readers - 2
[12:26:53.10723 AM][17464] Number of writers - 2 number of readers - 2
[12:26:53.10722 AM][17504] Number of writers - 2 number of readers - 2
[12:26:53.10920 AM][17504] Number of writers - 2 number of readers - 2
[12:26:53.10920 AM][17464] Number of writers - 2 number of readers - 2
[12:26:53.11119 AM][17464] Number of writers - 1 number of readers - 2
[12:26:53.11121 AM][17504] Number of writers - 2 number of readers - 2
[12:26:53.11319 AM][17504] Number of writers - 1 number of readers - 2
[12:26:53.11320 AM][17464] Number of writers - 2 number of readers - 2
[12:26:53.11521 AM][17504] Number of writers - 1 number of readers - 2
[12:26:53.11522 AM][17464] Number of writers - 2 number of readers - 2
[12:26:53.11721 AM][17504] Number of writers - 1 number of readers - 2
[12:26:53.11723 AM][17464] Number of writers - 2 number of readers - 2
[12:26:53.11921 AM][17504] Number of writers - 1 number of readers - 2
[12:26:53.11922 AM][17464] Number of writers - 2 number of readers - 2
[12:26:53.12121 AM][17504] Number of writers - 1 number of readers - 2
[12:26:53.12123 AM][17464] Number of writers - 2 number of readers - 2
[12:26:53.12321 AM][17504] Number of writers - 1 number of readers - 2
[12:26:53.12419 AM][17464] Number of writers - 1 number of readers - 2
[12:26:53.12520 AM][17504] Number of writers - 1 number of readers - 2
[12:26:53.12620 AM][17464] Number of writers - 1 number of readers - 2

I just stopped after to just showcase the problem, but if you have for example, 10 coins, you may have 10 readers at one point.
Now looking at the function
private void WaitForWriteLock()
        {
            if (readers == 0)
            {
                throw new InvalidOperationException("Must acquire read lock first");
            }

            // in order to acquire the write lock, there can be no other writers, and only 1 reader (the reader that was acquired right before this right lock)
            while (Interlocked.Increment(ref writers) != 1 || readers != 1)
            {
				Interlocked.Decrement(ref writers);

				// should be rare
				Thread.Sleep(1);

			}
		}

The part where it says "should be rare" was found to be not so rare and happens VERY often for me, forcing me to restart my program multiple times until it manages to go through it. (Lets not talk about websocket reconnecting, 0 chance)
It only happens when calling
fullOrderBook = await api.GetOrderBookAsync(newOrderBook.MarketSymbol, maxCount);
inside ExchangeAPIExtensions
Inside it, after receiving the data and parsing it, it has await Cache.CacheMethod(MethodCachePolicy, async () => await OnGetOrderBookAsync(marketSymbol, maxCount), nameof(GetOrderBookAsync), nameof(marketSymbol), marketSymbol, nameof(maxCount), maxCount);
And there it happens when CacheMethod is activated.
The fix for me, was changing it to this
private void WaitForWriteLock()
        {
            Random rnd = new Random();
            if (readers == 0)
            {
                throw new InvalidOperationException("Must acquire read lock first");
            }

            // in order to acquire the write lock, there can be no other writers, and only 1 reader (the reader that was acquired right before this right lock)
            while (Interlocked.Increment(ref writers) != 1 || readers != 1)
            {

				Interlocked.Decrement(ref writers);
                                Interlocked.Decrement(ref readers); //[ADDED]
				// should be rare
				Thread.Sleep(TimeSpan.FromSeconds(rnd.Next(1,5)));////[ADDED] it can be milliseconds aswell
				Interlocked.Increment(ref readers);

			}
		}

Would love to hear if anyone else faced this issue as-well

I've removed that class, it should work better now in 0.6.0.

That was fast mate!
It was my first encounter with such things as I'm pretty new to asynchronous programming, but it was very fun researching and understanding how everything works (Interlocked, etc..)
Thanks for taking your time and implementing it in a different way! I'll make sure to check it out and report back if something pops!
Was it a really old code you made there?

Just my buggy code yea, must have been up too late one night.


Support ASCII escape sequences

https://www.wikiwand.com/en/ANSI_escape_code
Example of logs:
[22:03:13] :	 [Step 2/2]  [0m[ [0m [0minfo [0m]  [0m [0m [34mTest run  [0morg.jetbrains.bsp.project.importing. [33mBspResolverLogicProperties [0m [34m started [0m [0m
[22:03:13] :	 [Step 2/2]  [0m[ [0m [0minfo [0m]  [0m [0mTest org.jetbrains.bsp.project.importing. [33mBspResolverLogicProperties [0m. [36mtest moduleDescriptionForTarget succeeds for build targets with Scala [0m ignored [0m
[22:03:13] :	 [Step 2/2]  [0m[ [0m [0minfo [0m]  [0m [0mTest org.jetbrains.bsp.project.importing. [33mBspResolverLogicProperties [0m. [36mtest createScalaModuleDescription [0m ignored [0m
[22:03:13] :	 [Step 2/2]  [0m[ [0m [0minfo [0m]  [0m [0mTest org.jetbrains.bsp.project.importing. [33mBspResolverLogicProperties [0m. [36mtestGetScalaSdkData [0m ignored [0m
[22:03:13] :	 [Step 2/2]  [0m[ [0m [0minfo [0m]  [0m [0mTest org.jetbrains.bsp.project.importing. [33mBspResolverLogicProperties [0m. [36mtest mergeModules [0m ignored [0m
[22:03:13] :	 [Step 2/2]  [0m[ [0m [0minfo [0m]  [0m [0mTest org.jetbrains.bsp.project.importing. [33mBspResolverLogicProperties [0m. [36mcalculateModuleDescriptions succeeds for build targets with Scala [0m ignored [0m
[22:03:13] :	 [Step 2/2]  [0m[ [0m [0minfo [0m]  [0m [0mTest org.jetbrains.bsp.project.importing. [33mBspResolverLogicProperties [0m. [36mtest projectNode [0m ignored [0m
[22:03:13] :	 [Step 2/2]  [0m[ [0m [0minfo [0m]  [0m [0m [34mTest run  [0morg.jetbrains.bsp.project.importing. [33mBspResolverLogicProperties [0m [34m finished:  [0m [34m0 failed [0m [34m,  [0m [33m6 ignored [0m [34m, 0 total, 0.036s [0m [0m

How Team City renders it:

How Log Analyzer renders it:

If there is no fast way to support ASCII sequences then at least there could be an option to filter out all ASCII sequences from the logs to at least view the text conveniently.

Bit of a plug here but I have a library that may help: https://github.com/leaanthony/go-ansi-parser


Execute Arbitrary Command Via Keybinding

Since we have introduced keybindings in nushell we're getting some interest in using fzf since skim doesn't work on Windows. Along with that comes the ability to execute any arbitrary program via those configured keybindings. Is it possible to 'shell out' and execute a command that is defined in a keybinding today? I can't find it if it is. If it isn't can you point me to the location where this could be inserted via  PR?
To be clear, this is really a two-pronged question.

we'd like to be able to use fzf somehow in mac/*nix/windows
we'd like to be able to run an executable via a keybinding.

Thanks.

Do you know a library (in any language) that already supports theses features ?

we'd like to be able to use fzf somehow in mac/*nix/windows

Could you please confirm that you want something like this:
https://github.com/kkawakam/rustyline/issues/302

Maybe we should enhance the Completer trait and let implementations do their own complete_line logic.

https://github.com/kkawakam/rustyline/blob/master/src/completion.rs#L52
pub trait Completer {
...
    fn complete_line(&self
    someContext: SomeContext, // to be defined
    config: &Config,
) -> Result<Option<Cmd>> {
      // current default behaviour (redefined by nushell)
    }
}

So rustyline let nushell customize the display of candidates and user interaction.
But during the call to complete_line:

terminal should be kept in raw mode (or at least rollbacked to raw mode before complete_line returns),
rustyline will not be able to keep the screen coherent (rustyline repaints only its own lines).

we'd like to be able to run an executable via a keybinding.

Could you please confirm that you want something like this:
https://github.com/kkawakam/rustyline/pull/342
which may not interact well with the undo manager...

@gwenn - I'm coming up to speed on the current threads, but these are my early thoughts:
for #302 - I think what we want is more than just tabbing, but it's a start. Part of the problem here is that rustyline supports skim, but skim doesn't support Windows. We've been holding off adding support in nushell until the Windows support is available. Being able to do our own completions does have some advantages, so we could optionally call out into an external command like fzf.
Right, there'd need to be some contract between rustyline and the code handling the completion that things come back in a state that rustyline can handle.
For #342 - I think the request here is more around binding a keyboard shortcut to a special function, which for nushell would call into nushell to do something. From there, I'm guessing it would just return a string. Undo from that point would undo the string. I don't think we're asking for arbitarily complex edit commands, rather a way to call into things like the fzf mentioned above. Once it returns the string, we can give that back to rustyline and go from there.

Thanks for responding @gwenn

Do you know a library (in any language) that already supports theses features ?

At the bottom of [this page] (https://github.com/junegunn/fzf/wiki/Windows#powershell-support)is some windows implementations however, I wouldn't call any of them libraries. They're more of a wrapper around fzf.
Actually, if you peruse this page, all implementations mac/*nix/win seem to be wrappers around the executable versus libraries.
@jonathandturner answered the other questions nicely, so I'll leave those mostly alone and say, yes, #302 and #342 sound interesting but #342 where it's more inline with this comment and #306.

As a lover of fzf, I don't think any external tools like that should be coupled with the shell. If we could map arbitrary params, we could implement integrations like this ourselves in user-land.


Skip 64-bit specific tests. (Closes: #899)

For #899

Gentle ping on this?

If you can fix the pep8 issues I'll merge this. Don't worry about the py2.6 errors, we're no longer supporting 2.6.

If you can fix the pep8 issues I'll merge this.

Whoops, missed that failure. All passing now and rebased against master.