Video Player on web - Bad state: Future already completed

Steps to Reproduce (Using the default code in flutter video player example)

import 'package:video_player/video_player.dart';
import 'package:flutter/material.dart';

void main() => runApp(VideoApp());

class VideoApp extends StatefulWidget {
  @override
  _VideoAppState createState() => _VideoAppState();
}

class _VideoAppState extends State<VideoApp> {
  VideoPlayerController _controller;

  @override
  void initState() {
    super.initState();
    _controller = VideoPlayerController.network(
        'https://archive.org/download/mblbhs/mblbhs.mp4')
      ..initialize().then((_) {
        // Ensure the first frame is shown after the video is initialized, even before the play button has been pressed.
        setState(() {});
      });
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Video Demo',
      home: Scaffold(
        body: Center(
          child: _controller.value.initialized
              ? AspectRatio(
                  aspectRatio: _controller.value.aspectRatio,
                  child: VideoPlayer(_controller),
                )
              : Container(),
        ),
        floatingActionButton: FloatingActionButton(
          onPressed: () {
            setState(() {
              _controller.value.isPlaying
                  ? _controller.pause()
                  : _controller.play();
            });
          },
          child: Icon(
            _controller.value.isPlaying ? Icons.pause : Icons.play_arrow,
          ),
        ),
      ),
    );
  }

  @override
  void dispose() {
    super.dispose();
    _controller.dispose();
  }
}

Logs

[  +15 ms] executing: [/opt/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +29 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] d3ed9ec945f8869f0e136c357d0c2a6be2b60c98
[        ] executing: [/opt/flutter/] git describe --match *.*.* --first-parent --long --tags
[   +6 ms] Exit code 0 from: git describe --match *.*.* --first-parent --long --tags
[        ] 1.17.0-dev.3.1-0-gd3ed9ec94
[  +10 ms] executing: [/opt/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +3 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/beta
[        ] executing: [/opt/flutter/] git ls-remote --get-url origin
[   +6 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +59 ms] executing: [/opt/flutter/] git rev-parse --abbrev-ref HEAD
[   +5 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] beta
[  +16 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] 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.
[   +1 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.
[   +9 ms] executing: /run/media/razein/internal_hdd/Program_Files/Android/Sdk/platform-tools/adb devices -l
[  +32 ms] List of devices attached
           343249fc0304           device usb:1-4 product:mido model:Redmi_Note_4 device:mido transport_id:1
[   +6 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] 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.
[   +1 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.
[  +91 ms] Found plugin video_player at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.8+1/
[   +5 ms] Found plugin video_player_web at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/video_player_web-0.1.2+1/
[ +131 ms] Found plugin video_player at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.8+1/
[   +2 ms] Found plugin video_player_web at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/video_player_web-0.1.2+1/
[  +44 ms] Generating /run/media/razein/internal_hdd/Projects/Flutter Projects/web_test/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +135 ms] Launching lib/main.dart on Chrome in debug mode...
[  +35 ms] Updating assets
[  +85 ms] Syncing files to device Chrome...
[  +18 ms] Found plugin video_player at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.8+1/
[   +1 ms] Found plugin video_player_web at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/video_player_web-0.1.2+1/
[  +14 ms] Found plugin video_player at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.8+1/
[   +1 ms] Found plugin video_player_web at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/video_player_web-0.1.2+1/
[   +2 ms] Generating /run/media/razein/internal_hdd/Projects/Flutter Projects/web_test/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +28 ms] <- reset
[   +6 ms] /opt/flutter/bin/cache/dart-sdk/bin/dart /opt/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /opt/flutter/bin/cache/flutter_web_sdk/ --incremental
--target=dartdevc --debugger-module-names -Ddart.developer.causal_async_stacks=true --output-dill /tmp/flutter_tool.PIYBDF/app.dill --libraries-spec
file:///opt/flutter/bin/cache/flutter_web_sdk/libraries.json --packages /run/media/razein/internal_hdd/Projects/Flutter Projects/web_test/.packages -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation
--filesystem-root /tmp/flutter_tools.CIXION --filesystem-scheme org-dartlang-app --initialize-from-dill build/cache.dill --platform
file:///opt/flutter/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk.dill
[   +9 ms] <- compile org-dartlang-app:///web_entrypoint.dart
[+8168 ms] Syncing files to device Chrome... (completed in 8,241ms, longer than expected)
[        ] Synced 20.9MB.
[        ] <- accept
[ +250 ms] [CHROME]:
[        ] [CHROME]:DevTools listening on ws://<IP_ADDRESS>:39061/devtools/browser/9c5c17ab-2e76-400e-8ee9-536b75d8d162
[+1947 ms] Debug service listening on ws://<IP_ADDRESS>:45607/PJXLKSQ1CiA=

[ +209 ms] Debug service listening on ws://<IP_ADDRESS>:45607/PJXLKSQ1CiA=
[   +1 ms] Warning: Flutter's support for web development is not stable yet and hasn't
[        ] been thoroughly tested in production environments.
[        ] For more information see https://flutter.dev/web
[        ] 🔥  To hot restart changes while running, press "r". To hot restart (and refresh the browser), press "R".
[   +1 ms] For a more detailed help message, press "h". To quit, press "q".
[+5448 ms] ══╡ EXCEPTION CAUGHT BY SERVICES LIBRARY ╞══════════════════════════════════════════════════════════

[        ] The following StateError was thrown during a platform message response callback:

[        ] Bad state: Future already completed

[   +2 ms] When the exception was thrown, this was the stack:

[        ] dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 195:49  throw_

[        ] dart-sdk/lib/async/future_impl.dart 42:79                                     complete

[        ] packages/flutter/src/services/binding.dart 176:18                             <fn>

[        ] dart-sdk/lib/async/zone.dart 1374:10                                          runUnaryGuarded

[        ] lib/_engine/engine/window.dart 331:23                                         <fn>

[        ] lib/_engine/engine/window.dart 488:17                                         <fn>

[        ] dart-sdk/lib/async/zone.dart 1439:54                                          runUnary

[        ] dart-sdk/lib/async/future_impl.dart 141:18                                    handleValue

[        ] dart-sdk/lib/async/future_impl.dart 682:44                                    handleValueCallback

[        ] dart-sdk/lib/async/future_impl.dart 711:32                                    _propagateToListeners

[        ] dart-sdk/lib/async/future_impl.dart 516:7                                     [_complete]

[        ] dart-sdk/lib/async/future.dart 315:15                                         <fn>

[        ] dart-sdk/lib/_internal/js_dev_runtime/private/isolate_helper.dart 50:19       internalCallback

[        ] ════════════════════════════════════════════════════════════════════════════════════════════════════

[✓] Flutter (Channel beta, v1.17.0, on Linux, locale en_IN)
    • Flutter version 1.17.0 at /opt/flutter
    • Framework revision d3ed9ec945 (6 days ago), 2020-04-06 14:07:34 -0700
    • Engine revision c9506cb8e9
    • Dart version 2.8.0 (build 2.8.0-dev.18.0 eea9717938)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /run/media/razein/internal_hdd/Program_Files/Android/Sdk
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = /run/media/razein/internal_hdd/Program_Files/Android/Sdk
    • Java binary at: /opt/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /usr/bin/brave

[✓] Android Studio (version 3.5)
    • Android Studio at /opt/android-studio
    • Flutter plugin version 42.1.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build
      1.8.0_202-release-1483-b49-5587405)

[✓] Connected device (3 available)
    • Redmi Note 4 • 343249fc0304 • android-arm64  • Android 7.0 (API 24)
    • Chrome       • chrome       • web-javascript • Brave Browser <IP_ADDRESS>
      unknown
    • Web Server   • web-server   • web-javascript • Flutter Tools

• No issues found!

