Android. NoSuchMethodError (NoSuchMethodError: No top-level getter '_registerPlugins' declared.

I am developing a plugin that execute dartCallback in background service.
But I got this exception when I run the example app.
NoSuchMethodError (NoSuchMethodError: No top-level getter '_registerPlugins' declared.

Steps to Reproduce

Clone https://github.com/ekasetiawans/flutter_background_service
Run example project on Android
Exception thrown

Expected results:
Exception not thrown.
Actual results:
Exception thrown.

Logs

ekasetiawans@MacBookPro ~ % flutter doctor -v
[✓] Flutter (Channel stable, 2.0.1, on macOS 11.2.3 20D91 darwin-x64, locale
    en-ID)
    • Flutter version 2.0.1 at /Users/ekasetiawans/Development/flutter-stable
    • Framework revision c5a4b4029c (5 days ago), 2021-03-04 09:47:48 -0800
    • Engine revision 40441def69
    • Dart version 2.12.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/ekasetiawans/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.54.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.20.0

[✓] Connected device (3 available)
    • sdk gphone x86 64 arm64 (mobile) • emulator-5554 • android-x64    •
      Android 11 (API 30) (emulator)
    • macOS (desktop)                  • macos         • darwin-x64     • macOS
      11.2.3 20D91 darwin-x64
    • Chrome (web)                     • chrome        • web-javascript • Google
      Chrome 87.0.4280.88

• No issues found!

I know it may be not directly related to the issue, but interestingly, I have the same error when launching Flutter app via intent from Android plugin.
Kotlin code:
val appId = packageName

val intent: Intent = Intent(Intent.ACTION_VIEW, Uri.parse("$appId://incoming_call?action=accept&video=true"))
startActivity(intent)

This should launch the app (and it does), but the above exception is thrown and none of the plugins work (e.g. file access is broken).

I was under the impression that this would be handled by the conditional check in https://github.com/flutter/engine/blob/4813ed0a03228c84ce0dfa69ce9b6c132052d8c4/runtime/dart_isolate.cc#L761 , but that seems to not be the case

We've reverted the commits related to this so I'm bumping down to a P4

hi @TahaTesser I just realized the exception only occurs when flutter config --enable-macos-desktop is true
I tried to disable it and the exception wasn't thrown at all.

Thanks, that helped

I have tried the example app from https://github.com/ekasetiawans/flutter_background_service on commit 46c99809b4 which is the one before the revert in the Flutter tool, and had the engine changes as well. I'm unable to reproduce the exception you are describing.
One thing that looks suspicious is your comment:

just realized the exception only occurs when flutter config --enable-macos-desktop is true

This must certainly only affects the tool. --no-enable-macos-desktop doesn't have any direct relation  to how the engine code runs on Android as far as I know.
Question: did you add any plugin to the example app or the plugin package in the repo? Also, do you happen to have the exact commit (As indicated in Flutter doctor) in which the issue occurred?

@ekasetiawans @orestesgaolin Full verbose logs and the backtrace for the exception would be very helpful here if you can share them.

@zanderso
I using flutter 2.0.3 (stable)
here is my flutter run -v log:
[  +83 ms] executing: [/Users/ekasetiawans/Development/flutter-stable/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +88 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 4d7946a68d26794349189cf21b3f68cc6fe61dcb
[        ] executing: [/Users/ekasetiawans/Development/flutter-stable/] git tag --points-at 4d7946a68d26794349189cf21b3f68cc6fe61dcb
[  +84 ms] Exit code 0 from: git tag --points-at 4d7946a68d26794349189cf21b3f68cc6fe61dcb
[        ] 2.0.3
[  +46 ms] executing: [/Users/ekasetiawans/Development/flutter-stable/] git rev-parse --abbrev-ref --symbolic @{u}
[  +14 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/Users/ekasetiawans/Development/flutter-stable/] git ls-remote --get-url origin
[  +11 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +53 ms] executing: [/Users/ekasetiawans/Development/flutter-stable/] git rev-parse --abbrev-ref HEAD
[  +13 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[   +5 ms] executing: sw_vers -productName
[  +17 ms] Exit code 0 from: sw_vers -productName
[        ] macOS
[        ] executing: sw_vers -productVersion
[  +13 ms] Exit code 0 from: sw_vers -productVersion
[        ] 11.2.3
[        ] executing: sw_vers -buildVersion
[  +13 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 20D91
[   +8 ms] executing: sysctl hw.optional.arm64
[   +9 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[  +50 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] 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.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] 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.
[  +50 ms] executing: /Users/ekasetiawans/Library/Android/sdk/platform-tools/adb devices -l
[   +7 ms] executing: /usr/bin/xcode-select --print-path
[   +7 ms] Exit code 0 from: /usr/bin/xcode-select --print-path
[        ] /Applications/Xcode.app/Contents/Developer
[   +5 ms] executing: sysctl hw.optional.arm64
[   +4 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[        ] executing: xcrun xcodebuild -version
[+2212 ms] Exit code 0 from: xcrun xcodebuild -version
[   +1 ms] Xcode 12.4
           Build version 12D4e
[   +2 ms] executing: xcrun xcdevice list --timeout 2
[   +4 ms] xcrun simctl list --json devices
[        ] executing: xcrun simctl list --json devices
[  +48 ms] List of devices attached
           emulator-5554          device product:sdk_gphone_x86_64_arm64 model:sdk_gphone_x86_64_arm64 device:generic_x86_64_arm64 transport_id:1
[ +116 ms] {
             "devices" : {
               "com.apple.CoreSimulator.SimRuntime.tvOS-14-3" : [
                 {
                   "dataPath" : "\/Users\/ekasetiawans\/Library\/Developer\/CoreSimulator\/Devices\/AAB62708-DF11-4723-BA43-3989A185AA91\/data",
                   "logPath" : "\/Users\/ekasetiawans\/Library\/Logs\/CoreSimulator\/AAB62708-DF11-4723-BA43-3989A185AA91",
                   "udid" : "AAB62708-DF11-4723-BA43-3989A185AA91",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-TV-1080p",
                   "state" : "Shutdown",
                   "name" : "Apple TV"
                 },
                 {
                   "dataPath" : "\/Users\/ekasetiawans\/Library\/Developer\/CoreSimulator\/Devices\/D52D0E24-0EB6-4D5C-B9C2-69D4B5684553\/data",
                   "logPath" : "\/Users\/ekasetiawans\/Library\/Logs\/CoreSimulator\/D52D0E24-0EB6-4D5C-B9C2-69D4B5684553",
                   "udid" : "D52D0E24-0EB6-4D5C-B9C2-69D4B5684553",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-4K",
                   "state" : "Shutdown",
                   "name" : "Apple TV 4K"
                 },
                 {
                   "dataPath" : "\/Users\/ekasetiawans\/Library\/Developer\/CoreSimulator\/Devices\/3F90F3C5-A4B6-4AFD-8C1F-5A4C70EEED88\/data",
                   "logPath" : "\/Users\/ekasetiawans\/Library\/Logs\/CoreSimulator\/3F90F3C5-A4B6-4AFD-8C1F-5A4C70EEED88",
                   "udid" : "3F90F3C5-A4B6-4AFD-8C1F-5A4C70EEED88",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-1080p",
                   "state" : "Shutdown",
                   "name" : "Apple TV 4K (at 1080p)"
                 }
               ],
               "com.apple.CoreSimulator.SimRuntime.watchOS-7-2" : [
                 {
                   "dataPath" : "\/Users\/ekasetiawans\/Library\/Developer\/CoreSimulator\/Devices\/E8B08B40-92AB-4CFB-8C7A-A1FACEEE699D\/data",
                   "logPath" : "\/Users\/ekasetiawans\/Library\/Logs\/CoreSimulator\/E8B08B40-92AB-4CFB-8C7A-A1FACEEE699D",
                   "udid" : "E8B08B40-92AB-4CFB-8C7A-A1FACEEE699D",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-5-40mm",
                   "state" : "Shutdown",
                   "name" : "Apple Watch Series 5 - 40mm"
                 },
                 {
                   "dataPath" : "\/Users\/ekasetiawans\/Library\/Developer\/CoreSimulator\/Devices\/29266ECD-3275-42EA-8508-BAB332E50D59\/data",
                   "logPath" : "\/Users\/ekasetiawans\/Library\/Logs\/CoreSimulator\/29266ECD-3275-42EA-8508-BAB332E50D59",
                   "udid" : "29266ECD-3275-42EA-8508-BAB332E50D59",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-5-44mm",
                   "state" : "Shutdown",
                   "name" : "Apple Watch Series 5 - 44mm"
                 },
                 {
                   "dataPath" : "\/Users\/ekasetiawans\/Library\/Developer\/CoreSimulator\/Devices\/D69C65DA-FE1A-4ADF-ADA8-939FA71A8998\/data",
                   "logPath" : "\/Users\/ekasetiawans\/Library\/Logs\/CoreSimulator\/D69C65DA-FE1A-4ADF-ADA8-939FA71A8998",
                   "udid" : "D69C65DA-FE1A-4ADF-ADA8-939FA71A8998",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-6-40mm",
                   "state" : "Shutdown",
                   "name" : "Apple Watch Series 6 - 40mm"
                 },
                 {
                   "dataPath" : "\/Users\/ekasetiawans\/Library\/Developer\/CoreSimulator\/Devices\/A2DCFC56-C77C-41A4-A641-AE431B5BE69C\/data",
                   "logPath" : "\/Users\/ekasetiawans\/Library\/Logs\/CoreSimulator\/A2DCFC56-C77C-41A4-A641-AE431B5BE69C",
                   "udid" : "A2DCFC56-C77C-41A4-A641-AE431B5BE69C",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-6-44mm",
                   "state" : "Shutdown",
                   "name" : "Apple Watch Series 6 - 44mm"
                 }
               ],
               "com.apple.CoreSimulator.SimRuntime.iOS-14-4" : [
                 {
                   "dataPath" : "\/Users\/ekasetiawans\/Library\/Developer\/CoreSimulator\/Devices\/539678B0-994B-4F3B-B7B0-DDB0A1C5AD38\/data",
                   "logPath" : "\/Users\/ekasetiawans\/Library\/Logs\/CoreSimulator\/539678B0-994B-4F3B-B7B0-DDB0A1C5AD38",
                   "udid" : "539678B0-994B-4F3B-B7B0-DDB0A1C5AD38",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-8",
                   "state" : "Shutdown",
                   "name" : "iPhone 8"
                 },
                 {
                   "dataPath" : "\/Users\/ekasetiawans\/Library\/Developer\/CoreSimulator\/Devices\/523E8199-F777-4AAC-ADED-90102407A0C2\/data",
                   "logPath" : "\/Users\/ekasetiawans\/Library\/Logs\/CoreSimulator\/523E8199-F777-4AAC-ADED-90102407A0C2",
                   "udid" : "523E8199-F777-4AAC-ADED-90102407A0C2",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-8-Plus",
                   "state" : "Shutdown",
                   "name" : "iPhone 8 Plus"
                 },
                 {
                   "dataPath" : "\/Users\/ekasetiawans\/Library\/Developer\/CoreSimulator\/Devices\/602424E7-5F2A-4850-B620-9F4672DAE9CE\/data",
                   "logPath" : "\/Users\/ekasetiawans\/Library\/Logs\/CoreSimulator\/602424E7-5F2A-4850-B620-9F4672DAE9CE",
                   "udid" : "602424E7-5F2A-4850-B620-9F4672DAE9CE",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-11",
                   "state" : "Shutdown",
                   "name" : "iPhone 11"
                 },
                 {
                   "dataPath" : "\/Users\/ekasetiawans\/Library\/Developer\/CoreSimulator\/Devices\/A19E8EFA-1B8A-4486-BEAE-7503CFC91DBC\/data",
                   "logPath" : "\/Users\/ekasetiawans\/Library\/Logs\/CoreSimulator\/A19E8EFA-1B8A-4486-BEAE-7503CFC91DBC",
                   "udid" : "A19E8EFA-1B8A-4486-BEAE-7503CFC91DBC",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro",
                   "state" : "Shutdown",
                   "name" : "iPhone 11 Pro"
                 },
                 {
                   "dataPath" : "\/Users\/ekasetiawans\/Library\/Developer\/CoreSimulator\/Devices\/8951FD54-D5D6-449D-B1EF-1FAF063335FF\/data",
                   "logPath" : "\/Users\/ekasetiawans\/Library\/Logs\/CoreSimulator\/8951FD54-D5D6-449D-B1EF-1FAF063335FF",
                   "udid" : "8951FD54-D5D6-449D-B1EF-1FAF063335FF",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro-Max",
                   "state" : "Shutdown",
                   "name" : "iPhone 11 Pro Max"
                 },
                 {
                   "dataPath" : "\/Users\/ekasetiawans\/Library\/Developer\/CoreSimulator\/Devices\/F0E630AD-C63F-4252-AFF8-5256D6D55E7C\/data",
                   "logPath" : "\/Users\/ekasetiawans\/Library\/Logs\/CoreSimulator\/F0E630AD-C63F-4252-AFF8-5256D6D55E7C",
                   "udid" : "F0E630AD-C63F-4252-AFF8-5256D6D55E7C",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-SE--2nd-generation-",
                   "state" : "Shutdown",
                   "name" : "iPhone SE (2nd generation)"
                 },
                 {
                   "dataPath" : "\/Users\/ekasetiawans\/Library\/Developer\/CoreSimulator\/Devices\/CD82BD0B-F9BB-464B-9A64-920BE14496B4\/data",
                   "logPath" : "\/Users\/ekasetiawans\/Library\/Logs\/CoreSimulator\/CD82BD0B-F9BB-464B-9A64-920BE14496B4",
                   "udid" : "CD82BD0B-F9BB-464B-9A64-920BE14496B4",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-12-mini",
                   "state" : "Shutdown",
                   "name" : "iPhone 12 mini"
                 },
                 {
                   "dataPath" : "\/Users\/ekasetiawans\/Library\/Developer\/CoreSimulator\/Devices\/6A82D8E0-51E9-486B-A26B-FABC295671BC\/data",
                   "logPath" : "\/Users\/ekasetiawans\/Library\/Logs\/CoreSimulator\/6A82D8E0-51E9-486B-A26B-FABC295671BC",
                   "udid" : "6A82D8E0-51E9-486B-A26B-FABC295671BC",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-12",
                   "state" : "Shutdown",
                   "name" : "iPhone 12"
                 },
                 {
                   "dataPath" : "\/Users\/ekasetiawans\/Library\/Developer\/CoreSimulator\/Devices\/4B5EF383-90E0-47B4-8052-0F563C109BCB\/data",
                   "logPath" : "\/Users\/ekasetiawans\/Library\/Logs\/CoreSimulator\/4B5EF383-90E0-47B4-8052-0F563C109BCB",
                   "udid" : "4B5EF383-90E0-47B4-8052-0F563C109BCB",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-12-Pro",
                   "state" : "Shutdown",
                   "name" : "iPhone 12 Pro"
                 },
                 {
                   "dataPath" : "\/Users\/ekasetiawans\/Library\/Developer\/CoreSimulator\/Devices\/9C4B5C34-0443-4C77-808F-4B128B6FCCE3\/data",
                   "logPath" : "\/Users\/ekasetiawans\/Library\/Logs\/CoreSimulator\/9C4B5C34-0443-4C77-808F-4B128B6FCCE3",
                   "udid" : "9C4B5C34-0443-4C77-808F-4B128B6FCCE3",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-12-Pro-Max",
                   "state" : "Shutdown",
                   "name" : "iPhone 12 Pro Max"
                 },
                 {
                   "dataPath" : "\/Users\/ekasetiawans\/Library\/Developer\/CoreSimulator\/Devices\/2B989CE0-1915-4CF0-A808-A4F4F206F272\/data",
                   "logPath" : "\/Users\/ekasetiawans\/Library\/Logs\/CoreSimulator\/2B989CE0-1915-4CF0-A808-A4F4F206F272",
                   "udid" : "2B989CE0-1915-4CF0-A808-A4F4F206F272",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPod-touch--7th-generation-",
                   "state" : "Shutdown",
                   "name" : "iPod touch (7th generation)"
                 },
                 {
                   "dataPath" : "\/Users\/ekasetiawans\/Library\/Developer\/CoreSimulator\/Devices\/6E51166A-C647-4220-8808-1DB2FA56C895\/data",
                   "logPath" : "\/Users\/ekasetiawans\/Library\/Logs\/CoreSimulator\/6E51166A-C647-4220-8808-1DB2FA56C895",
                   "udid" : "6E51166A-C647-4220-8808-1DB2FA56C895",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--9-7-inch-",
                   "state" : "Shutdown",
                   "name" : "iPad Pro (9.7-inch)"
                 },
                 {
                   "dataPath" : "\/Users\/ekasetiawans\/Library\/Developer\/CoreSimulator\/Devices\/0E6C3726-E0E5-48AF-B674-3C9198A44503\/data",
                   "logPath" : "\/Users\/ekasetiawans\/Library\/Logs\/CoreSimulator\/0E6C3726-E0E5-48AF-B674-3C9198A44503",
                   "udid" : "0E6C3726-E0E5-48AF-B674-3C9198A44503",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--11-inch---2nd-generation-",
                   "state" : "Shutdown",
                   "name" : "iPad Pro (11-inch) (2nd generation)"
                 },
                 {
                   "dataPath" : "\/Users\/ekasetiawans\/Library\/Developer\/CoreSimulator\/Devices\/E7354134-90C3-4B86-8ABC-535EAA908AFB\/data",
                   "logPath" : "\/Users\/ekasetiawans\/Library\/Logs\/CoreSimulator\/E7354134-90C3-4B86-8ABC-535EAA908AFB",
                   "udid" : "E7354134-90C3-4B86-8ABC-535EAA908AFB",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---4th-generation-",
                   "state" : "Shutdown",
                   "name" : "iPad Pro (12.9-inch) (4th generation)"
                 },
                 {
                   "dataPath" : "\/Users\/ekasetiawans\/Library\/Developer\/CoreSimulator\/Devices\/60AFAD28-E587-4FC9-9CC5-90265D2B4AB2\/data",
                   "logPath" : "\/Users\/ekasetiawans\/Library\/Logs\/CoreSimulator\/60AFAD28-E587-4FC9-9CC5-90265D2B4AB2",
                   "udid" : "60AFAD28-E587-4FC9-9CC5-90265D2B4AB2",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad--8th-generation-",
                   "state" : "Shutdown",
                   "name" : "iPad (8th generation)"
                 },
                 {
                   "dataPath" : "\/Users\/ekasetiawans\/Library\/Developer\/CoreSimulator\/Devices\/0A0963BE-A898-4508-AC52-8FE7F2259AD9\/data",
                   "logPath" : "\/Users\/ekasetiawans\/Library\/Logs\/CoreSimulator\/0A0963BE-A898-4508-AC52-8FE7F2259AD9",
                   "udid" : "0A0963BE-A898-4508-AC52-8FE7F2259AD9",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Air--4th-generation-",
                   "state" : "Shutdown",
                   "name" : "iPad Air (4th generation)"
                 }
               ]
             }
           }
[+4480 ms] [
             {
               "simulator" : true,
               "operatingSystemVersion" : "14.4 (18D46)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone13,1",
               "identifier" : "CD82BD0B-F9BB-464B-9A64-920BE14496B4",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.iphone-12-mini-1",
               "modelName" : "iPhone 12 mini",
               "name" : "iPhone 12 mini"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "14.4 (18D46)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone13,2",
               "identifier" : "6A82D8E0-51E9-486B-A26B-FABC295671BC",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.iphone-12-1",
               "modelName" : "iPhone 12",
               "name" : "iPhone 12"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "14.4 (18D46)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad13,2",
               "identifier" : "0A0963BE-A898-4508-AC52-8FE7F2259AD9",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.ipad-air4-1",
               "modelName" : "iPad Air (4th generation)",
               "name" : "iPad Air (4th generation)"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "14.4 (18D46)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone12,5",
               "identifier" : "8951FD54-D5D6-449D-B1EF-1FAF063335FF",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.iphone-11-pro-max-1",
               "modelName" : "iPhone 11 Pro Max",
               "name" : "iPhone 11 Pro Max"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "7.2 (18S561)",
               "available" : true,
               "platform" : "com.apple.platform.watchsimulator",
               "modelCode" : "Watch6,1",
               "identifier" : "D69C65DA-FE1A-4ADF-ADA8-939FA71A8998",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.watch-series6-1",
               "modelName" : "Apple Watch Series 6 - 40mm",
               "name" : "Apple Watch Series 6 - 40mm"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "14.4 (18D46)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone13,3",
               "identifier" : "4B5EF383-90E0-47B4-8052-0F563C109BCB",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.iphone-12-pro-1",
               "modelName" : "iPhone 12 Pro",
               "name" : "iPhone 12 Pro"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "7.2 (18S561)",
               "available" : true,
               "platform" : "com.apple.platform.watchsimulator",
               "modelCode" : "Watch6,2",
               "identifier" : "A2DCFC56-C77C-41A4-A641-AE431B5BE69C",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.watch-series6-1",
               "modelName" : "Apple Watch Series 6 - 44mm",
               "name" : "Apple Watch Series 6 - 44mm"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "14.4 (18D46)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone13,4",
               "identifier" : "9C4B5C34-0443-4C77-808F-4B128B6FCCE3",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.iphone-12-pro-max-1",
               "modelName" : "iPhone 12 Pro Max",
               "name" : "iPhone 12 Pro Max"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "14.4 (18D46)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone12,1",
               "identifier" : "602424E7-5F2A-4850-B620-9F4672DAE9CE",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.iphone-11-1",
               "modelName" : "iPhone 11",
               "name" : "iPhone 11"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "14.4 (18D46)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad6,4",
               "identifier" : "6E51166A-C647-4220-8808-1DB2FA56C895",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.ipad-pro-9point7-a1674-b9b7ba",
               "modelName" : "iPad Pro (9.7-inch)",
               "name" : "iPad Pro (9.7-inch)"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "14.4 (18D46)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad8,12",
               "identifier" : "E7354134-90C3-4B86-8ABC-535EAA908AFB",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.ipad-pro-12point9-4th-1",
               "modelName" : "iPad Pro (12.9-inch) (4th generation)",
               "name" : "iPad Pro (12.9-inch) (4th generation)"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "14.3 (18K559)",
               "available" : true,
               "platform" : "com.apple.platform.appletvsimulator",
               "modelCode" : "AppleTV5,3",
               "identifier" : "AAB62708-DF11-4723-BA43-3989A185AA91",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.apple-tv-4",
               "modelName" : "Apple TV",
               "name" : "Apple TV"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "14.4 (18D46)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad8,9",
               "identifier" : "0E6C3726-E0E5-48AF-B674-3C9198A44503",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.ipad-pro-11-2nd-1",
               "modelName" : "iPad Pro (11-inch) (2nd generation)",
               "name" : "iPad Pro (11-inch) (2nd generation)"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "14.4 (18D46)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone10,4",
               "identifier" : "539678B0-994B-4F3B-B7B0-DDB0A1C5AD38",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.iphone-8-2",
               "modelName" : "iPhone 8",
               "name" : "iPhone 8"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "14.4 (18D46)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone10,5",
               "identifier" : "523E8199-F777-4AAC-ADED-90102407A0C2",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.iphone-8-plus-2",
               "modelName" : "iPhone 8 Plus",
               "name" : "iPhone 8 Plus"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "14.4 (18D46)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone12,3",
               "identifier" : "A19E8EFA-1B8A-4486-BEAE-7503CFC91DBC",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.iphone-11-pro-1",
               "modelName" : "iPhone 11 Pro",
               "name" : "iPhone 11 Pro"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "14.4 (18D46)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone12,8",
               "identifier" : "F0E630AD-C63F-4252-AFF8-5256D6D55E7C",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.iphone-se-1",
               "modelName" : "iPhone SE (2nd generation)",
               "name" : "iPhone SE (2nd generation)"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "7.2 (18S561)",
               "available" : true,
               "platform" : "com.apple.platform.watchsimulator",
               "modelCode" : "Watch5,4",
               "identifier" : "29266ECD-3275-42EA-8508-BAB332E50D59",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.watch-series5-1",
               "modelName" : "Apple Watch Series 5 - 44mm",
               "name" : "Apple Watch Series 5 - 44mm"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "14.3 (18K559)",
               "available" : true,
               "platform" : "com.apple.platform.appletvsimulator",
               "modelCode" : "AppleTV6,2",
               "identifier" : "3F90F3C5-A4B6-4AFD-8C1F-5A4C70EEED88",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.apple-tv-4k",
               "modelName" : "Apple TV 4K (at 1080p)",
               "name" : "Apple TV 4K (at 1080p)"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "14.4 (18D46)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPod9,1",
               "identifier" : "2B989CE0-1915-4CF0-A808-A4F4F206F272",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.ipod-touch-7-2",
               "modelName" : "iPod touch (7th generation)",
               "name" : "iPod touch (7th generation)"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "14.3 (18K559)",
               "available" : true,
               "platform" : "com.apple.platform.appletvsimulator",
               "modelCode" : "AppleTV6,2",
               "identifier" : "D52D0E24-0EB6-4D5C-B9C2-69D4B5684553",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.apple-tv-4k",
               "modelName" : "Apple TV 4K",
               "name" : "Apple TV 4K"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "7.2 (18S561)",
               "available" : true,
               "platform" : "com.apple.platform.watchsimulator",
               "modelCode" : "Watch5,3",
               "identifier" : "E8B08B40-92AB-4CFB-8C7A-A1FACEEE699D",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.watch-series5-1",
               "modelName" : "Apple Watch Series 5 - 40mm",
               "name" : "Apple Watch Series 5 - 40mm"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "14.4 (18D46)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad11,7",
               "identifier" : "60AFAD28-E587-4FC9-9CC5-90265D2B4AB2",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.ipad-8-wwan-1",
               "modelName" : "iPad (8th generation)",
               "name" : "iPad (8th generation)"
             }
           ]
[   +5 ms] /Users/ekasetiawans/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell getprop
[  +52 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +2 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.
[ +101 ms] Skipping pub get: version match.
[  +52 ms] Found plugin flutter_background_service at /Users/ekasetiawans/Projects/Repository/flutter_background_service/
[  +98 ms] Found plugin flutter_background_service at /Users/ekasetiawans/Projects/Repository/flutter_background_service/
[   +8 ms] Generating /Users/ekasetiawans/Projects/Repository/flutter_background_service/example/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +65 ms] ro.hardware = ranchu
[  +12 ms] Using hardware rendering with device sdk gphone x86 64 arm64. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
[  +26 ms] Initializing file store
[  +11 ms] Skipping target: gen_localizations
[   +6 ms] complete
[   +4 ms] Launching lib/main.dart on sdk gphone x86 64 arm64 in debug mode...
[   +5 ms] /Users/ekasetiawans/Development/flutter-stable/bin/cache/dart-sdk/bin/dart --disable-dart-dev /Users/ekasetiawans/Development/flutter-stable/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root /Users/ekasetiawans/Development/flutter-stable/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata --output-dill /var/folders/7f/r4g5j0qn62gfg3wjzxhs5d6c0000gn/T/flutter_tools.ztLxg6/flutter_tool.Tlvy4S/app.dill --packages /Users/ekasetiawans/Projects/Repository/flutter_background_service/example/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build/cache.dill.track.dill
[  +10 ms] executing: /Users/ekasetiawans/Library/Android/sdk/build-tools/30.0.3/aapt dump xmltree /Users/ekasetiawans/Projects/Repository/flutter_background_service/example/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[  +18 ms] Exit code 0 from: /Users/ekasetiawans/Library/Android/sdk/build-tools/30.0.3/aapt dump xmltree /Users/ekasetiawans/Projects/Repository/flutter_background_service/example/build/app/outputs/flutter-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.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
               A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
               A: package="id.flutter.flutter_background_service_example" (Raw: "id.flutter.flutter_background_service_example")
               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=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: uses-permission (line=15)
                 A: android:name(0x01010003)="android.permission.FOREGROUND_SERVICE" (Raw: "android.permission.FOREGROUND_SERVICE")
               E: uses-permission (line=16)
                 A: android:name(0x01010003)="android.permission.RECEIVE_BOOT_COMPLETED" (Raw: "android.permission.RECEIVE_BOOT_COMPLETED")
               E: uses-permission (line=17)
                 A: android:name(0x01010003)="android.permission.WAKE_LOCK" (Raw: "android.permission.WAKE_LOCK")
               E: application (line=25)
                 A: android:label(0x01010001)="flutter_background_service_example" (Raw: "flutter_background_service_example")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=31)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="id.flutter.flutter_background_service_example.MainActivity" (Raw: "id.flutter.flutter_background_service_example.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=45)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=55)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040001
                   E: intent-filter (line=59)
                     E: action (line=60)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=62)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=69)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
                 E: service (line=73)
                   A: android:name(0x01010003)="id.flutter.flutter_background_service.BackgroundService" (Raw: "id.flutter.flutter_background_service.BackgroundService")
                 E: receiver (line=75)
                   A: android:name(0x01010003)="id.flutter.flutter_background_service.WatchdogReceiver" (Raw: "id.flutter.flutter_background_service.WatchdogReceiver")
                 E: receiver (line=76)
                   A: android:name(0x01010003)="id.flutter.flutter_background_service.BootReceiver" (Raw: "id.flutter.flutter_background_service.BootReceiver")
                   E: intent-filter (line=77)
                     E: action (line=78)
                       A: android:name(0x01010003)="android.intent.action.BOOT_COMPLETED" (Raw: "android.intent.action.BOOT_COMPLETED")
[   +8 ms] executing: /Users/ekasetiawans/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[  +15 ms] <- compile package:flutter_background_service_example/main.dart
[  +43 ms] --------- beginning of main
           04-04 20:34:41.691 D/InterruptionStateProvider(  695): No heads up: unimportant notification: 0|id.flutter.flutter_background_service_example|99778|null|10167
[  +20 ms] executing: /Users/ekasetiawans/Library/Android/sdk/platform-tools/adb version
[  +34 ms] Android Debug Bridge version 1.0.41
           Version 31.0.1-7187441
           Installed as /Users/ekasetiawans/Library/Android/sdk/platform-tools/adb
[   +6 ms] executing: /Users/ekasetiawans/Library/Android/sdk/platform-tools/adb start-server
[  +68 ms] Building APK
[  +20 ms] Running Gradle task 'assembleDebug'...
[   +4 ms] Using gradle from /Users/ekasetiawans/Projects/Repository/flutter_background_service/example/android/gradlew.
[   +1 ms] /Users/ekasetiawans/Projects/Repository/flutter_background_service/example/android/gradlew mode: 33261 rwxr-xr-x.
[  +60 ms] executing: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[  +17 ms] Exit code 0 from: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[        ] {"CFBundleName":"Android Studio","JVMOptions":{"ClassPath":"$APP_PACKAGE\/Contents\/lib\/bootstrap.jar:$APP_PACKAGE\/Contents\/lib\/extensions.jar:$APP_PACKAGE\/Contents\/lib\/util.jar:$APP_PACKAGE\/Contents\/lib\/jdom.jar:$APP_PACKAGE\/Contents\/lib\/log4j.jar:$APP_PACKAGE\/Contents\/lib\/trove4j.jar:$APP_PACKAGE\/Contents\/lib\/jna.jar","JVMVersion":"1.8*,1.8+","MainClass":"com.intellij.idea.Main","Properties":{"idea.paths.selector":"AndroidStudio4.1","idea.executable":"studio","idea.platform.prefix":"AndroidStudio","idea.vendor.name":"Google","idea.home.path":"$APP_PACKAGE\/Contents"}},"NSDesktopFolderUsageDescription":"An application in Android Studio requests access to the user's Desktop folder.","LSArchitecturePriority":["x86_64"],"CFBundleVersion":"AI-201.87<IP_ADDRESS>99119","CFBundleDevelopmentRegion":"English","NSCameraUsageDescription":"An application in Android Studio requests access to the device's camera.","CFBundleDocumentTypes":[{"CFBundleTypeName":"Android Studio Project File","CFBundleTypeExtensions":["ipr"],"CFBundleTypeRole":"Editor","CFBundleTypeIconFile":"studio.icns"},{"CFBundleTypeName":"All documents","CFBundleTypeExtensions":["*"],"CFBundleTypeOSTypes":["****"],"CFBundleTypeRole":"Editor","LSTypeIsPackage":false}],"NSSupportsAutomaticGraphicsSwitching":true,"CFBundlePackageType":"APPL","CFBundleIconFile":"studio.icns","NSHighResolutionCapable":true,"CFBundleShortVersionString":"4.1","NSMicrophoneUsageDescription":"An application in Android Studio requests access to the device's microphone.","CFBundleInfoDictionaryVersion":"6.0","CFBundleExecutable":"studio","NSLocationUsageDescription":"An application in Android Studio requests access to the user's location information.","LSRequiresNativeExecution":"YES","CFBundleURLTypes":[{"CFBundleTypeRole":"Editor","CFBundleURLName":"Stacktrace","CFBundleURLSchemes":["idea"]}],"CFBundleIdentifier":"com.google.android.studio","LSApplicationCategoryType":"public.app-category.developer-tools","CFBundleSignature":"????","LSMinimumSystemVersion":"10.8","NSDocumentsFolderUsageDescription":"An application in Android Studio requests access to the user's Documents folder.","NSDownloadsFolderUsageDescription":"An application in Android Studio requests access to the user's Downloads folder.","NSNetworkVolumesUsageDescription":"An application in Android Studio requests access to files on a network volume.","CFBundleGetInfoString":"Android Studio 4.1, build AI-201.87<IP_ADDRESS>99119. Copyright JetBrains s.r.o., (c) 2000-2021","NSRemovableVolumesUsageDescription":"An application in Android Studio requests access to files on a removable volume."}
[   +2 ms] executing: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[ +192 ms] Exit code 0 from: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[        ] openjdk version "1.8.0_242-release"
           OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
           OpenJDK 64-Bit Server VM (build 25.242-b3-6915495, mixed mode)
[   +2 ms] executing: [/Users/ekasetiawans/Projects/Repository/flutter_background_service/example/android/] /Users/ekasetiawans/Projects/Repository/flutter_background_service/example/android/gradlew -Pverbose=true -Ptarget-platform=android-x64 -Ptarget=/Users/ekasetiawans/Projects/Repository/flutter_background_service/example/lib/main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root assembleDebug
[+1900 ms] > Task :app:compileFlutterBuildDebug UP-TO-DATE
[        ] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[        ] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preDebugBuild UP-TO-DATE
[        ] > Task :flutter_background_service:preBuild UP-TO-DATE
[        ] > Task :flutter_background_service:preDebugBuild UP-TO-DATE
[        ] > Task :flutter_background_service:compileDebugAidl NO-SOURCE
[        ] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :flutter_background_service:packageDebugRenderscript NO-SOURCE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:checkDebugManifest UP-TO-DATE
[        ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :flutter_background_service:checkDebugManifest UP-TO-DATE
[  +65 ms] > Task :flutter_background_service:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :flutter_background_service:compileDebugRenderscript NO-SOURCE
[        ] > Task :flutter_background_service:generateDebugResValues UP-TO-DATE
[        ] > Task :flutter_background_service:generateDebugResources UP-TO-DATE
[        ] > Task :flutter_background_service:packageDebugResources UP-TO-DATE
[        ] > Task :flutter_background_service:parseDebugLibraryResources UP-TO-DATE
[        ] > Task :flutter_background_service:processDebugManifest UP-TO-DATE
[        ] > Task :flutter_background_service:generateDebugRFile UP-TO-DATE
[        ] > Task :flutter_background_service:javaPreCompileDebug UP-TO-DATE
[  +98 ms] > Task :flutter_background_service:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :flutter_background_service:bundleLibCompileDebug UP-TO-DATE
[   +1 ms] > Task :app:javaPreCompileDebug UP-TO-DATE
[        ] > Task :app:cleanMergeDebugAssets
[        ] > Task :app:mergeDebugShaders UP-TO-DATE
[        ] > Task :app:compileDebugShaders UP-TO-DATE
[        ] > Task :app:generateDebugAssets UP-TO-DATE
[        ] > Task :flutter_background_service:mergeDebugShaders UP-TO-DATE
[        ] > Task :flutter_background_service:compileDebugShaders UP-TO-DATE
[        ] > Task :flutter_background_service:generateDebugAssets UP-TO-DATE
[        ] > Task :flutter_background_service:packageDebugAssets UP-TO-DATE
[        ] > Task :app:mergeDebugAssets
[ +595 ms] > Task :app:copyFlutterAssetsDebug
[        ] > Task :app:mainApkListPersistenceDebug UP-TO-DATE
[   +2 ms] > Task :app:generateDebugResValues UP-TO-DATE
[        ] > Task :app:generateDebugResources UP-TO-DATE
[        ] > Task :app:mergeDebugResources UP-TO-DATE
[        ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[        ] > Task :app:processDebugManifest UP-TO-DATE
[        ] > Task :app:processDebugResources UP-TO-DATE
[        ] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :app:compileDebugSources UP-TO-DATE
[        ] > Task :app:processDebugJavaRes NO-SOURCE
[        ] > Task :flutter_background_service:processDebugJavaRes NO-SOURCE
[        ] > Task :flutter_background_service:bundleLibResDebug UP-TO-DATE
[  +94 ms] > Task :app:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :flutter_background_service:bundleLibRuntimeDebug UP-TO-DATE
[        ] > Task :flutter_background_service:createFullJarDebug UP-TO-DATE
[        ] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[        ] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[        ] > Task :app:mergeExtDexDebug UP-TO-DATE
[        ] > Task :app:transformClassesWithDexBuilderForDebug UP-TO-DATE
[        ] > Task :app:mergeDexDebug UP-TO-DATE
[        ] > Task :app:validateSigningDebug UP-TO-DATE
[        ] > Task :app:signingConfigWriterDebug UP-TO-DATE
[        ] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :flutter_background_service:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :flutter_background_service:mergeDebugNativeLibs UP-TO-DATE
[        ] > Task :flutter_background_service:stripDebugDebugSymbols UP-TO-DATE
[        ] > Task :flutter_background_service:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[  +96 ms] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[        ] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[        ] Compatible side by side NDK version was not found.
[        ] > Task :app:packageDebug UP-TO-DATE
[  +68 ms] > Task :app:assembleDebug
[        ] > Task :flutter_background_service:extractDebugAnnotations UP-TO-DATE
[        ] > Task :flutter_background_service:mergeDebugGeneratedProguardFiles UP-TO-DATE
[        ] > Task :flutter_background_service:mergeDebugConsumerProguardFiles UP-TO-DATE
[        ] > Task :flutter_background_service:prepareLintJarForPublish UP-TO-DATE
[        ] > Task :flutter_background_service:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :flutter_background_service:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[        ] > Task :flutter_background_service:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[        ] > Task :flutter_background_service:bundleDebugAar UP-TO-DATE
[        ] > Task :flutter_background_service:compileDebugSources UP-TO-DATE
[        ] > Task :flutter_background_service:assembleDebug UP-TO-DATE
[        ] BUILD SUCCESSFUL in 2s
[        ] 58 actionable tasks: 4 executed, 54 up-to-date
[ +389 ms] Running Gradle task 'assembleDebug'... (completed in 3.6s)
[  +45 ms] calculateSha: LocalDirectory: '/Users/ekasetiawans/Projects/Repository/flutter_background_service/example/build/app/outputs/flutter-apk'/app.apk
[  +22 ms] calculateSha: reading file took 21us
[ +503 ms] calculateSha: computing sha took 502us
[   +5 ms] ✓ Built build/app/outputs/flutter-apk/app-debug.apk.
[   +9 ms] executing: /Users/ekasetiawans/Library/Android/sdk/build-tools/30.0.3/aapt dump xmltree /Users/ekasetiawans/Projects/Repository/flutter_background_service/example/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[  +14 ms] Exit code 0 from: /Users/ekasetiawans/Library/Android/sdk/build-tools/30.0.3/aapt dump xmltree /Users/ekasetiawans/Projects/Repository/flutter_background_service/example/build/app/outputs/flutter-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.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
               A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
               A: package="id.flutter.flutter_background_service_example" (Raw: "id.flutter.flutter_background_service_example")
               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=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: uses-permission (line=15)
                 A: android:name(0x01010003)="android.permission.FOREGROUND_SERVICE" (Raw: "android.permission.FOREGROUND_SERVICE")
               E: uses-permission (line=16)
                 A: android:name(0x01010003)="android.permission.RECEIVE_BOOT_COMPLETED" (Raw: "android.permission.RECEIVE_BOOT_COMPLETED")
               E: uses-permission (line=17)
                 A: android:name(0x01010003)="android.permission.WAKE_LOCK" (Raw: "android.permission.WAKE_LOCK")
               E: application (line=25)
                 A: android:label(0x01010001)="flutter_background_service_example" (Raw: "flutter_background_service_example")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=31)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="id.flutter.flutter_background_service_example.MainActivity" (Raw: "id.flutter.flutter_background_service_example.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=45)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=55)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040001
                   E: intent-filter (line=59)
                     E: action (line=60)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=62)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=69)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
                 E: service (line=73)
                   A: android:name(0x01010003)="id.flutter.flutter_background_service.BackgroundService" (Raw: "id.flutter.flutter_background_service.BackgroundService")
                 E: receiver (line=75)
                   A: android:name(0x01010003)="id.flutter.flutter_background_service.WatchdogReceiver" (Raw: "id.flutter.flutter_background_service.WatchdogReceiver")
                 E: receiver (line=76)
                   A: android:name(0x01010003)="id.flutter.flutter_background_service.BootReceiver" (Raw: "id.flutter.flutter_background_service.BootReceiver")
                   E: intent-filter (line=77)
                     E: action (line=78)
                       A: android:name(0x01010003)="android.intent.action.BOOT_COMPLETED" (Raw: "android.intent.action.BOOT_COMPLETED")
[   +3 ms] Stopping app 'app.apk' on sdk gphone x86 64 arm64.
[   +1 ms] executing: /Users/ekasetiawans/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am force-stop id.flutter.flutter_background_service_example
[ +160 ms] executing: /Users/ekasetiawans/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm list packages id.flutter.flutter_background_service_example
[ +286 ms] package:id.flutter.flutter_background_service_example
[   +4 ms] executing: /Users/ekasetiawans/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell cat /data/local/tmp/sky.id.flutter.flutter_background_service_example.sha1
[ +172 ms] 0129b59fc5ae95e6f5ef10caac7ec07daab30de1
[   +1 ms] Latest build already installed.
[   +1 ms] executing: /Users/ekasetiawans/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[ +138 ms] --------- beginning of kernel
           04-04 20:34:46.972 D/logd    (    0): logdr: UID=2000 GID=2000 PID=2940 n tail=1 logMask=99 pid=0 start=0ns timeout=0ns
[  +13 ms] executing: /Users/ekasetiawans/Library/Android/sdk/platform-tools/adb -s emulator-5554 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 id.flutter.flutter_background_service_example/id.flutter.flutter_background_service_example.MainActivity
[ +200 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=id.flutter.flutter_background_service_example/.MainActivity (has extras) }
[        ] Waiting for observatory port to be available...
[+1548 ms] Observatory URL on device: http://<IP_ADDRESS>:42499/30JUDXlIgro=/
[   +1 ms] executing: /Users/ekasetiawans/Library/Android/sdk/platform-tools/adb -s emulator-5554 forward tcp:0 tcp:42499
[  +16 ms] 58899
[   +1 ms] Forwarded host port 58899 to device port 42499 for Observatory
[  +11 ms] Caching compiled dill
[  +64 ms] Connecting to service protocol: http://<IP_ADDRESS>:58899/30JUDXlIgro=/
[ +515 ms] Launching a Dart Developer Service (DDS) instance at http://<IP_ADDRESS>:0, connecting to VM service at http://<IP_ADDRESS>:58899/30JUDXlIgro=/.
[ +148 ms] DDS is listening at http://<IP_ADDRESS>:58906/vUMC3puNCe8=/.
[  +61 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:58899/30JUDXlIgro=/
[+1647 ms] DevFS: Creating new filesystem on the device (null)
[  +99 ms] DevFS: Created new filesystem on the device (file:///data/user/0/id.flutter.flutter_background_service_example/code_cache/exampleUKGMQT/example/)
[   +8 ms] Updating assets
[ +107 ms] Syncing files to device sdk gphone x86 64 arm64...
[   +2 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +4 ms] <- recompile package:flutter_background_service_example/main.dart 86e2eeeb-1753-4a4a-bbcd-a76134c39a16
[        ] <- 86e2eeeb-1753-4a4a-bbcd-a76134c39a16
[ +101 ms] Updating files.
[        ] DevFS: Sync finished
[   +3 ms] Syncing files to device sdk gphone x86 64 arm64... (completed in 110ms)
[        ] Synced 0.0MB.
[   +1 ms] <- accept
[  +24 ms] Connected to _flutterView/0x70f9410f95d0.
[        ] Connected to _flutterView/0x70f941103160.
[   +2 ms] Flutter run key commands.
[   +1 ms] r Hot reload. 🔥🔥🔥
[        ] R Hot restart.
[        ] h Repeat this help message.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] An Observatory debugger and profiler on sdk gphone x86 64 arm64 is available at: http://<IP_ADDRESS>:58906/vUMC3puNCe8=/
[        ]
           Flutter DevTools, a Flutter debugger and profiler, on sdk gphone x86 64 arm64 is available at: http://<IP_ADDRESS>:9101?uri=http%3A%2F%2F<IP_ADDRESS>%3A58906%2FvUMC3puNCe8%3D%2F
[        ] 💪 Running with sound null safety 💪
[+29269 ms] Application finished.
[   +2 ms] executing: /Users/ekasetiawans/Library/Android/sdk/platform-tools/adb -s emulator-5554 forward --list
[  +13 ms] Exit code 0 from: /Users/ekasetiawans/Library/Android/sdk/platform-tools/adb -s emulator-5554 forward --list
[        ] emulator-5554 tcp:58715 tcp:44123
           emulator-5554 tcp:58899 tcp:42499
[   +1 ms] executing: /Users/ekasetiawans/Library/Android/sdk/platform-tools/adb -s emulator-5554 forward --remove tcp:58715

@ekasetiawans Those logs don't show the failure. Also, the change that is suspected to be causing this problem was not included in the stable branch. If you're able to, could you return to the version of Flutter where you saw this issue, and include the full logs with exception backtrace where you encountered this issue? Thanks!

@orestesgaolin found some steps to reproduce this exception - launch the app using a deep link on an Android emulator after it has been closed with the back button twice.  I added them to this issue. This happens on the master and stable channel.
The flutter run -v output doesn't show the exception AFAICT, so I left it out. Here's the output I see:

Logs
NoSuchMethodError: No top-level getter '_registerPlugins' declared.
Receiver: top-level
Tried calling: _registerPlugins

NoSuchMethodError._throwNew (errors_patch.dart:212)

@blasten with the change re-landed in the engine, can you try to repro using these instructions?

@zanderso I made screenrecord here  https://www.icloud.com/iclouddrive/0BLGuiDMVUM37EmAhi9Yr3ADw#Screen_Recording_2021-04-06_at_03.22

I was able to reproduce https://github.com/flutter/flutter/issues/79810, and I'm investigating.

This appears to only occur when the app is launched from VSCode with an attached debugger. I'm unable to reproduce it with  just flutter run.  The VSCode extension runs the VM with different flags.  https://github.com/Dart-Code/Dart-Code/blob/57ead070d6a96d42839b6c6fe148716d9f8b97f1/src/debug/flutter_debug_impl.ts#L228

@blasten What are the differences? Just --start-paused or were there also others? --start-paused is pretty common, and we'll have to continue supporting that.

I've been using flutter run --start-paused and the debugger, but I'm still unable to reproduce the same behavior observed from the VSCode extension.  I will try to build the extension.
@ekasetiawans  can you also confirm that if you type in the command line flutter run, you don't get the exception?

@blasten yes, I don't get the exception when using flutter run command

Fixed by https://github.com/flutter/engine/pull/25496

which flutter version can I use to fix this bug please? I'm using Channel stable, 2.0.6 but get the same error


Added Open Graphs & Meta Tags - Solved #4

Hey @Krish-Panchani! Thanks for contributing. however, I just merged a pull request #2 that changed the index.html. This caused conflicts in the code. Could be so kind as to resolve them?
If you are not familiar, here's how you could do that:

Copy the code you changed, hopefully you just changed the meta tags.
Either git pull or update the fork
Now paste your changes
Commit and PR

It would be easier if it is done by you. So sorry for the inconvenience. Will merge it once you open.
Thanks 😄


PT Client

Nice, simple web client for PT by Janek. Sits in /maps/pt/index.html and obviously doesn't do anything when not in PT mode.

TODO: Remove data classes. This is literally just a View for a JSON response. There is no model besides the JSON response.

This is nice :) :+1:
Can you outline the advantages of webjars over the normal JS pipeline? Is it basically building the final JS bundle with maven? If yes, how does this work? Could it be also a solution for the "graphhopper maps" problem that the main.js file needs to be created everytime you switch a branch?

Is it basically building the final JS bundle with maven?

Nope, it's including the final JS bundle of libraries, like Moment or Leaflet or React, into our project, with Maven, so that I don't need to use a JS bundler, but can use plain, uncompiled JS.

we can switch back to plain, uncompiled JS

here you mean we do not care about ES5 support ?

Yes and yes.

Or, if we must support ES5, we type ES5.

Or, if we must support ES5, we type ES5.

But then we still need to do the bundling (putting everything into main.js), right ? Or why do we even do this ?

Not familiar with this, but I think including other JS files via Require.js (not via ES6 includes) works inside the browser, without bundling.
I think bundling is just what everybody does, period, because a) at some point there suddenly was node.js, so runnning JS on an out-of-browser toolchain became the default, and b) you could write ES6 but run ES5 and c) it would manage dependencies for you.
But if you run on Java, you can manage dependencies with Maven (thanks to webjars, even for JS). And having a second toolchain is more of a drawback than a plus. Which leaves b).

