Type error while opening a Flutter devtools

Type error is thrown while opening Flutter DevTools
════════ Exception caught by Flutter framework ═════════════════════════════════
The following _TypeError was thrown during a service extension callback for "ext.flutter.inspector.getRootWidgetSummaryTree":
type 'Null' is not a subtype of type 'String' of 'function result'

When the exception was thrown, this was the stack
#0      _Location.file (package:flutter/src/widgets/widget_inspector.dart)
package:flutter/…/widgets/widget_inspector.dart:1
#1      _Location.toJsonMap
package:flutter/…/widgets/widget_inspector.dart:2844
#2      _Location.toJsonMap.<anonymous closure>
package:flutter/…/widgets/widget_inspector.dart:2853
#3      MappedListIterable.elementAt (dart:_internal/iterable.dart:412:31)
#4      ListIterator.moveNext (dart:_internal/iterable.dart:341:26)
...
════════════════════════════════════════════════════════════════════════════════

Steps to Reproduce

Open any flutter project.
Work a little(change some values, do hot reload a few times)
Open Flutter DevTools

Expected results: DevTools opened in chrome
Actual results: The above error in console

flutter run -v

flutter run -v
[ +237 ms] executing: [C:\src\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +818 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] f4abaa0735eba4dfd8f33f73363911d63931fe03
[   +1 ms] executing: [C:\src\flutter/] git tag --points-at f4abaa0735eba4dfd8f33f73363911d63931fe03
[ +111 ms] Exit code 0 from: git tag --points-at f4abaa0735eba4dfd8f33f73363911d63931fe03
[   +1 ms] 2.2.3
[  +14 ms] executing: [C:\src\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +107 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +1 ms] origin/stable
[   +1 ms] executing: [C:\src\flutter/] git ls-remote --get-url origin
[  +94 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms] https://github.com/flutter/flutter.git
[ +291 ms] executing: [C:\src\flutter/] git rev-parse --abbrev-ref HEAD
[  +93 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] stable
[ +157 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +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.
[   +1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +178 ms] executing: C:\Users\darshan\AppData\Local\Android\Sdk\platform-tools\adb.exe devices -l
[  +92 ms] List of devices attached
           K2AAGF000218AW8        device product:WW_X01BD model:ASUS_X01BDA device:ASUS_X01BD_2 transport_id:2
[  +14 ms] C:\Users\darshan\AppData\Local\Android\Sdk\platform-tools\adb.exe -s K2AAGF000218AW8 shell getprop
[ +146 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[  +44 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +331 ms] Skipping pub get: version match.
[ +280 ms] Generating
C:\Users\darshan\Documents\path_to_app\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +135 ms] ro.hardware = qcom
[  +95 ms] Initializing file store
[  +17 ms] Skipping target: gen_localizations
[  +13 ms] complete
[  +11 ms] Launching lib\main.dart on Phone in debug mode...
[  +12 ms] C:\src\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\src\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\src\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names
--experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill
C:\Users\darshan\AppData\Local\Temp\flutter_tools.33d6c6b2\flutter_tool.516dea9a\app.dill --packages
C:\Users\darshan\Documents\path_to_app\.dart_tool\package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false
--enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill
build\3c113a45063dc6628e68a4111abcacad.cache.dill.track.dill --enable-experiment=alternative-invalidation-strategy
[  +31 ms] executing: C:\Users\darshan\AppData\Local\Android\Sdk\build-tools\30.0.3\aapt dump xmltree
C:\Users\darshan\Documents\path_to_app\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[  +34 ms] Exit code 0 from: C:\Users\darshan\AppData\Local\Android\Sdk\build-tools\30.0.3\aapt dump xmltree
C:\Users\darshan\Documents\path_to_app\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[   +2 ms] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1e
               A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
               A: package="com.company.app" (Raw: "com.company.app")
               A: platformBuildVersionCode=(type 0x10)0x1e
               A: platformBuildVersionName=(type 0x10)0xb
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=16)
                 A: android:label(0x01010001)="app_id" (Raw: "app_id")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw:
                 "androidx.core.app.CoreComponentFactory")
                 E: activity (line=21)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.company.app.app_id.MainActivity" (Raw:
                   "com.company.app.app_id.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=35)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=45)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw:
                     "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=49)
                     E: action (line=50)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=52)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=59)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[  +33 ms] executing: C:\Users\darshan\AppData\Local\Android\Sdk\platform-tools\adb.exe -s K2AAGF000218AW8 shell -x logcat -v time -t 1
[  +42 ms] <- compile package:app_id/main.dart
[ +165 ms] --------- beginning of main
                    07-19 16:15:20.822 E/nightwatch-target( 3417): lmkd signal waiters
[  +21 ms] executing: C:\Users\darshan\AppData\Local\Android\Sdk\platform-tools\adb.exe version
[ +120 ms] Android Debug Bridge version 1.0.41
                    Version 31.0.2-7242960
                    Installed as C:\Users\darshan\AppData\Local\Android\Sdk\platform-tools\adb.exe