logs
                 },
                 {
                   "dataPath" :
                   "\/Users\/taha\/Library\/Developer\/CoreSimulator\/Devices\/51B57E90-920D-4434-A0A3-53B68A28E175\/d
                   ata",
                   "logPath" : "\/Users\/taha\/Library\/Logs\/CoreSimulator\/51B57E90-920D-4434-A0A3-53B68A28E175",
                   "udid" : "51B57E90-920D-4434-A0A3-53B68A28E175",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-5-40mm",
                   "state" : "Shutdown",
                   "name" : "Apple Watch Series 5 - 40mm"
                 },
                 {
                   "dataPath" :
                   "\/Users\/taha\/Library\/Developer\/CoreSimulator\/Devices\/DD99D4A3-F822-40BE-9D47-982FC560F0E9\/d
                   ata",
                   "logPath" : "\/Users\/taha\/Library\/Logs\/CoreSimulator\/DD99D4A3-F822-40BE-9D47-982FC560F0E9",
                   "udid" : "DD99D4A3-F822-40BE-9D47-982FC560F0E9",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-5-44mm",
                   "state" : "Shutdown",
                   "name" : "Apple Watch Series 5 - 44mm"
                 }
               ],
               "com.apple.CoreSimulator.SimRuntime.iOS-13-4" : [
                 {
                   "dataPath" :
                   "\/Users\/taha\/Library\/Developer\/CoreSimulator\/Devices\/7D981C10-2E1E-4174-8D86-B54166FEAC0E\/d
                   ata",
                   "logPath" : "\/Users\/taha\/Library\/Logs\/CoreSimulator\/7D981C10-2E1E-4174-8D86-B54166FEAC0E",
                   "udid" : "7D981C10-2E1E-4174-8D86-B54166FEAC0E",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-8",
                   "state" : "Shutdown",
                   "name" : "iPhone 8"
                 },
                 {
                   "dataPath" :
                   "\/Users\/taha\/Library\/Developer\/CoreSimulator\/Devices\/3C1EE536-1F8D-4282-83E8-E675A1C5154E\/d
                   ata",
                   "logPath" : "\/Users\/taha\/Library\/Logs\/CoreSimulator\/3C1EE536-1F8D-4282-83E8-E675A1C5154E",
                   "udid" : "3C1EE536-1F8D-4282-83E8-E675A1C5154E",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-8-Plus",
                   "state" : "Shutdown",
                   "name" : "iPhone 8 Plus"
                 },
                 {
                   "dataPath" :
                   "\/Users\/taha\/Library\/Developer\/CoreSimulator\/Devices\/41EB2A85-7EB4-4FD2-8978-FBBE2A681D74\/d
                   ata",
                   "logPath" : "\/Users\/taha\/Library\/Logs\/CoreSimulator\/41EB2A85-7EB4-4FD2-8978-FBBE2A681D74",
                   "udid" : "41EB2A85-7EB4-4FD2-8978-FBBE2A681D74",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-11",
                   "state" : "Shutdown",
                   "name" : "iPhone 11"
                 },
                 {
                   "dataPath" :
                   "\/Users\/taha\/Library\/Developer\/CoreSimulator\/Devices\/45056C43-E6C4-4AFD-BBA7-65D2858FF67C\/d
                   ata",
                   "logPath" : "\/Users\/taha\/Library\/Logs\/CoreSimulator\/45056C43-E6C4-4AFD-BBA7-65D2858FF67C",
                   "udid" : "45056C43-E6C4-4AFD-BBA7-65D2858FF67C",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro",
                   "state" : "Shutdown",
                   "name" : "iPhone 11 Pro"
                 },
                 {
                   "dataPath" :
                   "\/Users\/taha\/Library\/Developer\/CoreSimulator\/Devices\/2EDFE38C-6CB5-4E4C-9811-FE1AD3F4BCD1\/d
                   ata",
                   "logPath" : "\/Users\/taha\/Library\/Logs\/CoreSimulator\/2EDFE38C-6CB5-4E4C-9811-FE1AD3F4BCD1",
                   "udid" : "2EDFE38C-6CB5-4E4C-9811-FE1AD3F4BCD1",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro-Max",
                   "state" : "Shutdown",
                   "name" : "iPhone 11 Pro Max"
                 },
                 {
                   "dataPath" :
                   "\/Users\/taha\/Library\/Developer\/CoreSimulator\/Devices\/E0625D43-32D6-4E5B-B3E3-16AA927E1F39\/d
                   ata",
                   "logPath" : "\/Users\/taha\/Library\/Logs\/CoreSimulator\/E0625D43-32D6-4E5B-B3E3-16AA927E1F39",
                   "udid" : "E0625D43-32D6-4E5B-B3E3-16AA927E1F39",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--9-7-inch-",
                   "state" : "Shutdown",
                   "name" : "iPad Pro (9.7-inch)"
                 },
                 {
                   "dataPath" :
                   "\/Users\/taha\/Library\/Developer\/CoreSimulator\/Devices\/9347A5A4-ECD0-4858-942C-358A211DC86B\/d
                   ata",
                   "logPath" : "\/Users\/taha\/Library\/Logs\/CoreSimulator\/9347A5A4-ECD0-4858-942C-358A211DC86B",
                   "udid" : "9347A5A4-ECD0-4858-942C-358A211DC86B",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad--7th-generation-",
                   "state" : "Shutdown",
                   "name" : "iPad (7th generation)"
                 },
                 {
                   "dataPath" :
                   "\/Users\/taha\/Library\/Developer\/CoreSimulator\/Devices\/D13AEB95-5A11-46E8-9519-CA1DA16F1179\/d
                   ata",
                   "logPath" : "\/Users\/taha\/Library\/Logs\/CoreSimulator\/D13AEB95-5A11-46E8-9519-CA1DA16F1179",
                   "udid" : "D13AEB95-5A11-46E8-9519-CA1DA16F1179",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" :
                   "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--11-inch---2nd-generation-",
                   "state" : "Shutdown",
                   "name" : "iPad Pro (11-inch) (2nd generation)"
                 },
                 {
                   "dataPath" :
                   "\/Users\/taha\/Library\/Developer\/CoreSimulator\/Devices\/E20F4194-4CBC-40FD-A8C6-8C4848789E6F\/d
                   ata",
                   "logPath" : "\/Users\/taha\/Library\/Logs\/CoreSimulator\/E20F4194-4CBC-40FD-A8C6-8C4848789E6F",
                   "udid" : "E20F4194-4CBC-40FD-A8C6-8C4848789E6F",
                   "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\/taha\/Library\/Developer\/CoreSimulator\/Devices\/46F30BB4-B2E9-4A36-BD51-D6A69E0F99B9\/d
                   ata",
                   "logPath" : "\/Users\/taha\/Library\/Logs\/CoreSimulator\/46F30BB4-B2E9-4A36-BD51-D6A69E0F99B9",
                   "udid" : "46F30BB4-B2E9-4A36-BD51-D6A69E0F99B9",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Air--3rd-generation-",
                   "state" : "Shutdown",
                   "name" : "iPad Air (3rd generation)"
                 }
               ]
             }
           }
[+2548 ms] [
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.4 (17E255)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone12,5",
                        "identifier" : "2EDFE38C-6CB5-4E4C-9811-FE1AD3F4BCD1",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.iphone-11-pro-max-1",
                        "modelName" : "iPhone 11 Pro Max",
                        "name" : "iPhone 11 Pro Max"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.4 (17E255)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone10,5",
                        "identifier" : "3C1EE536-1F8D-4282-83E8-E675A1C5154E",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.iphone-8-plus-2",
                        "modelName" : "iPhone 8 Plus",
                        "name" : "iPhone 8 Plus"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.4 (17E255)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone10,4",
                        "identifier" : "7D981C10-2E1E-4174-8D86-B54166FEAC0E",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.iphone-8-2",
                        "modelName" : "iPhone 8",
                        "name" : "iPhone 8"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.4 (17E255)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone12,1",
                        "identifier" : "41EB2A85-7EB4-4FD2-8978-FBBE2A681D74",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.iphone-11-1",
                        "modelName" : "iPhone 11",
                        "name" : "iPhone 11"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.4 (17E255)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad8,9",
                        "identifier" : "D13AEB95-5A11-46E8-9519-CA1DA16F1179",
                        "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" : "13.4 (17E255)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad8,12",
                        "identifier" : "E20F4194-4CBC-40FD-A8C6-8C4848789E6F",
                        "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" : "6.2 (17T256)",
                        "available" : true,
                        "platform" : "com.apple.platform.watchsimulator",
                        "modelCode" : "Watch5,3",
                        "identifier" : "51B57E90-920D-4434-A0A3-53B68A28E175",
                        "architecture" : "i386",
                        "modelUTI" : "com.apple.watch-series5-1",
                        "modelName" : "Apple Watch Series 5 - 40mm",
                        "name" : "Apple Watch Series 5 - 40mm"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.4 (17L255)",
                        "available" : true,
                        "platform" : "com.apple.platform.appletvsimulator",
                        "modelCode" : "AppleTV6,2",
                        "identifier" : "23CA7F9E-E015-4069-8803-1F74924042D2",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.apple-tv-4k",
                        "modelName" : "Apple TV 4K (at 1080p)",
                        "name" : "Apple TV 4K (at 1080p)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.4 (17E255)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad6,4",
                        "identifier" : "E0625D43-32D6-4E5B-B3E3-16AA927E1F39",
                        "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" : "13.4 (17E255)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad7,12",
                        "identifier" : "9347A5A4-ECD0-4858-942C-358A211DC86B",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.ipad-7-wwan-1",
                        "modelName" : "iPad (7th generation)",
                        "name" : "iPad (7th generation)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.4 (17L255)",
                        "available" : true,
                        "platform" : "com.apple.platform.appletvsimulator",
                        "modelCode" : "AppleTV6,2",
                        "identifier" : "9EB9BD80-48CE-4BC1-89F7-734B6E65C151",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.apple-tv-4k",
                        "modelName" : "Apple TV 4K",
                        "name" : "Apple TV 4K"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "6.2 (17T256)",
                        "available" : true,
                        "platform" : "com.apple.platform.watchsimulator",
                        "modelCode" : "Watch4,3",
                        "identifier" : "2867DECC-8F77-401F-BEE9-5C08D482D442",
                        "architecture" : "i386",
                        "modelUTI" : "com.apple.watch-series4-1",
                        "modelName" : "Apple Watch Series 4 - 40mm",
                        "name" : "Apple Watch Series 4 - 40mm"
                      },
                      {
                        "simulator" : false,
                        "operatingSystemVersion" : "13.4.1 (17E262)",
                        "interface" : "usb",
                        "available" : true,
                        "platform" : "com.apple.platform.iphoneos",
                        "modelCode" : "iPhone11,8",
                        "identifier" : "00008020-001059882212002E",
                        "architecture" : "arm64e",
                        "modelUTI" : "com.apple.iphone-xr-1",
                        "modelName" : "iPhone XR",
                        "name" : "Taha’s iPhone"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.4 (17E255)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone12,3",
                        "identifier" : "45056C43-E6C4-4AFD-BBA7-65D2858FF67C",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.iphone-11-pro-1",
                        "modelName" : "iPhone 11 Pro",
                        "name" : "iPhone 11 Pro"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.4 (17L255)",
                        "available" : true,
                        "platform" : "com.apple.platform.appletvsimulator",
                        "modelCode" : "AppleTV5,3",
                        "identifier" : "7FD5A42D-EAD3-454D-AEA7-D916BD227C09",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.apple-tv-4",
                        "modelName" : "Apple TV",
                        "name" : "Apple TV"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "6.2 (17T256)",
                        "available" : true,
                        "platform" : "com.apple.platform.watchsimulator",
                        "modelCode" : "Watch4,4",
                        "identifier" : "7E655F25-AA93-4DD1-87B7-BB0C68063933",
                        "architecture" : "i386",
                        "modelUTI" : "com.apple.watch-series4-1",
                        "modelName" : "Apple Watch Series 4 - 44mm",
                        "name" : "Apple Watch Series 4 - 44mm"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "6.2 (17T256)",
                        "available" : true,
                        "platform" : "com.apple.platform.watchsimulator",
                        "modelCode" : "Watch5,4",
                        "identifier" : "DD99D4A3-F822-40BE-9D47-982FC560F0E9",
                        "architecture" : "i386",
                        "modelUTI" : "com.apple.watch-series5-1",
                        "modelName" : "Apple Watch Series 5 - 44mm",
                        "name" : "Apple Watch Series 5 - 44mm"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.4 (17E255)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad11,3",
                        "identifier" : "46F30BB4-B2E9-4A36-BD51-D6A69E0F99B9",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.ipad-air3-wifi-1",
                        "modelName" : "iPad Air (3rd generation)",
                        "name" : "iPad Air (3rd generation)"
                      }
                    ]