(Our JS apps are small. I'm not claiming what I'm proposing works for bigger JS apps. Only for "some JS included with a Java server", but I think that's exactly where we are.)

(So far only I want to try it. I don't want to persuade anyone else, I have too little clue for that.)

Serving plain javascript sounds pretty neat. Although I would still keep the (not so insane) toolchain for developlment.


Feat/wishlist

This feature allows users to add restaurants to a wishlist, so they can easily view and revisit them later.

duar thank you


overlay: Export metadata for container and image in docker-inspect

Fixes #14099
Export metadata for container and image in docker-inspect when overlay
graphdriver is in use. Right now it is done only for devicemapper graph
driver.
Signed-off-by: Vivek Goyal<EMAIL_ADDRESS>

@LK4D4 refreshed the patch with CamelCase. PTAL.

@LK4D4 Got rid of local variables and directly assigned to map.

@rhatdan Thanks! LGTM

@LK4D4 I am @rhvgoyal and not @rhatdan. :-)

@rhvgoyal haha :) Those rh* guys...

I like to take credit for @rhvgoyal work though.  :^)

Cool thanks LGTM


Event bindings breaking

Hi there,
I've got a jQuery on("click") event handler set for a specific kind of button within the django-unicorn view. I'm using django-unicorn for a typeahead search, and each of the search results has one of these buttons ("Delete") attached. Clicking the button should show a Bootstrap modal and it should trigger the event handler initDelete() which should populate the modal with some content related to the search result for which the button was pressed. The code below shows initDelete():
function initDelete() {

    $("#unicorn-wrapper").on("click", ".activate-delete", function() {

        var item_id = $(this).val();
        var item_name = $(this).data('itemname');
        console.log(item_name + " " + item_id);

        $("#delete-which-item").text(item_name);
        $("#confirm-item-delete").val(item_id);

    });
}

