run app with chrome: Failed to launch browser. Make sure you are using an up-to-date Chrome or Edge..

i've just start a new project using VS-code with flutter beta version (1.25.0-8.1.pre), when i  run the app with chrome debug, this error is show up:

Failed to launch browser. Make sure you are using an up-to-date Chrome or Edge. Otherwise, consider using -d web-server instead and filing an issue at https://github.com/flutter/flutter/issues.
Exited (sigterm)

@gnassro
can you provider your flutter doctor -v and your flutter run -d chrome -v

@gnassro
can you provider your flutter doctor -v and your flutter run -d chrome -v

@gnassro
can you provider your flutter doctor -v and your flutter run -d chrome -v

# flutter doctor -v
[✓] Flutter (Channel beta, 1.25.0-8.1.pre, on Linux, locale en_GB.UTF-8)
    • Flutter version 1.25.0-8.1.pre at /opt/flutter
    • Framework revision 8f89f6505b (2 weeks ago), 2020-12-15 15:07:52 -0800
    • Engine revision 92ae191c17
    • Dart version 2.12.0 (build 2.12.0-133.2.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /root/Android/Sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /root/Android/Sdk
    • Java binary at: /opt/android-studio/jre/bin/java
    • Java version openjdk version "1.8.0_242-release"
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Android Studio
    • Android Studio at /opt/android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version openjdk version "1.8.0_242-release"

[✓] VS Code (version 1.52.1)
    • VS Code at /usr/share/code
    • Flutter extension version 3.18.0

[✓] Connected device (2 available)
    • SM A107F (mobile) • R9WMA058R9J • android-arm    • Android 10 (API 29)
    • Chrome (web)      • chrome      • web-javascript • Google Chrome 88.0.4324.50 beta

• No issues found!

flutter run -d chrome -v
[ +262 ms] executing: [/opt/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +119 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] 8f89f6505b941329a864fef1527243a72800bf4d
[   +2 ms] executing: [/opt/flutter/] git tag --points-at 8f89f6505b941329a864fef1527243a72800bf4d
[  +48 ms] Exit code 0 from: git tag --points-at 8f89f6505b941329a864fef1527243a72800bf4d
[        ] 1.25.0-8.1.pre
[ +144 ms] executing: [/opt/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +20 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/beta
[   +1 ms] executing: [/opt/flutter/] git ls-remote --get-url origin
[  +21 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms] https://github.com/flutter/flutter.git
[ +156 ms] executing: [/opt/flutter/] git rev-parse --abbrev-ref HEAD
[  +16 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] beta
[ +154 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +7 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.
[ +167 ms] executing: /root/Android/Sdk/platform-tools/adb devices -l
[  +45 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +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.
[ +287 ms] executing: /root/Android/Sdk/platform-tools/adb devices -l
[  +64 ms] Skipping pub get: version match.
[ +188 ms] Found plugin path_provider at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.24/
[  +26 ms] Found plugin path_provider_linux at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-0.0.1+2/
[   +7 ms] Found plugin path_provider_macos at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4+6/
[  +12 ms] Found plugin path_provider_windows at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-0.0.4+3/
[  +75 ms] Found plugin webview_flutter at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-1.0.7/
[  +83 ms] Found plugin integration_test at /opt/flutter/packages/integration_test/
[ +467 ms] Found plugin path_provider at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.24/
[   +4 ms] Found plugin path_provider_linux at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-0.0.1+2/
[   +3 ms] Found plugin path_provider_macos at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4+6/
[   +6 ms] Found plugin path_provider_windows at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-0.0.4+3/
[  +48 ms] Found plugin webview_flutter at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-1.0.7/
[  +73 ms] Found plugin integration_test at /opt/flutter/packages/integration_test/
[  +22 ms] Generating /root/projects/my_pckage/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +302 ms] List of devices attached
           R9WMA058R9J            device usb:1-1.2 product:a10sxx model:SM_A107F device:a10s transport_id:6
[  +19 ms] List of devices attached
           R9WMA058R9J            device usb:1-1.2 product:a10sxx model:SM_A107F device:a10s transport_id:6
[ +314 ms] Launching lib/main.dart on Chrome in debug mode...
[ +366 ms] Updating assets
[ +863 ms] Manifest contained wildcard assets. Inserting missing file into build graph to force rerun. for more information see #56466.
[  +18 ms] Waiting for connection from debug service on Chrome...
[  +66 ms] Found plugin path_provider at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.24/
[   +2 ms] Found plugin path_provider_linux at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-0.0.1+2/
[   +2 ms] Found plugin path_provider_macos at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4+6/
[   +4 ms] Found plugin path_provider_windows at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-0.0.4+3/
[  +37 ms] Found plugin webview_flutter at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-1.0.7/
[  +52 ms] Found plugin integration_test at /opt/flutter/packages/integration_test/
[  +52 ms] Found plugin path_provider at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.24/
[   +2 ms] Found plugin path_provider_linux at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-0.0.1+2/
[   +1 ms] Found plugin path_provider_macos at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4+6/
[   +3 ms] Found plugin path_provider_windows at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-0.0.4+3/
[  +30 ms] Found plugin webview_flutter at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-1.0.7/
[  +44 ms] Found plugin integration_test at /opt/flutter/packages/integration_test/
[+1394 ms] <- reset
[  +21 ms] /opt/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /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 --experimental-emit-debug-metadata --output-dill /tmp/flutter_tools.NLEHPC/flutter_tool.LMLDYL/app.dill --libraries-spec file:///opt/flutter/bin/cache/flutter_web_sdk/libraries.json --packages /root/projects/my_pckage/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-root /tmp/flutter_tools.NLEHPC/flutter_tools.BHGFHC --filesystem-scheme org-dartlang-app --initialize-from-dill build/fbbe6a61fb7a1de317d381f8df4814e5.cache.dill.track.dill --platform file:///opt/flutter/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk.dill --no-sound-null-safety
[  +20 ms] <- compile org-dartlang-app:/web_entrypoint.dart
[+81613 ms] Waiting for connection from debug service on Chrome... (completed in 83.3s)
[   +1 ms] Synced 34.8MB.
[   +1 ms] <- accept
[        ] Caching compiled dill
[+1732 ms] Using Google Chrome 88.0.4324.50 beta

[+1744 ms] [CHROME]: Opening in existing browser session.
[  +28 ms] [CHROME]:[0101/223715.982386:ERROR:nacl_helper_linux.cc(307)] NaCl helper process running without a sandbox!
[   +1 ms] [CHROME]:Most likely you need to configure your SUID sandbox correctly
[   +2 ms] Failed to launch browser. Command used to launch it: google-chrome --user-data-dir=/tmp/flutter_tools.NLEHPC/flutter_tools_chrome_device.GJBWHR --remote-debugging-port=44315 --disable-background-timer-throttling --disable-extensions --disable-popup-blocking --bwsi --no-first-run --no-default-browser-check --disable-default-apps --disable-translate http://localhost:35553
[  +11 ms] "flutter run" took 90,422ms.
[  +18 ms] Failed to launch browser. Make sure you are using an up-to-date Chrome or Edge. Otherwise, consider using -d web-server instead and filing an issue at https://github.com/flutter/flutter/issues.
[  +10 ms]
           #0      ChromiumLauncher._spawnChromiumProcess.<anonymous closure> (package:flutter_tools/src/web/chrome.dart:278:11)
           #1      _runUserCode (dart:async/stream_pipe.dart:11:23)
           #2      Stream.firstWhere.<anonymous closure> (dart:async/stream.dart:1414:9)
           #3      _rootRun (dart:async/zone.dart:1178:47)
           #4      _CustomZone.run (dart:async/zone.dart:1090:19)
           #5      _CustomZone.runGuarded (dart:async/zone.dart:994:7)
           #6      _BufferingStreamSubscription._sendDone.sendDone (dart:async/stream_impl.dart:410:13)
           #7      _BufferingStreamSubscription._sendDone (dart:async/stream_impl.dart:420:15)
           #8      _BufferingStreamSubscription._close (dart:async/stream_impl.dart:305:7)
           #9      _ForwardingStream._handleDone (dart:async/stream_pipe.dart:101:10)
           #10     _ForwardingStreamSubscription._handleDone (dart:async/stream_pipe.dart:165:13)
           #11     _rootRun (dart:async/zone.dart:1178:47)
           #12     _CustomZone.run (dart:async/zone.dart:1090:19)
           #13     _CustomZone.runGuarded (dart:async/zone.dart:994:7)
           #14     _BufferingStreamSubscription._sendDone.sendDone (dart:async/stream_impl.dart:410:13)
           #15     _BufferingStreamSubscription._sendDone (dart:async/stream_impl.dart:420:15)
           #16     _BufferingStreamSubscription._close (dart:async/stream_impl.dart:305:7)
           #17     _SinkTransformerStreamSubscription._close (dart:async/stream_transformers.dart:97:11)
           #18     _EventSinkWrapper.close (dart:async/stream_transformers.dart:23:11)
           #19     _StringAdapterSink.close (dart:convert/string_conversion.dart:251:11)
           #20     _LineSplitterSink.close (dart:convert/line_splitter.dart:139:11)
           #21     _SinkTransformerStreamSubscription._handleDone (dart:async/stream_transformers.dart:142:24)
           #22     _rootRun (dart:async/zone.dart:1178:47)
           #23     _CustomZone.run (dart:async/zone.dart:1090:19)
           #24     _CustomZone.runGuarded (dart:async/zone.dart:994:7)
           #25     _BufferingStreamSubscription._sendDone.sendDone (dart:async/stream_impl.dart:410:13)
           #26     _BufferingStreamSubscription._sendDone (dart:async/stream_impl.dart:420:15)
           #27     _BufferingStreamSubscription._close (dart:async/stream_impl.dart:305:7)
           #28     _SinkTransformerStreamSubscription._close (dart:async/stream_transformers.dart:97:11)
           #29     _EventSinkWrapper.close (dart:async/stream_transformers.dart:23:11)
           #30     _StringAdapterSink.close (dart:convert/string_conversion.dart:251:11)
           #31     _Utf8ConversionSink.close (dart:convert/string_conversion.dart:305:20)
           #32     _ConverterStreamEventSink.close (dart:convert/chunked_conversion.dart:81:18)
           #33     _SinkTransformerStreamSubscription._handleDone (dart:async/stream_transformers.dart:142:24)
           #34     _rootRun (dart:async/zone.dart:1178:47)
           #35     _CustomZone.run (dart:async/zone.dart:1090:19)
           #36     _CustomZone.runGuarded (dart:async/zone.dart:994:7)
           #37     _BufferingStreamSubscription._sendDone.sendDone (dart:async/stream_impl.dart:410:13)
           #38     _BufferingStreamSubscription._sendDone (dart:async/stream_impl.dart:420:15)
           #39     _BufferingStreamSubscription._close (dart:async/stream_impl.dart:305:7)
           #40     _SyncStreamControllerDispatch._sendDone (dart:async/stream_controller.dart:815:19)
           #41     _StreamController._closeUnchecked (dart:async/stream_controller.dart:670:7)
           #42     _StreamController.close (dart:async/stream_controller.dart:663:5)
           #43     _Socket._onData (dart:io-patch/socket_patch.dart:2027:21)
           #44     _rootRunUnary (dart:async/zone.dart:1202:13)
           #45     _CustomZone.runUnary (dart:async/zone.dart:1097:19)
           #46     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1002:7)
           #47     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:357:11)
           #48     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:285:7)
           #49     _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:807:19)
           #50     _StreamController._add (dart:async/stream_controller.dart:681:7)
           #51     _StreamController.add (dart:async/stream_controller.dart:624:5)
           #52     new _RawSocket.<anonymous closure> (dart:io-patch/socket_patch.dart:1563:35)
           #53     _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:1061:18)
           #54     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
           #55     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
           #56     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:120:13)
           #57     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:185:5)

[ +229 ms] DwdsInjector: Received request for entrypoint at http://localhost:35553/main_module.bootstrap.js
[  +20 ms] MetadataProvider: Loading debug metadata...
[  +38 ms] MetadataProvider: Loaded debug metadata
[  +22 ms] DwdsInjector: Injected debugging metadata for entrypoint at http://localhost:35553/main_module.bootstrap.js
[  +36 ms] ensureAnalyticsSent: 341ms
[   +4 ms] Running shutdown hooks
[   +1 ms] Shutdown hook priority 4
[  +26 ms] Shutdown hooks complete
[  +16 ms] exiting with code 1

@gnassro
can you provider your flutter doctor -v and your flutter run -d chrome -v

# flutter doctor -v
[✓] Flutter (Channel beta, 1.25.0-8.1.pre, on Linux, locale en_GB.UTF-8)
    • Flutter version 1.25.0-8.1.pre at /opt/flutter
    • Framework revision 8f89f6505b (2 weeks ago), 2020-12-15 15:07:52 -0800
    • Engine revision 92ae191c17
    • Dart version 2.12.0 (build 2.12.0-133.2.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /root/Android/Sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /root/Android/Sdk
    • Java binary at: /opt/android-studio/jre/bin/java
    • Java version openjdk version "1.8.0_242-release"
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Android Studio
    • Android Studio at /opt/android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version openjdk version "1.8.0_242-release"

[✓] VS Code (version 1.52.1)
    • VS Code at /usr/share/code
    • Flutter extension version 3.18.0

[✓] Connected device (2 available)
    • SM A107F (mobile) • R9WMA058R9J • android-arm    • Android 10 (API 29)
    • Chrome (web)      • chrome      • web-javascript • Google Chrome 88.0.4324.50 beta

• No issues found!

flutter run -d chrome -v
[ +262 ms] executing: [/opt/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +119 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] 8f89f6505b941329a864fef1527243a72800bf4d
[   +2 ms] executing: [/opt/flutter/] git tag --points-at 8f89f6505b941329a864fef1527243a72800bf4d
[  +48 ms] Exit code 0 from: git tag --points-at 8f89f6505b941329a864fef1527243a72800bf4d
[        ] 1.25.0-8.1.pre
[ +144 ms] executing: [/opt/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +20 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/beta
[   +1 ms] executing: [/opt/flutter/] git ls-remote --get-url origin
[  +21 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms] https://github.com/flutter/flutter.git
[ +156 ms] executing: [/opt/flutter/] git rev-parse --abbrev-ref HEAD
[  +16 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] beta
[ +154 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +7 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.
[ +167 ms] executing: /root/Android/Sdk/platform-tools/adb devices -l
[  +45 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +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.
[ +287 ms] executing: /root/Android/Sdk/platform-tools/adb devices -l
[  +64 ms] Skipping pub get: version match.
[ +188 ms] Found plugin path_provider at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.24/
[  +26 ms] Found plugin path_provider_linux at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-0.0.1+2/
[   +7 ms] Found plugin path_provider_macos at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4+6/
[  +12 ms] Found plugin path_provider_windows at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-0.0.4+3/
[  +75 ms] Found plugin webview_flutter at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-1.0.7/
[  +83 ms] Found plugin integration_test at /opt/flutter/packages/integration_test/
[ +467 ms] Found plugin path_provider at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.24/
[   +4 ms] Found plugin path_provider_linux at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-0.0.1+2/
[   +3 ms] Found plugin path_provider_macos at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4+6/
[   +6 ms] Found plugin path_provider_windows at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-0.0.4+3/
[  +48 ms] Found plugin webview_flutter at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-1.0.7/
[  +73 ms] Found plugin integration_test at /opt/flutter/packages/integration_test/
[  +22 ms] Generating /root/projects/my_pckage/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +302 ms] List of devices attached
           R9WMA058R9J            device usb:1-1.2 product:a10sxx model:SM_A107F device:a10s transport_id:6
[  +19 ms] List of devices attached
           R9WMA058R9J            device usb:1-1.2 product:a10sxx model:SM_A107F device:a10s transport_id:6
[ +314 ms] Launching lib/main.dart on Chrome in debug mode...
[ +366 ms] Updating assets
[ +863 ms] Manifest contained wildcard assets. Inserting missing file into build graph to force rerun. for more information see #56466.
[  +18 ms] Waiting for connection from debug service on Chrome...
[  +66 ms] Found plugin path_provider at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.24/
[   +2 ms] Found plugin path_provider_linux at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-0.0.1+2/
[   +2 ms] Found plugin path_provider_macos at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4+6/
[   +4 ms] Found plugin path_provider_windows at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-0.0.4+3/
[  +37 ms] Found plugin webview_flutter at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-1.0.7/
[  +52 ms] Found plugin integration_test at /opt/flutter/packages/integration_test/
[  +52 ms] Found plugin path_provider at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.24/
[   +2 ms] Found plugin path_provider_linux at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-0.0.1+2/
[   +1 ms] Found plugin path_provider_macos at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4+6/
[   +3 ms] Found plugin path_provider_windows at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-0.0.4+3/
[  +30 ms] Found plugin webview_flutter at /opt/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-1.0.7/
[  +44 ms] Found plugin integration_test at /opt/flutter/packages/integration_test/
[+1394 ms] <- reset
[  +21 ms] /opt/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /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 --experimental-emit-debug-metadata --output-dill /tmp/flutter_tools.NLEHPC/flutter_tool.LMLDYL/app.dill --libraries-spec file:///opt/flutter/bin/cache/flutter_web_sdk/libraries.json --packages /root/projects/my_pckage/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-root /tmp/flutter_tools.NLEHPC/flutter_tools.BHGFHC --filesystem-scheme org-dartlang-app --initialize-from-dill build/fbbe6a61fb7a1de317d381f8df4814e5.cache.dill.track.dill --platform file:///opt/flutter/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk.dill --no-sound-null-safety
[  +20 ms] <- compile org-dartlang-app:/web_entrypoint.dart
[+81613 ms] Waiting for connection from debug service on Chrome... (completed in 83.3s)
[   +1 ms] Synced 34.8MB.
[   +1 ms] <- accept
[        ] Caching compiled dill
[+1732 ms] Using Google Chrome 88.0.4324.50 beta

[+1744 ms] [CHROME]: Opening in existing browser session.
[  +28 ms] [CHROME]:[0101/223715.982386:ERROR:nacl_helper_linux.cc(307)] NaCl helper process running without a sandbox!
[   +1 ms] [CHROME]:Most likely you need to configure your SUID sandbox correctly
[   +2 ms] Failed to launch browser. Command used to launch it: google-chrome --user-data-dir=/tmp/flutter_tools.NLEHPC/flutter_tools_chrome_device.GJBWHR --remote-debugging-port=44315 --disable-background-timer-throttling --disable-extensions --disable-popup-blocking --bwsi --no-first-run --no-default-browser-check --disable-default-apps --disable-translate http://localhost:35553
[  +11 ms] "flutter run" took 90,422ms.
[  +18 ms] Failed to launch browser. Make sure you are using an up-to-date Chrome or Edge. Otherwise, consider using -d web-server instead and filing an issue at https://github.com/flutter/flutter/issues.
[  +10 ms]
           #0      ChromiumLauncher._spawnChromiumProcess.<anonymous closure> (package:flutter_tools/src/web/chrome.dart:278:11)
           #1      _runUserCode (dart:async/stream_pipe.dart:11:23)
           #2      Stream.firstWhere.<anonymous closure> (dart:async/stream.dart:1414:9)
           #3      _rootRun (dart:async/zone.dart:1178:47)
           #4      _CustomZone.run (dart:async/zone.dart:1090:19)
           #5      _CustomZone.runGuarded (dart:async/zone.dart:994:7)
           #6      _BufferingStreamSubscription._sendDone.sendDone (dart:async/stream_impl.dart:410:13)
           #7      _BufferingStreamSubscription._sendDone (dart:async/stream_impl.dart:420:15)
           #8      _BufferingStreamSubscription._close (dart:async/stream_impl.dart:305:7)
           #9      _ForwardingStream._handleDone (dart:async/stream_pipe.dart:101:10)
           #10     _ForwardingStreamSubscription._handleDone (dart:async/stream_pipe.dart:165:13)
           #11     _rootRun (dart:async/zone.dart:1178:47)
           #12     _CustomZone.run (dart:async/zone.dart:1090:19)
           #13     _CustomZone.runGuarded (dart:async/zone.dart:994:7)
           #14     _BufferingStreamSubscription._sendDone.sendDone (dart:async/stream_impl.dart:410:13)
           #15     _BufferingStreamSubscription._sendDone (dart:async/stream_impl.dart:420:15)
           #16     _BufferingStreamSubscription._close (dart:async/stream_impl.dart:305:7)
           #17     _SinkTransformerStreamSubscription._close (dart:async/stream_transformers.dart:97:11)
           #18     _EventSinkWrapper.close (dart:async/stream_transformers.dart:23:11)
           #19     _StringAdapterSink.close (dart:convert/string_conversion.dart:251:11)
           #20     _LineSplitterSink.close (dart:convert/line_splitter.dart:139:11)
           #21     _SinkTransformerStreamSubscription._handleDone (dart:async/stream_transformers.dart:142:24)
           #22     _rootRun (dart:async/zone.dart:1178:47)
           #23     _CustomZone.run (dart:async/zone.dart:1090:19)
           #24     _CustomZone.runGuarded (dart:async/zone.dart:994:7)
           #25     _BufferingStreamSubscription._sendDone.sendDone (dart:async/stream_impl.dart:410:13)
           #26     _BufferingStreamSubscription._sendDone (dart:async/stream_impl.dart:420:15)
           #27     _BufferingStreamSubscription._close (dart:async/stream_impl.dart:305:7)
           #28     _SinkTransformerStreamSubscription._close (dart:async/stream_transformers.dart:97:11)
           #29     _EventSinkWrapper.close (dart:async/stream_transformers.dart:23:11)
           #30     _StringAdapterSink.close (dart:convert/string_conversion.dart:251:11)
           #31     _Utf8ConversionSink.close (dart:convert/string_conversion.dart:305:20)
           #32     _ConverterStreamEventSink.close (dart:convert/chunked_conversion.dart:81:18)
           #33     _SinkTransformerStreamSubscription._handleDone (dart:async/stream_transformers.dart:142:24)
           #34     _rootRun (dart:async/zone.dart:1178:47)
           #35     _CustomZone.run (dart:async/zone.dart:1090:19)
           #36     _CustomZone.runGuarded (dart:async/zone.dart:994:7)
           #37     _BufferingStreamSubscription._sendDone.sendDone (dart:async/stream_impl.dart:410:13)
           #38     _BufferingStreamSubscription._sendDone (dart:async/stream_impl.dart:420:15)
           #39     _BufferingStreamSubscription._close (dart:async/stream_impl.dart:305:7)
           #40     _SyncStreamControllerDispatch._sendDone (dart:async/stream_controller.dart:815:19)
           #41     _StreamController._closeUnchecked (dart:async/stream_controller.dart:670:7)
           #42     _StreamController.close (dart:async/stream_controller.dart:663:5)
           #43     _Socket._onData (dart:io-patch/socket_patch.dart:2027:21)
           #44     _rootRunUnary (dart:async/zone.dart:1202:13)
           #45     _CustomZone.runUnary (dart:async/zone.dart:1097:19)
           #46     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1002:7)
           #47     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:357:11)
           #48     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:285:7)
           #49     _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:807:19)
           #50     _StreamController._add (dart:async/stream_controller.dart:681:7)
           #51     _StreamController.add (dart:async/stream_controller.dart:624:5)
           #52     new _RawSocket.<anonymous closure> (dart:io-patch/socket_patch.dart:1563:35)
           #53     _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:1061:18)
           #54     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
           #55     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
           #56     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:120:13)
           #57     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:185:5)

[ +229 ms] DwdsInjector: Received request for entrypoint at http://localhost:35553/main_module.bootstrap.js
[  +20 ms] MetadataProvider: Loading debug metadata...
[  +38 ms] MetadataProvider: Loaded debug metadata
[  +22 ms] DwdsInjector: Injected debugging metadata for entrypoint at http://localhost:35553/main_module.bootstrap.js
[  +36 ms] ensureAnalyticsSent: 341ms
[   +4 ms] Running shutdown hooks
[   +1 ms] Shutdown hook priority 4
[  +26 ms] Shutdown hooks complete
[  +16 ms] exiting with code 1

You can see in your erorr log "Failed to launch browser. Make sure you are using an up-to-date Chrome or Edge. Otherwise, consider using -d web-server instead and filing an issue at https://github.com/flutter/flutter/issues." and version of google chrome " Using Google Chrome 88.0.4324.50 beta".  You should just easily be able to run a web server with flutter run -d web-server --web-port 8000 and open it in the browser on localhost:8000 or try to install different google chrome version .

You can see in your erorr log "Failed to launch browser. Make sure you are using an up-to-date Chrome or Edge. Otherwise, consider using -d web-server instead and filing an issue at https://github.com/flutter/flutter/issues." and version of google chrome " Using Google Chrome 88.0.4324.50 beta".  You should just easily be able to run a web server with flutter run -d web-server --web-port 8000 and open it in the browser on localhost:8000 or try to install different google chrome version .

by run #flutter run -d web-server    i can now test my app in any browser by access to http://localhost:39207 (the port may be changed)

by run #flutter run -d web-server    i can now test my app in any browser by access to http://localhost:39207 (the port may be changed)

I think that is something related with antiviruses. When I have active the payment and online bank protection's I have the same error

I am facing the same issue. How do you solve this problem?

by run #flutter run -d web-server  i can now test my app in any browser by access to http://localhost:39207 (the port may be changed)

i've just start a new project using VS-code with flutter beta version (1.25.0-8.1.pre), when i run the app with chrome debug, this error is show up:

Failed to launch browser. Make sure you are using an up-to-date Chrome or Edge. Otherwise, consider using -d web-server instead and filing an issue at https://github.com/flutter/flutter/issues.
Exited (sigterm)
How do solve this problem. Thanks.

I am facing the same issue. How do you solve this problem?

as i said, i find another solution by running #flutter run -d web-server instead of #flutter run -d chrome.
NB: it worked with flutter 1.25.0-8.1.pre (beta), i didn't test it with another virsion


A question on the proximal term

I remember in Li's paper the proximal term is defined to be the quadratic norm-2 of the (w - w^t), but in the client.py the proximal term is implemented as the sum of the norm-2s.
Screenshot on the paper 'Federated Optimization in heterogeneous networks':

Isn't it equivalent on the computation graph when taking derivatives?
FYI, see implementation (https://flower.dev/docs/apiref-flwr.html#server-strategy-fedprox) of flower package. It seems same as the one in this repo.

Isn't it equivalent on the computation graph when taking derivatives? FYI, see implementation (https://flower.dev/docs/apiref-flwr.html#server-strategy-fedprox) of flower package. It seems same as the one in this repo.

I think they are different. Say W = {W1, W2}, the derivative of norm2(W-Wt) on W1 relates to W2, while derivative of norm2(W1-Wt1)+norm2(W2-Wt2) does not.

@Hanc1999  what do you mean W={W1, W2}? Does it mean W is a whole model parameter and W1 is for weights of 1st layer, and W2 is for weights of 2nd layer?
I presume that you may consider the case where norm2([W1;W2], Wt) yields an interaction term, saying W1*W2, right?
(correct me if I understood incorrectly)
But it should be noted that the norm-squared term is calculated layer-wise by iterating through generator (parameters()), not calculated at once as you can see in the code of this repository https://github.com/ki-ljl/FedProx-PyTorch/blob/ec79be9ac3b849a36f4a1c44ed59d5569d3f4eaa/client.py#L64
You can also find the same implementation from other sources, e.g., the code of flower package I linked before (https://flower.dev/docs/apiref-flwr.html#server-strategy-fedprox)
, FedNTD (NeurIPS22; https://github.com/Lee-Gihun/FedNTD/blob/be00ee598139654abe650c446a7ba3bc4e340233/algorithms/fedprox/ClientTrainer.py#L64), and FedBABU (ICLR22; https://github.com/jhoon-oh/FedBABU/blob/e34c15b4288224f0af1bc13670bc0cdc373c9576/models/Update.py#L302)
Could you please let me know if I got the wrong point? Thank you!

Hi, @vaseline555, yes for the first part what I mean for W is the set of different layers' weights. In this repo's code it do calculates different layers‘ proximal term separately and sum them up as the one in the loss function (CASE-B). However if my memory is correct I think in Li's paper all layers' weights should be calculated once together, which will cause a different derivative (CASE-A). Therefore I think the implementation is different.
CASE-A:

CASE-B:

@Hanc1999  Thank you for your clarification.
I cannot find the content you mentioned in FedProx paper... could you let me know if you have in mind?
Pertaining to your CASE-A scenario:
No, I think we don't have to consider the interaction from other layers like in CASE-B, since each neuron has its own graidents independently (i.e., element-wise multiplication and summation) by the backpropagation rule, unless we explicitly considered special interaction operation between neurons.
In fact, an important thing both in original regularization term and its derivative term is the norm of difference between w and w_t, right? If the network structure is, for example, (784-100-10), then w and w_t consist of 784x100 and 100x10 matrices (assume there are no bias terms). Since it is impossible to note norm of difference with these shape inconsistencies, let us flatten and concatenate them as (784x100 + 100x10) x 1 vectors. Now we can think of the norm of differcne between (vecotrised) w and w_t.
As I stated in the first paragraph, the backpropagation is happened element-wise manner, we can also separately calculate the gradient of subgroup of neurons, which can be corresponded to different layers. That's why there's no problem in existing implementations calculating layer-wise norm differences.
Well, I think even if it IS the CASE-A, its difference is just a matter of scale from CASE-B, which can be resolved by the regularisation techinques, learning rate scheduling and a tuning of constant \mu (note that it can also be adaptively tuned as stated in the FedProx paper).
Hope this helps. Thank you!
Best,
Adam

independently

Hi Adam, thanks for the reply and here's a quick response to the last point. Yes I think for the gradients generated in case A and B, the difference is the scalar. But I think the most important is to check whether the convergence proof of FedProx still stands in this new situation, otherwise there will be a big problem. For now I didn't check though the math stuff yet, if you have any findings please publish here and let us know. Thanks.
Regards,
Yimin


Illustrations for new components

We need illustrations for some new components:

Avatar
Badge
Breadcrumb

[x] Create illustrations
[x] Update the component-overview with links to the new components

Needed in #2220

I added the 3 images to the storefront. Looks like the Avatar component is not ready yet, so I commented out that entry in the component-list.ts file.
Is this Ok @Barsnes, and we can close this issue?

I added the 3 images to the storefront in this commit. Looks like the Avatar component is not ready yet, so I commented out that entry in the component-list.ts file.
Is this Ok @Barsnes, and we can close this issue?

Yes looks good, we will have to put this into the pipeline for new components.
Let's add Avatar when it is done 👍🏻


Object.isArray for 'arguments' object

Object.isArray doesn't return true for 'arguments' object, which may be fine (it's not quite an array), but there doesn't seem to be an equivalent (either Object.isArguments or Object.isCollection which would check for both).

isArguments has been released as of 2.0.0 so closing this here!


Include size button pagination and fix depreacted lib in package.json

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[X] Feature
[X] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[X] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[X] It's submitted to the develop branch (or to a previous version branch), not the master branch
[ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[X] All tests are passing
[ ] New/updated tests are included

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

@GuiPassoskt thanks for this PR

size values for pagination are by design limited to sm and lg, since they mimic bootstrap sizing classes .pagination-sm  and .pagination-lg
md would be an equivalent to the default empty value, thus redundant


Add deployment files to deploy dev and prod versions

Also, add rules "make deploy-dev" and "make deploy-prod" to deploy dev and prod versions.

Codecov Report

Merging #105 (e93e5e0) into main (4091eb0) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #105   +/-   ##
=======================================
  Coverage   97.08%   97.08%
=======================================
  Files           7        7
  Lines         378      378
=======================================
  Hits          367      367
  Misses         11       11

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

lgtm!


Multilanguage SUpport

Hi
it's possible to translate the component in another language ? in French
If you wan't i assume that
Thx
Originally posted: 2014-06-05T09:00:10

I would greatly appreciate any help with a French translation (or any language for that matter). Please send me (dahall) a direct message by clicking on my name to the left here and then clicking the "Contact" envelope and typing a message. This will allow me to reply directly to your email with the files I have with translations for you to fill out. Once you return them, I'll roll them into the next release.
Originally posted: 2014-06-06T09:04:10


some comments to your java file hit-1173710215

I have added some comments to your java file, so that the file will be easier to understand. I think maybe you need it.

thank you! and could you also add some annotations before the main function?

thank you! and could you also add some annotations before the main function?

You are right. I'll do that.

thank you!


Swift 1.2 Support

Seeing build errors when compiling with XCode 6.3 beta 3 / Swift 1.2:
/Users/ragrait/ios/Rdio/Pods/SwiftEventBus/SwiftEventBus/SwiftEventBus.swift:48:43: Invalid use of '()' to call a value of non-function type 'UInt'
This is happening in 3 different places, but they're all variants on this:
let id = ObjectIdentifier(target).uintValue()

Looks like the trailing parens cause a syntax error in Swift 1.2

Hey @raulagrait thanks a lot for the heads up!
I'm don't usually download the XCode betas for stabillity reasons (bad experiences in the past).
I'll fix it when the 6.3 is released, so I'll keep this issue open

Hi. XCode 6.3 out!

Hey @manuelgomes2 , I released an update like 15h ago, it should work fine ;) thanks for the heads up tho!


ARROW-16681: [Python] Fix doc for PyArrow unit tests dependant on module path

See ARROW-16681 for details.

@rtpsw did you mean to close this? I hadn't merged it yet

Oops. Hope I just restored things.


loki-k8s can't be related with 7 aplications. TooManyRelatedAppsError: Too many remote applications on logging

Bug Description
Hi,
We are checking COS implementation on DPE charm using this simple multipass blueprint: https://pastebin.canonical.com/p/HhZsjnw9dv/
Unfortunately loki-k8s got an error state after relating 7+ applications (it looks like this is constantly reproducible).
To Reproduce

curl -o DB_COS.yaml https://pastebin.canonical.com/p/HhZsjnw9dv/plain/
multipass launch --name DB-COS --cloud-init DB_COS.yaml --memory 32G --cpus 12 --disk 100G --timeout 100500 # ETA: 1 hour to bootstrap
multipass delete DB-COS --purge # to clean test env

This will launch 2 controllers (lxd + microk8s) with the following models: "cos-k8s + mysql(-k8s) + postgresql(-k8s) + mongodb(-k8s)" and relate all of them together to send all metrics and logs into cos-lite.
Environment
juju             2.9.42         22345  2.9/stable          canonical✓  classic
lxd              5.0.2-838e1b2  24322  5.0/stable/…        canonical✓  -
microk8s         v1.26.5        5352   1.26-strict/stable  canonical✓  -

Relevant log output
unit-loki-0: 09:43:00 INFO unit.loki/0.juju-log ingress:4: reqs=ResourceRequirements(claims=None, limits={}, requests={'cpu': '0.25', 'memory': '200Mi'}), templated=ResourceRequirements(claims=None, limits=None, requests={'cpu': '250m', 'memory': '200Mi'}), actual=ResourceRequirements(claims=None, limits=None, requests={'cpu': '250m', 'memory': '200Mi'})
unit-loki-0: 09:43:00 ERROR unit.loki/0.juju-log ingress:4: Uncaught exception while in charm code:
Traceback (most recent call last):
  File "./src/charm.py", line 529, in <module>
    main(LokiOperatorCharm, use_juju_for_storage=True)
  File "/var/lib/juju/agents/unit-loki-0/charm/venv/ops/main.py", line 435, in main
    _emit_charm_event(charm, dispatcher.event_name)
  File "/var/lib/juju/agents/unit-loki-0/charm/venv/ops/main.py", line 144, in _emit_charm_event
    event_to_emit.emit(*args, **kwargs)
  File "/var/lib/juju/agents/unit-loki-0/charm/venv/ops/framework.py", line 355, in emit
    framework._emit(event)  # noqa
  File "/var/lib/juju/agents/unit-loki-0/charm/venv/ops/framework.py", line 824, in _emit
    self._reemit(event_path)
  File "/var/lib/juju/agents/unit-loki-0/charm/venv/ops/framework.py", line 899, in _reemit
    custom_handler(event)
  File "/var/lib/juju/agents/unit-loki-0/charm/lib/charms/traefik_k8s/v1/ingress_per_unit.py", line 729, in _handle_relation
    self.on.revoked_for_unit.emit(self.relation)  # type: ignore
  File "/var/lib/juju/agents/unit-loki-0/charm/venv/ops/framework.py", line 355, in emit
    framework._emit(event)  # noqa
  File "/var/lib/juju/agents/unit-loki-0/charm/venv/ops/framework.py", line 824, in _emit
    self._reemit(event_path)
  File "/var/lib/juju/agents/unit-loki-0/charm/venv/ops/framework.py", line 899, in _reemit
    custom_handler(event)
  File "./src/charm.py", line 165, in _on_ingress_changed
    self.loki_provider.update_endpoint(url=self._external_url)
  File "/var/lib/juju/agents/unit-loki-0/charm/lib/charms/loki_k8s/v0/loki_push_api.py", line 1245, in update_endpoint
    if not self._charm.model.get_relation(self._relation_name):
  File "/var/lib/juju/agents/unit-loki-0/charm/venv/ops/model.py", line 249, in get_relation
    return self.relations._get_unique(relation_name, relation_id)
  File "/var/lib/juju/agents/unit-loki-0/charm/venv/ops/model.py", line 712, in _get_unique
    raise TooManyRelatedAppsError(relation_name, num_related, 1)
ops.model.TooManyRelatedAppsError: Too many remote applications on logging (6 > 1)
unit-loki-0: 09:43:00 ERROR juju.worker.uniter.operation hook "ingress-relation-changed" (via hook dispatching script: dispatch) failed: exit status 1

Additional context
COS components revisions:
ubuntu@DB-COS:~$ juju status
Model    Controller  Cloud/Region        Version  SLA          Timestamp
cos-k8s  microk8s    microk8s/localhost  2.9.42   unsupported  09:45:54+02:00

App           Version  Status   Scale  Charm             Channel  Rev  Address         Exposed  Message
alertmanager  0.23.0   active       1  alertmanager-k8s  stable    47  <IP_ADDRESS>  no
catalogue              active       1  catalogue-k8s     stable    13  <IP_ADDRESS>  no
grafana       9.2.1    active       1  grafana-k8s       stable    64  <IP_ADDRESS>  no
loki          2.4.1    waiting      1  loki-k8s          stable    60  <IP_ADDRESS>   no       waiting for units to settle down
prometheus    2.33.5   active       1  prometheus-k8s    stable   103  <IP_ADDRESS>   no
traefik       2.9.6    waiting      1  traefik-k8s       stable   110  <IP_ADDRESS>  no       installing agent

Unit             Workload  Agent  Address     Ports  Message
alertmanager/0*  active    idle   <IP_ADDRESS>
catalogue/0*     active    idle   <IP_ADDRESS>
grafana/0*       active    idle   <IP_ADDRESS>
loki/0*          error     idle   <IP_ADDRESS>         hook failed: "ingress-relation-changed"
prometheus/0*    active    idle   <IP_ADDRESS>
traefik/0*       waiting   idle   <IP_ADDRESS>         gateway address unavailable

Offer                            Application  Charm           Rev  Connected  Endpoint              Interface                Role
grafana-dashboards               grafana      grafana-k8s     64   7/7        grafana-dashboard     grafana_dashboard        requirer
loki-logging                     loki         loki-k8s        60   6/7        logging               loki_push_api            provider
prometheus-metrics-endpoint      prometheus   prometheus-k8s  103  3/3        metrics-endpoint      prometheus_scrape        requirer
prometheus-receive-remote-write  prometheus   prometheus-k8s  103  4/4        receive-remote-write  prometheus_remote_write  provider

Note: 6 models used, but the model postgresql-k8s has two applications reported to cos-lite (postgresql and pgbouncer) => 7/7 connection to cos-lite.
P.S. this is similar to https://github.com/canonical/loki-k8s-operator/issues/256

The issue is not reproducible on the channel 1.0/edge:
App           Version  Status  Scale  Charm             Channel   Rev  Address         Exposed  Message
alertmanager  0.25.0   active      1  alertmanager-k8s  1.0/edge   77  <IP_ADDRESS>   no
catalogue              active      1  catalogue-k8s     1.0/edge   13  <IP_ADDRESS>  no
grafana       9.2.1    active      1  grafana-k8s       1.0/edge   82  <IP_ADDRESS>  no
loki          2.7.4    active      1  loki-k8s          1.0/edge   91  <IP_ADDRESS>   no
prometheus    2.43.0   active      1  prometheus-k8s    1.0/edge  129  <IP_ADDRESS>  no
traefik       2.9.6    active      1  traefik-k8s       1.0/edge  129  <IP_ADDRESS>   no

...

Offer                            Application  Charm           Rev  Connected  Endpoint              Interface                Role
grafana-dashboards               grafana      grafana-k8s     82   8/8        grafana-dashboard     grafana_dashboard        requirer
loki-logging                     loki         loki-k8s        91   8/8        logging               loki_push_api            provider
prometheus-metrics-endpoint      prometheus   prometheus-k8s  129  4/4        metrics-endpoint      prometheus_scrape        requirer
prometheus-receive-remote-write  prometheus   prometheus-k8s  129  4/4        receive-remote-write  prometheus_remote_write  provider

re: grafana-agent-k8s/loki - this is a new information for us. Can you please review:
https://charmhub.io/mysql-k8s/docs/h-enable-monitoring
https://charmhub.io/mysql/docs/h-enable-monitoring
https://charmhub.io/postgresql/docs/h-enable-monitoring
https://charmhub.io/postgresql-k8s/docs/h-enable-monitoring
Maybe we need to adopt more things there?
Free free to close the issue. Tnx!

Added some suggestions here. These suggestions go for both k8s charms. Machine docs already look correct. GJ!


Rsa null param lint

PR based on #285.
Benchmarked a byte compare of a precomputed algo byte slice, but performance difference was negligible and cryptobyte version more readable.

I updated travis to run go1.12.5 as the gofmt test failed and passed on latest. Turned out it was some local go version shenanigans on my machine. Happy to revert back to go1.12 if necessary.

@tadukurow I think this is ready to be merged. I'm going to give it ~24 hrs in case @sleevi or @zakird have cycles to give it a quick :mag:. I will merge this Monday afternoon otherwise. I think its a definite improvement over the status quo and we can always iterate if there is late feedback. Thanks again for pitching in on this lint! :tada:

Looks like the email gateway didn’t work.
I don’t think this is a good approach, and is exactly the approach I was trying to warn against with the design of the Mozilla PR, because it still allows invalid ASN.1 through.
In this case, for example, I could use a compound NULL or a non-zero-length NULL to include additional data. The first check for these really should be the memcmp - there is only a single possible correct encoding. The remainder - using or parsing ASN.1 - is merely about finding out where the issue is.

I don’t think this is a good approach, and is exactly the approach I was trying to warn against with the design of the Mozilla PR, because it still allows invalid ASN.1 through.

I think its better than nothing (in that it will fail otherwise passing missisuances found in CT) but I definitely see your point. I'm sorry its taken me three passes to really catch on to the emphasis on a direct memcpy against the one correct encoding :man_facepalming:

In this case, for example, I could use a compound NULL or a non-zero-length NULL to include additional data. The first check for these really should be the memcmp - there is only a single possible correct encoding. The remainder - using or parsing ASN.1 - is merely about finding out where the issue is.

@tadukurow Can you lightly refactor this branch to determine the pass/fail status based on a byte-wise comparison against the known correct encoding and use the existing cryptobyte code to compute the detail field.

If you need help making adversarial test cases - https://github.com/google/der-ascii is incredibly useful and what I use for this. You can easily mutate an SPKI into various forms with some simple commands, and then sign it as a cert with a test key.

@sleevi thanks for the link to ascii-der, very useful.
Added some test cases by changing spki only to not blow up test certs and get around some pem parsing issues with malformed asn1.
I've expanded the cryptobyte check. It now makes sure the NULL tag is definitely empty and to check there is no trailing data. Also added the byte comparison check.

I think all issues have been addressed, I've added a lint for TBS signature field as well.

@tadukurow Can you update the PR description so there is a good commit message ready for a squash merge? The branch was split into two separate lints and I think the description needs catching-up. It seems like CI is maybe stuck and perhaps another commit on the branch will :boot: it.
@sleevi I gave this a close review and I believe the way that it is implemented now meets the spirit of your feedback so far. I'd appreciate if you could give this one more :mag: if you had time. Particularly the added lint_tbs_signature_rsa_encryption_parameter_not_null.go lint for the signature algorithm parameters. Does the cryptobyte parsing of c.RawTBSCertificate to get to the DER encoded algorithm identifier look OK to you?

@cpu Yeah, I think this addresses my feedback as well. Thanks @tadukurow for humouring me in going for a thorough lint here. This definitely helps!

I'm going to give Travis and Github some time to un-stick whatever job queue is holding the CI status for this branch back. If it hasn't un-stuck in the next 24hrs I'll figure out how to unstick it so it can be merged.

My pleasure. Saw a few places where cryptobyte could give some more precision, so now the dependency is in I'll probably open one or two follow up PRs for that.

I kicked travis. Should be good to go.


MSG to TF: Quaternion Not Properly Normalized

Hello, when I pass in the path, he will appear the following error, please help me, thank you.

Hi, this issue is related to the _tfListener.transformpose function in the getCurrentPose function. Please check ROS documents to ensure that your path meets the requirements of transformpose function.

Hi, this issue is related to the _tfListener.transformpose function in the getCurrentPose function. Please check ROS documents to ensure that your path meets the requirements of transformpose function.

Hello, I also encountered this problem when running the code you gave me.
I just ran the two launch files you gave me, and then reported an error.


Energy Force chart showing an error on the Misc Charts example dashboard

How to reproduce the bug

Click on Dashboards
Click the Misc Charts example dashboard

Expected results
All charts on the example dashboard load without errors
Actual results
The Energy Force chart shows an error
Screenshots

Environment
(please complete the following information):

superset version: master
python version: python --version
node.js version: node -v

Checklist
Make sure to follow these steps before submitting your issue - thank you!

[ ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[x] I have reproduced the issue with at least the latest released version of superset.
[x] I have checked the issue tracker for the same issue and I haven't found one similar.

thanks for reporting. FYI.
Cause and solution can both found in the comment. We also flag this PR as risk a couple times.
https://github.com/apache/superset/pull/13111

ah, thanks


go: type parameter T is not comparable with >

What version of Go are you using (go version)?

$ go version
go version go1.18 darwin/arm64

Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="arm64"
GOBIN=""
GOCACHE="/Users/elliot/Library/Caches/go-build"
GOENV="/Users/elliot/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="arm64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/elliot/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/elliot/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/opt/homebrew/Cellar/go/1.18/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/opt/homebrew/Cellar/go/1.18/libexec/pkg/tool/darwin_arm64"
GOVCS=""
GOVERSION="go1.18"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/elliot/Library/Mobile Documents/com~apple~CloudDocs/Development/github.com/elliotchance/pie/v2/go.mod"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/bt/185kd2pd0z132w85dn0x0y7w0000gn/T/go-build4078449481=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
https://go.dev/play/p/gOHY0ZMajP2
What did you expect to see?
5
What did you see instead?
./prog.go:14:6: invalid operation: s > max (type parameter T is not comparable with >)

I've tried a few different ways to coerce it to a T - but always with the same error.

As per the documentation comparable only means it supports == and !=. (Probably it should have been called equatable instead.) You are looking for golang.org/x/exp/constraints.Ordered. https://go.dev/play/p/zRP649RJU6t

Perhaps it should be renamed then?

The spec has always referred to this property as "comparable", meaning a type whose values can be compared.


Not success status code: 403

Hi ! Yesterday I had a problem that I never seen before . I got a "Not success status code: 403 " trying to play some yt track from a spotify playlist  ( full logs in the image ) using Lavalink v3.7.5

I cant reproduce it becouse happen randomly :(
Anyone have the same problem ?
Lavaplayer version : 1.4.0

Send please full screenshot of stacktrace or paste log and link to video

Send please full screenshot of stacktrace or paste log and link to video

https://pastebin.com/Pq1kFV8G

I have also found this thread into the yt API isssuetracker : https://issuetracker.google.com/issues/287108202
( I dont know If could help )

Hello there 👋
I have the same problem, this is my full lavalink console output.
https://cdn.discordapp.com/attachments/490951172673372195/1120577753947852900/message.txt

Hello there I have the same problem

@seammd124 Paste full logs too

Hi Walkyst, this log with 403's is from one of my users, and they host in the United States. If you'd like more info let me know and I will ask them to post here directly or I will speak with them.
https://gist.githubusercontent.com/Cog-CreatorsBot/6a0a2521c484cc029fc83365b3dc876e/raw/a49a3657b3f60b2f0cf164a36f01cb26e10f893e/spring.log

@seammd124 Paste full logs too

https://cdn.discordapp.com/attachments/806896986703265892/1120886970810388500/error.txt

I'm having the same problem
https://hastebin.blackforthosting.com/nuqopanora.less

I'm having the same problem https://hastebin.blackforthosting.com/nuqopanora.less

What's ur java version?

I'm having the same problem https://hastebin.blackforthosting.com/nuqopanora.less

What's ur java version?

11

Hey :)
I have the same error and it happens all the time. YouTube is now unusable as a source for my bot.
But, if I execute my bot on another IP, then everything works like intended again. It looks like some sort of rate-limit that was introduced lately and on IP basis ...

I have the same issue, 4-5 times a day, my bot will just stop responding to song requests and it will spit out 403 errors for anywhere from 30 seconds to 5 minutes. It used to work perfectly, but the longer I use it, the more errors I get.

"hey, if anyone submits a fix for this I'm willing to pay 20$"

hey, if anyone submits a fix for this I'm willing to pay 20$ (Maybe more depends)

I guess there wont be a fix possible from the site of lavaplayer ... I changed the IP of the server of my bot and everything started working as expected. So the current fix for now is to change the IP. It seems like some sort of rate limit implemented by YT to prevent "API abuse" ...

Nope actually I tried with a different hosting provider same thing

same issue. but fixed by changing the IP

same issue. but fixed by changing the IP
It was fixed for me too but happening again

I've recently observed the same on both of my nodes.  Both hosted on galaxygate in New York.
ERROR 2023-07-27 12:18:42,746 [lava-daemon-pool-playback-1-thread-2413] com.sedmelluq.discord.lavaplayer.tools.ExceptionTools: Error in playback of VtQ8krwI7x0                                                                                com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Something broke when playing the track.
        at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:44)
        at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:116)
        at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$1(DefaultAudioPlayerManager.java:361)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:833)
        Suppressed: com.sedmelluq.discord.lavaplayer.tools.exception.EnvironmentInformation:
  lavaplayer.version: 1.4.2-original
  os.arch: amd64
  os.name: Linux
  os.version: 5.4.0-155-generic
  java.vendor: Oracle Corporation
  java.version: 17.0.4
  java.runtime.version: 17.0.4+11-LTS-179
  java.vm.version: 17.0.4+11-LTS-179
Caused by: java.lang.RuntimeException: Not success status code: 403
        at com.sedmelluq.discord.lavaplayer.tools.io.PersistentHttpStream.validateStatusCode(PersistentHttpStream.java:87)
        at com.sedmelluq.discord.lavaplayer.tools.io.PersistentHttpStream.attemptConnect(PersistentHttpStream.java:123)
        at com.sedmelluq.discord.lavaplayer.tools.io.PersistentHttpStream.connect(PersistentHttpStream.java:105)
        at com.sedmelluq.discord.lavaplayer.tools.io.PersistentHttpStream.internalRead(PersistentHttpStream.java:157)
        at com.sedmelluq.discord.lavaplayer.tools.io.PersistentHttpStream.read(PersistentHttpStream.java:173)
        at java.base/java.io.DataInputStream.readByte(DataInputStream.java:271)
        at com.sedmelluq.discord.lavaplayer.container.matroska.format.MatroskaEbmlReader.readEbmlInteger(MatroskaEbmlReader.java:39)
        at com.sedmelluq.discord.lavaplayer.container.matroska.format.MatroskaFileReader.readNextElement(MatroskaFileReader.java:45)
        at com.sedmelluq.discord.lavaplayer.container.matroska.MatroskaStreamingFile.readFile(MatroskaStreamingFile.java:78)
        at com.sedmelluq.discord.lavaplayer.container.matroska.MatroskaAudioTrack.loadMatroskaFile(MatroskaAudioTrack.java:51)
        at com.sedmelluq.discord.lavaplayer.container.matroska.MatroskaAudioTrack.process(MatroskaAudioTrack.java:34)
        at com.sedmelluq.discord.lavaplayer.track.DelegatedAudioTrack.processDelegate(DelegatedAudioTrack.java:25)
        at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.processStatic(YoutubeAudioTrack.java:58)
        at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.process(YoutubeAudioTrack.java:50)
        at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:104)
        ... 4 common frames omitted

I think the issue fixes itself every time the visitor id is updated

I've recently observed the same on both of my nodes.  Both hosted on galaxygate in New York.
ERROR 2023-07-27 12:18:42,746 [lava-daemon-pool-playback-1-thread-2413] com.sedmelluq.discord.lavaplayer.tools.ExceptionTools: Error in playback of VtQ8krwI7x0                                                                                com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Something broke when playing the track.
        at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:44)
        at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:116)
        at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$1(DefaultAudioPlayerManager.java:361)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:833)
        Suppressed: com.sedmelluq.discord.lavaplayer.tools.exception.EnvironmentInformation:
  lavaplayer.version: 1.4.2-original
  os.arch: amd64
  os.name: Linux
  os.version: 5.4.0-155-generic
  java.vendor: Oracle Corporation
  java.version: 17.0.4
  java.runtime.version: 17.0.4+11-LTS-179
  java.vm.version: 17.0.4+11-LTS-179
Caused by: java.lang.RuntimeException: Not success status code: 403
        at com.sedmelluq.discord.lavaplayer.tools.io.PersistentHttpStream.validateStatusCode(PersistentHttpStream.java:87)
        at com.sedmelluq.discord.lavaplayer.tools.io.PersistentHttpStream.attemptConnect(PersistentHttpStream.java:123)
        at com.sedmelluq.discord.lavaplayer.tools.io.PersistentHttpStream.connect(PersistentHttpStream.java:105)
        at com.sedmelluq.discord.lavaplayer.tools.io.PersistentHttpStream.internalRead(PersistentHttpStream.java:157)
        at com.sedmelluq.discord.lavaplayer.tools.io.PersistentHttpStream.read(PersistentHttpStream.java:173)
        at java.base/java.io.DataInputStream.readByte(DataInputStream.java:271)
        at com.sedmelluq.discord.lavaplayer.container.matroska.format.MatroskaEbmlReader.readEbmlInteger(MatroskaEbmlReader.java:39)
        at com.sedmelluq.discord.lavaplayer.container.matroska.format.MatroskaFileReader.readNextElement(MatroskaFileReader.java:45)
        at com.sedmelluq.discord.lavaplayer.container.matroska.MatroskaStreamingFile.readFile(MatroskaStreamingFile.java:78)
        at com.sedmelluq.discord.lavaplayer.container.matroska.MatroskaAudioTrack.loadMatroskaFile(MatroskaAudioTrack.java:51)
        at com.sedmelluq.discord.lavaplayer.container.matroska.MatroskaAudioTrack.process(MatroskaAudioTrack.java:34)
        at com.sedmelluq.discord.lavaplayer.track.DelegatedAudioTrack.processDelegate(DelegatedAudioTrack.java:25)
        at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.processStatic(YoutubeAudioTrack.java:58)
        at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.process(YoutubeAudioTrack.java:50)
        at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:104)
        ... 4 common frames omitted

I think the issue fixes itself every time the visitor id is updated, at least I've observed it to resolve itself exactly around the same time several times. So updating that on error or optionally increasing the frequency might be an idea

I have also noticed that after sometimes ( without restarting the Lavalink server ) the error dont show up again

I also see this one fairly regularly
INFO 2023-07-28 00:23:48,170 [lava-daemon-pool-playback-1-thread-5796] com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAccessTokenTracker Updating YouTube access token (current is null).
ERROR 2023-07-28 00:23:48,228 [lava-daemon-pool-playback-1-thread-5796] com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAccessTokenTracker YouTube access token update failed.
java.io.IOException: Invalid status code for access token android response: 403
	at com.sedmelluq.discord.lavaplayer.tools.io.HttpClientTools.assertSuccessWithContent(HttpClientTools.java:157)
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAccessTokenTracker.requestAccessToken(YoutubeAccessTokenTracker.java:321)
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAccessTokenTracker.fetchAccessToken(YoutubeAccessTokenTracker.java:236)
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAccessTokenTracker.updateAccessToken(YoutubeAccessTokenTracker.java:151)
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAccessTokenTracker.getAccessToken(YoutubeAccessTokenTracker.java:203)
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeHttpContextFilter.onRequest(YoutubeHttpContextFilter.java:71)
	at com.sedmelluq.lava.extensions.youtuberotator.YoutubeIpRotatorFilter.onRequest(YoutubeIpRotatorFilter.java:58)
	at com.sedmelluq.discord.lavaplayer.tools.http.SettableHttpRequestFilter.onRequest(SettableHttpRequestFilter.java:41)
	at com.sedmelluq.discord.lavaplayer.tools.io.HttpInterface.execute(HttpInterface.java:69)
	at com.sedmelluq.discord.lavaplayer.tools.io.PersistentHttpStream.attemptConnect(PersistentHttpStream.java:120)
	at com.sedmelluq.discord.lavaplayer.tools.io.PersistentHttpStream.connect(PersistentHttpStream.java:105)
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubePersistentHttpStream.internalRead(YoutubePersistentHttpStream.java:52)
	at com.sedmelluq.discord.lavaplayer.tools.io.PersistentHttpStream.read(PersistentHttpStream.java:193)
	at java.base/java.io.DataInputStream.readFully(DataInputStream.java:201)
	at com.sedmelluq.discord.lavaplayer.container.matroska.format.MutableMatroskaBlock.getNextFrameBuffer(MutableMatroskaBlock.java:54)
	at com.sedmelluq.discord.lavaplayer.container.matroska.MatroskaStreamingFile.processFrameInBlock(MatroskaStreamingFile.java:371)
	at com.sedmelluq.discord.lavaplayer.container.matroska.MatroskaStreamingFile.parseClusterSimpleBlock(MatroskaStreamingFile.java:335)
	at com.sedmelluq.discord.lavaplayer.container.matroska.MatroskaStreamingFile.parseNextCluster(MatroskaStreamingFile.java:320)
	at com.sedmelluq.discord.lavaplayer.container.matroska.MatroskaStreamingFile.provideFrames(MatroskaStreamingFile.java:296)
	at com.sedmelluq.discord.lavaplayer.container.matroska.MatroskaAudioTrack.lambda$process$0(MatroskaAudioTrack.java:39)
	at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.executeProcessingLoop(LocalAudioTrackExecutor.java:275)
	at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.executeProcessingLoop(LocalAudioTrackExecutor.java:249)
	at com.sedmelluq.discord.lavaplayer.container.matroska.MatroskaAudioTrack.process(MatroskaAudioTrack.java:38)
	at com.sedmelluq.discord.lavaplayer.track.DelegatedAudioTrack.processDelegate(DelegatedAudioTrack.java:25)
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.processStatic(YoutubeAudioTrack.java:58)
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.process(YoutubeAudioTrack.java:50)
	at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:104)
	at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$1(DefaultAudioPlayerManager.java:361)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)