[   +4 ms] executing: C:\Users\darshan\AppData\Local\Android\Sdk\platform-tools\adb.exe start-server
[  +44 ms] Building APK
[  +41 ms] Running Gradle task 'assembleDebug'...
[  +11 ms] Using gradle from C:\Users\darshan\Documents\path_to_app\android\gradlew.bat.
[  +31 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +305 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[   +1 ms] openjdk version "11.0.8" 2020-07-14
           OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
           OpenJDK 64-Bit Server VM (build 11.0.8+10-b944.6842174, mixed mode)
[   +5 ms] executing: [C:\Users\darshan\Documents\path_to_app\android/]
C:\Users\darshan\Documents\path_to_app\android\gradlew.bat -Pverbose=true -Ptarget-platform=android-arm64
-Ptarget=C:\Users\darshan\Documents\path_to_app\lib\main.dart -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ==
-Pdart-obfuscation=false -Ptrack-widget-creation=true -Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug
[+5946 ms] > Task :app:compileFlutterBuildDebug
[   +1 ms] [ +175 ms] executing: [C:\src\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +371 ms] [ +909 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] [        ] f4abaa0735eba4dfd8f33f73363911d63931fe03
[   +1 ms] [   +1 ms] executing: [C:\src\flutter/] git tag --points-at f4abaa0735eba4dfd8f33f73363911d63931fe03
[  +97 ms] [ +109 ms] Exit code 0 from: git tag --points-at f4abaa0735eba4dfd8f33f73363911d63931fe03
[   +2 ms] [        ] 2.2.3
[   +1 ms] [  +15 ms] executing: [C:\src\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +191 ms] [  +94 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +1 ms] [        ] origin/stable
[   +1 ms] [        ] executing: [C:\src\flutter/] git ls-remote --get-url origin
[   +1 ms] [  +76 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms] [        ] https://github.com/flutter/flutter.git
[ +199 ms] [ +192 ms] executing: [C:\src\flutter/] git rev-parse --abbrev-ref HEAD
[ +203 ms] [ +134 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] [        ] stable
[  +98 ms] [ +121 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] [   +5 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +180 ms] [ +256 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[  +94 ms] [   +5 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[   +1 ms] [  +74 ms] Initializing file store
[  +66 ms] [  +44 ms] Skipping target: gen_localizations
[   +5 ms] [  +18 ms] kernel_snapshot: Starting due to {}
[   +3 ms] [  +29 ms] C:\src\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\src\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\src\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies
-DFLUTTER_WEB_AUTO_DETECT=true -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --no-link-platform
--packages C:\Users\darshan\Documents\path_to_app\.dart_tool\package_config.json --output-dill
C:\Users\darshan\Documents\path_to_app\.dart_tool\flutter_build\28b6a4c8497a90ab572d8367301f65fb\app.dill --depfile
C:\Users\darshan\Documents\path_to_app\.dart_tool\flutter_build\28b6a4c8497a90ab572d8367301f65fb\kernel_snapshot.d
package:app_id/main.dart
[+20395 ms] [+20378 ms] kernel_snapshot: Complete
[+1502 ms] [+1523 ms] debug_android_application: Starting due to {}
[ +294 ms] [ +302 ms] Manifest contained wildcard assets. Inserting missing file into build graph to force rerun. for more information see
#56466.
[ +105 ms] [  +33 ms] debug_android_application: Complete
[+1299 ms] [+1308 ms] Persisting file store
[        ] [  +27 ms] Done persisting file store
[        ] [  +23 ms] build succeeded.
[        ] [  +32 ms] "flutter assemble" took 24,092ms.
[ +318 ms] [ +280 ms] ensureAnalyticsSent: 271ms
[   +1 ms] [   +3 ms] Running shutdown hooks
[  +30 ms] [        ] Shutdown hooks complete
[   +1 ms] [   +3 ms] exiting with code 0
[ +344 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[   +1 ms] > Task :app:preBuild UP-TO-DATE
[   +1 ms] > Task :app:preDebugBuild UP-TO-DATE
[   +1 ms] > Task :app:compileDebugAidl NO-SOURCE
[   +1 ms] > Task :app:compileDebugRenderscript NO-SOURCE
[   +1 ms] > Task :app:generateDebugBuildConfig UP-TO-DATE
[  +87 ms] > Task :app:checkDebugAarMetadata UP-TO-DATE
[ +104 ms] > Task :app:cleanMergeDebugAssets
[   +3 ms] > Task :app:mergeDebugShaders UP-TO-DATE
[   +1 ms] > Task :app:compileDebugShaders NO-SOURCE
[   +1 ms] > Task :app:generateDebugAssets UP-TO-DATE
[   +1 ms] > Task :app:mergeDebugAssets
[ +593 ms] > Task :app:copyFlutterAssetsDebug
[   +1 ms] > Task :app:generateDebugResValues UP-TO-DATE
[   +1 ms] > Task :app:generateDebugResources UP-TO-DATE
[  +90 ms] > Task :app:mergeDebugResources UP-TO-DATE
[   +2 ms] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[   +1 ms] > Task :app:extractDeepLinksDebug UP-TO-DATE
[   +1 ms] > Task :app:processDebugMainManifest UP-TO-DATE
[   +1 ms] > Task :app:processDebugManifest UP-TO-DATE
[   +1 ms] > Task :app:processDebugManifestForPackage UP-TO-DATE
[  +95 ms] > Task :app:processDebugResources UP-TO-DATE
[ +102 ms] > Task :app:compileDebugKotlin UP-TO-DATE
[   +6 ms] > Task :app:javaPreCompileDebug UP-TO-DATE
[   +4 ms] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[   +2 ms] > Task :app:compileDebugSources UP-TO-DATE
[   +2 ms] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
[ +101 ms] > Task :app:processDebugJavaRes NO-SOURCE
[   +7 ms] > Task :app:mergeDebugJavaResource UP-TO-DATE
[  +84 ms] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[  +84 ms] > Task :app:dexBuilderDebug UP-TO-DATE
[   +2 ms] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[ +100 ms] > Task :app:mergeExtDexDebug UP-TO-DATE
[   +3 ms] > Task :app:mergeDexDebug UP-TO-DATE
[   +6 ms] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[ +133 ms] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[   +2 ms] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[  +96 ms] > Task :app:validateSigningDebug UP-TO-DATE
[+1160 ms] > Task :app:compressDebugAssets
[+2302 ms] > Task :app:packageDebug
[ +297 ms] > Task :app:assembleDebug
[  +64 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[   +1 ms] Use '--warning-mode all' to show the individual deprecation warnings.
[   +1 ms] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[   +3 ms] BUILD SUCCESSFUL in 37s
[   +2 ms] 32 actionable tasks: 7 executed, 25 up-to-date
[ +605 ms] Running Gradle task 'assembleDebug'... (completed in 38.3s)
[ +180 ms] calculateSha: LocalDirectory: 'C:\Users\darshan\Documents\path_to_app\build\app\outputs\flutter-apk'/app.apk
[+1394 ms] √  Built build\app\outputs\flutter-apk\app-debug.apk.
[   +9 ms] executing: C:\Users\darshan\AppData\Local\Android\Sdk\build-tools\30.0.3\aapt dump xmltree
C:\Users\darshan\Documents\path_to_app\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[  +50 ms] Exit code 0 from: C:\Users\darshan\AppData\Local\Android\Sdk\build-tools\30.0.3\aapt dump xmltree
C:\Users\darshan\Documents\path_to_app\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[   +2 ms] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1e
               A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
               A: package="com.company.app" (Raw: "com.company.app")
               A: platformBuildVersionCode=(type 0x10)0x1e
               A: platformBuildVersionName=(type 0x10)0xb
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=16)
                 A: android:label(0x01010001)="app_id" (Raw: "app_id")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw:
                 "androidx.core.app.CoreComponentFactory")
                 E: activity (line=21)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.company.app.app_id.MainActivity" (Raw:
                   "com.company.app.app_id.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=35)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=45)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw:
                     "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=49)
                     E: action (line=50)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=52)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=59)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[  +17 ms] Stopping app 'app.apk' on Phone.
[   +2 ms] executing: C:\Users\darshan\AppData\Local\Android\Sdk\platform-tools\adb.exe -s K2AAGF000218AW8 shell am force-stop
com.company.app
[ +142 ms] executing: C:\Users\darshan\AppData\Local\Android\Sdk\platform-tools\adb.exe -s K2AAGF000218AW8 shell pm list packages
com.company.app
[ +186 ms] package:com.company.app
[   +9 ms] executing: C:\Users\darshan\AppData\Local\Android\Sdk\platform-tools\adb.exe -s K2AAGF000218AW8 shell cat
/data/local/tmp/sky.com.company.app.sha1
[ +140 ms] 4ed7494a72c9bd514148cc7ff9a4c47c2654695e
[   +5 ms] Installing APK.
[   +7 ms] Installing build\app\outputs\flutter-apk\app.apk...
[   +2 ms] executing: C:\Users\darshan\AppData\Local\Android\Sdk\platform-tools\adb.exe -s K2AAGF000218AW8 install -t -r
C:\Users\darshan\Documents\path_to_app\build\app\outputs\flutter-apk\app.apk
[+10725 ms] Performing Streamed Install
                     Success
[   +4 ms] Installing build\app\outputs\flutter-apk\app.apk... (completed in 10.7s)
[   +8 ms] executing: C:\Users\darshan\AppData\Local\Android\Sdk\platform-tools\adb.exe -s K2AAGF000218AW8 shell echo -n
c353bd9ec1d1ae1a7bc476b4fa9f2ea9685b1e26 > /data/local/tmp/sky.com.company.app.sha1
[ +117 ms] executing: C:\Users\darshan\AppData\Local\Android\Sdk\platform-tools\adb.exe -s K2AAGF000218AW8 shell -x logcat -v time -t 1
[ +170 ms] --------- beginning of main
                    07-19 16:16:12.985 D/CompatibilityInfo( 2086): applicationScale - 1.0
[  +26 ms] executing: C:\Users\darshan\AppData\Local\Android\Sdk\platform-tools\adb.exe -s K2AAGF000218AW8 shell am start -a
android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true
--ez verify-entry-points true com.company.app/com.company.app.app_id.MainActivity
[ +190 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.company.app/.app_id.MainActivity (has
extras) }
[   +5 ms] Waiting for observatory port to be available...
[+1215 ms] Observatory URL on device: http://<IP_ADDRESS>:42483/Cpn9RNcAtN0=/
[   +6 ms] executing: C:\Users\darshan\AppData\Local\Android\Sdk\platform-tools\adb.exe -s K2AAGF000218AW8 forward tcp:0 tcp:42483
[  +86 ms] 54139
[   +3 ms] Forwarded host port 54139 to device port 42483 for Observatory
[  +28 ms] Caching compiled dill
[ +111 ms] Connecting to service protocol: http://<IP_ADDRESS>:54139/Cpn9RNcAtN0=/
[ +532 ms] Launching a Dart Developer Service (DDS) instance at http://<IP_ADDRESS>:0, connecting to VM service at
http://<IP_ADDRESS>:54139/Cpn9RNcAtN0=/.
[ +258 ms] DDS is listening at http://<IP_ADDRESS>:54144/i6zi7dfSrSA=/.
[ +133 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:54139/Cpn9RNcAtN0=/
[ +425 ms] DevFS: Creating new filesystem on the device (null)
[  +79 ms] DevFS: Created new filesystem on the device
(file:///data/user/0/com.company.app/code_cache/app_idUCLCUF/app_id/)
[  +16 ms] Updating assets
[ +295 ms] Manifest contained wildcard assets. Inserting missing file into build graph to force rerun. for more information see #56466.
[  +12 ms] Syncing files to device Phone...
[   +6 ms] <- reset
[   +1 ms] Compiling dart to kernel with 0 updated files
[   +7 ms] <- recompile package:app_id/main.dart 9464d953-7fbe-478a-9d61-4dd83284d0d3
[   +1 ms] <- 9464d953-7fbe-478a-9d61-4dd83284d0d3
[ +351 ms] Activating Dart DevTools...
[ +362 ms] Updating files.
[   +2 ms] DevFS: Sync finished
[   +9 ms] Syncing files to device Phone... (completed in 736ms)
[   +4 ms] Synced 0.0MB.
[   +7 ms] <- accept
[  +58 ms] Connected to _flutterView/0x76b2f75020.
[  +15 ms] Flutter run key commands.
[  +12 ms] r Hot reload.
[   +6 ms] R Hot restart.
[   +5 ms] h Repeat this help message.
[  +13 ms] d Detach (terminate "flutter run" but leave application running).
[   +6 ms] c Clear the screen
[  +12 ms] q Quit (terminate the application on the device).
[   +2 ms]  Running with sound null safety
[   +2 ms] An Observatory debugger and profiler on Phone is available at: http://<IP_ADDRESS>:54144/i6zi7dfSrSA=/
[+5626 ms] Activating Dart DevTools... (completed in 6.1s)
[+1378 ms] The Flutter DevTools debugger and profiler on Phone is available at:
                    http://<IP_ADDRESS>:9101?uri=http%3A%2F%2F<IP_ADDRESS>%3A54144%2Fi6zi7dfSrSA%3D%2F
[+104578 ms] Skipping target: gen_localizations
[   +7 ms] complete
[   +8 ms] Performing hot reload...
[ +321 ms] Scanned through 552 files in 289ms
[   +3 ms] Syncing files to device Phone...
[   +2 ms] Compiling dart to kernel with 1 updated files
[   +5 ms] <- recompile package:app_id/main.dart 99d3e1e8-a157-48f7-8cf2-23f648cb8228
[   +1 ms] package:app_id/main.dart
[   +1 ms] <- 99d3e1e8-a157-48f7-8cf2-23f648cb8228
[ +233 ms] Updating files.
[ +265 ms] DevFS: Sync finished
[   +1 ms] Syncing files to device Phone... (completed in 509ms)
[        ] Synced 0.0MB.
[ +525 ms] <- accept
[   +5 ms] reloaded 1 of 810 libraries
[  +49 ms] Reassembling application
[ +604 ms] Hot reload performed in 1,991ms.
[   +4 ms] Performing hot reload... (completed in 2,024ms)
[   +3 ms] Reloaded 1 of 810 libraries in 2,053ms.
[+64641 ms] Skipping target: gen_localizations
[   +5 ms] complete
[   +2 ms] Performing hot reload...
[ +140 ms] Scanned through 552 files in 121ms
[   +1 ms] Syncing files to device Phone...
[   +1 ms] Compiling dart to kernel with 1 updated files
[   +3 ms] <- recompile package:app_id/main.dart 2f2a1f2e-13c0-4332-a4c8-d4e3b724cffe
[   +1 ms] package:app_id/main.dart
[   +1 ms] <- 2f2a1f2e-13c0-4332-a4c8-d4e3b724cffe
[  +68 ms] Updating files.
[  +51 ms] DevFS: Sync finished
[   +1 ms] Syncing files to device Phone... (completed in 127ms)
[        ] Synced 0.0MB.
[ +402 ms] <- accept
[   +3 ms] reloaded 1 of 810 libraries
[  +58 ms] Reassembling application
[ +547 ms] Hot reload performed in 1,266ms.
[   +4 ms] Performing hot reload... (completed in 1,284ms)
[   +3 ms] Reloaded 1 of 810 libraries in 1,301ms.
[+29859 ms] Skipping target: gen_localizations
[   +8 ms] complete
[   +3 ms] Performing hot reload...
[ +208 ms] Scanned through 552 files in 189ms
[   +4 ms] Syncing files to device Phone...
[   +2 ms] Compiling dart to kernel with 1 updated files
[   +6 ms] <- recompile package:app_id/main.dart 22aad4b0-9231-4330-9b45-1a6396cdacc4
[   +2 ms] package:app_id/main.dart
[   +2 ms] <- 22aad4b0-9231-4330-9b45-1a6396cdacc4
[ +154 ms] Updating files.
[  +68 ms] DevFS: Sync finished
[   +2 ms] Syncing files to device Phone... (completed in 237ms)
[   +1 ms] Synced 0.0MB.
[ +401 ms] <- accept
[   +3 ms] reloaded 1 of 810 libraries
[  +62 ms] Reassembling application
[ +591 ms] Hot reload performed in 1,498ms.
[   +4 ms] Performing hot reload... (completed in 1,516ms)
[   +3 ms] Reloaded 1 of 810 libraries in 1,537ms.
[+35869 ms] Skipping target: gen_localizations
[   +6 ms] complete
[   +2 ms] Performing hot reload...
[ +256 ms] Scanned through 552 files in 233ms
[   +6 ms] Syncing files to device Phone...
[   +2 ms] Compiling dart to kernel with 1 updated files
[   +7 ms] <- recompile package:app_id/main.dart 120c0d6a-5f65-42e9-b141-dd58b650eea8
[   +3 ms] package:app_id/main.dart
[   +3 ms] <- 120c0d6a-5f65-42e9-b141-dd58b650eea8
[ +136 ms] Updating files.
[  +48 ms] DevFS: Sync finished
[   +1 ms] Syncing files to device Phone... (completed in 201ms)
[   +1 ms] Synced 0.0MB.
[ +444 ms] <- accept
[   +3 ms] reloaded 1 of 810 libraries
[  +61 ms] Reassembling application
[ +546 ms] Hot reload performed in 1,505ms.
[   +3 ms] Performing hot reload... (completed in 1,525ms)
[   +2 ms] Reloaded 1 of 810 libraries in 1,545ms.
[+209476 ms]
                      ══╡ EXCEPTION CAUGHT BY FLUTTER FRAMEWORK ╞═════════════════════════════════════════════════════════
                      The following _TypeError was thrown during a service extension callback for
                      "ext.flutter.inspector.getRootWidgetSummaryTree":
                      type 'Null' is not a subtype of type 'String' of 'function result'

                      When the exception was thrown, this was the stack:
                      #0      _Location.file (package:flutter/src/widgets/widget_inspector.dart)
                      #1      _Location.toJsonMap (package:flutter/src/widgets/widget_inspector.dart:2844:15)
                      #2      _Location.toJsonMap.<anonymous closure> (package:flutter/src/widgets/widget_inspector.dart:2853:42)
                      #3      MappedListIterable.elementAt (dart:_internal/iterable.dart:412:31)
                      #4      ListIterator.moveNext (dart:_internal/iterable.dart:341:26)
                      #5      new _GrowableList._ofEfficientLengthIterable (dart:core-patch/growable_array.dart:188:27)
                      #6      new _GrowableList.of (dart:core-patch/growable_array.dart:150:28)
                      #7      new List.of (dart:core-patch/array_patch.dart:50:28)
                      #8      ListIterable.toList (dart:_internal/iterable.dart:212:44)
                      #9      _Location.toJsonMap (package:flutter/src/widgets/widget_inspector.dart:2854:9)
                      #10     InspectorSerializationDelegate.additionalNodeProperties
(package:flutter/src/widgets/widget_inspector.dart:3169:53)
                      #11     DiagnosticsNode.toJsonMap.<anonymous closure> (package:flutter/src/foundation/diagnostics.dart:1593:21)
                      #12     DiagnosticsNode.toJsonMap (package:flutter/src/foundation/diagnostics.dart:1608:6)
                      #13     _ElementDiagnosticableTreeNode.toJsonMap (package:flutter/src/widgets/framework.dart:4297:45)
                      #14     WidgetInspectorService._nodeToJson (package:flutter/src/widgets/widget_inspector.dart:1499:18)
                      #15     WidgetInspectorService._getRootWidgetSummaryTree (package:flutter/src/widgets/widget_inspector.dart:1684:12)
                      #16     WidgetInspectorService._registerObjectGroupServiceExtension.<anonymous closure>
                      (package:flutter/src/widgets/widget_inspector.dart:793:58)
                      #17     WidgetInspectorService._registerObjectGroupServiceExtension.<anonymous closure>
                      (package:flutter/src/widgets/widget_inspector.dart:792:17)
                      #18     BindingBase.registerServiceExtension.<anonymous closure> (package:flutter/src/foundation/binding.dart:597:32)
                      <asynchronous suspension>
                      ════════════════════════════════════════════════════════════════════════════════════════════════════
[  +73 ms]
           Another exception was thrown: type 'Null' is not a subtype of type 'String' of 'function result'

flutter doctor -v
flutter doctor -v
[√] Flutter (Channel stable, 2.2.3, on Microsoft Windows [Version 10.0.19043.1110], locale en-IN)
    • Flutter version 2.2.3 at C:\src\flutter
    • Framework revision f4abaa0735 (3 weeks ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\darshan\AppData\Local\Android\Sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = C:\Users\darshan\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.9.4)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.9.31205.134
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 4.1.0)
    • Android Studio at C:\Program Files\Android\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 Runtime Environment (build 11.0.8+10-b944.6842174)

[√] VS Code (version 1.58.1)
    • VS Code at C:\Users\darshan\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.24.0

[√] VS Code, 64-bit edition (version 1.58.2)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.24.0

[√] Connected device (4 available)
    • ASUS X01BDA (mobile) • K2AAGF000218AW8 • android-arm64  • Android 9 (API 28)
    • Windows (desktop)    • windows         • windows-x64    • Microsoft Windows [Version 10.0.19043.1110]
    • Chrome (web)         • chrome          • web-javascript • Google Chrome 91.0.4472.124
    • Edge (web)           • edge            • web-javascript • Microsoft Edge 91.0.864.70

• No issues found!

cc: @jacob314

Facing the same issue

Facing the same issue

same here


Add gif demonstrating how to launch SteamVR settings

Adds a new gif that demonstrates how to launch the WMR SteamVR settings experience in-headset.
Note: this isn't yet exposed in our docs. It'll first be used for some beta release notes, but will eventually be used in updated documentation once the update moves to the release channel.

Docs Build status updates of commit 121ff3f:
:clock10: Pending: waiting for processors (19 builds ahead of you)
:warning: Docs Build is busy, currently there are 19 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 121ff3f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/images/steamvr-launch-settingsux.gif
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


react-test-renderer's createNodeMock does not work as expected

Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
Environment:
  OS: macOS Sierra 10.12.6
  Node: 8.6.0
  Yarn: 1.1.0
  npm: 5.3.0
  Watchman: 4.7.0
  Xcode: Xcode 9.2 Build version 9C40b
  Android Studio: Not Found

Packages: (wanted => installed)
  react: 16.2.0 => 16.2.0
  react-native: ^0.53.0 => 0.53.0

Steps to Reproduce

react-native init NodeMockTest

cd NodeMockTest

Open __tests__/App.js and replace with this code:
import 'react-native';
import React, { Component } from 'react';
import { View } from 'react-native';

// Note: test renderer must be required after react-native.
import renderer from 'react-test-renderer';

class Test extends Component {
  componentDidMount() {
    this._root.test();
  }

  render() {
    return (
      <View ref={component => (this._root = component)} />
    );
  }
}

it('renders correctly', () => {
  const tree = renderer.create(
    <Test />,
    {
      createNodeMock: element => {
        return {
          test: () => { console.log('it works'); }
        };
      }
    }
  );
});

Run npm test

Expected Behavior
I expect the test to not throw an error
Actual Behavior
Test fails with:
TypeError: this._root.test is not a function

Screenshot:

Reproducible Demo
Please see steps above for code.
I was not able to reproduce this issue with Expo.  Please see https://snack.expo.io/SkpvqjfwM.

I'm not very familiar with this - is it supposed to work? Do you have a reference if so?

@hramos I learned about createNodeMock here https://reactjs.org/blog/2016/11/16/react-v15.4.0.html#mocking-refs-for-snapshot-testing

This worked for me:
test('Compare snapshots', () => {
  const component = renderer.create(<ErrorMessage {...errorMessageData} />, {
    createNodeMock: () => ({}),
  });

  const tree = component.toJSON();
  expect(tree).toMatchSnapshot();
});


Missing HTML required

missing data for the HTML5 required
Example:
<input type="text" required>

Already covered by http://caniuse.com/#feat=form-validation though that should probably be made more explicit.

Now also covered by https://caniuse.com/#feat=mdn-api_htmlinputelement_required so closing this issue.


Set Files as defaul file explorer

What's the Problem?
I'd like to have an option to set files as the default file explorer, I haven't been able to do so.
Solution/Idea
An option on the settings menu to set Files as the default file explorer.
Alternatives
N/A
Priorities

Capability
Priority

This proposal will allow developers to accomplish W
Must

This proposal will allow end users to accomplish X
Should

This proposal will allow developers to accomplish Y
Could

This proposal will allow end users to accomplish Z
Won't

Files Version
<IP_ADDRESS>
Windows Version
none
Comments
None

The option to make Files the default is only available in the sideload version available on our website.


Sidecar The host list cannot be viewed after startup

There are no errors in the query sidecar log

What's your version of thanos query and how do you configure your sidecars to your thanos query? Using the --store flag or --endpoint flag?
I am not 100% sure about whether targets federation is enabled automatically or not.

Hi,my thanos version is 0.24.0-rc.2，configured --store

I think you can either switch to endpoint flag or use target flag to specify sidecar ip. This should work for targets federation

Sorry, you can provide yaml configuration of endpoint. I don't quite understand the official website. Thank you

I saw an error
tset msg="update of node failed" err="getting metadata: fallback fetching info from <IP_ADDRESS>:1721: rpc error: code = DeadlineExceeded desc = context deadline exceeded" address=<IP_ADDRESS>:1721

@ThorManager  So what thanos query version are you using? If you are using the latest release then I think query targets can be discovered automatically. Can you please try it?
Otherwise, the only way I can think of is to add --target flag with your sidecar addresses manually.

Close as this I think this is just a configuration question. @ThorManager Let me know if this doens't work for you and feel free to reopen the issue.


Column G1 and G2 Removal

Excluding G1 and G2 from the dataset creates duplicate rows, but including them doesn't. I don't know why. The duplicates recorded don't look like duplicates to me so I went with what was already working.

This is with regards to the pandera duplicate checks


Help New Install Gitlab and other domains

Hi, all,
I believe I done an error...
I follow instructions to install gitlab on my server
" Install a GitLab CE Omnibus package on
Ubuntu 14.04 "
I put my URL on which I want to use gitlab
( nano /etc/gitlab/gitlab.rb
and I wrote my external_url parameter)
Then I reboot, and when I go to the URL I put in it: Excellent, I reach my new gitlab installation :-) !
I change login and password... Again excellent: All seems to work well
But I've got a big trouble: All my other domains (On the same server) go at the login page of gitlab !
How can I recover access to other domains ?

Resolved after apply of:
memnochxx  2 minutes ago
Omnibus installs its own instance of nginx, you can continue to use your own instance by starting at the "Using a non-bundled web-server" section as detailed here: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/nginx.md


Python 3.7, image.py file and invalid syntax error.

In the WarpedImage class (image.py) :
on line 50, the syntax from python 3.8 is used and in version 3.7 causes an error:
print(f "Loaded {self.basename} at {size=} --> {resized=}")
For python version 3.7, I removed the "=" characters.
print(f "Loaded {self.basename} at size={size} --> resized={resized}")
Syntax using the equal sign (=) inside f-string was introduced in Python 3.8

Python 3.7 is end of life as of 2023 and not supported by this software (which will require 3.9+ as of the next release). Apologies if this is not communicated clearly, I have not been doing well keeping up with maintaining this software but am making an effort to make up for it :slightly_smiling_face:

Source

I can recommend uv (pip install uv) if you are having difficulties with Python version updates, it will be able to set up a given version of Python for you per-project, with minimal fuss, in a virtual environment ("venv"). There is also miniconda3, and other options you can find guides to online.

See these uv docs for info on how to use uv.


Support for dependabot, Update GitHub-Actions

Track dependencies using dependabot.
Update all the GitHub Actions to their latest release.

@turettn Quick PR to keep dependencies up-to-date.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.72%. Comparing base (d76eaf0) to head (f397236).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #44   +/-   ##
=======================================
  Coverage   97.72%   97.72%
=======================================
  Files           3        3
  Lines          44       44
=======================================
  Hits           43       43
  Misses          1        1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Thanks for the PR.
In general, this package is fairly light on dependencies - we've only been bumping the minimum fastapi version when something (e.g. the SwaggerUI version) changes, but I'm curious to see what this will do.

@turettn It probably won't update anything right now since I already update the GitHub Actions in the PR, and there's no pip dependencies declared. Fastapi ver is managed outside of python's scope via the ENV var.
Should the min api version of FastAPI be 0.100.0 now? Current is 0.115.x


onDidScrollChange missing in IDiffEditor

monaco-editor version: 0.13.1
Browser: N/A
OS: N/A
ICodeEditor has a method onDidScrollChange to be notified on scroll.
IDiffEditor should have it too. Ideally it would live in the common parent IEditor.

Nevermind. This was available under getModifiedEditor, and that's enough.


LIKQ: 0-hop traverse action

This is particularly useful for situations, where the starting nodes come from an index, but we want logic to be applied.

moving to backlog -- focusing on GM


Unclear error message when passing cell-array to controller object without outputs

When passing a cell array of parameter values to a controller object without requesting output arguments, e.g. (based on the mpc_parametric_inequalities.m example)
controller{ {X(:,k), r1, r2} }

the call fails with the cryptic error message
Error using numel
Bad subscripting index.

On the other hand, handing the parameter values to the controller not as a cell array, i.e.
controller{ X(:,k), r1, r2 }

works and prints the values of the first two output arguments (requested solver output and exitflag) to the console like so:
>> controller{ X(:,k), r1, r2 }

ans =

  -6.5191e-07

ans =

     1

A solution would be to detect the error when calling the controller object and printing an appropriate error message. Probably #11 should be resolved first since it seems related.

This was a bug. It was fixed with commit 85040617dcc4e9fe4796bc6c3bfec8c1a6313b98. Had something to do with the way Matlab determines the output size when indexing a class.


question on weblate

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
hello, in your last commit the "Custom Monitor Type" is missing in the en.json translation file, I would like to know if it is necessary to make a committee to add the key or if there was a way to add it via weblate
🐻 Uptime-Kuma Version
1.19.6
💻 Operating System and Arch
debian
🌐 Browser
Chrome
🐋 Docker Version
No response
🟩 NodeJS Version
No response

Thanks, I just added this key in Weblet, I think only admin can add new keys. Or you can make a pull request here, in case I forgot to make them in en.json.

OK thank you for your answer

I guess the French one is by yours? #2676
As it didn't show your profile in the comment. If you want to show your contribution on GitHub, maybe you have to match the email address, I guess.

surely yes, I will put the right address for the comit. thank you


Small changes to the predict CSS

Hi there hammerfrenzy, it appears that you did not provide a description for your pull request. So I'm closing this.


Cant get it to work on iOS

Hey there,
I try to implement a chat where the user can record voice messages.
I added your plugin via yarn add capacitor-voice-recorder and I have the following lines in my Info.plist:
<key>NSMicrophoneUsageDescription</key>
<string>To Record Audio Messages in Chat</string>

In my Vue file I have:
import { Plugins } from '@capacitor/core'

const { VoiceRecorder } = Plugins

VoiceRecorder.canDeviceVoiceRecord().then((result) => { alert('works') })

But VoiceRecorder is undefined on an iOS Emulator. There are other Plugins available, but not this one.
I guess there is something missing in the README. Because for Android you added the Plugin Class in the Android code.
UPDATE:
I'm using Capacitor 2.4.2 and it's also not working under Android. On Android's MainActivity.java it says:

Cannot resolve symbol "tchvu3"

On this line import com.tchvu3.capvoicerecorder.VoiceRecorder;
Can you please help me?
Thanks in advance
Nick

Update 2
Got it working in Android now, but had to add the following line to app/build.gradle:
dependencies {
    ...
    implementation project(':capacitor-voice-recorder')
}

But still no luck for iOS

I have updated the plugin to capacitor v3.
please let me know how it is or if you find any bug


Update [Chocolatey] API endpoint URL

Old API endpoint

returns bogus redirects for some reason
is no longer the Chocolatey Community Repository

Resolves #7931
See chocolatey/home#159

Warnings

:warning:
This PR modified service code for chocolatey but not its test code. That's okay so long as it's refactoring existing code.

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @slonopotamus!

  Generated by :no_entry_sign: dangerJS against d4a8bd8b553e88ba3cebf726e63203d75821f494

I have absolutely no idea whether this change is actually going to fix anything. But this is was upstream said to use and I'm not seeing wrong values from this endpoint currently (though still see them from old one).


[FLINK-16702] develop JDBCCatalogFactory, descriptor, and validator for service discovery

What is the purpose of the change
commit 1: develop JDBCCatalogFactory, descriptor, and validator for service discovery
commit 2: rename a class
commit 3: connect PgCatalog to blink planner
Brief change log
commit 1:

add JDBCCatalogFactory, JDBCCatalogDescriptor, JDBCCatalogValidator
add corresponding UTs

commit 3:

connect pg catalog to blink planner
added e2e tests to retrieve pg metadata and read/write pg tables

Verifying this change
newly added UTs
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (yes)
If yes, how is the feature documented? (docs)

docs will be added later

cc @JingsongLi @wuchong

thanks for reviewing. fixed. merging


Integrate into compiler

The match clause accepts any type of literal, which is syntaxically similar to phf maps. I feel we could simply code it in the compiler to make an intelligent match.

This seems like an issue for rust-lang/rfcs rather than here?

I'm not sure if it should have a RFC, since it's completely transparent to the user.

rust-lang/rust then maybe - in either case the decision that would be made is related to rustc not phf.

rust-lang/rust#39525

Great, thanks!


Kingtraceyj patch 1

Changed
Updated typography token in style section for body text from body-compact-01 to body-01 to match what we are doing in toggletip.

@kingtraceyj seems like we've got some issues here with a lot of other stuff coming into this PR. Maybe try closing this PR and try opening a clean one again?

yikes. will do.


WindowsPath can not handle colons (:) in template download

Hello,
the current implementation of the template download does not work under Windows.
The problem is the first colon in a URL, when the filename should be retrieved via the Path API.
java.nio.file.InvalidPathException: Illegal char <:> at index 5: https://github.com/asciidocfx/Asciidoc-Book-Demo
	at java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
	at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
	at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
	at java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92)
	at java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:232)