This works fine immediately after the page (and unicorn component) loads. However, entering a search query causes things to get... weird. After entering a query and narrowing down the results, clicking the delete button, the modal window gets populated with information from a completely different search result. For example:
Initial result list:
Item 1 (delete)
Item 2 (delete)
Item 3 (delete)

Type in: "2"
Results narrow to show only Item 2.
Click "delete" for Item 2.
Modal window is populated with information about Item 1.
The strange part is that using the debug menu inspector shows that all of the values for Item 2's delete button are in fact correct (i.e. the data-itemname and value). So I assume somehow the script is getting passed information from a previous version of the DOM? If that's the case, do you know how I would get around it? Or is this a question I should be asking over at the morphdom issues board?

Hey thanks for the issue! Sorry you ran into this issue -- honestly, I haven't dealt with unicorn interacting with other JS libraries that much, yet.
I'm guessing this has to do more with how the unicorn JS interacts with other libraries or event delegation than strictly a morphdom issue. What would be super helpful to me is if you could create a PR and add an example of the issue to my example Django project. Or another option would be to write a Javascript test with ava that demonstrates the problem. You can see examples in the tests/js/ folder.
I'll try to diagnose the problem without it, but it would save some time if I had a test case that I can verify any fixes easily.

What would be super helpful to me is if you could create a PR and add an example of the issue to my example Django project.