HE tunnel

HE tunnel fix the issue ?

i have the same issue, so many tracks cause 403, and stuck exception, only solution i think is to restart the bot, or wait for sometime, but its completely temporally. It played 200 tracks normally and 130 failed, so its almost half tracks fail.

this has been fixed in
https://github.com/lavalink-devs/lavaplayer/releases/tag/1.5.0
https://github.com/lavalink-devs/lavaplayer/releases/tag/2.0.0

this has been fixed in https://github.com/lavalink-devs/lavaplayer/releases/tag/1.5.0 https://github.com/lavalink-devs/lavaplayer/releases/tag/2.0.0

Just tested it - each time I restart it's working, but after a period it starts all over again. Could you please check the fix?

I'm now using that fork for a bot with several hundred concurrent streams and it's been working fine so far for me

It might be my test - I'm just about to test the latest snapshot build of the player.

Looks like it solved it by using the latest snapshot

1.5.0 & 2.0.0 have it both fixed
please open an issue there in the future

1.5.0 & 2.0.0 have it both fixed please open an issue there in the future

No issue - it was my bad

Fixed here aswell so yeah closable


ingore .DS_Store and .idea files

Signed-off-by: Cosrider<EMAIL_ADDRESS>

Not sure what other people think, but I'd prefer to not collect configs for particular editors or systems, see https://sebastiandedeyne.com/setting-up-a-global-gitignore-file/ for how to set up your own ignore file for your tools.