...

As a simple workaround, the first colon is removed if the location start with http: or https:.
I am not sure if this is the best way, but handling this correctly, not knowing if the String is a WindowsPath, PosixPath or URL is quite hard.

I think we should resolve the proper path for each condition separately, instead of replacing the colon(:).

Closing as this was resolved with https://github.com/asciidocfx/AsciidocFX/commit/4414eea3647eef29af49dd93349a20631e0bdfac
Thank you.


[Doc][Workflow] Add docs for workflow execution type

Search before asking

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

Description

Currently we have no docs to explain what these four workflow execution types mean. It is necessary that we have some brief explanations for them in docs.

https://github.com/apache/dolphinscheduler/blob/7c0c1f4b78ffafec7f4afa8758d41b8fc8c9db8f/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/enums/ProcessExecutionTypeEnum.java#L24-L30
Documentation Links

https://dolphinscheduler.apache.org/en-us/docs/latest/user_doc/guide/project/workflow-definition.html

Are you willing to submit a PR?

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

Code of Conduct

[X] I agree to follow this project's Code of Conduct

WIP


Release v1.12.0

Description

Linked Issues
Preview / Screenshot

Photo
Video

Checklist

[ ] I have followed commit guideline to create PR title (https://conventionalcommits.org/en/v1.0.0/)

📝 Changed routes:

/reset-password

(view full size)

Commit 76524bee376b00817f8b3ccf97ec4d573ef937d6 (https://spoker-iwm1u4g1y-sozonome.vercel.app).


Different behavior using servers.yml (Get suddenly asked for a password)

Q
A

Issue Type
Bug

Deployer Version
master

Local Machine OS
Ubunut 14.04 LTS

Remote Machine OS
N/A

Description
I'm using deployer with identity files to authenticate to the remote hosts, which works as expected. I don't get asked for a password, when deploying. Now that I want to exclude the servers configuration to a yaml file as described in the documentation, I get asked for a password when running $ deb deploy …. The deploy process continues independent of what I type in as password.
I would expect that I don't get asked for a password as I don't get ask with the default way of configuring the server.
Steps to reproduce
See below
Content of deploy.php
This is the basic deploy.php with server directly defined:
<?php
require 'recipe/composer.php';

set( 'repository', 'git@bitbucket.org:vendor/project.git' );
env( 'release_name', date( 'Y-m-d-H-i-s' ) );
set('keep_releases', 3);

set( 'shared_files', [ '.env', 'robots.txt' ] );
set( 'shared_dirs', [ 'wp-content/uploads' ] );

env('composer_options', 'install --no-dev --verbose --prefer-dist --optimize-autoloader --no-progress --no-interaction');

server( 'testing.vendor', 'myhost.de', 22 )
    ->user( 'xxxxxx' )
    ->identityFile( '~/.ssh/id_rsa.pub', '~/.ssh/id_rsa' )
    ->env( 'deploy_path', '/var/www/project' )
    ->env( 'branch', 'master' );

This is the deploy.php with the included servers.yml:
<?php
require 'recipe/composer.php';

set( 'repository', 'git@bitbucket.org:vendor/project.git' );
env( 'release_name', date( 'Y-m-d-H-i-s' ) );
set('keep_releases', 3);

set( 'shared_files', [ '.env', 'robots.txt' ] );
set( 'shared_dirs', [ 'wp-content/uploads' ] );

env('composer_options', 'install --no-dev --verbose --prefer-dist --optimize-autoloader --no-progress --no-interaction');

$server_config = __DIR__ . '/deploy-servers.yml';

serverList( $server_config );

Content of servers.yml:
testing.vendor:
  host: myhost.de
  port: 22
  user: xxxxxx
  identity_file:
    public_key: ~/.ssh/id_rsa.pub
    private_key: ~/.ssh/id_rsa
  deploy_path: /var/www/project
  branch: master

Output log
Output for server defined in deploy.php
$ wp-content/vendor/bin/dep deploy testing.vendor -vvv
➤ Executing task deploy:prepare
↳ on [testing.vendor]
> echo $0
< bash
<
> if [ ! -d /var/www/... ]; then mkdir -p /var/www/...; fi
> if [ ! -L /var/www/... ] && [ -d /var/www/... ]; then echo true; fi
> cd /var/www/... && if [ ! -d releases ]; then mkdir releases; fi
> cd /var/www/... && if [ ! -d shared ]; then mkdir shared; fi
• done on [testing.vendor]
✔ Ok [784ms]

Output for server defined in servers.yml:
$ wp-content/vendor/bin/dep deploy testing.vendor -vvv
➤ Executing task deploy:prepare
↳ on [testing.vendor]
<EMAIL_ADDRESS>Password:
> echo $0
< bash
<
> if [ ! -d /var/www/... ]; then mkdir -p /var/www/...; fi
> if [ ! -L /var/www/... ] && [ -d /var/www... ]; then echo true; fi
> cd /var/www/... && if [ ! -d releases ]; then mkdir releases; fi
> cd /home/www/... && if [ ! -d shared ]; then mkdir shared; fi
• done on [testing.vendor]
✔ Ok [3s 390ms]
...

Are you miss password param?
In Deployer document:
prod.a:
  host: a.domain.com
  user: www
  identity_file:
    public_key:  /path/to/public.key
    private_key: /path/to/private.key
    password:    optional-password-for-private-key-or-null
  stage: production
  deploy_path: /home/www/

I tested both, with (an empty) and without password:
testing.vendor:
  host: myhost.de
  port: 22
  user: xxxxxx
  identity_file:
    public_key: ~/.ssh/id_rsa_vendor.pub
    private_key: ~/.ssh/id_rsa_vendor
    password:
  deploy_path: /var/www/...
  branch: master

I think that when I'm using the servers.yml the behavior is always to ask for the key passphrase whether the key is already unlocked in the current user session or not.
If I start direct with the servers.yml as config, I always have to use the correct pass-phrase for the key to work.

I know it's been a couple of months but I ran into this briefly and what I used to get around it was to set password: "", null or nothing wouldn't work.

Even if I set password: "" I get asked about the password.

I'm using the 3.3.0 release and not master if that makes a difference. I did have issues with the id_rsa pair using the full format. This is an example of what I've gotten to work:
production:
  host: server_ip_address
  user: username
  identity_file: ~
  stage: production
  deploy_path: "/var/www/html"
  branch: master

Notice identity_file is just ~ with none of the child sections. Specifying id_rsa specifically caused weird detection issues where it wouldn't find the right ~/.ssh/id_rsa file.
This is an example of using a specified key that is not id_rsa:
production:
  host: server_ip_address
  user: username
  identity_file:
    public_key: "~/.ssh/custom_key.pub"
    private_key: "~/.ssh/custom_key"
    password: ""
  stage: production
  deploy_path: "/var/www/html"
  branch: master

I'm using the same deployer version for both without the ssh2 extension. I didn't see that in your snippets but I had problems getting that working at all, which I just chalked up to user error.

I think in that case:
  identity_file:
    public_key: "~/.ssh/custom_key.pub"
    private_key: "~/.ssh/custom_key"

dep must to ask for password. So if you don't want it, you need to specify it. Or if you password is "" empty string:
  identity_file:
    public_key: "~/.ssh/custom_key.pub"
    private_key: "~/.ssh/custom_key"
    password: ""


Adopt new Token representation

As discussed in HowItWorks.md#notes, there are ways that we can significantly reduce memory usage by moving away from objects for Tokens. This issue tracks progress on that work.

Not sure I understand how you want to handle this on 32-bit. If you want to drop the Token object entirely (rather than just reduce the number of properties on it), that means anything storing a token will now become two properties, right? Given that tokens are directly stored inside node properties, that seems problematic.

@nikic - yep, the idea is to completely get rid of the object representation, so in 32-bit mode, it would turn into two properties. And yes, it will most certainly not be pretty when you look under the hood, but hopefully we can smooth over the API using __get and __set methods.
That said, I haven't gotten around to fully prototyping the idea, so I could be overlooking something. In particular, I'd like to better understand the overhead of __get/__set.
Thoughts?

__get and __set are very slow. From a quick check on 7.1 __get is ~5x slower than a declared property lookup and ~2.5x slower than a normal method call. On 7.0 it's ~6x slower than a property lookup. (The reason is, to a large part, that __get has to reenter the VM.)

@nikic darn... yeah, that's what I was worried about... that's worse than calling into a native extension. And just so I can fully wrap my head around this - why is it that __get and __set memory overhead, unlike normal methods?

Also, re: native extensions... how much practical complexity would that introduce if we chose to go that route? We want the parser to be able to run on a variety of machine configurations, so just how difficult might distribution be, assuming we want to ship on Linux + Mac + Windows and support PHP 7.X? Are there usually a lot of breaking changes between versions of PHP, or is it relatively stable?

why is it that __get and __set introduce the same memory overhead as a property, unlike normal methods?

Magic getters have per-property recursion guards, which means that if you're in __get('x') then an access to $this->x will access the actual property on the object instead of recursing. Accessing $this->y would still call __get('y'). Similarly $this->x = 42 would still call __set('x', 42), as this is gated on both the property name and the magic method type. In PHP <= 7.0 this was managed using a hashtable from property names to flags specifying whether that property is currently being __get'ed etc. (These entries are not removed after the magic method call, so the memory is not reclaimed.) In PHP 7.1 an optimization was added to avoid the HT in the most common case where there are no recursive magic method calls. In both cases the additional state is stored in an extra property slot, which is only allocated if __get etc are declared on the class.

As to native extensions: For this type of extension (no interaction with engine internals) the API should be relatively stable for 7.x. If there will be breaking changes, they will be minor.
For me extensions usually work cross-platform without additional work. There is a service that builds extension DLLs for Windows, as Windows users generally can't compile extensions themselves (setting up a Windows extension dev environment is something of a PITA).
For a native extension my concern wouldn't be with the development side of things, but rather with the end-user side. Having a non-core extension dependency is a pretty big hurdle to adoption, so if you go down this route, it would be best to make the extension optional.


Apm share ciphertext and decode

What

Implement decoder logic
CMake can now produce two separate applications depending on user input

This also required the powershell to update and support this

Boost has been removed entirely
Common data for the program is now shared thru temporary file i/o
After re-examining the requirements user input scanning has been deprecated and replaced with command line args

Why

We can't complete the project without a decoder
We need the ability to build two separate applications in the same project
I am not familiar enough with boost to leverage the shared memory in the given timeframe despite my efforts
See above, I do know how to do file i/o so at least can fall back on this
I think I misinterpreted originally this doesn't need to be a continually running application

There is some debug and cleanup to be done as well as code hardening but this is functional and that constitutes a break.


s/Track/Follow/ in strings

I'm not 100% sure which of these can reach the user, but I definitely hit "Track not confirmed"
r? @patrickxb

Circle passed, github api rate limited. Merging.


Should omitempty check for Zero value when the field is a pointer?

Hi - just wanted to get your take on the following behavior.
If a structure contains a pointer to (for example) an integer - it looks like the omitempty directive looks at both the pointer value (whether it is nil) and whether the pointed-to value is Zeroed.  I would personally have expected for a pointer that omitempty would just refer to whether the pointer was nil.
For example, suppose you have a structure with a pointer to an int - where the pointer may be nil (in which case you don't want it validated) - or it might point to a integer where you want to check it's range is, for example, 2-255.  I don't think this is possible at the moment without defining your own validator.
I would have expected a validation tag of "omitempty,gte=2,lte=255" to do the trick, but a value of 0 hits the omitempty directive and the gte tag is never used.
Confirmed with the following script:
package main

import (
    "fmt"
    "gopkg.in/go-playground/validator.v8"
)

type Test struct {
    MyInt *int `validate:"omitempty,gte=2,lte=255"`
}

func main() {
    val1 := 0
    val2 := 256
    t1 := Test{MyInt: &val1}   // This should fail validation on gte because value is 0
    t2 := Test{MyInt: &val2} // This should fail validate on lte because value is 256
    t3 := Test{MyInt: nil}  // This should succeed validation because pointer is nil

    config := &validator.Config{TagName: "validate"}
    validate := validator.New(config)
    err := validate.Struct(t1)
    fmt.Printf("t1: %v\n", err)
    err = validate.Struct(t2)
    fmt.Printf("t2: %v\n", err)
    err = validate.Struct(t3)
    fmt.Printf("t3: %v\n", err)
}

Roberts-MacBook-Pro-2:calico-go rob$ bin/temp
t1: <nil>
t2: Key: 'Test.MyInt' Error:Field validation for 'MyInt' failed on the 'lte' tag
t3: <nil>

I will take a look at this asap

Hey @robbrockbank
ok I know why this is happening this way, let me explain:
here is from the docs:
Omit Empty
Allows conditional validation, for example if a field is not set with a value (Determined by the "required" validator) then other validation such as min or max won't run, but if a value is set validation will run.
Usage: omitempty

so the key there is determined by the "required" validator and as I have mentioned before required will become nondefault in v9 someday; so the reason it's not failing on gte is because required is seeing 0 as the default value for the int INSTEAD OF nil. So coincidentally the only reason there is an issue is because the value is 0, any other number would have proceeded as expected.
I totally agree, this is a BUG and should have behaved as you expected! I plan to keep track if the field in question's base type was a pointer, and if it was and we get to the lower omitempty logic then don't have to check omitempty because if we got there, there is already a value.
I think this also may be an issue if MyInt was an interface{}
Thank You! Very Much! for reporting @robbrockbank this is the first legit bug found and to be fixed in validator in quite some time; I will have the FIX in before the end of the day.

Hey @robbrockbank this should be fixed now via release v8.17.3
please update and let me know if this is fixed for you and we can get this issue closed! 😄

Hi @joeybloggs!  Wow, that was a fast turnaround, thank you!  Yes I've confirmed with my example above that solves that problem.  Please feel free to close :-)
[probably not the right place to ask, but ... ] What's the timeline for updates to get into gopkg.in ?  I can pull from github, but all my imports in my code are pointing to gopkg.in ... of course perhaps the two are interchangeable in some golang magic that I'm not aware of (I'm a bit of a go novice I'm afraid).

No problem @robbrockbank I not only maintain but actively use validator in a bunch of enterprise applications, so if there's a bug I try to squash it immediately for everyone, including myself ;)
ok gopkg.in, I'll try to answer as best I can.
So first off ''go ge" when hitting a gopkg.in URL is sent back what is essentially equivalent to , but not the same, as a redirect to an actual brach of your code.
So when you have more created any releases in your code, gopkg.in will grab the latest code in your repos default branch ( as I recall, you don't normally use it this way so...)
so you setup a branch in your code say v1 then go to your releases tab in GitHub and create a release for branch v1. Now here's the most important part you have to use semantic versioning so your tag has to be in the form v1.0.0, or going.in will not recognise the release. And as soon as you do the gopkg.in knows to redirect to that specific branch with that release.
So in short to answer your question, gopkg.in will see the new released version as soon as you create it. Think of it as just redirecting go get to your released version. As for the godocs that gets refreshed at least once a day, but can force a manual refresh from the bottom of the godocs screen.
There is a bunch of documentation on Google.in here that may be more helpful http://labix.org/gopkg.in
Ya if you ever have any questions and don't want to create an issue, just contact me<EMAIL_ADDRESS>

Hi, this issue is still not fixed in v10


Image files cause WrongEncodingError

I have a folder that contains static content, both html and images. When the html references an image, I get a WrongEncodingError. This stack post mentions the problem in detail, including a "fix" but it seems like this should work out of the box.
http://stackoverflow.com/questions/14860295/how-can-i-configure-high-voltage-gem-to-serve-up-static-images

@AMPearlman is there a reason you're not putting images into the app/assets/images directory? Thats the standard location for any static assets such as JS, CSS, and Images.

Yes, here's my use case: I host several websites. I built a rails app that allows users to update their sites and publish html files. I use webalizer to generate stats for each site. Those stat files are static html and pngs. I'm using High Voltage to display those stat files within the rails app (which requires the tweak mentioned in the stackoverflow entry to work).

Serving images is out of scope for high voltage.
You could subclass the controller and do something custom if you need it to be routed that way ... but a better solution seems to be use another controller/route (if you can't use asset pipeline) to handle the image assets.


Better recording/streaming

The recording quality was pretty low in the past, would be good to get some better hardware (lapel mic, vga video capture).
If anyone has some particular suggestions, please comment

Words from my wife Jenny who is in the "filming events" biz:

The microphone you've got should be fine, it's just not close enough to the speakers mouths.
Try attaching the microphone to the podium so that it's closer to the speakers mouths and won't get knocked by their feet.
Alternatively, there are some lapel mic's available that can just be plugged into a smartphone, which could work nicely as a cheap lapel mic solution -- but they're not always amazing quality, and might have a background hiss.
With the video, the hardware is fine, but I would personally have a shot on a tripod from behind the audience -- this would allow you to capture audience participation, such as hand raising, etc. (and it's probably a bit more flattering angle of the speaker!)

What recording quality are you talking about? Do you mean the YouTube hang outs on air live steam stuff, or something else?

I would go for a lapel mic than one fixed on the podium as we've had a lot of people that walk around while giving talks.


Set gravity to zero and turn off animateGravity in SingleTrackWithEngine and TwoTrackWithDifferentialGear

The animateGravity arrow looks wrong. One would expect the arrow to point down into the ground. See attached screenshot.

The other examples in PlanarMechanics.VehicleComponents.Examples are using PlanarWorld planarWorld(g = {0, 0})

The gravity was accidentely turned on. It should have been disables. It is fixed with pull request #65


'auth_token' not working

Problem:
'auth_token' parameter cannot be used even if 'api_key' is not set.
This is because in L87:
        api_key = api_key or os.environ.get("ANTHROPIC_API_KEY", "")

api_key is set to "" by default instead of None.
Such that,
    @property
    def _api_key_header(self) -> dict[str, str]:
        api_key = self.api_key
        if api_key is None:
            return {}
        return {"X-Api-Key": api_key}

will return {"X-Api-Key": ""} instead of {} as expected.
Therefore,
    @property
    def auth_headers(self) -> dict[str, str]:
        if self._api_key_header:
            return self._api_key_header
        if self._auth_token_bearer:
            return self._auth_token_bearer
        return {}

will return {"X-Api-Key": ""} instead of {"Authorization": f"Bearer {auth_token}"} as expected.
https://github.com/anthropics/anthropic-sdk-python/blob/2a99183e0fc241a2502aff61723f518a095dc8d8/src/anthropic/_client.py#L87-L131
Solution:
change L87 to
api_key = api_key or os.environ.get("ANTHROPIC_API_KEY", None)

Thanks for the bug report! We've pushed a fix for this that will be included in the next release.

https://github.com/anthropics/anthropic-sdk-python/releases/tag/v0.3.7 includes this fix.


community[minor]: DeepInfra embeddings integration #1

Description
Implemented a new embedding integration that makes DeepInfra's embedding models available on langchainjs. A new class named DeepInfraEmbeddings is created, which wraps the inference API.
This PR includes an example and integration tests related to the newly implemented class. Apart from the new integration's configuration, the original open-source components are intentionally left unchanged to avoid introducing any breaking changes.

Thank you, sorry for the delay!

@jacoblee93 Thanks for the feedback!

Looks good, can you add a documentation page under docs/core_docs/docs/integrations/text_embedding/ to accompany the examples though?

Thanks @jacoblee93 , I updated the documentation.

Thank you!


[composer] mobile sync failure after returning from 10m sleep

had a composer space shared between ios safari and desktop chrome, and the mobile client went out of sync after it resumed from a 10m sleep. It came back from the lockscreen straight into the composer safari tab and was responsive but writes weren't propagating in either direction.

Seems likely that webrtc connection is being shutdown when device is asleep and nothing is re-initiating that connection when the device wakes up


Tooltips steal focus

Godot version
80baa13
System information
W10
Issue description

Steps to reproduce

Open some dialog (e.g. Add Node dialog)
Hover over something with a tooltip
Tooltip appears
Your dialog loses all focus

Minimal reproduction project
No response

Seems like regression from #58420, should be fixed by #58461 or #58490.

Fixed by #58490


HTTP Router for EventSource and EventStream

It would be of benefit to be able to route EventSink and EventSource calls over the public internet.
In order to do this we should build an http-router that has proxies for EventSink (Publish) calls and EventSource (Subscribe) calls.
Publish can be done by using futures over HTTP POST routes - however Subscriptions are more tricky requiring events to arrive from the source asynchronously.
In this case it is necessary to build a Proof of Concept for the http router (https://github.com/NigeWarren/http-router-poc) in which we can implement one or a number of 'push from server' protocols in order to test that both the protocol can work for the Subscriptions and that it is possible to correctly clean up resources in eh server and in the downstream event source that the server is connected to.

Security - Because the server will be used to route traffic back to a corporate infrastructure it must be possible to apply security features that are required by these enviroments ion order to gain successful deployments of the router.

Merged implementation written in Scala and using Netty to support standard HTTP and to handshake upgrade connection to WebSocket protocol.
https://html.spec.whatwg.org/multipage/web-sockets.html
Web sockets are used to carry Async Event Source events back to the subscribing client implementation of the HttpEventSource subscriptions

PRs #177 and #178


Add Quiet Mode And QuietOption

Add Quiet mode to disable all output generated by the script and add QuietOption to set it.
The QuietMode can be
- 1 : for a soft quiet mode (Only warnings and errors)
- 2 (default) : for a complet quiet mode
Examples :

Normal command : Invoke-HardeningKitty -Mode Audit -FileFindingList .\lists\finding_list_0x6d69636b_machine.csv
With Quiet option (mode 2 by default) : `Invoke-HardeningKitty -Mode Config -FileFindingList .\lists\finding_list_0x6d69636b_machine.csv -Quiet'
With soft Quiet option = Invoke-HardeningKitty -Mode Config -FileFindingList .\lists\finding_list_0x6d69636b_machine.csv -SkipMachineInformation -Quiet -QuietOption 1

Thanks for the PR and the input. I have been thinking about fundamentally revising the output and writing of reports/logs and will include a slient mode as a feature. It's already complicated at the moment and with your changes it will be even more complex. However, I would like to simplify output management.    Are you meaning quiet  instead of QuiteMode ? (Meaning you want the output to be more quiet or something).  please do not introduce spelling errors in the syntax.
And consider: PowerShell has a default verbose properties, and write-verbose.  So maybe you are requesting the script to put more output in the Verbose channel that you can enable or disable as you like..

in addition...
 if ($Quite -eq 0) {
You specify $Quite as a switch, meaning it is a boolean variable. Thus you should compare the variable with a boolean, not with an integer.
(Apart from the fact that you typed  $Quite  but mean: $Quiet

@0x6d69636b

Thanks for the PR and the input. I have been thinking about fundamentally revising the output and writing of reports/logs and will include a slient mode as a feature. It's already complicated at the moment and with your changes it will be even more complex. However, I would like to simplify output management.  Are you meaning quiet instead of QuiteMode ? (Meaning you want the output to be more quiet or something). please do not introduce spelling errors in the syntax.

Yes sorry, it's a QuietMode. It was a big mistake

And consider: PowerShell has a default verbose properties, and write-verbose. So maybe you are requesting the script to put more output in the Verbose channel that you can enable or disable as you like..

Yes but I'm looking for the exact opposite of the verbose properties. I want less outputs.

You specify $Quite as a switch, meaning it is a boolean variable. Thus you should compare the variable with a boolean, not with an integer.
(Apart from the fact that you typed $Quite but mean: $Quiet

Fixed.


Create random N Flag tests

There are multiple combinations for flags to be built and the flags testing suite can't cover all of them.
Ideally we could have a flag generator that builds a random valid flag to a maximum depth, run generatemodel with the flag, then try and compile the elm program.
We could also generatemodel for n programs and then compile all of them with elm make Prog1 Prog2 ...

Created a flag fuzzer and it surfaced some super spicy bugs which is fantastic!
Tracking in fuzz-flag-tests branch

I've fixed all the bugs except the duplicate keys weirdness.
I'm going to have to build my own generator so I can reproduce the weirdness and see wtf is happening.

Gottem!
Generated these keys: ['we6', 'we6\n', 'evMZXRirBVVv9Os', 'we6']

The issue is in the space character, the fuzzer isn't removing spaces like we do in the actual implementation.


pre-commit: use python for local hook

shouldn't need to use conda for a single Python dependency
closes #1690

Does pre-commit run without erroring in pre-commit.ci if the relevant files are changed, where this hook is doing autoformatting?

YAY!


JAVA-1316: Naming strategy support in mapper configuration level

Hi (:
So this is what i eventually thought to be the best design for a solution for Java-1316. First, two quick examples, then some key notes for feedback.
Example 1: camelCase to snake_case
Consider this class:
@Table(name = "foo")
public class Foo {

    @PartitionKey
    private int myXmlParser;

    private int other;

    public int getMyXmlParser() {
        return myXmlParser;
    }

    public void setMyXmlParser(int myXmlParser) {
        this.myXmlParser = myXmlParser;
    }

    public int getOther() {
        return other;
    }

    public void setOther(int other) {
        this.other = other;
    }

}

and this table:
CREATE TABLE foo (my_xml_parser int primary key, other int)
Then in order to automatically match the two, we have to bootstrap a mapper configuration like this:
MapperConfiguration conf = new MapperConfiguration();
conf.getNamingStrategy()
        .setJavaConvention(new CommonNamingConventions.LowerCamelCase())
        .setCassandraConvention(new CommonNamingConventions.LowerSnakeCase());
MappingManager mappingManager = new MappingManager(session(), conf);

Or like this (whichever seems more intuitive):
MapperConfiguration conf = new MapperConfiguration();
conf.setNamingStrategy(new NamingStrategy(
        new CommonNamingConventions.LowerCamelCase(),
        new CommonNamingConventions.LowerSnakeCase()
));
MappingManager mappingManager = new MappingManager(session(), conf);

Example 2: camelCase with ignorable prefixes
It is a common practice in Java to use a fixed prefix for all class member names. Let's now consider class Foo2 and the table foo defined above
@Table(name = "foo")
public class Foo2 {

        @PartitionKey
        private int mMyXmlParser;

        private int mOther;

        public int getmMyXmlParser() {
            return mMyXmlParser;
        }

        public void setmMyXmlParser(int mMyXmlParser) {
            this.mMyXmlParser = mMyXmlParser;
        }

        public int getmOther() {
            return mOther;
        }

        public void setmOther(int mOther) {
            this.mOther = mOther;
        }

}

Then in order to automatically match the two, we have to bootstrap a mapper configuration with java convention of lower case with ignorable prefix of "m":
MapperConfiguration conf = new MapperConfiguration();
conf.getNamingStrategy()
        .setJavaConvention(new CommonNamingConventions.LowerCamelCase("m"))
        .setCassandraConvention(new CommonNamingConventions.LowerSnakeCase());
MappingManager mappingManager = new MappingManager(session(), conf);

Or like this (whichever seems more intuitive):
MapperConfiguration conf = new MapperConfiguration();
conf.setNamingStrategy(new NamingStrategy(
        new CommonNamingConventions.LowerCamelCase("m"),
        new CommonNamingConventions.LowerSnakeCase()
));
MappingManager mappingManager = new MappingManager(session(), conf);

Lastly, some important things to note:

A predefined collection of naming conventions is available under CommonNamingConventions class -  lowerCamelCase, UpperCamelCase, lower_snake_case, UPPER_SNAKE_CASE, lowercase, lower-kebab-case (currently cannot be used either as java properties or as cassandra columns) and UPPER-KEBAB-CASE (likewise). In a case where a user uses a different naming convention, he should implement the NamingConvention interface and pass an instance of it to the MapperConfiguration.NamingStrategy object. More info available in the javadoc of NamingConvention and CommonNamingConventions.
In PropertyMapper::inferColumnName the last line was quating only case-sensetive values but not lower-cased values. Is there a down side to always quote column names? Currently it does, if that is a problem, i can add a regexp match to determine whether all chars are lower-cased in the resulted column name.
In case where a user uses an uncommon convention in which cassandra naming convention is camel case with upper case abbreviations (e.g. myXMLParser), and java naming convention is not - then there's no way to detect abbreviations and user has to explicitly declare them [e.g. @Column(name = "myXMLParser")].
In case where a user uses an uncommon convention in which cassandra naming convention is camel case, and java naming convention is not - then there's also the case of conventional member prefixes (e.g. mMyXmlParser, m_myXmlParser, _myXmlParser) who have to be expicitly declared.
To allow backwards compatibility for users who have used the default camelCase - to - lowercase strategy which exists today (e.g. having a property named myXmlParser and a matching cassandra column named myxmlparser), the default cassandra naming convention is set to LowerCase, although the common strategy should probably be set to camelCase - to - snake_case.
To allow additional backwards compatibility , if a user defines a @Column or @Field annotation, and sets either column name or case sensitive values, naming strategy will be bypassed for this property and previous result should occur.
When constructing a new CamelCase parser, you may supply an array of member naming prefixes to ignore (e.g. mMyXmlParser, m_myXmlParser, _myXmlParser). In order to be 100% backwards compatible, if you do not supply them , the current default none. This means that by default, "m_myXmlParser" is mapped to "m_myxmlparser" instead of just "myxmlparser". If a user does want those he has to explicitly pass them to the constructor [e.g. new CamelCase("_", "m", "m_")]. This is more of a product question but you may decide to skip 100% backwards compatible (if we can assume no one has named his DB columns "m_my_xml_parser") and then have this kickass support by default (:

Regarding the 2nd note (column quoting) it raised issues within the driver so I added the regexp validation. Column names will be quoted only when non lowercase alphanumeric or underscore (as mentioned in the docs)

@olim7t you've closed this one too, still relevant?

Re-opening (was closed by mistake).

Yes, sorry for closing, it was again because it's targeted to my now-obsolete java1310 branch. Btw this will probably bothersome when we merge the PRs, but no need to close and re-open against 3.x, we'll handle it manually.

Summing up:

Fix typo.
Fix field assignment.
remove toJava method.
rename lowerKebabCase and UpperKebabCase to LowerLispCase and UpperLispCase.
Following this one: Create a factory class (or use 1310's) make all fields final and remove setters, add an intuitive support for disabling naming strategy (so that cassandra column naming will reflect exactly java field names).
More docs for naming convention classes.
test all possible conversion combinations: That is, all combinations of classes within CommonNamingConventions may be tested. Note that we have 7 out of the box conventions so this means up to 49 tests. We can skip tests that convert from LowerLispCase and UpperLispCase since they cannot be used for java fields, and also we can skip most of conversion from and to the same conversion as discussed here with the exception of converting camel case with certain settings (m_ prefix for example) to camel case with other settings (no prefixes for example). Bottom line - let's save that one for last.

A new reflection I've had. Got some inputs that seemed like CamelCase conventions are kind of hard to follow. In contrast to other convention implementations, LowerCamelCase and UpperCamelCase can take parameters in their constructors since they can support options that don't exist in other conventions.
The two supported options are:

Fixed field prefixes. For example, you may prefix all your class fields with "m" like Android developers do. In that case you want mMyxmlParser to be translated to my_xml_parser. This is supported by sending "m" when constructing a new camel case instance.
Abbreviation casing - e.g. myXmlParser vs myXMLParser. both are valid. this is needed, for example, if you java convention is lower camel case with upper cased abbreviations (e.g. myXMLParser) and your cassandra convention is upper camel case with upper cased abbreviations (e.g. MyXMLParser) - otherwise, the whole XML part would translate to xml.

The latter option seems to be less intuitive. I think that if someone is crazy enough to have cassandra convention set to non lower-snake-case and also not exactly the same naming as java fields, then he would require this support. On the other hand, he has the ability to define his own naming convention by implementing NamingConvention on his own and he can manage. If we believe abbreviations make the whole interface less intuitive, we can simply drop this feature.
Regarding prefixes, since this is rather common - i think we should keep it.
Thoughts?

Note: these changes (with modifications for recent api changes) were applied to #814.


Cannot Submit Application Form

Bug Description
Following the issue #8 and #10 , I, as a user, am unable to submit an application form because the "Roll No." field remains blank (as the profile details cannot be updated). Filling the form correctly and clicking on the "Submit" button displays the error message "This field is required". This issue needs to be resolved urgently as till this issue is not resolved, it is not possible for beta testers to proceed forward in testing subsequent features which are valid only after a form is submitted.

This issue was due to #8 as the Roll No. field was imported from the profile in the application but the user wasn't able to submit Profile
#15 has corrected redirection to Profile before filling application form
9568028bcd944ef379a34c2281e25ed2626a263f has corrected profile auto-fill issue

The issue has been resolved.. Thank You !


MBotC v0.1.0

Slash commands
/mbotc help - Guide for MBotC plugin's slash commands
/mbotc create - Create notification with dialog
/mbotc today - Show notifications with table
Webapp
header button - Link to MBotC web site

Thanks!! :D


ShirukaWorld.java:120: Implement ShirukaWorld#getChunk.");

The puzzle 1-b0a58aff from #1 has to be resolved:
https://github.com/shiruka/shiruka/blob/b919490cc5126de2137a0d4ad33a00ba94cabc70/src/main/java/net/shiruka/shiruka/world/ShirukaWorld.java#L120-L120
The puzzle was created by @portlek on 20-Apr-21.
Estimate: 10 minutes,  role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle 1-b0a58aff has disappeared from the source code, that's why I closed this issue.


typo

@roeniss are you in our Discord? If so can you let me know what your username is so I can add the contributor role?

@elviskahoro  I amRoeniss Moon#6355 ! thank you :)


is there a way to apply css class for json schema example

not supported yet, we can use what react-jsonschema-form does by passing a uiSchema which allow passing extra options:
 uiSchema: {
    name: {
      classNames: 'col-xs-6  col-sm-6  col-md-6  col-lg-6',
    },
}

but not sure yet. @kenisteward any thoughts on this?
the only way right now to edit the converted result after toFieldConfig call

There is a way to do it:

Extend the component( textfield, textarea etc) for which you want to apply custom class using the example given in Formly Examples
Bind the class attribute.

For ex:
<input type="text" [class]="to.customClass">

Then when creating a json schema pass the custom class

{
key:'SomeKey',
type:'YourCustomType'
templateOptions:{
customClass: 'ClassName'
}
}

@navneetagrwl take @aitboudad 's suggestion and simply manipulate the output formlyConfig.  It is what you would have done even we didn't have a jsonSchema converter in the first place.
@aitboudad
https://github.com/hamzahamidi/angular6-json-schema-form  is another implementation of the same thing but with Angular.  I've been exploring the lib and it seems to be modeling react-json-schema-form which we want to model here as well.  I'm considering stripping some of the ui schema parsing and $ref parsing and adding it here but I haven't decided on the best way to do that.  If you have a sec to take a look at it and suggest a path let me know.  I was thinking somewhere along the lines of having a schemaParserUtils functions.  Not sure yet if that requires us to rewrite what you have done with the base jsonSchema parser yet though.
Another random idea I had,  allow for a "event based" translation api to let people hook in creating the configs for each one.  so when we check for type = enum it does the base parsing and then calls translations0-n which are set by the developer.  this is probably over engineering though.

@kenisteward What do you mean by base volcabulary? Manipulating the output formlyConfig is not a pretty way to handle this situation. If a person is using Formly, they are using it to decrease the effort it will take them to build the Form. But if in the end you are manipulating the output of formlyConfig then you are removing the essence of formly itself.

Cool, @kenisteward keep me posted about the progress. I'm also willing to contribute as we will very soon start to use JSONSchema based formly configs. Let me know 🙂

@devesh23
https://json-schema.org/specification.html
Any changes that we make in this library will have the base specification in mind (which will be draft 8 soon)  because of this, putting erroneous keywords in general should not affect but is not a part of the base keyword specifications.  In the future, when it supports custom vocabulary then you can add keywords and we can add extensions to this to support you adding those keywords in.  Otherwise, I would not advise putting this in the base json-schema if you want to stay forward compatible.
Also take the scenario that you were creating a form at its base, you would have to iterate over all the configs int he first place if you were doing dynamic processing.  All the json-schema service does for you is create those configs.  It is a simple task to add class names to where you need them based on whatever criteria you want.

this will be part of V6 (#1365)

not supported yet, we can use what react-jsonschema-form does by passing a uiSchema which allow passing extra options:
 uiSchema: {
    name: {
      classNames: 'col-xs-6  col-sm-6  col-md-6  col-lg-6',
    },
}

but not sure yet. @kenisteward any thoughts on this?
the only way right now is to edit the converted result after toFieldConfig call

Hi. Could you please help me with this. I am unable to figure out how to apply class via this method. Stackbliz would help a lot. Thanks

Just take the given formly config and iterate through to apply the styles
you need
You can also use the map function to check for the field and apply styles
there.
On Fri, Aug 23, 2019, 1:31 AM saadmomin<EMAIL_ADDRESS>wrote:

not supported yet, we can use what react-jsonschema-form does by passing
a uiSchema which allow passing extra options:
uiSchema: {
name: {
classNames: 'col-xs-6  col-sm-6  col-md-6  col-lg-6',
},
}
but not sure yet. @kenisteward https://github.com/kenisteward any
thoughts on this?
the only way right now is to edit the converted result after toFieldConfig
call
Hi. Could you please help me with this. I am unable to figure out how to
apply class via this method. Stackbliz would help a lot. Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ngx-formly/ngx-formly/issues/1348?email_source=notifications&email_token=ADB4XNNJMQGKYKGRAZZJMG3QF574ZA5CNFSM4GLHRSZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD47IICI#issuecomment-524190729,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADB4XNOF2624HNAQMJTRX6LQF574ZANCNFSM4GLHRSZQ
.

@saadmomin use widget or pass a map option to adjust the field config:
{
  "type": ...,
  "widget": {
    "formlyConfig": {
      "className": "custom_class"
    }
  }
}

Thank you so much and sorry for the delayed response.
I know this ain't the right post but just wanted to check if we have implemented wrappers yet? It's kinda necessary for me. You see I have a "part" of the form which is dynamic and I am using formly throughout the project. I don't want to have fields outside formly forms. Hence need the wrappers feature.
Thank you.

@saadmomin To create a custom wrapper:

https://ngx-formly.github.io/ngx-formly/guide/custom-formly-wrapper
pass your wrapper through formlyConfig:

{
  "type": ...,
  "widget": {
    "formlyConfig": {
      "wrappers": ["custom_wrapper"]
    }
  }
}


Payment received notification should not be sent to the buyer

I just bought this item and received a notification that my payment was received.

This is a server issue, not a client issue.

It might be good to tell the buyer their payment has gone through, in case they leave the buying flow while the spinner is still going, but currently the message from the server is identical for the buyer and seller, which makes it confusing.

Chris told me it was a client issue yesterday :(

Hmm. I suppose we can check the guid to see if it's yours, and format the message differently.
You'd still get it though.

It turns out this is only sent to the buyer, and what it means is your payment has completed. I put in a patch that changes the language to match that.


 Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.
If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue.
Happy coding!

I am not able to rename files and VS code just creates untitle1 , untitle 2
, and so on files.
On Mon, 25 Mar 2024, 21:45 Logan Ramos, @.***> wrote:

/gifPlease
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/208530#issuecomment-2018380070,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5QPRCPNYM2X2LSIT3VV3XDY2BEQTAVCNFSM6AAAAABFFUYYNWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJYGM4DAMBXGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

@Swapnilgpatil Is it giving you an error? I need more information to understand what might be blocking the rename

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!