Will do.

I've been unable to replicate the issue in the example project so I'll continue investigating in my own project and see if I can identify where the problem lies.

Ok, that would be great! Thanks.


Week 2 Challenge - Ui5 Walkthrough on Kyma

Hi there @jacobahtan  - if you're just submitting your challenge entry, you don't need to send a PR to this repo. Just check the instructions in the Challenges file. Thanks! 👍

Whoops, my mistake, re-opening. Apologies!

It says, "In this week's challenge you have to containerize your own service and deploy it to the SAP BTP, Kyma runtime. Use the forked repository to create your project and needed files, open a Pull Request when you're done."

Hi @jacobahtan ,
thanks for opening the PR. There was a mistake from my side. We do not require a PR from you! The only thing I need as a submission from your side is a screenshot of your deployed service as well as the deployment.yaml in the SAP Community Code Challenge - Let's set sail for Cloud Native Island! thread.
I am sorry if that caused any inconvenience for you and thank you for participating in the challenge :)
Cheers,
KM

Thank you for clarify, Kevin~ Cheers!


Docs: Find a replacement for Katacoda.com for tutorials

Katacoda.com is officially being shutdown by 15th June: https://www.oreilly.com/online-learning/leveraging-katacoda-technology.html
We should find an alternative provider to which we can move or (temporarily) remove Katacoda tutorials from docs.