make sense. thanks


UABEAvalonia has stopped working

Hello, I tried your tool, but when i open file the tool has stopped
How to fix this?
Sorry my bad english

After it crashes, open event viewer and look in Windows Logs -> Application. There should be a .NET Runtime error. Paste the stack trace from there so I can see what's going wrong.
Like this:

Also, if you have a file you can send that will help too.

After it crashes, open event viewer and look in Windows Logs -> Application. There should be a .NET Runtime error. Paste the stack trace from there so I can see what's going wrong.
Like this:

Also, if you have a file you can send that will help too.

Application: UABEAvalonia.exe
CoreCLR Version: 5.0.521.16609
.NET Version: 5.0.5
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentException: Value does not fall within the expected range.
at Avalonia.Win32.Interop.UnmanagedMethods.IShellItem.GetDisplayName(UInt32 sigdnName, IntPtr& ppszName)
at Avalonia.Win32.SystemDialogImpl.GetAbsoluteFilePath(IShellItem shellItem) in //src/Windows/Avalonia.Win32/SystemDialogImpl.cs:line 153
at Avalonia.Win32.SystemDialogImpl.<>c__DisplayClass1_0.b__0() in //src/Windows/Avalonia.Win32/SystemDialogImpl.cs:line 90
at System.Threading.Tasks.Task1.InnerInvoke()    at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)    at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location ---    at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)    at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location ---    at UABEAvalonia.MainWindow.MenuOpen_Click(Object sender, RoutedEventArgs e) in C:\Users\nesquack\source\repos\UABEAvalonia\UABEAvalonia\MainWindow.axaml.cs:line 89    at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__140_0(Object state)    at Avalonia.Threading.AvaloniaSynchronizationContext.<>c__DisplayClass5_0.<Post>b__0() in /_/src/Avalonia.Base/Threading/AvaloniaSynchronizationContext.cs:line 33    at Avalonia.Threading.JobRunner.Job.Avalonia.Threading.JobRunner.IJob.Run() in /_/src/Avalonia.Base/Threading/JobRunner.cs:line 166    at Avalonia.Threading.JobRunner.RunJobs(Nullable1 priority) in //src/Avalonia.Base/Threading/JobRunner.cs:line 37
at Avalonia.Win32.Win32Platform.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam) in //src/Windows/Avalonia.Win32/Win32Platform.cs:line 208
at Avalonia.Win32.Interop.UnmanagedMethods.DispatchMessage(MSG& lpmsg)
at Avalonia.Win32.Win32Platform.RunLoop(CancellationToken cancellationToken) in //src/Windows/Avalonia.Win32/Win32Platform.cs:line 157
at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken) in //src/Avalonia.Base/Threading/Dispatcher.cs:line 61
at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args) in //src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 107
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode) in //src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 134
at UABEAvalonia.Program.Main(String[] args) in C:\Users\nesquack\source\repos\UABEAvalonia\UABEAvalonia\Program.cs:line 13