[  +17 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] 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.
[   +2 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.
[ +134 ms] Found plugin video_player at
/Users/taha/Code/flutter_dev/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.8+1/
[  +11 ms] Found plugin video_player_web at
/Users/taha/Code/flutter_dev/.pub-cache/hosted/pub.dartlang.org/video_player_web-0.1.2+1/
[  +60 ms] Found plugin video_player at
/Users/taha/Code/flutter_dev/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.8+1/
[   +2 ms] Found plugin video_player_web at
/Users/taha/Code/flutter_dev/.pub-cache/hosted/pub.dartlang.org/video_player_web-0.1.2+1/
[  +49 ms] Generating
/Users/taha/AndroidStudioProjects/dev_flutter/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.j
ava
[ +237 ms] Launching lib/main.dart on Chrome in debug mode...
[  +49 ms] Updating assets
[ +114 ms] Syncing files to device Chrome...
[  +18 ms] Found plugin video_player at
/Users/taha/Code/flutter_dev/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.8+1/
[   +1 ms] Found plugin video_player_web at
/Users/taha/Code/flutter_dev/.pub-cache/hosted/pub.dartlang.org/video_player_web-0.1.2+1/
[  +24 ms] Found plugin video_player at
/Users/taha/Code/flutter_dev/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.8+1/
[   +2 ms] Found plugin video_player_web at
/Users/taha/Code/flutter_dev/.pub-cache/hosted/pub.dartlang.org/video_player_web-0.1.2+1/
[   +4 ms] Generating
/Users/taha/AndroidStudioProjects/dev_flutter/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.j
ava
[  +48 ms] <- reset
[   +7 ms] /Users/taha/Code/flutter_dev/bin/cache/dart-sdk/bin/dart
/Users/taha/Code/flutter_dev/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root
/Users/taha/Code/flutter_dev/bin/cache/flutter_web_sdk/ --incremental --target=dartdevc --debugger-module-names
-Ddart.developer.causal_async_stacks=true --output-dill
/var/folders/x7/hx2hvbg93k7fnlsh8xrf6yfr0000gn/T/flutter_tool.yB20gN/app.dill --libraries-spec
file:///Users/taha/Code/flutter_dev/bin/cache/flutter_web_sdk/libraries.json --packages
/Users/taha/AndroidStudioProjects/dev_flutter/.packages -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,av
oid-closure-call-instructions --enable-asserts --track-widget-creation --filesystem-root
/var/folders/x7/hx2hvbg93k7fnlsh8xrf6yfr0000gn/T/flutter_tools.yVr1Zq --filesystem-scheme org-dartlang-app
--initialize-from-dill build/cache.dill --platform
file:///Users/taha/Code/flutter_dev/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk.dill
[   +7 ms] <- compile org-dartlang-app:///web_entrypoint.dart
[+8395 ms] Syncing files to device Chrome... (completed in 8,501ms, longer than expected)
[        ] Synced 21.0MB.
[        ] <- accept
[ +462 ms] [CHROME]:
[        ] [CHROME]:DevTools listening on ws://<IP_ADDRESS>:56944/devtools/browser/3bc15d8e-932a-491a-a0d4-0f9f3890fdee
[+3043 ms] Debug service listening on ws://<IP_ADDRESS>:56990/PpqmmZ0cHro=

[ +227 ms] Debug service listening on ws://<IP_ADDRESS>:56990/PpqmmZ0cHro=
[   +1 ms] Warning: Flutter's support for web development is not stable yet and hasn't
[        ] been thoroughly tested in production environments.
[        ] For more information see https://flutter.dev/web
[        ] 🔥  To hot restart changes while running, press "r". To hot restart (and refresh the browser), press "R".
[   +1 ms] For a more detailed help message, press "h". To quit, press "q".
[+3944 ms] ══╡ EXCEPTION CAUGHT BY SERVICES LIBRARY ╞══════════════════════════════════════════════════════════

[        ] The following StateError was thrown during a platform message response callback:

[   +2 ms] Bad state: Future already completed

[   +1 ms] When the exception was thrown, this was the stack:

[        ] dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 195:49  throw_

[        ] dart-sdk/lib/async/future_impl.dart 42:79                                     complete

[        ] packages/flutter/src/services/binding.dart 195:18                             <fn>

[        ] dart-sdk/lib/async/zone.dart 1374:10                                          runUnaryGuarded

[        ] lib/_engine/engine/window.dart 331:23                                         <fn>

[        ] lib/_engine/engine/window.dart 488:17                                         <fn>

[        ] dart-sdk/lib/async/zone.dart 1439:54                                          runUnary

[        ] dart-sdk/lib/async/future_impl.dart 141:18                                    handleValue

[        ] dart-sdk/lib/async/future_impl.dart 682:44                                    handleValueCallback
taha@MacBook-Pro dev_flutter % flutterd run -d Chrome -v
[  +26 ms] executing: [/Users/taha/Code/flutter_dev/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +42 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 8f7327f83a3e094285163ae402c6f94190fc1674
[        ] executing: [/Users/taha/Code/flutter_dev/] git describe --match *.*.* --first-parent --long --tags
[  +27 ms] Exit code 0 from: git describe --match *.*.* --first-parent --long --tags
[   +1 ms] 1.18.0-dev.4.0-0-g8f7327f83
[  +11 ms] executing: [/Users/taha/Code/flutter_dev/] git rev-parse --abbrev-ref --symbolic @{u}
[  +12 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/dev
[        ] executing: [/Users/taha/Code/flutter_dev/] git ls-remote --get-url origin
[  +10 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +54 ms] executing: [/Users/taha/Code/flutter_dev/] git rev-parse --abbrev-ref HEAD
[  +13 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] dev
[   +6 ms] executing: sw_vers -productName
[  +16 ms] Exit code 0 from: sw_vers -productName
[        ] Mac OS X
[        ] executing: sw_vers -productVersion
[  +13 ms] Exit code 0 from: sw_vers -productVersion
[        ] 10.15.4
[        ] executing: sw_vers -buildVersion
[  +13 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 19E287
[  +39 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] 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.
[   +2 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.
[   +5 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +15 ms] executing: /Users/taha/Code/sdk/platform-tools/adb devices -l
[   +5 ms] executing: /usr/bin/xcode-select --print-path
[   +5 ms] Exit code 0 from: /usr/bin/xcode-select --print-path
[        ] /Applications/Xcode.app/Contents/Developer
[        ] executing: /usr/bin/xcodebuild -version
[ +298 ms] Exit code 0 from: /usr/bin/xcodebuild -version
[   +2 ms] Xcode 11.4
           Build version 11E146
[   +2 ms] executing: xcrun --find xcdevice
[   +7 ms] Exit code 0 from: xcrun --find xcdevice
[        ] /Applications/Xcode.app/Contents/Developer/usr/bin/xcdevice
[        ] executing: xcrun xcdevice list --timeout 2
[   +4 ms] /usr/bin/xcrun simctl list --json devices
[        ] executing: /usr/bin/xcrun simctl list --json devices
[  +40 ms] List of devices attached
           32003c30dc19668f       device usb:336855040X product:m30ltedd model:SM_M305F device:m30lte transport_id:4
[  +78 ms] {
             "devices" : {
               "com.apple.CoreSimulator.SimRuntime.tvOS-13-4" : [
                 {
                   "dataPath" :
                   "\/Users\/taha\/Library\/Developer\/CoreSimulator\/Devices\/7FD5A42D-EAD3-454D-AEA7-D916BD227C09\/d
                   ata",
                   "logPath" : "\/Users\/taha\/Library\/Logs\/CoreSimulator\/7FD5A42D-EAD3-454D-AEA7-D916BD227C09",
                   "udid" : "7FD5A42D-EAD3-454D-AEA7-D916BD227C09",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-TV-1080p",
                   "state" : "Shutdown",
                   "name" : "Apple TV"
                 },
                 {
                   "dataPath" :
                   "\/Users\/taha\/Library\/Developer\/CoreSimulator\/Devices\/9EB9BD80-48CE-4BC1-89F7-734B6E65C151\/d
                   ata",
                   "logPath" : "\/Users\/taha\/Library\/Logs\/CoreSimulator\/9EB9BD80-48CE-4BC1-89F7-734B6E65C151",
                   "udid" : "9EB9BD80-48CE-4BC1-89F7-734B6E65C151",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-4K",
                   "state" : "Shutdown",
                   "name" : "Apple TV 4K"
                 },
                 {
                   "dataPath" :
                   "\/Users\/taha\/Library\/Developer\/CoreSimulator\/Devices\/23CA7F9E-E015-4069-8803-1F74924042D2\/d
                   ata",
                   "logPath" : "\/Users\/taha\/Library\/Logs\/CoreSimulator\/23CA7F9E-E015-4069-8803-1F74924042D2",
                   "udid" : "23CA7F9E-E015-4069-8803-1F74924042D2",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-1080p",
                   "state" : "Shutdown",
                   "name" : "Apple TV 4K (at 1080p)"
                 }
               ],
               "com.apple.CoreSimulator.SimRuntime.watchOS-6-2" : [
                 {
                   "dataPath" :
                   "\/Users\/taha\/Library\/Developer\/CoreSimulator\/Devices\/2867DECC-8F77-401F-BEE9-5C08D482D442\/d
                   ata",
                   "logPath" : "\/Users\/taha\/Library\/Logs\/CoreSimulator\/2867DECC-8F77-401F-BEE9-5C08D482D442",
                   "udid" : "2867DECC-8F77-401F-BEE9-5C08D482D442",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-4-40mm",
                   "state" : "Shutdown",
                   "name" : "Apple Watch Series 4 - 40mm"
                 },
                 {
                   "dataPath" :
                   "\/Users\/taha\/Library\/Developer\/CoreSimulator\/Devices\/7E655F25-AA93-4DD1-87B7-BB0C68063933\/d
                   ata",
                   "logPath" : "\/Users\/taha\/Library\/Logs\/CoreSimulator\/7E655F25-AA93-4DD1-87B7-BB0C68063933",
                   "udid" : "7E655F25-AA93-4DD1-87B7-BB0C68063933",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-4-44mm",
                   "state" : "Shutdown",
                   "name" : "Apple Watch Series 4 - 44mm"
                 },
                 {
                   "dataPath" :
                   "\/Users\/taha\/Library\/Developer\/CoreSimulator\/Devices\/51B57E90-920D-4434-A0A3-53B68A28E175\/d
                   ata",
                   "logPath" : "\/Users\/taha\/Library\/Logs\/CoreSimulator\/51B57E90-920D-4434-A0A3-53B68A28E175",
                   "udid" : "51B57E90-920D-4434-A0A3-53B68A28E175",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-5-40mm",
                   "state" : "Shutdown",
                   "name" : "Apple Watch Series 5 - 40mm"
                 },
                 {
                   "dataPath" :
                   "\/Users\/taha\/Library\/Developer\/CoreSimulator\/Devices\/DD99D4A3-F822-40BE-9D47-982FC560F0E9\/d
                   ata",
                   "logPath" : "\/Users\/taha\/Library\/Logs\/CoreSimulator\/DD99D4A3-F822-40BE-9D47-982FC560F0E9",
                   "udid" : "DD99D4A3-F822-40BE-9D47-982FC560F0E9",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-5-44mm",
                   "state" : "Shutdown",
                   "name" : "Apple Watch Series 5 - 44mm"
                 }
               ],
               "com.apple.CoreSimulator.SimRuntime.iOS-13-4" : [
                 {
                   "dataPath" :
                   "\/Users\/taha\/Library\/Developer\/CoreSimulator\/Devices\/7D981C10-2E1E-4174-8D86-B54166FEAC0E\/d
                   ata",
                   "logPath" : "\/Users\/taha\/Library\/Logs\/CoreSimulator\/7D981C10-2E1E-4174-8D86-B54166FEAC0E",
                   "udid" : "7D981C10-2E1E-4174-8D86-B54166FEAC0E",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-8",
                   "state" : "Shutdown",
                   "name" : "iPhone 8"
                 },
                 {
                   "dataPath" :
                   "\/Users\/taha\/Library\/Developer\/CoreSimulator\/Devices\/3C1EE536-1F8D-4282-83E8-E675A1C5154E\/d
                   ata",
                   "logPath" : "\/Users\/taha\/Library\/Logs\/CoreSimulator\/3C1EE536-1F8D-4282-83E8-E675A1C5154E",
                   "udid" : "3C1EE536-1F8D-4282-83E8-E675A1C5154E",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-8-Plus",
                   "state" : "Shutdown",
                   "name" : "iPhone 8 Plus"
                 },
                 {
                   "dataPath" :
                   "\/Users\/taha\/Library\/Developer\/CoreSimulator\/Devices\/41EB2A85-7EB4-4FD2-8978-FBBE2A681D74\/d
                   ata",
                   "logPath" : "\/Users\/taha\/Library\/Logs\/CoreSimulator\/41EB2A85-7EB4-4FD2-8978-FBBE2A681D74",
                   "udid" : "41EB2A85-7EB4-4FD2-8978-FBBE2A681D74",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-11",
                   "state" : "Shutdown",
                   "name" : "iPhone 11"
                 },
                 {
                   "dataPath" :
                   "\/Users\/taha\/Library\/Developer\/CoreSimulator\/Devices\/45056C43-E6C4-4AFD-BBA7-65D2858FF67C\/d
                   ata",
                   "logPath" : "\/Users\/taha\/Library\/Logs\/CoreSimulator\/45056C43-E6C4-4AFD-BBA7-65D2858FF67C",
                   "udid" : "45056C43-E6C4-4AFD-BBA7-65D2858FF67C",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro",
                   "state" : "Shutdown",
                   "name" : "iPhone 11 Pro"
                 },
                 {
                   "dataPath" :
                   "\/Users\/taha\/Library\/Developer\/CoreSimulator\/Devices\/2EDFE38C-6CB5-4E4C-9811-FE1AD3F4BCD1\/d
                   ata",
                   "logPath" : "\/Users\/taha\/Library\/Logs\/CoreSimulator\/2EDFE38C-6CB5-4E4C-9811-FE1AD3F4BCD1",
                   "udid" : "2EDFE38C-6CB5-4E4C-9811-FE1AD3F4BCD1",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro-Max",
                   "state" : "Shutdown",
                   "name" : "iPhone 11 Pro Max"
                 },
                 {
                   "dataPath" :
                   "\/Users\/taha\/Library\/Developer\/CoreSimulator\/Devices\/E0625D43-32D6-4E5B-B3E3-16AA927E1F39\/d
                   ata",
                   "logPath" : "\/Users\/taha\/Library\/Logs\/CoreSimulator\/E0625D43-32D6-4E5B-B3E3-16AA927E1F39",
                   "udid" : "E0625D43-32D6-4E5B-B3E3-16AA927E1F39",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--9-7-inch-",
                   "state" : "Shutdown",
                   "name" : "iPad Pro (9.7-inch)"
                 },
                 {
                   "dataPath" :
                   "\/Users\/taha\/Library\/Developer\/CoreSimulator\/Devices\/9347A5A4-ECD0-4858-942C-358A211DC86B\/d
                   ata",
                   "logPath" : "\/Users\/taha\/Library\/Logs\/CoreSimulator\/9347A5A4-ECD0-4858-942C-358A211DC86B",
                   "udid" : "9347A5A4-ECD0-4858-942C-358A211DC86B",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad--7th-generation-",
                   "state" : "Shutdown",
                   "name" : "iPad (7th generation)"
                 },
                 {
                   "dataPath" :
                   "\/Users\/taha\/Library\/Developer\/CoreSimulator\/Devices\/D13AEB95-5A11-46E8-9519-CA1DA16F1179\/d
                   ata",
                   "logPath" : "\/Users\/taha\/Library\/Logs\/CoreSimulator\/D13AEB95-5A11-46E8-9519-CA1DA16F1179",
                   "udid" : "D13AEB95-5A11-46E8-9519-CA1DA16F1179",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" :
                   "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--11-inch---2nd-generation-",
                   "state" : "Shutdown",
                   "name" : "iPad Pro (11-inch) (2nd generation)"
                 },
                 {
                   "dataPath" :
                   "\/Users\/taha\/Library\/Developer\/CoreSimulator\/Devices\/E20F4194-4CBC-40FD-A8C6-8C4848789E6F\/d
                   ata",
                   "logPath" : "\/Users\/taha\/Library\/Logs\/CoreSimulator\/E20F4194-4CBC-40FD-A8C6-8C4848789E6F",
                   "udid" : "E20F4194-4CBC-40FD-A8C6-8C4848789E6F",
                   "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\/taha\/Library\/Developer\/CoreSimulator\/Devices\/46F30BB4-B2E9-4A36-BD51-D6A69E0F99B9\/d
                   ata",
                   "logPath" : "\/Users\/taha\/Library\/Logs\/CoreSimulator\/46F30BB4-B2E9-4A36-BD51-D6A69E0F99B9",
                   "udid" : "46F30BB4-B2E9-4A36-BD51-D6A69E0F99B9",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Air--3rd-generation-",
                   "state" : "Shutdown",
                   "name" : "iPad Air (3rd generation)"
                 }
               ]
             }
           }
[+2702 ms] [
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.4 (17E255)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone12,5",
                        "identifier" : "2EDFE38C-6CB5-4E4C-9811-FE1AD3F4BCD1",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.iphone-11-pro-max-1",
                        "modelName" : "iPhone 11 Pro Max",
                        "name" : "iPhone 11 Pro Max"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.4 (17E255)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone10,5",
                        "identifier" : "3C1EE536-1F8D-4282-83E8-E675A1C5154E",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.iphone-8-plus-2",
                        "modelName" : "iPhone 8 Plus",
                        "name" : "iPhone 8 Plus"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.4 (17E255)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone10,4",
                        "identifier" : "7D981C10-2E1E-4174-8D86-B54166FEAC0E",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.iphone-8-2",
                        "modelName" : "iPhone 8",
                        "name" : "iPhone 8"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.4 (17E255)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone12,1",
                        "identifier" : "41EB2A85-7EB4-4FD2-8978-FBBE2A681D74",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.iphone-11-1",
                        "modelName" : "iPhone 11",
                        "name" : "iPhone 11"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.4 (17E255)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad8,9",
                        "identifier" : "D13AEB95-5A11-46E8-9519-CA1DA16F1179",
                        "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" : "13.4 (17E255)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad8,12",
                        "identifier" : "E20F4194-4CBC-40FD-A8C6-8C4848789E6F",
                        "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" : "6.2 (17T256)",
                        "available" : true,
                        "platform" : "com.apple.platform.watchsimulator",
                        "modelCode" : "Watch5,3",
                        "identifier" : "51B57E90-920D-4434-A0A3-53B68A28E175",
                        "architecture" : "i386",
                        "modelUTI" : "com.apple.watch-series5-1",
                        "modelName" : "Apple Watch Series 5 - 40mm",
                        "name" : "Apple Watch Series 5 - 40mm"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.4 (17L255)",
                        "available" : true,
                        "platform" : "com.apple.platform.appletvsimulator",
                        "modelCode" : "AppleTV6,2",
                        "identifier" : "23CA7F9E-E015-4069-8803-1F74924042D2",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.apple-tv-4k",
                        "modelName" : "Apple TV 4K (at 1080p)",
                        "name" : "Apple TV 4K (at 1080p)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.4 (17E255)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad6,4",
                        "identifier" : "E0625D43-32D6-4E5B-B3E3-16AA927E1F39",
                        "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" : "13.4 (17E255)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad7,12",
                        "identifier" : "9347A5A4-ECD0-4858-942C-358A211DC86B",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.ipad-7-wwan-1",
                        "modelName" : "iPad (7th generation)",
                        "name" : "iPad (7th generation)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.4 (17L255)",
                        "available" : true,
                        "platform" : "com.apple.platform.appletvsimulator",
                        "modelCode" : "AppleTV6,2",
                        "identifier" : "9EB9BD80-48CE-4BC1-89F7-734B6E65C151",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.apple-tv-4k",
                        "modelName" : "Apple TV 4K",
                        "name" : "Apple TV 4K"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "6.2 (17T256)",
                        "available" : true,
                        "platform" : "com.apple.platform.watchsimulator",
                        "modelCode" : "Watch4,3",
                        "identifier" : "2867DECC-8F77-401F-BEE9-5C08D482D442",
                        "architecture" : "i386",
                        "modelUTI" : "com.apple.watch-series4-1",
                        "modelName" : "Apple Watch Series 4 - 40mm",
                        "name" : "Apple Watch Series 4 - 40mm"
                      },
                      {
                        "simulator" : false,
                        "operatingSystemVersion" : "13.4.1 (17E262)",
                        "interface" : "usb",
                        "available" : true,
                        "platform" : "com.apple.platform.iphoneos",
                        "modelCode" : "iPhone11,8",
                        "identifier" : "00008020-001059882212002E",
                        "architecture" : "arm64e",
                        "modelUTI" : "com.apple.iphone-xr-1",
                        "modelName" : "iPhone XR",
                        "name" : "Taha’s iPhone"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.4 (17E255)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone12,3",
                        "identifier" : "45056C43-E6C4-4AFD-BBA7-65D2858FF67C",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.iphone-11-pro-1",
                        "modelName" : "iPhone 11 Pro",
                        "name" : "iPhone 11 Pro"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.4 (17L255)",
                        "available" : true,
                        "platform" : "com.apple.platform.appletvsimulator",
                        "modelCode" : "AppleTV5,3",
                        "identifier" : "7FD5A42D-EAD3-454D-AEA7-D916BD227C09",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.apple-tv-4",
                        "modelName" : "Apple TV",
                        "name" : "Apple TV"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "6.2 (17T256)",
                        "available" : true,
                        "platform" : "com.apple.platform.watchsimulator",
                        "modelCode" : "Watch4,4",
                        "identifier" : "7E655F25-AA93-4DD1-87B7-BB0C68063933",
                        "architecture" : "i386",
                        "modelUTI" : "com.apple.watch-series4-1",
                        "modelName" : "Apple Watch Series 4 - 44mm",
                        "name" : "Apple Watch Series 4 - 44mm"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "6.2 (17T256)",
                        "available" : true,
                        "platform" : "com.apple.platform.watchsimulator",
                        "modelCode" : "Watch5,4",
                        "identifier" : "DD99D4A3-F822-40BE-9D47-982FC560F0E9",
                        "architecture" : "i386",
                        "modelUTI" : "com.apple.watch-series5-1",
                        "modelName" : "Apple Watch Series 5 - 44mm",
                        "name" : "Apple Watch Series 5 - 44mm"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.4 (17E255)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad11,3",
                        "identifier" : "46F30BB4-B2E9-4A36-BD51-D6A69E0F99B9",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.ipad-air3-wifi-1",
                        "modelName" : "iPad Air (3rd generation)",
                        "name" : "iPad Air (3rd generation)"
                      }
                    ]
[  +15 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] 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.
[   +5 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.
[ +118 ms] Found plugin video_player at
/Users/taha/Code/flutter_dev/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.8+1/
[  +12 ms] Found plugin video_player_web at
/Users/taha/Code/flutter_dev/.pub-cache/hosted/pub.dartlang.org/video_player_web-0.1.2+1/
[  +62 ms] Found plugin video_player at
/Users/taha/Code/flutter_dev/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.8+1/
[   +3 ms] Found plugin video_player_web at
/Users/taha/Code/flutter_dev/.pub-cache/hosted/pub.dartlang.org/video_player_web-0.1.2+1/
[  +50 ms] Generating
/Users/taha/AndroidStudioProjects/dev_flutter/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.j
ava
[ +248 ms] Launching lib/main.dart on Chrome in debug mode...
[  +51 ms] Updating assets
[ +123 ms] Syncing files to device Chrome...
[  +20 ms] Found plugin video_player at
/Users/taha/Code/flutter_dev/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.8+1/
[   +1 ms] Found plugin video_player_web at
/Users/taha/Code/flutter_dev/.pub-cache/hosted/pub.dartlang.org/video_player_web-0.1.2+1/
[  +24 ms] Found plugin video_player at
/Users/taha/Code/flutter_dev/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.8+1/
[   +1 ms] Found plugin video_player_web at
/Users/taha/Code/flutter_dev/.pub-cache/hosted/pub.dartlang.org/video_player_web-0.1.2+1/
[   +5 ms] Generating
/Users/taha/AndroidStudioProjects/dev_flutter/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.j
ava
[  +39 ms] <- reset
[   +7 ms] /Users/taha/Code/flutter_dev/bin/cache/dart-sdk/bin/dart
/Users/taha/Code/flutter_dev/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root
/Users/taha/Code/flutter_dev/bin/cache/flutter_web_sdk/ --incremental --target=dartdevc --debugger-module-names
-Ddart.developer.causal_async_stacks=true --output-dill
/var/folders/x7/hx2hvbg93k7fnlsh8xrf6yfr0000gn/T/flutter_tool.PTK2vG/app.dill --libraries-spec
file:///Users/taha/Code/flutter_dev/bin/cache/flutter_web_sdk/libraries.json --packages
/Users/taha/AndroidStudioProjects/dev_flutter/.packages -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,av
oid-closure-call-instructions --enable-asserts --track-widget-creation --filesystem-root
/var/folders/x7/hx2hvbg93k7fnlsh8xrf6yfr0000gn/T/flutter_tools.3MhaCn --filesystem-scheme org-dartlang-app
--initialize-from-dill build/cache.dill --platform
file:///Users/taha/Code/flutter_dev/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk.dill
[   +7 ms] <- compile org-dartlang-app:///web_entrypoint.dart
[+8401 ms] Syncing files to device Chrome... (completed in 8,498ms, longer than expected)
[        ] Synced 21.0MB.
[        ] <- accept
[ +505 ms] [CHROME]:
[   +1 ms] [CHROME]:DevTools listening on ws://<IP_ADDRESS>:57032/devtools/browser/31ccd2e7-bcc0-44b3-a78b-9dec3c959d4f
[+3128 ms] Debug service listening on ws://<IP_ADDRESS>:57077/pJTV9cc3oGA=

[ +234 ms] Debug service listening on ws://<IP_ADDRESS>:57077/pJTV9cc3oGA=
[   +1 ms] Warning: Flutter's support for web development is not stable yet and hasn't
[        ] been thoroughly tested in production environments.
[        ] For more information see https://flutter.dev/web
[        ] 🔥  To hot restart changes while running, press "r". To hot restart (and refresh the browser), press "R".
[   +1 ms] For a more detailed help message, press "h". To quit, press "q".
[+6899 ms] ══╡ EXCEPTION CAUGHT BY SERVICES LIBRARY ╞══════════════════════════════════════════════════════════

[        ] The following StateError was thrown during a platform message response callback:

[   +3 ms] Bad state: Future already completed

[   +1 ms] When the exception was thrown, this was the stack:

[        ] dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 195:49  throw_

[        ] dart-sdk/lib/async/future_impl.dart 42:79                                     complete

[        ] packages/flutter/src/services/binding.dart 195:18                             <fn>

[   +2 ms] dart-sdk/lib/async/zone.dart 1374:10                                          runUnaryGuarded

[        ] lib/_engine/engine/window.dart 331:23                                         <fn>

[        ] lib/_engine/engine/window.dart 488:17                                         <fn>

[        ] dart-sdk/lib/async/zone.dart 1439:54                                          runUnary

[        ] dart-sdk/lib/async/future_impl.dart 141:18                                    handleValue

[        ] dart-sdk/lib/async/future_impl.dart 682:44                                    handleValueCallback

[        ] dart-sdk/lib/async/future_impl.dart 711:32                                    _propagateToListeners

[        ] dart-sdk/lib/async/future_impl.dart 516:7                                     [_complete]

[        ] dart-sdk/lib/async/future.dart 315:15                                         <fn>

[        ] dart-sdk/lib/_internal/js_dev_runtime/private/isolate_helper.dart 50:19       internalCallback

[        ] ════════════════════════════════════════════════════════════════════════════════════════════════════

flutter doctor -v
[✓] Flutter (Channel dev, v1.18.0, on Mac OS X 10.15.4 19E287, locale en-GB)
    • Flutter version 1.18.0 at /Users/taha/Code/flutter_dev
    • Framework revision 8f7327f83a (6 days ago), 2020-04-06 22:11:01 -0400
    • Engine revision 49891e0653
    • Dart version 2.8.0 (build 2.8.0-dev.20.0 1210d27678)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/taha/Code/sdk
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Users/taha/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.4, Build version 11E146
    • CocoaPods version 1.9.1
[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)
[✓] VS Code (version 1.44.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.9.1
[✓] Connected device (4 available)
    • SM M305F   • 32003c30dc19668f • android-arm64  • Android 10 (API 29)
    • macOS      • macOS            • darwin-x64     • Mac OS X 10.15.4 19E287
    • Chrome     • chrome           • web-javascript • Google Chrome
      81.0.4044.92
    • Web Server • web-server       • web-javascript • Flutter Tools
• No issues found!

I confirm the error.

Same here. It was working well on Flutter SDK 1.14.3, with version 0.10.8+1.
I updated the Flutter SDK to 1.17.2 and it started to do this error.
I updated the plugin to 0.10.11+1 and it still does it.
Just this part is necessary to repro:
_controller = VideoPlayerController.network('path_to_file');
    _controller.initialize().then((_) {
      VideoPlayer player = VideoPlayer(_controller);
    });

Try it in flutter v1.22.0, it work for me

Fixed in Flutter Version 1.22.2


Edit the path from path in spectrome folder to path relative to current working directory.

The pathing from path.get_file_path is relative to spectrome directory right now, this should be changed to current working directory.
If people use spectrome as a library, they should be able to grab file paths relative to their own folders.

_file_ sets the path its looking for to within spectrome, which shouldn't be the case if you work with spectrome outside of the spectrome folders

we probably only need get_file_path for relative path to any folder 1 level up, and get_data_path for data folder specific things.


Error during tesing

Hi, I follow the instruction to set up the environment and encountered the following error running command  torchpack dist-run -np 1 python tools/test.py configs/nuscenes/seg/fusion-bev256d2-lss.yaml pretrained/bevfusion-seg.pth --eval map

Please consider changing your PyTorch version to 1.10.x and try again.

Thanks


CellPose GPU installation issue

Hi!
We are using this to install CellPose:
conda create --yes --name cellpose python=3.8
conda run --name cellpose python -m pip install cellpose[all] scikit-image

This used to work well, but now (maybe due to torch version being 1.13 and not 1.12 anymore) we are getting this error when running Cellpose:
OSError: /opt/conda/envs/cellpose/lib/python3.8/site-packages/torch/lib/../../nvidia/cublas/lib/libcublas.so.11: undefined symbol: cublasLtGetStatusString, version libcublasLt.so.11

Do you have a recommendation for installing CellPose such that we could avoid issues?
We would be fine to fix versions of dependencies during installation.
In fact, ideally, we would maintain several working versions of CellPose (we could name the conda environments accordingly).

thanks for pointing this out! did you run?
conda install pytorch cudatoolkit=11.3 -c pytorch

It looks like pytorch is now using 11.7. Can you please try
conda install pytorch pytorch-cuda=11.7 -c pytorch

and if that works I'll change the instructions

So in total:
conda create --yes --name cellpose python=3.8
conda run --name cellpose install pytorch pytorch-cuda=11.7 -c pytorch
conda run --name cellpose python -m pip install cellpose[all] scikit-image

or in some other order?

yes that should work, as long as you have 11.7 cuda installed on your computer
alternatively:
conda install pytorch==1.12.1 cudatoolkit=11.3 -c pytorch

I will suggest this option for now
thanks for catching this issue!

conda create --yes --name cellpose python=3.8 && \
conda run --name cellpose python -m pip install cellpose[all]

This works with GPU (cuda 11.7)


Investigate standardisation for encryption, tooling, Terraform modules

Done with #829 #825 #554 #117 and #834


localized the strings listed in the code in the description

Sharing options – The text ‘Share’ comes from ‘widgets/shareBook/sharebook.js’. Please look for  line no 78 – btnShare = domConstruct.create("div", { "class": "esriSelectWebmapBtn", "innerHTML": "Share" }, btnContainer);

Page Ribbon – The text ‘Page’ is coming from ‘widgets/mapBookCollection/pageNavigation.js’. Please look for  line no 65 – domConstruct.create("div", { "class": "esriPageSliderDiv esriBookPage", "index": bookPageIndex + 2, "innerHTML": "Page " + (bookPageIndex + 1) }, listItem);

@LindsayThomas  We will provide this fix in next release.

verified


Are there other usefull tools like

I am using  in my template to add a new page, and that works fine. However, is there another similar action I can use to just end the current page and start a new one? Something like                       ?
Because when I use new page, I am just generating a blank new page.

Sorry, don't have answer to this, but could you tell me how you are loading your template?


How to update pkl-gha created files with dependabot (yaml) updates?

Think about how to update the pkl files with dependabot.
Dependabot can automatically update github yaml files.
But with that, our check that all pkl files are converted fails.
See https://github.com/StefMa/pkl-gha/pull/3
Maybe we should add another workflow that runs after dependabot created a PR, update the pkl files and commits it there... 🤔
How to do that? 😁

This could be done with that action probably
https://github.com/dependabot/fetch-metadata
See also the docs here:
https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions
The action above has an output of updated dependencies. We can simply update the respective pkl file (too) and push this changes to the PR... 💭


[Improve][MySQL-CDC] Support 8.4+ versions

Purpose of this pull request
[Fix][connector-cdc-mysql]MySqlConnectionUtils MySQL8.4 binlog相关语句变更问题
https://github.com/apache/seatunnel/issues/7416
Does this PR introduce any user-facing change?
How was this patch tested?
Check list

[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist
Add ci label in label-scope-conf
Add e2e testcase in seatunnel-e2e
Update connector plugin_config

[ ] Update the release-note.

@lilanlong Could you please add e2e?

@lilanlong Could you please add e2e?

seatunnel我做了MySQL8.4的支持，本地做了测试，但是debezium我看了源码，MySQL8.4应该还不支持。

please add seatunnel e2e testcase for connector-cdc-mysql?
https://github.com/apache/seatunnel/tree/dev/seatunnel-e2e/seatunnel-connector-v2-e2e/connector-cdc-mysql-e2e

please add seatunnel e2e testcase for connector-cdc-mysql?
https://github.com/apache/seatunnel/tree/dev/seatunnel-e2e/seatunnel-connector-v2-e2e/connector-cdc-mysql-e2e

My e2e, which I wrote myself, will always get stuck like in the picture. The one I ran before also got stuck like this, and I haven't found any reason. I developed it on Windows, is there any impact?

@lilanlong Could you please add e2e?

@lilanlong Could you please add e2e?

seatunnel我做了MySQL8.4的支持，本地做了测试，但是debezium我看了源码，MySQL8.4应该还不支持。

这个为什么总是起不来，没找到什么原因。

@lilanlong Could you please add e2e?

@lilanlong Could you please add e2e?

seatunnel我做了MySQL8.4的支持，本地做了测试，但是debezium我看了源码，MySQL8.4应该还不支持。

这个为什么总是起不来，没找到什么原因。

Before run e2e test case, please execute mvn clean package -DskipTests to make sure the jar file be created.

@lilanlong Could you please add e2e?

@lilanlong Could you please add e2e?

seatunnel我做了MySQL8.4的支持，本地做了测试，但是debezium我看了源码，MySQL8.4应该还不支持。

这个为什么总是起不来，没找到什么原因。

Before run e2e test case, please execute mvn clean package -DskipTests to make sure the jar file be created.

是按照这样操作的，但是docker还是启动不起来

org.apache.seatunnel.common.utils.SeaTunnelException: Cannot read the binlog filename and position via 'SHOW MASTER STATUS'. Make sure your server is correctly configured
at org.apache.seatunnel.connectors.seatunnel.cdc.mysql.utils.MySqlConnectionUtils.getBinlogOffset(MySqlConnectionUtils.java:121)
at org.apache.seatunnel.connectors.seatunnel.cdc.mysql.utils.MySqlConnectionUtils.currentBinlogOffset(MySqlConnectionUtils.java:100)
at org.apache.seatunnel.connectors.seatunnel.cdc.mysql.source.reader.fetch.scan.MySqlSnapshotSplitReadTask.doExecute(MySqlSnapshotSplitReadTask.java:137)
at org.apache.seatunnel.connectors.seatunnel.cdc.mysql.source.reader.fetch.scan.MySqlSnapshotSplitReadTask.execute(MySqlSnapshotSplitReadTask.java:117)
... 7 more


is adapt_transformers class adapt any transformer or HF models?

I went through the habana code inside this repo and how Intel uses a cheatcode method to adapt any transformer modules to run on Intel gaudi/gaudi2 hardware. I didn't read the underlying code written by Habana devs but I was curious can it in theory transform any transformer based model including those which are written for cuda in mind?
Overlook my ignorance but I don't think Intel offers any native framework to develop architecture or models that leverages their hardware and fine-tuned for it. Almost all of its hardware is inference based rather than training + inference both in mind. That's why, I was wondering if it can run insanely fast whisper or faster whisper alike models faster or equal speed of Nvidia A100/H100/H200?
https://huggingface.co/Systran/faster-whisper-medium

please raise your issue in habana repo


Settings wheel component

<SettingsWheel/>
A button shown in the header to display the settings panel overlay.
Output props

onClick(): called when the wheel is clicked

Duplicate of #34


Cache video titles in database

The server should cache the video titles in the database and periodically update them instead of having the client request them every time the page is loaded.

To prevent abuse, only videos which exist in our database should have their information cached.


Expose executablePath in Playwright helper

What are you trying to achieve?
Trying to use executablePath configuration in Playwright helper. But this property is not exposed.
What do you get instead?
This property is not set by the Playwright helper.
Details

CodeceptJS version: 3.0.0
playwright version 1.4.1

So, properties don't need to exposed explicitly. Whatever is set in the config, is collected & passed through. However, it's the structure that's a bit different. Apart from headless property, everything else needs to be set under respective browser-named objects like below -
  helpers: {
    Playwright: {
      url: "http://localhost",
      show: true,
      browser: 'firefox',
      firefox: {
        executablePath: `/Users/me/Downloads/browsers/firefox/Nightly.app/Contents/MacOS/firefox`,
      }
    }
  }

Closing the issue.


[dv, chip, env]: set_and_release_sw_strap_nonblocking task fails to set the sw_strap pins (for bootstrap) when run with real ROM

Description
The set_and_release_sw_strap_nonblocking task is written to set sw_strap pins for bootstrap mode using "use_spi_load_bootstrap" only when the test' status is "SwTestStatusInBootRom" which exists only in Test ROM and not in real ROM.
https://github.com/lowRISC/opentitan/blob/641d7b11a82a9cc69360642d139db9c236f6c072/hw/top_earlgrey/dv/env/seq_lib/chip_sw_base_vseq.sv#L22-L31
Below described "SwTestStatusInBootRom" status:
https://github.com/lowRISC/opentitan/blob/641d7b11a82a9cc69360642d139db9c236f6c072/sw/device/lib/testing/test_framework/status.h#L20-L26

@sha-ron

I don't believe this should be handled in the ROM. Is it not possible to update the DV sequence to apply the strapping pins before reset, and then remove them right before the next reset? We should not have to rely on a symbol in the SW to indicate the state of the chip to apply the bootstrap strapping pin values (we do not do so for the FPGA either).

I don't believe this should be handled in the ROM. Is it not possible to update the DV sequence to apply the strapping pins before reset, and then remove them right before the next reset? We should not have to rely on a symbol in the SW to indicate the state of the chip to apply the bootstrap strapping pin values (we do not do so for the FPGA either).

Yes, this can be done in the DV sequence.
I opened the issue to highlight a limitation in the current implementation when using 'use_spi_load_bootstrap' plusarg in 'real ROM' running mode.

So it is ok to postpone the fix. I will clear the milestone.


Fixed issue #2048 wrong name in CompactableFileImpl method

Name 'getStortedTabletFile' has been refactored by 'getStoredTabletFile' in method 'getStoredTabletFile()' of Class 'CompactableFileImpl'

Thanks for the contribution @nicolasalarconrapela and welcome to the Apache Accumulo community. If you would like to be listed as a contributor on Accumulo's people page please make a website PR for people.md. https://github.com/apache/accumulo-website/edit/main/pages/people.md (names should be in alphabetical order)
If you intend to make more contributions, please consider subscribing to the dev list and introducing yourself. Also, you can use the dev list or slack to reach out if you have questions about anything. https://accumulo.apache.org/contact-us/


Adding functionality to specify which IP address will be bind to when starting the server.

Hi all,
It seems currently the IP address is hard coded(here) when you was trying to start a server.
It will be better if I can specify which IP addresses will be binded when I have multiple IP address on my server.
Would you mind to add this functionality to colossus?

Sounds doable. We should be able to make this an optional piece of config, just like we have so-reuse-address.


Additional integration tests for property.py

This PR adds some additional tests for property.py. These new tests have been written and run against the master branch, to ensure no breaking changes due to refactoring.

@cflynn3 @andy-beer - this one is ready for review

Looks like a yapf is needed on init.py


chore: bump go version

Signed-off-by: James Milligan<EMAIL_ADDRESS>

This PR

bumps go version to 1.19

Related Issues

Notes

Follow-up Tasks

How to test

Has this been tested?


Use state from inside coroutine

I have a feeling this will work in 2.0, but I'm wondering if there is a current workaround or something I'm missing.
I have a call that looks like this
fun refresh() = viewModelScope.launch {
    newSomeStateValue = suspendingFunction(anotherStateValue)
    setState{ copy(someStateValue = newSomeStateValue) }

The problem is accessing anotherStateValue. If I wrap the inside of the launch block with withState and use it.anotherStateValue, then I can no longer call suspendingFunction. I'd like to say anotherStateValue = withState { it.anotherStateValue }, but that returns a Unit. Is there any way to get the values out of a state outside of the withState block?

Am I correct in that
var anotherStateValue = 0
withState { anotherStateValue = it.anotherStateValue}
suspendingFunction(anotherStateValue)

will result in a race condition?

@Minirogue anotherStateValue will be 0 in nearly every case.
https://github.com/airbnb/MvRx/wiki#threading-in-mvrx explains it more
I would do something like:
fun refresh() = withState { state ->
   viewModelScope.launch {
      val newSomeStateValue = suspendingFunction(anotherStateValue)
      setState{ copy(someStateValue = newSomeStateValue) }
  }
}

If you want to ensure that you have the latest value of anotherState, save the Job returned from launch and cancel it before calling launch again

fun refresh() = withState { state ->
   viewModelScope.launch {
      val newSomeStateValue = suspendingFunction(state.anotherStateValue)
      setState{ copy(someStateValue = newSomeStateValue) }
  }
}

I really could have sworn I tried this variation, but it works so I guess not. Thanks @gpeal.

For the record, this made it untestable because I couldn't call .join() on the inner coroutine. I ended up refactoring to refresh(anotherStateValue) and changed my calls within the fragment to be inside withState calls.
Hopefully 2.0 will be a little more compatible with wrapping these calls in coroutines.


Overview of current RBAC Capabilities

User Story
As a Potential customer I want to know what RBAC Capabilities Giantswarm offers so that I can evaluate if it fits my requirements
requirements typically are that A customer has 100 developers / PEs across 10 teams. And they want to efficiently manage which team can do what on which clusters. This should be centrally defined in one place and also integrated with their SSO solution.
e.g. every team gets read access to all clusters, each team gets write access to "their" cluster and an admin team gets write access to all clusters
other requirements: some teams want to work on the same cluster but need isolation via namespaces
Task

write down what is currently possible on MCs (e.g. with organizations, but also with standard RBAC via GitOps)
Write down what is currently possible on WCs
how can we demo this easily?
the outcome must be easily/clearly understandable overview, with help of sales even into a public doc
we will then take this as a basis for discussions with Sales on what customers usually ask for and if this is enough or where we can potentially add better automation (e.g. in WCs)

I've aggregated information on how to setup an installation with the requirements mentioned in the example above.
Requirements

(0) SSO should be used to sign in
(1) every team gets read access to all clusters
(2) each team gets write access to "their" cluster
(3) an admin team gets write access to all clusters
(4) some teams want to work on the same cluster but need isolation via namespaces

RBAC Capabilities on MCs

SSO is enabled by default, to configure it for customers the connector information has to be  entered in the dex-operator config (if the provider is compatible with dex-operator) or directly in the dex-app config (0)
create a ClusterRoleBinding that binds the read-all ClusterRole to each group (team) (1)
create a RoleBinding that binds the cluster-admin role to the group (team) in the respective team's namespace (2)
set the write_all_group value in the config of rbac-operator to the admin group  (3)

RBAC Capabilities on WCs

enable SSO by installing auth-bundle (0)

if dex-operator is configured properly on the MC then no further configuration is necessary
if not the connector information has to be configured in the configuration of dex-app

RBAC configuration on WCs through MC

use extra rbac-bootstrap-app to create (cluster)rolebindings on WCs from MCs

create ClusterRoleBinding that binds the view ClusterRole to each group (team) (1)
create ClusterRoleBinding that binds the cluster-admin ClusterRole to the group (team), that owns the cluster (2)
create RoleBinding that binds the cluster-admin ClusterRole to the group (team), that owns the namespace in the namespace (4)
the customer write_all_group should have admin permissions by default on the cluster (3)

https://docs.google.com/document/d/1315bRU14KsW0oiu_UWGAyJCn1h8xTCLp6fVLOW4sEtU/edit?usp=sharing

Questionnaire](https://docs.google.com/forms/d/1rvAQhOGi3lxHnL1_MPMSn2KGuwa-L336-HIRmYXm7Nc/edit)

Depends a lot on what you aim to learn with this. Reading the questionnaire, I'm not sure what the learning goal is, but I guess you have one. It looks like a rather technical and process focus, but might be a bit too simplified to get good data in some cases, e.g. responsibility might be split, like there might be security and IAM teams centrally but they care about IdP and OIDC setups, the actual RBAC might rather be responsibility of the platform team. Where it will get you good data is on how and where the actual RBAC yaml is managed.
From my side, to help with your teams product discovery it might be interesting to broaden the research and explore how access is managed in a wider sense. I'd aim to know things like: if users are assigned roles individually vs via groups, how groups are managed (new groups in the IdP vs map existing groups), who manages them, and what kind of access is usually given out (e.g. namespace admin, multi-namespace, read on all,...).
That said, coming back to my first line, if your goal of inquiry is a different one, then my areas of inquiry might not well integrate into the same questionnaire.

So our goal is mainly to find out what tooling customers have in place, what are their challenges and what are their goals. We do ask here and there some additional questions but key for us really, are those

WDYT?

we are putting this one on hold until it is clear, that BigMac will be responsible for it also in the future

RBAC effort has been de-prioritized, so we will close this for now and resurrect it if needed


Out of date dependencies?

Version 1.0.4 depends on outdated versions of hystrix-core and hystrix-javanica. Will these be updated in the spring-cloud-starter-hystrix module?

They have been updated in Brixton, our next release.

Great. Will that end up in maven central?

Yes, when we release it in Q1


Cannot use migrations when using DbContexts on multiple databases

I'm developing a multi tenancy setup where I use the same DbContext on multiple databases. However, I can't get migrations to work. When I try a dynamic apporach as the one described in my StackOverflow question , I get errors. When I supply a connection string, the migration gets created successfully, but my dynamic approach fails with an error and no migrations are being applied to the databases.
However in the created context files I can find no mention of a connection string. When I try the EF7 database or migration commands, I cannot specify a connection string to apply a migration to multiple databases, therefore any hope of maybe creating a shell script to handle migrations across multiple databases is gone. Is it even possible to use EF7 in my use case scenario?

Solved the problem by specifying this.Database.Migrate(); in the context constructor.

@maxmantz you probably want toad some logic so that it's not done on every context creation, just once per AppDomain. Our recommendation is to do it during app startup rather than inline in the context.

@rowanmiller Thanks for the hint! I've updated the project to call the following during the configuration phase in order to call the migrations only once per application startup, like this:
using (var context = tenantContextFactory.GetTenantContext<SamuraiContext>(custId))
{
      context.Database.Migrate();
}

Works like a charm so far.


[7.2 BUG] [CompilerError] The type Zenject.SubContainerCreatorByInstaller' does not contain a constructor that takes 2' arguments

[CompilerError] The type `Zenject.SubContainerCreatorByInstaller' does not contain a constructor that takes `2' arguments
Compiler Error at Assets/Plugins/Zenject/Source/Binding/Finalizers/SubContainerInstallerBindingFinalizer.cs:38 column 17

I am using unity 2018.2.3f1
It seems that, there are some missing arguments, for example in: Assets/Plugins/Zenject/Source/Binding/Finalizers/SubContainerInstallerBindingFinalizer.cs:
        ISubContainerCreator CreateContainerCreator(DiContainer container)
        {
            return new SubContainerCreatorCached(
                new SubContainerCreatorByInstaller(container, _installerType));
        }

I took a look at SubContainerCreatorByInstaller and indeed there is only single override there with minimum 3 required arguments.
How did that possibly pass the test? What am I missing there?

To make unity compile ok locally I added
        public SubContainerCreatorByMethod(
            DiContainer container,
            Action<DiContainer> installMethod)
            : base(container,  new SubContainerCreatorBindInfo())
        {
            _installMethod = installMethod;
        }

and
        public SubContainerCreatorByInstaller(
            DiContainer container,
            Type installerType)
            : this(container, new SubContainerCreatorBindInfo(), installerType, new List<TypeValuePair>())
        {
        }

I have tested it. Unity updater do not remove files. You have to remove the files manually for any thing that is removed in each update. (Kinda sux that unity doesn't know which files were removed in each update)

Yeah I guess when updating from unity package you have to delete everything to avoid this issue


x64 Realtime Stacks not working after switch to RuntimeInformation.OSArchitecture

Commit f3f49e9f contains the switch to System.Runtime.InteropServices.RuntimeInformation, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. That version breaks x64 Realtime stackwalks because RuntimeInformation.OSArchitecture returns x86 on x64 which is clearly an error.
The version is supplied with .NET 4.7.1 which forwards the type to mscorlib where it is defined as
public static Architecture OSArchitecture
{
	[SecuritySafeCritical]
	get
	{
		object obj = RuntimeInformation.s_osLock;
		lock (obj)
		{
			if (!RuntimeInformation.s_osArch.HasValue)
			{
				Win32Native.SYSTEM_INFO sYSTEM_INFO;
				Win32Native.GetNativeSystemInfo(out sYSTEM_INFO);
				RuntimeInformation.s_osArch = new Architecture?(RuntimeInformation.GetArchitecture(sYSTEM_INFO.dwOemId));
			}
		}
		return RuntimeInformation.s_osArch.Value;
	}
}

That has several problems.

dwOemId is at least on Win10 the wrong property of the struct to determine the OS architecture
The code in RuntimeInformation.GetArchitecture wrongly shifts it by 16 bits which results always in 0.
ushort num = (ushort)(sysinfo.dwOemId >> 16);
That must be fixed inside mscorlib inside .NET 4.7.1.

The supplied Nuget package for System.Runtime.InteropServices.RuntimeInformation 4.3 supplies an assembly for users who do not have .NET 4.7.1 installed but that version relies on API sets

[DllImport("api-ms-win-core-sysinfo-l1-2-0.dll")]
internal static extern void GetNativeSystemInfo(out Interop.mincore.SYSTEM_INFO lpSystemInfo);

which breaks Windows 7 users. API Sets are a feature introduced with Windows 8.
Point 2 seems to be already addressed with 4.3.0-preview1-24530-04 but that will still fail on all machines where .NET 4.7.1 is installed.
Are there plans to skip support for Win 7 with all of these changes? If yes I would need to live with a fork before all the .NET Core changes were added which seem to break quite a few cases. It is unfortunate that the Nuget package has the same assembly version than the one from .NET 4.7.1 which forces the usage of the buggy .NET 4.7.1 System.RuntimeInformation.dll from the GAC (<IP_ADDRESS>).

Any update on this one? I would expect a solution that also works on a .NET 4.7.1 installation with no hotfixes. Otherwise tools will break. TraceEvent should be able to work on pretty much any .NET version.

Given that the underlying APIs are broken on some versions avoiding the API is best.  In this case it happened to be easy (it was called only to determine the current pointer size, which we can get using IntPtr.Size.
On a related note.  Has any bug been made to actually fix the API in .NET.   PerfView no longer needs it, but we still need to fix it.

IntPtr.Size will not do it because if you are running on a 64 bit OS you will wrongly detect that the ETL pointer size is 4 if you are running a 32 bit application.

I have logged request to check for desktop clr https://github.com/dotnet/corefx/issues/27386

Sigh,  I was not thinking straight.   I was thinking in real time it matches the process, but you are right, it does not.     I am going to abandon this PR

@vancem Did you mean to close the pull request or the issue?

Fixed via #576.