:( a one month warning is really short notice. Let's try to find something else for sure

As a project we got an (unwritten?) offer from https://instruqt.com/ which is kind of a similar platform, although this would be free only for 1000 user hours, so it would not be a permanent solution. Either way, it's one of a readily available alternatives, even if just to bridge us to a permanent solution.

Another alternative @saswatamcode found: https://killercoda.com, which seem to have a more generous free tier.

Seems like this is causing a lot of trouble: https://github.com/kubernetes/website/issues/33936

Yep, I'd say let's agree on an alternative (Killercoda is the winner for me right now) and I'll take care of porting to the new provider.

Referenced our issues publically https://twitter.com/bwplotka/status/1531291197649694732

Hey folks, I'm the lead dev for HobbyFarm (https://github.com/hobbyfarm/hobbyfarm), a browser-based learning tool created to address this need. I'd love to toss our hat into the ring as a solution you could look at using!

hey @matej-g, just reach out to us on https://killercoda.com/support and we check your crashing environments. We also provide larger environments for open source projects.

Thanks @wuestkamp for the tip, I'll take a look at support :+1:

Big thanks to @Akshit42-hue for your work on porting the Thanos tutorials to work on Killercoda! I made a new GH repo today that hosts the tutorials: https://github.com/thanos-io/tutorials
Tomorrow I'll try to finish setting up our Killercoda account

Would you be ok if we feature https://killercoda.com/thanos-tutorials on the Killercoda main page?

Would you be ok if we feature https://killercoda.com/thanos-tutorials on the Killercoda main page?
+1 From my side
WDYT // @matej-g @squat @bwplotka

@squat did you manage to finalize the creation of the account etc.? That account link https://killercoda.com/thanos-tutorials actually leads to the account I was testing with, so it does not include the latest or 'official' scenario versions (since it points to my fork).
But happy to hand it over to @squat so we can keep the nice URL.

It took a bit but we're finally there, thanks for all the assistance @wuestkamp!
The tutorials are now live under https://killercoda.com/thanos (if you'd still like to feature them on the main page, we're all for it :heart:).

We linked Thanos on the Killercoda main page! Nice work everyone :)