Looks like this is an Avalonia bug specifically on Windows 7.
Other people have reported that here:

https://github.com/AvaloniaUI/Avalonia/issues/3272
https://stackoverflow.com/questions/57257928/avaloniaui-argumentexception-being-thrown-when-openfiledialog-is-used-in-windo

So there's not much I can do until Avalonia pushes a fix.

I played around a bit with trying to open files in a windows 7 vm and found out that it seems to crash when opening the file from Libraries/My Documents. When opened from UserFolder/Documents opened it fine.
Bad:

Good:

I tried it and it works, thank :D


Generating date with count parameter for the same day return unexpected result

Describe the bug
If I try to generate instances with this parameters, I get And unexpected result:
the event starts on 2021-06-17, When I generate instance between  2021-06-24 and 2021-06-25  I still get a result, but that event should occurs only 5 times! So at 2021-06-24 , It should have end up already.
var start = DateTime.parse('2021-06-17 19:00:00.000Z');
 var after = DateTime.parse(' 2021-06-24 04:00:00.000Z');
var before = DateTime.parse(' 2021-06-25 03:59:59.000Z');
var rule = RecurrenceRule.fromString("RRULE:FREQ=DAILY;COUNT=5;INTERVAL=1");

var res = rule
              .getInstances(
                start:start,
                after: after,
                before: before,
                includeAfter: true,
                includeBefore: true,
              )
              .toList();
          print(res);