Barcode scan

added a minimal barcode scan implementation using the image labeling implementation as a framework. I've got it up on npm under barcode-scanning right now (username notyet) but wanted commit here as you have a great organizational structure to the mlkit implementations. Right now it just scans all barcodes, and returns an array of objects containing the value and the type of barcode. should be working for android and iOS. If there are any changes needed I'm down to work on them, just let me know.

Can you add an example app to it? To make it easier to test the package you added. You can copy an example app from any of the other modules in the repo and apply the changes needed.


Suggesting video addition of simulation to README.md

Hey! I just made a cool visualization of passive tracer with a $\delta \rho/\rho=8$. You may find this useful to add in the README.

Looks okay to merge now!


Power-off icon to sign out is ambiguous

+1

Swap it for dropdown menu, where link to user profile and logout can be added?

Good idea @michaltakac
User profiles will be one of the upcoming features so there should be a convenient way for the user to get to his settings / update profile menu.
Only "harder" part would be the mobile friendliness.


Allow to use vie CTRL+SHIFT+P command then search for the command name instead of using shortcuts

I am used to CTRL+SHIFT+P then search for the command name instead of using shortcuts.
Also this way, I can still use the default shortcut bindings of vscode

You can already do it, just type >add in the commands finder and you will find it:


Write manual test cases for "NorthBrabantPage"

Please write a manual test case for the following pages, which involves breaking down the functionality of the webpage into specific steps that can be tested.
NorthBrabantPage:
https://prayersconnect.com/mosques/search/%2526%252339%253Bs-Hertogenbosch%252C%2520North%2520Brabant%252C%2520Netherlands/51.6978162%2C5.3036748/51.6978162%2C5.3036748
Please use this Google Sheet for your test cases
https://docs.google.com/spreadsheets/d/1TPTDXvuPvRhw-U4YBsxJ58iATH1P4MCsE98E3ydKECQ/edit?usp=sharing

completed
https://docs.google.com/spreadsheets/d/1TPTDXvuPvRhw-U4YBsxJ58iATH1P4MCsE98E3ydKECQ/edit#gid=1796956612


Armature getting stuck in place because of cats

Love the plugin, made life thousand times easier than the old days with mmd tools, no complaints about the plugin, just wanted to show what is happening with me and if this is a know issue. I preferred to record a video seeing it would be much easier to understand what is going on.
https://youtu.be/bvl73Z3mrco (just made the upload 7:51 pm est, might have to wait to process for better quality)
Both "tries" of moving the armature were exactly the same, seeing that I used "load factory settings" but after recording I realized that one difference was that the first try without cats, I opened a fbx and on the second with cats I used a mmd, so I decided to convert a mmd to fbx and move the armature without cats, no surprise, the armature moved normally, there might be a small chanca that the difference of models being in mmd are in fault here, but even so it need a fix, so I got to the conclusion that cats is to blame here, would love some support.

It's because the transforms of the armature are locked: https://i.imgur.com/FXsvsoP.png
You can simply unlock them by clicking the lock icon.

Press N to open that toolbar

I'm confused now, how could cats lock the position out of nowhere? I reinstalled blender and cats twice, at this point I thought no config related to it would still be in the computer, so I would never think I was something simple like that. Wow so simple, Thanks a lot, but still wondering why everything would lock only when using cats.

It's not cats doing it, it's mmd_tools, which comes automatically installed with cats. And it locks it because normally you don't want to move the armature if you are converting the model for vrchat.


chore(*) fix typescript build errors when testing

Codecov Report

Merging #700 (5444ad2) into next (61eb0d3) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             next     #700   +/-   ##
=======================================
  Coverage   50.65%   50.65%
=======================================
  Files          30       30
  Lines        1313     1313
  Branches      193      188    -5
=======================================
  Hits          665      665
  Misses        647      647
  Partials        1        1


[DOCS] Remove unnecessary docs link in readme

Why are the changes needed?

fix the outdate link
How was this patch tested?

Codecov Report

Merging #1909 (50b0699) into master (73c84d4) will increase coverage by 0.90%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1909      +/-   ##
============================================
+ Coverage     59.72%   60.63%   +0.90%
+ Complexity      267       72     -195
============================================
  Files           282      297      +15
  Lines         13979    14655     +676
  Branches       1781     1884     +103
============================================
+ Hits           8349     8886     +537
- Misses         4918     5017      +99
- Partials        712      752      +40

Impacted Files
Coverage Δ

.../org/apache/kyuubi/engine/trino/TrinoContext.scala
83.33% <0.00%> (-16.67%)
:arrow_down:

...ache/kyuubi/engine/spark/events/SessionEvent.scala
79.16% <0.00%> (-7.79%)
:arrow_down:

...kyuubi/engine/spark/events/EngineEventsStore.scala
80.00% <0.00%> (-6.67%)
:arrow_down:

...ache/kyuubi/operation/KyuubiOperationManager.scala
92.50% <0.00%> (-2.50%)
:arrow_down:

...uubi/engine/spark/events/SparkOperationEvent.scala
86.48% <0.00%> (-2.41%)
:arrow_down:

...g/apache/spark/kyuubi/SparkSQLEngineListener.scala
86.27% <0.00%> (-1.87%)
:arrow_down:

...src/main/scala/org/apache/spark/ui/EngineTab.scala
70.73% <0.00%> (-1.69%)
:arrow_down:

...rc/main/scala/org/apache/spark/ui/EnginePage.scala
78.97% <0.00%> (-0.60%)
:arrow_down:

.../scala/org/apache/spark/ui/EngineSessionPage.scala
2.89% <0.00%> (-0.18%)
:arrow_down:

...ala/org/apache/kyuubi/engine/trino/TrinoConf.scala
100.00% <0.00%> (ø)

... and 58 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 73c84d4...50b0699. Read the comment docs.

thanks, merging to master


Impossibility to print inheritances from a FASTPharo model

The impossibility to print inheritances from a FASTPharo model comes from the fact that the FamixStClass of the FASTPharo model have a SmalltalkContainer type.

In other words, it is not possible for this FamixStClass to understand isInterface because this concept does not exist in this language.

I'm on it.

fixed in #15


image preview option glitch

I've just flashed v2.03 and the option to scroll and preview images has started to glitch for me.
In the previous version (v2.02 I believe) worked perfectly.
When I scroll to preview next image, it flashes and reverts back to previous one.
Btw, this feature is really smart. The features and tweaks just keep getting better and better.

Try 2.09. There were some problems I fixed.

Ok, will try it next. Just waiting for a SDCARD board, as I've damaged the pads on my first one and cannot find any traces to connect to.

Well new SDCARD board arrived, connected it up and all was well with the prevous code.
Tried to then flash your latest code and the TTGO says "ESP is not in flash boot mode" with ESP home flasher.
I've tried different cables checking connections for any shorts, now I'm stuck.
I'm sure its a driver issue, so tried to clear them but to no avail. Frustration doesnt't even describe things.

Version 2.21 is a night and day difference in dial interaction, I find it glitch free and wonderfully responsive.
Kudos to the effort Martin.

It took me all day but I finally got the dial working right! Time well spent though, it's a delight to use now. Glad it's working for you too.

I see, glad no one asked me to code it then...eternity. It's definately a delight to use. It's great for all.

Dealing with mechanical switches that bounce is always fun! I should have debounced it in hardware on my PCB, but that also have meant more parts for the hand-built people, so I decided it was 'easy' to fix in software. :-)

I'll close this one, it seems to be working very well now.


Feature Request: Sign-in method as magic links.

Please add a passwordless sign-in method with magic links. it will be great.

This already exist in the roadmap, but it is a low priority. It will be handled in https://github.com/pocketbase/pocketbase/issues/119


What is the maximum capacity for generating a QR code?

What is the maximum capacity for generating a QR code?

It really depends on the QR version, ECC and encoding used: https://www.qrcode.com/en/about/version.html
Personally I avoid using versions higher than 25 because of compatibility issues (some pieces of software encounter problems decoding it).


ZLMA newbie question

hello, I am new in Pandas and Pandas Ta,
here is my code:
data=[1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10] #etc..
df = DataFrame (data,columns=["Close"])
zlma_list= ta.zlma(pd.Series(df['Close']))

How can I change the original values of ZLMA
def zlma(close, length=None, mamode=None, offset=0, **kwargs):

I tried this:
zlma_list= ta.zlma(close=pd.Series(df['Close'],length=21,mamode=sma))
#changing the length is crucial for me. I did changes on original codes but it should be easier.

but it doesnt work.
also what is kwargs stand for? what is the aim of kwargs.
thank you for understanding. I dont know is it good place to ask.

Hello @ekremus,
This should solve your issue. If not, please show me more of your code.
import pandas as pd
import pandas_ta as ta

closedf = pd.DataFrame({"Close": [1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10]})
zlmadf= ta.zlma(closedf, length=21, mamode="sma")
print(zlmadf)

The named arguments (close, length, mamode, offset) are the most common arguments that users are likely to use to modify zlma. The only required parameter is close and it needs to be a Pandas Series. Where as length has to be an integer. Finally the mamode argument requires a string if you do not want it to use the default "ema" (which is None by default)
The kwargs  are additional arguments and values you may want to pass to make adjustments to an indicator's calculation or do post modifications before returning the result. The kwargs vary from indicator to indicator so use help(ta.<indicator>) (help(ta.zlma) in this case) to see what the default arguments are and possible kwargs. Here is a link about Python and arguments and keyword arguments.
Hope this helps! Let me know how it goes.
Regards,
KJ

First of all, thank you for your kind and informative answer.
I tried this code:
import pandas as pd
import pandas_ta as ta

closedf = pd.DataFrame({"Close": [1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10]})
zlmadf= ta.zlma(closedf, length=21, mamode="sma")
print(zlmadf)

But it doesnt work on my setup (pycharm the latest version)
gives me this error:
Traceback (most recent call last):
  File "C:/Users/../AppData/Roaming/JetBrains/PyCharmCE2020.3/scratches/scratch_67.py", line 5, in <module>
    zlmadf= ta.zlma(closedf, length=21, mamode="sma")
  File "C:\Users\..\venv\lib\site-packages\pandas_ta\overlap\zlma.py", line 21, in zlma
    close = 2 * close - close.shift(lag)
TypeError: unsupported operand type(s) for *: 'int' and 'NoneType'

On the other hand, my code is working without any problem. However I cannot add and change the parameteres ( length=21, mamode="sma")
#this is working code for me
import pandas as pd
import pandas_ta as ta

data=[1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10] #etc..
df = DataFrame (data,columns=["Close"])
zlma_list= ta.zlma(pd.Series(df['Close']))

Hello @ekremus,
import pandas as pd
import pandas_ta as ta

# This works
price = pd.Series([1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10])
zlma_series = ta.zlma(price)
print(type(zlma_series)) # results are Series, not lists
zlma_series = ta.zlma(price, length=21)

On the other hand, my code is working without any problem. However I cannot add and change the parameteres ( length=21, mamode="sma")

It seems that mamode="sma" is not working as intended  resulting in all NaN values. So that's a potential bug. 😞  Unfortunately, I have a few things in the pipeline to finish before I can handle this and do not have an expected time frame of when it will be fixed. I apologize for the inconvenience.
Regards,
KJ

Hey,
The last code you share is working perfectly. 🥇
I don't know the results are True or not but I want to inform you about SMA and other moving averages are working fine.
SMA works if the series length is more than 30. You have seen all NaN values because SMA gives results after 30th line.
Thank you.


How to caculate  the mean similarity

hello, Is there code to caculate the mean similarity which mentioned by this paper?

Hi
Currently, we do not have plans for releasing such codes. We might release them after releasing training and evaluation code and more checkpoints.  However, I can provide a basic overview of our pipeline.
To obtain the text similarity, you can use
test_categories = get_openseg_labels("coco_panoptic",prompt_engineered=False)
expression, positive_map_idx_token = create_queries_and_maps(test_categories,demo.predictor.tokenizer)
with torch.no_grad():
    text_features = demo.predictor.model.forward_text([expression],'cuda')
text_feature_words = []
for k,v in positive_map_idx_token.items():
    text_feature_words.append(text_features['hidden'][0,v,:].detach().cpu().mean(0))