Output
[2021-06-24 19:00:00.000Z]
Environment:

Package version:    rrule: ^0.2.3

Fixed and published as part of v0.2.8


Update Avro version to 1.8.0

Looks like there are quite a few bug fixes / improvements in 1.8.0. https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310911&version=12323299
Release note mentioned some backward incompatible changes. Tested on Kafka ingestion and compaction and no issue popped up.

Will this cause an issue? https://issues.apache.org/jira/browse/AVRO-1586

I believe this just makes Avro build with Hadoop 2 by default; Hadoop 1 is still supported. And indeed avro-mapred-1.8.0-hadoop1.jar is available in Maven.

Great


image filename with whitespaces

I have a problem when I try to upload a file that has a name with whitespaces, the preview of the uploaded image fails.
I tried to rename it using "flow-file-added", modifying my $scope.obj.flow-files[0] .name or .file.name attributes in the "flow-upload-started" method or $flow.files[0].name in the "flow-complete method" but I had no success. Someone have a posible solution? I can settle with a way to avoid these files in first place.
Thanks for your time!

I solved it, copying this excellent unrelated example in Codepen (Get image dimension (Width and Height) using ng-flow )
HTML:
flow-file-added="!!{png:1,gif:1,jpg:1,jpeg:1}[$file.getExtension()];flowFileAdded($file)"
JS:
$scope.flowFileAdded=function($file){
	$file.name='change the name as you want';
}

Also, you can use JS $file.uniqueIdentifier and PHP $_POST['flowIdentifier'] and let flow choose a valid name.

@lsanczyk could you please clarify if you think that a bug exists on flowjs and in that case propose a suggestion for the fix?
what is the issue you are experiencing?

I was deepening in the matter, and I found that if you change the name or identifier, the PHP script could receive either the original one or the changed one, because of the async threads. I don't know if it's a bug or a lack of feature.
For future googlers, I will say don't trust my previous answer. I ended doing some process to the name independently in the client and the server side.

closing the ticket for now so. if you come to a more precise detail let us know so that other users could benefit of this.


Postman "Get New Access Token" not working

Looking at the section of requesting the access token using postman it seems following these steps leads to:
invalid_request
Error
in the postman console.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 6ebb27a5-41cc-b64f-de68-2f0df6b02f8d
Version Independent ID: 31de5338-ace5-b8c4-88e8-54863428fc61
Content: Cloud authentication in web APIs with Azure Active Directory B2C in ASP.NET Core
Content Source: aspnetcore/security/authentication/azure-ad-b2c-webapi.md
Product: aspnet-core
GitHub Login: @CamSoper
Microsoft Alias: casoper

I have the same issue. Followed the tutorial from start to finish.

Adding to this, if you open up the dev tools View -> Developer -> Show Dev Tools (Current View) and then navigate to the console tab of the dev tools window and execute the request you should get an error as follows:
{
    error: "invalid_request",
    error_description: "AADB2C90205:+This+application+does+not+have+sufficient+permissions+against+this+web+resource+to+perform+the+operation. Correlation+ID:+35604aa2-0aea-400e-b82b-153de948bdbb Timestamp:+2018-09-18+01:32:53Z"
}