text_feature_words = torch.stack(text_feature_words)
text_feature_words = torch.nn.functional.normalize(text_feature_words,dim=-1)
dist_text = torch.cdist(text_feature_words,text_feature_words) # 2 - 2 |A| |B|
dist_text = 0.5* (2.0 - dist_text)

Then you can visualize dist_text  which has a shape N_CLS X N_CLS
The visual features are non-trivial and more complicated and it requires considerable hacking into the data loading and model inference process.
The first step is to sample N annotations for each class,  then for each image, the following code will extract the feature map of this image
batch = mapper(batch) # mapper is a DatasetMapper instance
samples = demo.predictor.model.preprocess_image([batch])
samples = nested_tensor_from_tensor_list(samples, size_divisibility=32)
with torch.no_grad():
    features,_ = demo.predictor.model.detr.detr.backbone(samples)
img_features,mask = features[-1].decompose()
img_features = img_features.cpu() #1 X C X  H X W

Then you want to  get the ground truth mask and resize it to the same size as the feature map
msk = batch['pan_seg_gt'] == instance_id # H X W
mask_up = F.interpolate(msk.float()[None,None],img_features.shape[-2:],mode='area')  #1 X C 1 X H X W

The final feature of this mask can be performed through mask pooling
mask_up = mask_up / mask_up.sum()
out = torch.einsum('bchw,bdhw->bdc',img_features,mask_up)[0][0] # Final output of shape C, thi

Then you need to save out  for each selected annotation, average by class, and visualize.
Let me know if you have more questions.

Thanks for your reply！I will try it.


Helm3 support for KubernetesManifest

Note
Helm3 support for KubernetesManifest
Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Feature/question
Enter Task Name:  KubernetesManifest
Environment
All environments
Issue Description
Will the KubernetesManifest support Helm3 (right now it's working with Helm2). If not, why not?
Task logs
Troubleshooting
Error logs

@florin-szilagyi it supports Helm3 right now.
You can checkout this code:
https://github.com/microsoft/azure-pipelines-tasks/blob/b908bffea681a03d1b8925e299d2a2b794bc035e/common-npm-packages/kubernetes-common-v2/helmutility.ts#L18..L24
If your environment has Helm2 it'll use Helm2 otherwise it downloads the latest release.


potential implementation list

Optimization parameters:

necessary memory, 2. stability, 3. variance of performance, 4. performance

[ ] pdqsort
[ ] timsort
[ ] https://lib.rs/crates/dmsort ? not sure, if there is a better one fort mostly sorted data
[ ] probably more niche, since cache is king: https://github.com/scandum/quadsort

scandum wrote another sorting algorithm with a nice overview table: https://github.com/scandum/crumsort/issues/1
You might want to take a lookt at the bottom tables: fluxsort and crumsort outperform pdqsort in all cases.
However, timsort is not compared.

yeah, i seen it, thanks for mentioning here. exams has completely filled my time for up to two months. there's a lot of programming things to do in the summer.

lithdrew dropped a comment of google getting 1GB/s with SIMD-accelerated quicksort https://opensource.googleblog.com/2022/06/Vectorized and performance portable Quicksort.html
However, this depends on https://github.com/google/highway to unify common SIMD routines across platforms.


KYLIN-3912: Support cube level mapreduuce queue config for BeelineHiveClient

See: https://issues.apache.org/jira/browse/KYLIN-3912
Add hive confs in kylin config to hive jdbc connection

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@0b7bda8). Click here to learn what that means.
The diff coverage is 15.38%.

@@            Coverage Diff            @@
##             master     #556   +/-   ##
=========================================
  Coverage          ?   25.37%
  Complexity        ?     5796
=========================================
  Files             ?     1371
  Lines             ?    81094
  Branches          ?    11369
=========================================
  Hits              ?    20574
  Misses            ?    58507
  Partials          ?     2013

Impacted Files
Coverage Δ
Complexity Δ

...ache/kylin/job/execution/CheckpointExecutable.java
0% <ø> (ø)
0 <0> (?)

...lin/source/hive/CreateFlatHiveTableByLivyStep.java
0% <ø> (ø)
0 <0> (?)

...apache/kylin/engine/mr/LookupSnapshotBuildJob.java
0% <ø> (ø)
0 <0> (?)

...lin/source/hive/RedistributeFlatHiveTableStep.java
0% <ø> (ø)
0 <0> (?)

...che/kylin/source/hive/CreateFlatHiveTableStep.java
0% <ø> (ø)
0 <0> (?)

...urce/hive/RedistributeFlatHiveTableByLivyStep.java
0% <ø> (ø)
0 <0> (?)

...ain/java/org/apache/kylin/engine/mr/CubingJob.java
1.87% <0%> (ø)
2 <0> (?)

...apache/kylin/job/execution/AbstractExecutable.java
47.41% <0%> (ø)
48 <0> (?)

...a/org/apache/kylin/common/util/HiveCmdBuilder.java
82.19% <100%> (ø)
12 <0> (?)

...che/kylin/common/util/SourceConfigurationUtil.java
57.44% <25%> (ø)
7 <0> (?)

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 0b7bda8...f2af7bd. Read the comment docs.


Sphere tree generator script

Use Case
We want to be able to create simplified representations of PDBs without using Cellpack as a plugin. The sphere tree maker file was written to be used within 3D software. The sphere tree files are used for more detailed collision detection than just one encapsulating sphere.
here is an example of a current sphere tree file: https://github.com/mesoscope/cellPACK_data/blob/master/cellPACK_database_1.1.0/collisionTrees/1ASY_4mer1.sph
Solution
Given a recipe file, walk through the objects, for any that have pdbs but no no sphere tree file, generate a new one. We can default to 3 levels, with a rules that the simplest level sphere has to encompass all other spheres.
Could start as a stand alone script, but should be integrated into the recipe loading script.
Alternatives
Please describe any alternatives you've considered, even if you've dismissed them

Level 1 of the sphere tree is a sphere that encompasses the entire protein


Add : API for Linking code samples from Fortran-lang.org and FortranTipBrowser (Resolves #51 #44 and webpage #161)

This PR adds an API to link code samles from Various sources. use format : https://play.fortran-lang.org/?code=program+hello%0D%0A++%21+This+is+a+comment+line%3B+it+is+ignored+by+the+compiler%0D%0A++print+%2A%2C+%27Hello%2C+World%21%27%0D%0Aend+program+hello%0D%0A
General Format : https://play.fortran-lang.org/?code=yourcode
Please NOTE: This format is not JSON, it is URL encoding.
Resolves :

[x] #51
[x] #44
[x] https://github.com/fortran-lang/webpage/issues/161

Thanks and Regards,
Henil
CC @awvwgk @milancurcic @ashirrwad

Demo is LIVE at : https://playground-frontend-navy.vercel.app/?code=program+hello
++!+This+is+a+comment+line%3B+it+is+ignored+by+the+compiler
++print+*%2C+'Hello%2C+World!'
end+program+hello

@milancurcic Sure sir, will add a section after Getting started.

Also added Run Shortcut 'Control' Key or 'Command' key #44 .

@awvwgk @milancurcic Would like to request review from both.
Thanks and Regards,
Henil

The code linking seems finished and ready to merge, I would suggest to split the keyboard short cut to a separate PR, since this might need further discussion and testing.

Sure sir.


[E 160817 11:00:53 tornado_fetcher:135] tornado_fetcher Error

When I start debugging the project on http://localhost:5000/  , It throws error:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/pyspider/run.py", line 360, in
app.config['fetch'] = lambda x: webui_fetcher.fetch(x)
File "/usr/local/lib/python2.7/dist-packages/pyspider/fetcher/tornado_fetcher.py", line 114, in fetch
return self.async_fetch(task, callback).result()
File "/usr/lib/python2.7/dist-packages/tornado/concurrent.py", line 129, in result
raise_exc_info(self.__exc_info)
File "/usr/lib/python2.7/dist-packages/tornado/gen.py", line 227, in wrapper
runner.run()
File "/usr/lib/python2.7/dist-packages/tornado/gen.py", line 531, in run
yielded = self.gen.send(next)
File "/usr/local/lib/python2.7/dist-packages/pyspider/fetcher/tornado_fetcher.py", line 136, in async_fetch
result = self.handle_error(type, url, task, e)
TypeError: handle_error() takes exactly 6 arguments (5 given)
And the shell shows:
[E 160817 11:00:53 tornado_fetcher:135] 'module' object has no attribute 'maybe_future'
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/pyspider/fetcher/tornado_fetcher.py", line 127, in async_fetch
result = yield gen.maybe_future(self.data_fetch(url, task))
AttributeError: 'module' object has no attribute 'maybe_future'
OS:Ubuntu
I have tested the project in Windows, it works. But when I build the develop environment in Ubuntu and try to run in Ubuntu, It raise error as above

what's the version of tornado?

@binux  version  3.2

Thank you! @binux ,your question reminded me. I upgraded my tornado just now, problem has been solved.

Answer is very simple. Just use  command "pip install -U tornado“ to upgrade version of tornado.
Thank @binux again.


haskellPackages.amazonka: Fix build

Description of changes
Fixes the build of the amazonka library by removing outdated patches that have been merged already

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

@ofborg build haskellPackages.amazonka

LGTM, it is at least building on Linux!
Thanks for fixing this!


Initial work

Overview
Changes made in this PR:

[x] Initial documentation about how to deploy and test the operator.
[x] Main logic (implemented using Python) to add/change/remove static routes.
[x] Sample manifests for testing.

@v-ctiutiu Nice work! Does the operator need hostNetwork: true?

@v-ctiutiu Nice work! Does the operator need hostNetwork: true?

Yes, it doesn't work without that setting. The reason is that it needs access to host network to alter static routes. The operator runs in a Docker container after all, hence it runs in an isolated network from the main host.
Hope it makes sense. Thanks.

Got it. Thanks.


get key

🤖 Generated by lychee action
Summary

Status
Count

🔍 Total
1250

✅ Successful
378

⏳ Timeouts
0

🔀 Redirected
0

👻 Excluded
871

❓ Unknown
0

🚫 Errors
0

Full action output
Full Github Actions output