The issue is probably with your scope definition.  Check that your scope url is set to the AppID URI on your API.  In the instructions:
The newly registered web app needs permission to access the web API on the user's behalf.
Select Postman in the list of apps and then select API access from the menu on the left.
Select + Add.
---- > In the Select API dropdown, select the name of the web API.
In the Select Scopes dropdown, ensure all scopes are selected.
Select Ok.
The web api you select here should have an APP ID, make sure it is set and is reflected in the scope portion of your request.

I'm the author.  What @aerostudios said is, I think, the best suggestion. If that's the issue, @knoxv1lle @victormarante and @andredublin please let me know and I'll fix the doc to call it out better.  If that's not the issue, guess I need to do some troubleshooting and try to repro.  🙂

Hi @CamSoper @aerostudios I tried it again with the suggestion and still get the same error.

Hi, I ran into this issue today too. It seems that you have to specify App ID URI and then add API Access for user_impersonation scope. Make sure to use App ID URI in scope name when specifying it in Postman.

I just merged https://github.com/aspnet/Docs/pull/8661. This should fix it. Basically, take another look at the parameters in the token request. Things that weren't very strict before are apparently stricter now.  Also, double check the "allowed scopes" settings in the doc.

Postman authentication keeps returning this : AADSTS50011: The reply url specified in the request does not match the reply urls configured for the application: '12812aaa-4d0e-4585-a38d-1f32450d7c5e'.There is no application with this id in my AzureB2C Tenant... where is it coming from? How can I find the app and correct the redirect?

Having the same issue, can we validate that this documenation is still functional? I was able to get this working a while ago but having all kinds of trouble all over again. An update with the new b2clogin.com endpoint would be nice.

@nezoic - Understood.  I was purposefully avoiding the b2clogin.com endpoint because Visual Studio still uses the old endpoint in the boilerplate code.  It was working end-to-end when I checked in #8661 but apparently there's something still not accounted for.  I'll hit it again.

I think we've got this doc fixed. The fixes in #8688 should cover it. Closing for the moment, but if people are still having trouble, please let me know.


Bug report:

Description
Two tests are failing for PA

TemplateInstantiator
creates structure for shared files at (74)
o365/pa/template-instantiator.spec.js:
TemplateInstantiator
creates structure for shared files (verbose) at (81)
o365/pa/template-instantiator.spec.js:

Steps to reproduce

I have pulled the latest upstream and using node version 12.14.1 (to create a new branch, no code changes yet)
Have cleaned the node_modules prior and done a fresh npm install
Did  npm clean, build before running npm test

Expected result
All tests passed, 100% coverage
Actual result
7529 passing (7s)
2 failing
Coverage report still shows 100%
Environment

Using macOs 10.13
node version 12.14.1

@garrytrinder Not sure what I am doing wrong may be a little help here to understand why tests are failing on a fresh new branch pulled from upstream?

Hey @rabwill 👋🏻
I've just updated my fork following the latest release this weekend and i'm not getting any failing tests on MacOS Mojave v10.15.2 on Node v12.12.0.

Could you share the error messages you get for the failing tests?

@rabwill before running tests, have you done npm run build or npm run watch?

Hey guys, yes I ran an npm clean and build before running the test. Hmm strange may be I will run an npm clean cache may be and change the node version to Garry’s and try again tonight. Thank you !

Hey @rabwill, is this still an issue?

Hey @rabwill, is this still an issue?

Hey @waldekmastykarz  you can close this. I found the issue to be from my end, I did not rebase my dev with upstream but only pulled it.
I found a file in pa folder not part of the upstream dev and knew this was the issue.
Please close this :)

Thank you for confirming and good to hear you're not blocked by it 👍


A suggestion for others trying to use this to display Status field

Thank you Jack for the plugin, super helpful to say the very least
Some thoughts while I was using this myself. The plugin at the moment does not work great with object type properties, such as status, sometimes displaying NS. If you feel very strongly about displaying these types of properties, my suggestion is to create another text property such as Status text and create a bunch of automations that will copy over the value from the actual Status property to the Status text property. A bit of a hack, but at least you can see the status as a text. Just my 2c
Not sure if you have any other thoughts

Hello Jason, thank you for using this tool and especially for pointing that out to me.
I have also seen another issue you made, and I want to explain to you that this repo would need a huge restoration because I developed it nearly two years ago, and since then, Notion has changed a lot (and at the same time, my coding skills have increased a lot)!
I am going to do that, but I don't know when, since university keeps me very busy. Nevertheless, I greatly appreciate your suggestion, and it can be a very useful starting point for version 2.0. I am confident about the future, I just need a bit of time.
As soon as possible I will open a discussion tab so that people can highlight suggestions.

Awesome. I'm looking forward to a new version. Still works in a minimal fashion today , but ofc we'd like to see something more compatible with the new Notion. Great work, and thank you!
On Wed, Sep 20, 2023 at 4:58 PM, Giacomo Salici < @.*** > wrote:

Hello Jason, thank you for using this tool and especially for pointing
that out to me.
I have also seen another issue you made, and I want to explain to you that
this repo would need a huge restoration because I developed it nearly two
years ago, and since then, Notion has changed a lot (and at the same time,
my coding skills have increased a lot)!
I am going to do that , but I don't know when, since university keeps me
very busy. Nevertheless, I greatly appreciate your suggestion, and it can
be a very useful starting point for version 2.0. I am confident about the
future, I just need a bit of time.
As soon as possible I will open a discussion tab so that people can
highlight suggestions.
—
Reply to this email directly, view it on GitHub (
https://github.com/jacksalici/notion-cli-list-manager/issues/10#issuecomment-1727280173
) , or unsubscribe (
https://github.com/notifications/unsubscribe-auth/AAGWJ7HKSBPCK3XBWJH52T3X3KV4FANCNFSM6AAAAAA47QRUSI
).
You are receiving this because you authored the thread. Message ID: <jacksalici/notion-cli-list-manager/issues/10/1727280173
@ github. com>


Updated keras version

Updating keras to stable version. Reference #51901

@sanatmpa1 Can you please sign CLA. Thanks!


0.5.1

Current dependencies on/for this PR:

main

PR #56   👈

This comment was auto-generated by Graphite.


How to deal with DBCS chars at IBMi db2

XMLService how to parse DBCS (double-byte character set) chars?? Can u give us hint?
Below is our xml example:
<?xml version="1.0"?><xmlservice><myscript><sql><prepare stmt="main" error="fast"><![CDATA[SELECT TSKID, TSKNM, ENHTXT FROM DBNAMW.TK WHERE TSKNM = ?]]></prepare><execute stmt="main" error="fast"><parm><![CDATA[DEMO1]]></parm></execute><fetch stmt="main" block="all" desc="on" error="fast"></fetch><describe stmt="main"></describe><free></free></sql></myscript></xmlservice>
Thanks

Can you show me more on what you hit? the output/errors, the db field example, you job ccsid, and etc...


Fix #2

Pretty sure this is what you're talking about, if not I clearly need some sleep.

Yes, that is the right path. Some notes;
loadData is only called once, you need to check to see if there are any outstanding thread/post ID's which aren't loaded yet.


Fix the bug that deploying status was unable to be updated

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

Let me merge this, please.
/approve

Let me merge this, please.
/approve


Too bad

Too bad, the open source people got greedy, now they want it to keep it amongst themselves.

Too bad, the open source people got greedy, now they want it to keep it amongst themselves.

lol i pretty much quit the game, if someone wants to update it ill pull request, but im not putting any more effort to it

etty much quit the game, if someone wants to update it ill pull request, but im not putting any more effort to it

thanks, that is all the closure I need from you.


Fix ROCm tests does not export LLVM_PATH

During rebase of #5474, ENV LLVM_PATH was mistakenly lost from Dockerfile.
This reverts it so that ROCm 4.3 test pass.

pfnCI, test this please.

Confirmed that HIPRTC compilation error: <built-in>:1:10: fatal error: '__clang_hip_runtime_wrapper.h' file not found disappeared. Please ignore other Jenkins failures; will be fixed in #5851


High latency due to python implementation

Just for information, because python is sometimes introducing huge delay (like 4-5 seconds!), I was investigating another option to get the camera video stream.
Using gstreamer and gscam seems to work but uses a lot of CPU if it does the decoding itself. The patch below to gscam allows publishing the jpeg stream, same as the axis_driver.
https://github.com/ros-drivers/gscam/pull/11
This looks like a good alternative on the kingfisher, although I haven't found yet how to tell gstreamer to use additional parameter in the get request (like resolution, fps, image size).

Looks like the next step here is to just implement a minimal axis-specific C++ framegrabber which is able to be used as both a node and nodelet. I think the ideal would be if axis_camera's driver could advertise separate topics for raw, compressed, and greyscale, and (like other drivers) only produce them when a subscription exists:

compressed would pass through the frames directly from the camera's http feed.
raw would use libjpeg to decode the frames and pass them through as bitmaps.
greyscale would do similar, but use the jpeg_transform_info::force_grayscale option to decode only the Y channel.


Implement RefineNet

This commit implements RefineNet in [1] Guosheng Lin, Anton Milan, Chunhua Shen, Ian Reid RefineNet: Multi-Path Refinement Networks for High-Resolution Semantic Segmentatiion. arXiv:1611.06612.
Main function in refinenet.py is used to check the model can build and run.
Since RefineNet relies on ResNet, resnet_v2.py and resnet_utils.py from tensorflow.models.research.slim are also added to this repo.

Added the reference for resnet_v2.py and resnet_utils.py.
Fixed naming and style issues.

Add a script pretrain_resnet.py to pre-train a ResNet-50 on a classification task. RefineNet can benefit from a pre-trained ResNet component.
The training is on Tiny ImageNet dataset (200 classes), which is a subset of ImageNet dataset (1000 classes). A data wrangle script is also added to prepare Tiny ImageNet dataset to be used by Keras image generator.