Execution failed for task ':app:compileFlutterBuildDebug'.

When I run my app, I get this error - flutter run
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':amplify_api:parseDebugLocalResources'.
> Could not resolve all files for configuration ':amplify_api:androidApis'.
   > Failed to transform android.jar to match attributes {artifactType=android-platform-attr, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
      > Execution failed for PlatformAttrTransform: /home/maovik18/Android/Sdk/platforms/android-30/android.jar.
         > /home/maovik18/Android/Sdk/platforms/android-30/android.jar

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 11s
Running Gradle task 'assembleDebug'...                             12.3s
Exception: Gradle task assembleDebug failed with exit code 1

When I run 'flutter run -v',  I get this
[ +242 ms] executing: uname -m
[  +68 ms] Exit code 0 from: uname -m
[        ] x86_64
[   +9 ms] executing: [/home/maovik18/snap/flutter/common/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +49 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] fc7015e35aac7ab785e7ae15a47db5c9e669ec7f
[   +2 ms] executing: [/home/maovik18/snap/flutter/common/flutter/] git tag --points-at fc7015e35aac7ab785e7ae15a47db5c9e669ec7f
[ +951 ms] Exit code 0 from: git tag --points-at fc7015e35aac7ab785e7ae15a47db5c9e669ec7f
[        ] 2.7.0-3.1.pre
[  +47 ms] executing: [/home/maovik18/snap/flutter/common/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +31 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/beta
[        ] executing: [/home/maovik18/snap/flutter/common/flutter/] git ls-remote --get-url origin
[  +21 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +168 ms] executing: [/home/maovik18/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD
[   +6 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] beta
[ +121 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[  +13 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +198 ms] executing: /home/maovik18/Android/Sdk/platform-tools/adb devices -l
[  +56 ms] List of devices attached
           1febd36                device usb:1-1 product:ysl model:Redmi_Y2 device:ysl transport_id:23
[  +10 ms] /home/maovik18/Android/Sdk/platform-tools/adb -s 1febd36 shell getprop
[ +112 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +7 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +8 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +214 ms] Skipping pub get: version match.
[  +71 ms] Found plugin amplify_api at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/amplify_api-0.2.6/
[  +43 ms] Found plugin amplify_auth_cognito at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/amplify_auth_cognito-0.2.6/
[  +28 ms] Found plugin amplify_core at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/amplify_core-0.2.6/
[  +24 ms] Found plugin amplify_datastore at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/amplify_datastore-0.2.6/
[  +27 ms] Found plugin amplify_flutter at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/amplify_flutter-0.2.6/
[  +20 ms] Found plugin amplify_storage_s3 at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/amplify_storage_s3-0.2.6/
[  +27 ms] Found plugin audio_session at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/audio_session-0.1.6+1/
[ +174 ms] Found plugin file_picker at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/file_picker-4.2.0/
[  +12 ms] Found plugin flutter_plugin_android_lifecycle at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.4/
[  +41 ms] Found plugin image_picker at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.8.4+4/
[  +10 ms] Found plugin image_picker_for_web at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker_for_web-2.1.4/
[  +22 ms] Found plugin just_audio at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/just_audio-0.9.15/
[  +10 ms] Found plugin just_audio_web at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/just_audio_web-0.4.2/
[  +37 ms] Found plugin path_provider at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-2.0.6/
[   +5 ms] Found plugin path_provider_linux at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.0/
[   +8 ms] Found plugin path_provider_macos at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-2.0.2/
[  +11 ms] Found plugin path_provider_windows at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.3/
[  +40 ms] Found plugin share_plus at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/share_plus-3.0.4/
[  +10 ms] Found plugin share_plus_macos at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/share_plus_macos-2.0.2/
[   +6 ms] Found plugin share_plus_web at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/share_plus_web-2.0.4/
[   +9 ms] Found plugin shared_preferences at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-2.0.8/
[   +9 ms] Found plugin shared_preferences_linux at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_linux-2.0.2/
[   +6 ms] Found plugin shared_preferences_macos at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-2.0.2/
[  +11 ms] Found plugin shared_preferences_web at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-2.0.2/
[  +10 ms] Found plugin shared_preferences_windows at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_windows-2.0.2/
[  +30 ms] Found plugin url_launcher at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.0.12/
[   +3 ms] Found plugin url_launcher_linux at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-2.0.2/
[   +4 ms] Found plugin url_launcher_macos at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-2.0.2/
[   +7 ms] Found plugin url_launcher_web at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.4/
[   +3 ms] Found plugin url_launcher_windows at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-2.0.2/
[ +442 ms] Found plugin amplify_api at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/amplify_api-0.2.6/
[   +2 ms] Found plugin amplify_auth_cognito at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/amplify_auth_cognito-0.2.6/
[   +2 ms] Found plugin amplify_core at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/amplify_core-0.2.6/
[   +1 ms] Found plugin amplify_datastore at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/amplify_datastore-0.2.6/
[   +2 ms] Found plugin amplify_flutter at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/amplify_flutter-0.2.6/
[   +1 ms] Found plugin amplify_storage_s3 at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/amplify_storage_s3-0.2.6/
[   +2 ms] Found plugin audio_session at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/audio_session-0.1.6+1/
[  +10 ms] Found plugin file_picker at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/file_picker-4.2.0/
[   +2 ms] Found plugin flutter_plugin_android_lifecycle at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.4/
[   +5 ms] Found plugin image_picker at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.8.4+4/
[   +1 ms] Found plugin image_picker_for_web at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker_for_web-2.1.4/
[   +3 ms] Found plugin just_audio at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/just_audio-0.9.15/
[   +3 ms] Found plugin just_audio_web at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/just_audio_web-0.4.2/
[   +6 ms] Found plugin path_provider at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-2.0.6/
[   +1 ms] Found plugin path_provider_linux at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.0/
[        ] Found plugin path_provider_macos at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-2.0.2/
[   +1 ms] Found plugin path_provider_windows at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.3/
[   +4 ms] Found plugin share_plus at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/share_plus-3.0.4/
[   +1 ms] Found plugin share_plus_macos at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/share_plus_macos-2.0.2/
[   +1 ms] Found plugin share_plus_web at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/share_plus_web-2.0.4/
[   +1 ms] Found plugin shared_preferences at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-2.0.8/
[   +1 ms] Found plugin shared_preferences_linux at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_linux-2.0.2/
[   +1 ms] Found plugin shared_preferences_macos at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-2.0.2/
[   +1 ms] Found plugin shared_preferences_web at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-2.0.2/
[   +1 ms] Found plugin shared_preferences_windows at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_windows-2.0.2/
[   +8 ms] Found plugin url_launcher at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.0.12/
[   +1 ms] Found plugin url_launcher_linux at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-2.0.2/
[   +1 ms] Found plugin url_launcher_macos at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-2.0.2/
[   +1 ms] Found plugin url_launcher_web at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.4/
[        ] Found plugin url_launcher_windows at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-2.0.2/
[  +20 ms] Generating /media/maovik18/Volume_A/Startup/App/audio_entertainment_media/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +102 ms] ro.hardware = qcom
[  +78 ms] Initializing file store
[  +16 ms] Skipping target: gen_localizations
[  +14 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents:
/media/maovik18/Volume_A/Startup/App/audio_entertainment_media/.dart_tool/package_config_subset,/media/maovik18/Volume_A/Startup/App/audio_entertainment_media/.dart_tool/flutter_build/generated_main.dart}
[  +31 ms] Found plugin amplify_api at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/amplify_api-0.2.6/
[   +2 ms] Found plugin amplify_auth_cognito at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/amplify_auth_cognito-0.2.6/
[   +1 ms] Found plugin amplify_core at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/amplify_core-0.2.6/
[   +1 ms] Found plugin amplify_datastore at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/amplify_datastore-0.2.6/
[   +2 ms] Found plugin amplify_flutter at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/amplify_flutter-0.2.6/
[   +2 ms] Found plugin amplify_storage_s3 at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/amplify_storage_s3-0.2.6/
[   +1 ms] Found plugin audio_session at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/audio_session-0.1.6+1/
[  +12 ms] Found plugin file_picker at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/file_picker-4.2.0/
[   +1 ms] Found plugin flutter_plugin_android_lifecycle at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.4/
[   +3 ms] Found plugin image_picker at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.8.4+4/
[   +1 ms] Found plugin image_picker_for_web at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker_for_web-2.1.4/
[   +2 ms] Found plugin just_audio at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/just_audio-0.9.15/
[   +1 ms] Found plugin just_audio_web at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/just_audio_web-0.4.2/
[   +7 ms] Found plugin path_provider at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-2.0.6/
[   +1 ms] Found plugin path_provider_linux at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.0/
[   +1 ms] Found plugin path_provider_macos at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-2.0.2/
[   +2 ms] Found plugin path_provider_windows at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.3/
[   +5 ms] Found plugin share_plus at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/share_plus-3.0.4/
[   +1 ms] Found plugin share_plus_macos at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/share_plus_macos-2.0.2/
[   +1 ms] Found plugin share_plus_web at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/share_plus_web-2.0.4/
[   +2 ms] Found plugin shared_preferences at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-2.0.8/
[   +1 ms] Found plugin shared_preferences_linux at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_linux-2.0.2/
[        ] Found plugin shared_preferences_macos at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-2.0.2/
[   +1 ms] Found plugin shared_preferences_web at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-2.0.2/
[   +1 ms] Found plugin shared_preferences_windows at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_windows-2.0.2/
[   +3 ms] Found plugin url_launcher at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.0.12/
[   +1 ms] Found plugin url_launcher_linux at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-2.0.2/
[   +1 ms] Found plugin url_launcher_macos at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-2.0.2/
[   +2 ms] Found plugin url_launcher_web at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.4/
[   +1 ms] Found plugin url_launcher_windows at /home/maovik18/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-2.0.2/
[  +14 ms] gen_dart_plugin_registrant: Complete
[   +4 ms] Skipping target: _composite
[   +4 ms] complete
[  +11 ms] Launching lib/main.dart on Redmi Y2 in debug mode...
[   +7 ms] /home/maovik18/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/maovik18/snap/flutter/common/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot
--sdk-root /home/maovik18/snap/flutter/common/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 /tmp/flutter_tools.DDDJSK/flutter_tool.UVXFCX/app.dill --packages /media/maovik18/Volume_A/Startup/App/audio_entertainment_media/.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/c075001b96339384a97db4862b8ab8db.cache.dill.track.dill
--enable-experiment=alternative-invalidation-strategy
[  +25 ms] executing: /home/maovik18/Android/Sdk/platform-tools/adb -s 1febd36 shell -x logcat -v time -t 1
[  +22 ms] <- compile file:///media/maovik18/Volume_A/Startup/App/audio_entertainment_media/.dart_tool/flutter_build/generated_main.dart
[ +199 ms] --------- beginning of system
                    11-01 17:50:40.977 W/ActivityManager( 1751): Scheduling restart of crashed service com.xiaomi.mipicks/com.xiaomi.downloader.service.DownloadService in 1000ms
[  +15 ms] executing: /home/maovik18/Android/Sdk/platform-tools/adb version
[   +8 ms] Android Debug Bridge version 1.0.41
           Version 31.0.3-7562133
           Installed as /home/maovik18/Android/Sdk/platform-tools/adb
[   +2 ms] executing: /home/maovik18/Android/Sdk/platform-tools/adb start-server
[   +9 ms] Building APK
[  +37 ms] Running Gradle task 'assembleDebug'...
[   +5 ms] Using gradle from /media/maovik18/Volume_A/Startup/App/audio_entertainment_media/android/gradlew.
[ +188 ms] executing: /snap/android-studio/115/android-studio/jre/bin/java -version
[ +909 ms] Exit code 0 from: /snap/android-studio/115/android-studio/jre/bin/java -version
[        ] openjdk version "11.0.10" 2021-01-19
           OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
           OpenJDK 64-Bit Server VM (build 11.0.10+0-b96-7249189, mixed mode)
[   +3 ms] executing: [/media/maovik18/Volume_A/Startup/App/audio_entertainment_media/android/] /media/maovik18/Volume_A/Startup/App/audio_entertainment_media/android/gradlew -Pverbose=true
-Ptarget-platform=android-arm -Ptarget=/media/maovik18/Volume_A/Startup/App/audio_entertainment_media/lib/main.dart -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false
-Ptrack-widget-creation=true -Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug
[+5431 ms] > Configure project :amplify_api
[        ] WARNING: The option setting 'android.enableR8=true' is deprecated.
[        ] It will be removed in version 5.0 of the Android Gradle plugin.
[        ] You will no longer be able to disable R8
[+3070 ms] > Task :amplify_api:preBuild UP-TO-DATE
[        ] > Task :amplify_api:preDebugBuild UP-TO-DATE
[        ] > Task :amplify_core:preBuild UP-TO-DATE
[        ] > Task :amplify_core:preDebugBuild UP-TO-DATE
[  +98 ms] > Task :amplify_core:compileDebugAidl NO-SOURCE
[        ] > Task :amplify_api:compileDebugAidl NO-SOURCE
[        ] > Task :amplify_api:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :amplify_api:mergeDebugNativeLibs NO-SOURCE
[        ] > Task :amplify_api:stripDebugDebugSymbols NO-SOURCE
[        ] > Task :amplify_api:copyDebugJniLibsProjectAndLocalJars UP-TO-DATE
[        ] > Task :amplify_core:packageDebugRenderscript NO-SOURCE
[        ] > Task :amplify_api:compileDebugRenderscript NO-SOURCE
[  +95 ms] > Task :amplify_api:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :amplify_api:generateDebugResValues UP-TO-DATE
[        ] > Task :amplify_api:generateDebugResources UP-TO-DATE
[        ] > Task :amplify_api:packageDebugResources UP-TO-DATE
[ +107 ms] > Task :amplify_api:parseDebugLocalResources FAILED
[        ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[   +2 ms] Use '--warning-mode all' to show the individual deprecation warnings.
[        ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[        ] 6 actionable tasks: 1 executed, 5 up-to-date
[   +2 ms] FAILURE: Build failed with an exception.
[  +19 ms] * What went wrong:
[        ] Execution failed for task ':amplify_api:parseDebugLocalResources'.
[  +16 ms] > Could not resolve all files for configuration ':amplify_api:androidApis'.
[        ]    > Failed to transform android.jar to match attributes {artifactType=android-platform-attr, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
[        ]       > Execution failed for PlatformAttrTransform: /home/maovik18/Android/Sdk/platforms/android-30/android.jar.
[        ]          > /home/maovik18/Android/Sdk/platforms/android-30/android.jar
[        ] * Try:
[        ] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[        ] * Get more help at https://help.gradle.org
[        ] BUILD FAILED in 8s
[ +595 ms] Running Gradle task 'assembleDebug'... (completed in 10.5s)
[+6143 ms] lib/models/User.dart:199:164: Warning: Operand of null-aware operation '?.' has type 'UserAudio' which excludes null.
[        ]  - 'UserAudio' is from 'package:audio_entertainment_media/models/UserAudio.dart' ('lib/models/UserAudio.dart').
[        ]     'id': id, 'createdOn': _createdOn?.format(), 'email': _email, 'name': _name, 'description': _description, 'isCreator': _isCreator, 'liked': _liked?.map((e) => e?.toJson())?.toList(), 'following':
_following, 'followers': _followers, 'profilePictureKey': _profilePictureKey, 'audioUploads': _audioUploads?.map((e) => e?.toJson())?.toList()
[        ]                                                                                ^
[   +5 ms] lib/models/User.dart:199:321: Warning: Operand of null-aware operation '?.' has type 'Audio' which excludes null.
[        ]  - 'Audio' is from 'package:audio_entertainment_media/models/Audio.dart' ('lib/models/Audio.dart').
[        ]     'id': id, 'createdOn': _createdOn?.format(), 'email': _email, 'name': _name, 'description': _description, 'isCreator': _isCreator, 'liked': _liked?.map((e) => e?.toJson())?.toList(), 'following':
_following, 'followers': _followers, 'profilePictureKey': _profilePictureKey, 'audioUploads': _audioUploads?.map((e) => e?.toJson())?.toList()
[   +1 ms]
^
[   +9 ms] lib/models/Audio.dart:191:126: Warning: Operand of null-aware operation '?.' has type 'UserAudio' which excludes null.
[        ]  - 'UserAudio' is from 'package:audio_entertainment_media/models/UserAudio.dart' ('lib/models/UserAudio.dart').
[        ]     'id': id, 'uploadedOn': _uploadedOn?.format(), 'title': _title, 'description': _description, 'likes': _likes?.map((e) => e?.toJson())?.toList(), 'listenings': _listenings, 'audioKey': _audioKey,
'thumbnailKey': _thumbnailKey, 'userID': _userID, 'category': _category?.toJson()
[        ]                                                                                ^
[+9953 ms] Exception: Gradle task assembleDebug failed with exit code 1
[   +3 ms] "flutter run" took 29,319ms.
[   +7 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:669:9)
           <asynchronous suspension>
           #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1125:27)
           <asynchronous suspension>
           #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #4      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
           <asynchronous suspension>
           #5      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
           <asynchronous suspension>
           #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
           <asynchronous suspension>
           #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #10     main (package:flutter_tools/executable.dart:92:3)
           <asynchronous suspension>

[ +254 ms] ensureAnalyticsSent: 251ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1

I have tried most of the solutions for this on StackOverflow and GitHub issues but none worked out.
What could be the reason for this? Should I delete or install or upgrade anything?

Hi @ManoVikram, thanks for filing the issue.
Do you experience this issue with the default flutter create app?
Can you also provide your pubspec.yaml and output of flutter doctor -v?
Thank you

Actually, I reinstalled my OS(Ubuntu 20.04). So, I got to install Flutter and Android Studio freshly. And then is when this issue appeared. It was working flawlessly before I reinstalled my OS.
I work with Flutter beta.
Here is pubspec.yaml
name: audio_entertainment_media
description: A new Flutter project.

# The following line prevents the package from being accidentally published to
# pub.dev using `flutter pub publish`. This is preferred for private packages.
publish_to: "none" # Remove this line if you wish to publish to pub.dev

# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.0+1

environment:
  sdk: ">=2.12.0 <3.0.0"

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
# consider running `flutter pub upgrade --major-versions`. Alternatively,
# dependencies can be manually updated by changing the version numbers below to
# the latest version available on pub.dev. To see which dependencies have newer
# versions available, run `flutter pub outdated`.
dependencies:
  after_layout: ^1.1.0
  amplify_api: ^0.2.4
  amplify_auth_cognito: ^0.2.4
  amplify_datastore: ^0.2.4
  amplify_flutter: ^0.2.4
  amplify_storage_s3: ^0.2.4
  audio_video_progress_bar: ^0.9.0
  auto_size_text: ^3.0.0-nullsafety.0
  bloc: ^7.2.1
  cupertino_icons: ^1.0.2
  equatable: ^2.0.3
  file_picker: ^4.1.0
  flutter:
    sdk: flutter
  flutter_bloc: ^7.3.0
  flutter_svg: ^0.23.0+1
  font_awesome_flutter: ^9.1.0
  google_fonts: ^2.1.0
  image_picker: ^0.8.4+2
  just_audio: ^0.9.14
  meta: ^1.7.0
  percent_indicator: ^3.0.1
  pin_code_fields: ^7.3.0
  provider: ^6.0.1
  share_plus: ^3.0.4
  shared_preferences: ^2.0.7

dev_dependencies:
  flutter_lints: ^1.0.0
  flutter_test:
    sdk: flutter

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
# The following section is specific to Flutter.
flutter:
  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.
  uses-material-design: true
  # To add assets to your application, add an assets section, like this:
  assets:
    - assets/icons/
    - assets/images/
    - assets/images/onBoardingScreen/
    - assets/images/authenticationScreens/
  # An image asset can refer to one or more resolution-specific "variants", see
  # https://flutter.dev/assets-and-images/#resolution-aware.
  # For details regarding adding assets from package dependencies, see
  # https://flutter.dev/assets-and-images/#from-packages
  # To add custom fonts to your application, add a fonts section here,
  # in this "flutter" section. Each entry in this list should have a
  # "family" key with the font family name, and a "fonts" key with a
  # list giving the asset and other descriptors for the font. For
  # example:
  # fonts:
  #   - family: Schyler
  #     fonts:
  #       - asset: fonts/Schyler-Regular.ttf
  #       - asset: fonts/Schyler-Italic.ttf
  #         style: italic
  #   - family: Trajan Pro
  #     fonts:
  #       - asset: fonts/TrajanPro.ttf
  #       - asset: fonts/TrajanPro_Bold.ttf
  #         weight: 700
  #
  # For details regarding fonts from package dependencies,
  # see https://flutter.dev/custom-fonts/#from-packages

And here is flutter doctor -v
[✓] Flutter (Channel beta, 2.7.0-3.1.pre, on Ubuntu 20.04.3 LTS 5.11.0-38-generic, locale en_IN)
    • Flutter version 2.7.0-3.1.pre at /home/maovik18/snap/flutter/common/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision fc7015e35a (5 days ago), 2021-10-27 15:18:41 -0700
    • Engine revision a75e3b80f9
    • Dart version 2.15.0 (build 2.15.0-178.1.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /home/maovik18/Android/Sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /snap/android-studio/115/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

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

[✓] Linux toolchain - develop for Linux desktop
    • clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
    • cmake version 3.10.2
    • ninja version 1.8.2
    • pkg-config version 0.29.1

[✓] Android Studio (version 2020.3)
    • Android Studio at /snap/android-studio/115/android-studio
    • Flutter plugin version 61.2.2
    • Dart plugin version 203.8452
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code
    • VS Code at /snap/code/current
    • Flutter extension version 3.27.0

[✓] Connected device (3 available)
    • Redmi Y2 (mobile) • 1febd36 • android-arm    • Android 9 (API 28)
    • Linux (desktop)   • linux   • linux-x64      • Ubuntu 20.04.3 LTS 5.11.0-38-generic
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 95.0.4638.69

• No issues found!

What version of flutter_beta were you on before you reinstalled your os?

I was on Flutter 2.7 before reinstalling the OS.

@danagbemava-nc I just created a completely new Flutter project. When I run that, I am getting this error
FAILURE: Build failed with an exception.

* What went wrong:
A problem was found with the configuration of task ':app:processDebugResources' (type 'LinkApplicationAndroidResourcesTask').
> File '/home/maovik18/Android/Sdk/platforms/android-30/android.jar' specified for property 'androidJarInput.androidJar' does not exist.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 13s
Running Gradle task 'assembleDebug'...                             14.6s
Exception: Gradle task assembleDebug failed with exit code 1

Hey, from flutter doctor -v, I found that my Android SDK Version is 31, but in build.gradle file the compileSdkVersion was set to 29. So, I changed that in the test dummy Flutter project I created and it ran perfectly. But, the original Flutter project is still throwing error. Now, this error
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Failed to create parent directory '/media/mano_vikram' when creating directory '/media/mano_vikram/Volume_A/Startup/App/audio_entertainment_media/android/app/build/intermediates/flutter/debug/flutter_assets'

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 39s
Running Gradle task 'assembleDebug'...                             41.1s
Exception: Gradle task assembleDebug failed with exit code 1

@ManoVikram, please provide the output of flutter run -v. It will be huge, so you can put it into a log file and attach it here.
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Q: Why ApiError is not type of Error?

It looks all errors thrown from the algolia client are plain objects.
Was it made for a specific reason?
Because it can cause some issue in users application as many developers expect the thrown error as a type of Error.
Short example:
...
    const client = algoliasearch('test', 'test', )

    const index = client.initIndex('dev_PUBLIC_STORE');

    try {
        await index.saveObject({
            objectID: "aaaaaaa",
            title: 'Algolia 2019',
            contentType: 'events'
        })
    } catch (err) {
        console.log(typeof err); // -> object
        console.error(err);  // -> prints just the object, no stack trace is printed
    }

....

I was expecting that stack trace will be logged, but I got an object in the console for this example.

I think this was done to prevent errors when subclassing Error (IIRC, this was an issue with older babel / browser versions). You're right that it's not ideal, and we should change this to be real errors, but make sure that all the properties we set are still correctly set (otherwise it's a breaking change)

Note that a real error also has typeof being object, you check using instanceof normally

real error also has typeof being object, you check using instanceof normally

You are right, my bad.


Clean up history before submission to Hyperledger Labs

See https://github.com/hyperledger-labs/hyperledger-labs.github.io/blob/master/README.md#bringing-in-an-existing-repository for the requirements to be met.

Fixed branches legacy/master, legacy/develop and all tags.


[FLINK-27209][build] Half the memory and double forkCount for running unit tests

Additionally mark TaskExecutorRecoveryTest as an ITCase due to memory consumption and starting up TaskManagers
What is the purpose of the change
Purpose of this change is to decrease build times via increasing forkCounts.
Verifying this change
Covered by existing test base.
Does this pull request potentially affect one of the following parts:

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

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@flinkbot run azure

The overall benefit of this PR has diminished quite a bit with all the other cleanups being merged.
It does look like the most of initial speedup was primarily due to enabling forkReuse and increasing the forkCount for all modules.
However it still shaves of a minute or two in some modules, which is still very valuable.


Select data base

Every time I try and select database it says loading and it never loads
Version: 1.91.1
Commit: f1e16e1e6214d7c44d078b1f0607b2388f29d729
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.4 Safari/605.1.15
Embedder: codespaces

/question
Out of the box VS Code doesn't have a select database option, so I guess you are using an extension and/or doing and online course in a codespace. Please use your course support channel or contact the extension author.

We closed this issue because it is a question about using VS Code rather than an issue or feature request. Please search for help on StackOverflow, where the community has already answered thousands of similar questions. You may find their guide on asking a new question helpful if your question has not already been asked. See also our issue reporting guidelines.
Happy Coding!


covariant w for edmf

Purpose
Updates EDMF variables to use Covariant3Vector for vector quantities
Trying to do this incrementally to avoid breaking stuff.
See also #972
To-do
Still need to do the closures themselves.
Content

@trontrytel @charleskawczynski do we have an EDMF test case with a non-uniform grid?

@trontrytel @charleskawczynski do we have an EDMF test case with a non-uniform grid?

We do in TurbulenceConvection.jl (this job), but I think we need CC#821 to add it back in cleanly (I think I removed the logic because unifying it with the ClimaAtmos mesh init was getting too messy).

Okay, in that case perhaps it would be worth merging this in as-is. I haven't tackled the closures themselves, but perhaps that can be another PR.

The anelastic results look great (aka unchanged).
For some reason none of the compressible simulations were able to generate plots. Looking at the CI logs, each threw a different error. I'm just going to update the branch and check again.
I'm wondering if there is something to be fixed in how we output the velocity for plotting the animations between the scalar and the covariant version?

It could be because I deleted a diagnostic variable? I can remove that change if it's easier

It could be because I deleted a diagnostic variable? I can remove that change if it's easier

Probably. I think some of the plots are done based on what is in cache.

btw, what is the difference between this PR and what we tried in PR https://github.com/CliMA/ClimaAtmos.jl/pull/972 ?

I'm honestly not sure: I basically tried making the same changes, but only 1 variable at a time and made sure BOMEX was unchanged at each step.

The plots are working now for both compressible and anelastic CI 🎉
We should increase the ref counter to update the reference profiles after this PR. I'll push to this branch.

Thanks!

This looks good, I'll go ahead and rebase and merge!

bors r+


Added partials in separate folders

Assigning to @bp323 for review

Coverage remained the same at 100.0% when pulling 906c7009206c36926835a0d27dff014859cf8dd9 on Coenego:partials-cleanup into bed1b272a8a73c639a92cfae1bd5d74908327ede on CUL-DigitalServices:master.

Coverage remained the same at 100.0% when pulling 906c7009206c36926835a0d27dff014859cf8dd9 on Coenego:partials-cleanup into bed1b272a8a73c639a92cfae1bd5d74908327ede on CUL-DigitalServices:master.

Could you have a look at the merge conflict?

Verified and merged

Coverage remained the same at 100.0% when pulling 21d4e07a9d5051d3150c068f217227d27a9a2deb on Coenego:partials-cleanup into de351c66b5d527130dbcc54920e4fe76e0154560 on CUL-DigitalServices:master.


'valid' swagger yaml yields stack trace from connexion

Hey guys, I'm back on to some swagger stuff lately, and after updating to the latest version of the package, i've run into this stack trace. I'll be digging into it, but if you have any insight, let me know. This stack seems to be repeated for every end point. It might be a problem with my swagger yaml though.
ERROR:connexion.api:Failed to add operation for GET <url removed> Traceback (most recent call last):   File "/home/zdelagrange/.virtualenvs/<venv>/local/lib/python2.7/site-packages/connexion/api.py", line 187, in add_paths     self.add_operation(method, path, endpoint, path_parameters)   File "/home/zdelagrange/.virtualenvs/<venv>/local/lib/python2.7/site-packages/connexion/api.py", line 160, in add_operation     resolver=self.resolver)   File "/home/zdelagrange/.virtualenvs/<venv>/local/lib/python2.7/site-packages/connexion/operation.py", line 168, in __init__     resolution = resolver.resolve(self)   File "/home/zdelagrange/.virtualenvs/<venv>/local/lib/python2.7/site-packages/connexion/resolver.py", line 50, in resolve     return Resolution(self.resolve_function_from_operation_id(operation_id), operation_id)   File "/home/zdelagrange/.virtualenvs/<venv>/local/lib/python2.7/site-packages/connexion/resolver.py", line 71, in resolve_function_from_operation_id     return self.function_resolver(operation_id)   File "/home/zdelagrange/.virtualenvs/<venv>/local/lib/python2.7/site-packages/connexion/utils.py", line 106, in get_function_from_name     module_name, attr_path1 = module_name.rsplit('.', 1) ValueError: need more than 1 value to unpack

Hi, sorry for the delay. To be honest I don't know where this error come from, but it seems to be an issue with connexion. Have you try to run the API with connexion without using swagger-tester ?

Hey no problem!
The application is utilizing connexion in production, which is why this seems so weird. I could be that we are using a configuration that maybe the swagger-parser doesn't implement, or possibly a bug in swagger parser. I think for the moment I'm going to look into testing with a live app instead of having swagger-tester use connexion, but I could revisit this and try to produce a swagger spec that i can share that reproduces this error

I close this issue. If you have still a bug, just reopen it and post the swagger.yaml.


Issue with create()

When trying to create a record using a dict some entries give back an error like this one:
Traceback (most recent call last):
  File "/Users/patricioguerra/Documents/PythonTests/atTesting.py", line 38, in <module>
    atTable.create(record)
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyairtable/api/table.py", line 87, in create
    return super()._create(self.base_id, self.table_name, fields, typecast=typecast)
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyairtable/api/abstract.py", line 134, in _create
    return self._request(
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyairtable/api/abstract.py", line 95, in _request
    return self._process_response(response)
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyairtable/api/abstract.py", line 87, in _process_response
    raise exc
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyairtable/api/abstract.py", line 74, in _process_response
    response.raise_for_status()
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/requests/models.py", line 1022, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: ('422 Client Error: Unprocessable Entity for url: [deleted for privacy]', '422 Client Error: Unprocessable Entity for url:[deleted for privacy]  [Error: {\'type\': \'INVALID_VALUE_FOR_COLUMN\', \'message\': \'Field "Brightness" cannot accept the provided value\'}]')

The value stored for these keys is in fact an integer when printed but error seems to indicate that airtable is receiving '}]' instead.

My script takes in JSON text, converts it to a dictionary (simply key value pairs, nothing nested) and then tried to create a new record with that dictionary. It writes many values without issues this is one of 4 keys which are giving and issue for some reason.

I would need a a reproducible example to be able to help.
Can you create a python script with a sample dictionary that reproduces the error?
And the description or screenshot of the base it's writing to? (Column names and types)

}]

I think this is just part of the json content in the error message. I think it's just telling you
Brightness" cannot accept the provided value. This would happen if you attempt to pass a string to number field or other values that can't be cast

added you to a repo with the script and sample json used

What the aritable type of the brightness column? I don't see a field with that name in screenshots

In your sample file brightness is a number not string. Not sure if airtable casts numbers to string but i would try making sure all types match.
TBH his doesn't appear to be a library error but an issue with the values provided and what the API accept for those fields.
I would try making sure types and columns align. You can use the curl samples provided by airtable docs as samples of JSON types wanted for your fields.

You're right. Thanks.


fix: floater https Certificate issue

What type of PR is this?

fix bug
What does this PR do?

Modify the certificate path and fix floater related issues.
Which issue(s) does this PR fix?

Fixes #65
Special notes for your reviewer:

Screenshots (if applicable):

Additional Comments:

/cc @wuyingjun-lucky

/lgtm
/approve


Make NumberRangeValueGeneratorInterface service public in container

1. Why is this change necessary?
If you want to generate a new number range value during the installation of the plugin you need to use the NumberRangeValueGeneratorInterface service. But the service is not public and when trying to retrieve the service from the container you end up with the following error:
  The "Shopware\Core\System\NumberRange\ValueGenerator\NumberRangeValueGenera
  torInterface" service or alias has been removed or inlined when the contain
  er was compiled. You should either make it public, or stop using the contai
  ner directly and use dependency injection instead.

2. What does this change do, exactly?
It makes the service public so it can be retrieved directly via Container::get()
3. Describe each step to reproduce the issue or behaviour.
N/A
4. Please link to the relevant issues (if any).
N/A
5. Checklist

[x] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[x] I have created a changelog file with all necessary information about my changes
[x] I have written or adjusted the documentation according to my changes
[x] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/NEXT-17460
Please use this issue to track the state of your pull request.

Hi @windaishi,
Thanks for your contribution


SyntaxError: invalid syntax

I have error like this, my python version 2.7.18 :
[rizqu@rizqu qctools_tff-master]$ ./qctools
File "/home/rizqu/Documents/Android Flasher Phone thefirefox12537/qctools_tff-master/qctools.py", line 51
welcome = f"<span style="color:#ffffff;">TFF/Qualcomm ToolsGUI version report:  1.0 {build_info}This is beta development"
^

Thank you for your input. I'm currently busy fixing everything. So wait for the push

Same here


createClient(scriptURL).ready does not resolve at root /

Environment

Browser: Chrome
Version of service-mocker: 2.0.1

When I load my app at localhost:3000/users it works fine. However, when I load it at the root localhost:3000, createClient(scriptURL).ready never resolves (or rejects). I'm using Webpack + sw-loader. I can see in the network tab it loads the service worker, and no error in console.
import { createClient } from 'service-mocker/client'
import scriptURL from 'sw-loader?name=mock-api-sw.js!./mock-api-server.js'

const client = createClient(scriptURL).ready
  .then(r => console.log('success', r))
  .catch(e => console.error('error', e))
export default client

import { createServer } from 'service-mocker/server'

const { router } = createServer()

router.get('/users', (req, res) => {
  res.json([{
    name: 'Brett'
  }])
})

Can you post a screenshot of Chrome DevTools > Application > Service Workers? I think this issue is related to service worker registration scope.
Screenshot example:

As you can see, it's running, it's just the createClient(scriptURL).ready Promise never resolves (or rejects). Navigating to /users (or any non-root path) works.

That is confusing 🤔
Is there any demo reproduces this issue?

No easy demo I can give and I can't think of anything funky I'm doing that would break it for root... I was hoping you just might know why the promise isn't resolving haha. If you can't think of anything I'll dive into it myself when it becomes annoying enough (I'm only including service-mocker during dev so does not affect prod)

Not sure if this issue is related to registration scope. You can try unregistering service worker (by click the "Unregister" link) and initializing mocker from root (ie navigate to http://localhost:3000).

Yea I've tried unregistering. I stepped through some of the transpiled code
and see it's not resolving where it does for non-root paths... But
debugging transpiled code is not a fun task. I'll pick it back up again
when it bugs me enough and will follow up with CR if necessary. If you come
across the problem/solution, ping the thread and let me know. :)
On Thu, Aug 24, 2017, 7:54 PM Dolphin Wood<EMAIL_ADDRESS>wrote:

Not sure if this issue is related to registration scope. You can try
unregistering service worker (by click the "Unregister" link) and
initializing mocker from root (ie navigate to http://localhost:3000).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/service-mocker/service-mocker/issues/41#issuecomment-324810728,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABy6l31fWf7iAolTyRv-uBX5GoWYKjT4ks5sbjdqgaJpZM4PAfWW
.

I'm no longer getting this issue on 2.1.2


Make auto-create/alter table through gRPC put request optional

What type of enhancement is this?
API improvement
What does the enhancement do?
This ticket affects the public gRPC interface and thus is also related to ingester repos.
At present, all gRPC put requests will try to create or alter table if necessary. This brings lots of avoidable overhead on the write path. This ticket requests an improvement on the path between ingester clients and frontend server.
On some (or many) cases, the client or even the ingester SDK itself knows that one request won't trigger schema change or table creation. Especially when the client is running in a loop to put data continuously. It would be very beneficial if we could make use of this pre-condition, to alleviate the overhead of checking schema on the server side.
To achieve this, we need to add one flag in the gRPC interface. For example, in InsertRequests or Header. It's a hint to the server that if it can skip checking schema for one request. And make corresponding API changes in ingester SDKs to reflect this change.
Implementation challenges
Open for discussion:

Where to put this flag? Interface, common header or insert request

@waynexia Can we close this issue now that we have a hint? #4700

@fengjiachun I think we must document the hints
Let's close this issue.


About release

Is your feature request related to a problem? Please describe
A clear and concise description of what the problem is.
Example: I'm always frustrated when [...]

I don't know which version or branch or commit can be used to production environment.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Add a tag or pre-release or something can tell this is a milepost.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Write something like this in README.md: You can use the first commit in master as the newest version at present.

Additional context
Add any other context or screenshots about the feature request here.

Hi, we are preparing the first release. Thanks for you suggestion and we will update the README. For now you could use the latest commit on master branch.


Fix Token Counting of Completions for async calls

The completion was stored in the Response, which is not checked in the TokenCountIngHandler
Description
When async methods are decorated with the  the completion is incorrectly stored in the CBEventType.RESPONSE in those cases, due to a bug in the llm_completion_callback wrapper. The TokenCountingHandler assumes, that if CBEventType.PROMPT is provided, that also CBEventType.COMPLETION is present, and that if CBEventType.MESSAGES is provided, that also CBEventType.RESPONSE is provided. Which is nowhere enforced, hence this Bug was undiscovered.
Fixes #12420
Type of Change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
I ran the code provided in the Bugreport and it works, I could adapt it and add it as UnitTest - but would have to use the MockLLM.

[ ] Added new unit/integration tests
[ ] Added new notebook (that tests end-to-end)
[x] I stared at the code and made sure it makes sense

Suggested Checklist:

[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added Google Colab support for the newly added notebooks.
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] I ran make format; make lint to appease the lint gods

Yea technically @JoelGotsch been meaning to migrate the token counter to the new instrumentation modules (which is hopefully a lot less janky) Thanks for the fix


No User Saved Posts Implementation

Looking to get the current users saved posts but there doesn't appear to be any implementation for that.

redditClient.Account.Me.GetPostHistory("saved", other arguments);

@eduardobragaxz is correct.  Here's a practical example that retrieves my saved posts (do I even have any?):
IList<Post> userPostHistory = reddit.User("KrisCraig").GetPostHistory("saved");


Andale Mono shows up as Times New Roman on IE

Need to use fonts that are universal across all operating systems and browsers.

Fixed as of 5b412e97b6e96ffeb8869bc07417509f2eb276eb


add static dir as default dir for serve css/js/image files used in pr…

…oject
project dir constructure like this:
.
├── Cargo.lock
├── Cargo.toml
├── index.html
├── src
│   ├── app.rs
│   ├── lib.rs
│   └── web.rs
├── static
│   ├── bootstrap.min.css
│   ├── bootstrap.min.js
│   ├── favicon.ico
│   ├── images
│   │   ├── apple-touch-icon.png
│   │   ├── bootstrap-solid.svg
│   │   ├── favicon-16x16.png
│   │   ├── favicon-32x32.png
│   │   └── safari-pinned-tab.svg
│   ├── robots.txt
│   └── styles.css
if index.html not found in project root, use the default one.

Thanks for the PR.
So, all in all it changes:

index.html from the project folder.
Fetch all files stored in static folder within the project.

It's my pleaser to contribute to this repo, I like the design. @csharad
This patch is good for the ruukh deploy subcommand I'm trying to implement now.

@zengsai Awesome! your contributions are welcome. But before you submit a new deploy sub-command, may be we should discuss it in a tracking issue about what you are trying to achieve. So, feel free to open new issue.
Thanks again.

ok


Updates API examples and tests

Makes tests to not rely on examples. Currently changes in examples can cause tests to fail. Hopefully without dependency on examples there will be less false positives.
Also changes examples structure: pkg/api now has an examole of OpenShiftClusterDocument with the OpenShiftCluster field populated. Specific API versions can now convert this (internal) model into their representation.

Hopefully without dependency on examples there will be less false positives.

Could you give a bit more detail?  I'm prepared to agree, but I'm not yet caught on to why duplicating is better here?

@m1kola bump on question above

@jim-minter I addressed the feedback and rebased on top of the master.

Could you give a bit more detail? I'm prepared to agree, but I'm not yet caught on to why duplicating is better here?

So when I was working on other PRs (mostly admin API auth) I had few test failures not due to changes to the code, but to the changes in the examples. I think the more we rely on examples in tests the more issues like this we will be noticing.


Enhancement: different cache for specified cookies

Add possibility to vary cached page when specified cookie's parameters change

@DanielStolt do you think it's reasonable? Looks like any other header value we already support, as long as it is opt-in.

Agreed, seems reasonable to me.

I am integrating @LorenzoFrediani-Laser solution to this issue in my 1.10.x fork. Is that fine?


"missing question mark token" error when there's a comma missing in a mapping-constructor-expr

Description:
$title.
The error is for the next line.
Steps to reproduce:
type Foo record {
    int i;
    string s;
};

public function main() {
    Foo f1 = {
        i: 1 // missing a comma here
        s: "str"
    };
}

$ ballerina run xyz.bal
Compiling source
        xyz.bal
error: .::xyz.bal:9:1: missing question mark token

Affected Versions:
Preview1-M6

Missing/adding a question-mark is also syntactically correct ;)

Missing/adding a question-mark is also syntactically correct ;)

Yes, yes! Was thinking of this more as an improvement. :smiley:


Hashing techniques

Have you read the Contributing Guidelines on Pull Requests?
Yes, I have.
Description
Implementation of Three Hashing techniques (linear probing, Quadratic Probing and Double Hashing) in C++.
Checklist

[ yes] I've read the contribution guidelines.
[yes ] I've checked the issue list before deciding what to submit.
[yes ] I've edited the README.md and link to my code.

Related Issues or Pull Requests
Hashing Techniques in C++ #3252

@HarshCasper Why is the  "DeepSource: Java (beta)" check failing? Can you please help me out here??

@bhavya092 Do not worry about DeepSource: Java (beta) there is a bug in it.

@iamrajiv I have added the necessary changes. Can you review them again please?

@all-contributors please add @bhavya092 for his code


missing information eLabFTW

under adding the API key there is no info where it is stored (sentence just ends)
"After saving the key, the programm will try to connect and thus verify the key. If everything worked as expected the key will be stored in"
We are desperate to know where we can find the key

its in the user_config.json


Invalidate the old payments

At the moment, when a new payment is created the old payments are not invalidated.
This is because the payment is created in a pending state.
Probably instead of creating the payment in this way we should use the PaymentCreate service provided by solidus.

Instead of creating the payment on Square when creating the nonce we should instead store the nonce in the payment source and create the payment after the order is completed using the authorize method in the gateway.


Bow of Appolo

Description
Apollo's bow causes game crash when blocked
Attachments
Config text dump
## Settings file was created by plugin ChebsMythicalWeapons v4.3.0
## Plugin GUID: com.chebgonaz.chebsmythicalweapons
[ApolloBowItem (Server Synced)]
Bow's base knockback value.
Setting type: Single
Default value: 35
Knockback = 35
Bow's base backstab value.
Setting type: Single
Default value: 3
BackstabBonus = 3
Bow's base piercing damage value.
Setting type: Single
Default value: 80
PiercingDamage = 80
Bow's base fire damage value.
Setting type: Single
Default value: 40
FireDamage = 40
Bow's piercing damage increase per level.
Setting type: Single
Default value: 10
BonusPiercingDamagePerLevel = 10
Bow's fire damage increase per level.
Setting type: Single
Default value: 0
BonusFireDamagePerLevel = 0
Replace projectile gravity for projectiles leaving the bow to manipulate the drop. For an arrow that flies straight and true, use 0; for default arrow behaviour, use 5. This, along with projectile velocity, influences the drop of the arrow as it flies.
Setting type: Single
Default value: 5
ProjectileGravity = 5
Bow's projectile velocity value. This is the speed of the projectile when it leaves the bow. This, along with projectile gravity, influences the drop of the arrow as it flies.
Setting type: Single
Default value: 60
ProjectileVelocity = 60
Bow's projectile velocity min value (I don't know what this does).
Setting type: Single
Default value: 2
ProjectileVelocityMin = 2
Bow's projectile accuracy value (I don't know what this does).
Setting type: Single
Default value: 0
ProjectileAccuracy = 0
Bow's projectile accuracy min value (I don't know what this does).
Setting type: Single
Default value: 20
ProjectileAccuracyMin = 20
[ApolloStatueLocation (Client)]
The type of map marker shown (set to None to disable).
Setting type: PinType
Default value: Boss
Acceptable values: Icon0, Icon1, Icon2, Icon3, Death, Bed, Icon4, Shout, None, Boss, Player, RandomEvent, Ping, EventArea, Hildir1, Hildir2, Hildir3
MapMarker = Boss
[ApolloStatueLocation (Server Synced)]
The amount of Statue of Apollo locations in the world.
Setting type: Int32
Default value: 30
ApolloBowQuantity = 30
The biome in which a Statue of Apollo can appear.
Setting type: Biome
Default value: Meadows
Acceptable values: None, Meadows, Swamp, Mountain, BlackForest, Plains, AshLands, DeepNorth, Ocean, Mistlands
Multiple values can be set at the same time by separating them with , (e.g. Debug, Warning)
ApolloBowLocationBiome = Meadows
The bow skill required to take Apollo's Bow from the statue.
Setting type: Int32
Default value: 100
BowSkillRequired = 100
[BladeOfOlympusItem (Server Synced)]
Crafting station where it's available
Setting type: CraftingTable
Default value: BlackForge
Acceptable values: None, Workbench, Cauldron, Forge, ArtisanTable, StoneCutter, BlackForge
CraftingStation = BlackForge
Crafting station level required to craft
Setting type: Int32
Default value: 1
Acceptable value range: From 1 to 5
CraftingStationLevel = 1
Materials needed to craft it. None or Blank will use Default settings.
Setting type: String
Default value: Flametal:20,Silver:20,BlackMetal:20,FineWood:20
CraftingCosts = Flametal:20,Silver:20,BlackMetal:20,FineWood:20
The weather event required to forge the blade. Set to None to craft under any weather conditions.
Setting type: Env
Default value: Nofogts
Acceptable values: None, Clear, TwilightClear, Misty, DarklandsDark, HeathClear, DeepForest, Mist, GDKing, Rain, LightRain, ThunderStorm, Eikthyr, GoblinKing, Nofogts, SwampRain, Bonemass, Snow, TwilightSnow, TwilightSnowStorm, SnowStorm, Moder, Ashrain, Crypt, SunkenCrypt
CraftingWeatherCondition = Nofogts
BladeOfOlympus's base knockback value.
Setting type: Single
Default value: 50
Knockback = 50
BladeOfOlympus's base backstab value.
Setting type: Single
Default value: 3
BackstabBonus = 3
BladeOfOlympus's base slash damage value.
Setting type: Single
Default value: 100
SlashDamage = 100
BladeOfOlympus's base spirit damage value.
Setting type: Single
Default value: 50
LightningDamage = 50
BladeOfOlympus's slash damage increase per level.
Setting type: Single
Default value: 20
BonusSlashDamagePerLevel = 20
BladeOfOlympus's spirit damage increase per level.
Setting type: Single
Default value: 0
BonusLightningDamagePerLevel = 0
BladeOfOlympus's base blocking power.
Setting type: Single
Default value: 43
BlockPower = 43
BladeOfOlympus's blocking power increase per level.
Setting type: Single
Default value: 0
BlockPowerPerLevel = 0
BladeOfOlympus's base deflection force.
Setting type: Single
Default value: 43
DeflectionForce = 43
BladeOfOlympus's deflection force increase per level.
Setting type: Single
Default value: 0
DeflectionForcePerLevel = 0
[ChebsMythicalWeapons (Client)]
ONLY set this to true if you have graphical issues with the mod. It will disable all particle effects for the mod's prefabs which seem to give users with Radeon cards trouble for unknown reasons. If you have problems with lag it might also help to switchthis setting on.
Setting type: Boolean
Default value: false
RadeonFriendly = false
[ExcaliburItem (Server Synced)]
Excalibur's base knockback value.
Setting type: Single
Default value: 50
Knockback = 50
Excalibur's base backstab value.
Setting type: Single
Default value: 3
BackstabBonus = 3
Excalibur's base slash damage value.
Setting type: Single
Default value: 100
SlashDamage = 100
Excalibur's base spirit damage value.
Setting type: Single
Default value: 50
SpiritDamage = 50
Excalibur's slash damage increase per level.
Setting type: Single
Default value: 20
BonusSlashDamagePerLevel = 20
Excalibur's spirit damage increase per level.
Setting type: Single
Default value: 0
BonusSpiritDamagePerLevel = 0
Excalibur's base blocking power.
Setting type: Single
Default value: 43
BlockPower = 43
Excalibur's blocking power increase per level.
Setting type: Single
Default value: 0
BlockPowerPerLevel = 0
Excalibur's base deflection force.
Setting type: Single
Default value: 43
DeflectionForce = 43
Excalibur's deflection force increase per level.
Setting type: Single
Default value: 0
DeflectionForcePerLevel = 0
[GreatswordOfOlympusItem (Server Synced)]
Crafting station where it's available
Setting type: CraftingTable
Default value: BlackForge
Acceptable values: None, Workbench, Cauldron, Forge, ArtisanTable, StoneCutter, BlackForge
CraftingStation = BlackForge
Crafting station level required to craft
Setting type: Int32
Default value: 1
Acceptable value range: From 1 to 5
CraftingStationLevel = 1
Materials needed to craft it. None or Blank will use Default settings.
Setting type: String
Default value: Flametal:20,Silver:20,BlackMetal:20,FineWood:20
CraftingCosts = Flametal:20,Silver:20,BlackMetal:20,FineWood:20
The weather event required to forge the greatsword. Set to None to craft under any weather conditions.
Setting type: Env
Default value: Nofogts
Acceptable values: None, Clear, TwilightClear, Misty, DarklandsDark, HeathClear, DeepForest, Mist, GDKing, Rain, LightRain, ThunderStorm, Eikthyr, GoblinKing, Nofogts, SwampRain, Bonemass, Snow, TwilightSnow, TwilightSnowStorm, SnowStorm, Moder, Ashrain, Crypt, SunkenCrypt
CraftingWeatherCondition = Nofogts
GreatswordOfOlympus's base knockback value.
Setting type: Single
Default value: 75
Knockback = 75
GreatswordOfOlympus's base backstab value.
Setting type: Single
Default value: 3
BackstabBonus = 3
GreatswordOfOlympus's base slash damage value.
Setting type: Single
Default value: 140
SlashDamage = 140
GreatswordOfOlympus's base spirit damage value.
Setting type: Single
Default value: 50
LightningDamage = 50
GreatswordOfOlympus's slash damage increase per level.
Setting type: Single
Default value: 25
BonusSlashDamagePerLevel = 25
GreatswordOfOlympus's spirit damage increase per level.
Setting type: Single
Default value: 0
BonusLightningDamagePerLevel = 0
GreatswordOfOlympus's base blocking power.
Setting type: Single
Default value: 86
BlockPower = 86
GreatswordOfOlympus's blocking power increase per level.
Setting type: Single
Default value: 0
BlockPowerPerLevel = 0
GreatswordOfOlympus's base deflection force.
Setting type: Single
Default value: 86
DeflectionForce = 86
GreatswordOfOlympus's deflection force increase per level.
Setting type: Single
Default value: 0
DeflectionForcePerLevel = 0
[JoyceItem (Server Synced)]
Crafting station where it's available
Setting type: CraftingTable
Default value: BlackForge
Acceptable values: None, Workbench, Cauldron, Forge, ArtisanTable, StoneCutter, BlackForge
CraftingStation = BlackForge
Joyce's base knockback value.
Setting type: Single
Default value: 50
Knockback = 50
Joyce's base backstab value.
Setting type: Single
Default value: 3
BackstabBonus = 3
Joyce's base slash damage value.
Setting type: Single
Default value: 100
SlashDamage = 100
Joyce's base spirit damage value.
Setting type: Single
Default value: 50
FireDamage = 50
Joyce's base chop damage value.
Setting type: Single
Default value: 100
ChopDamage = 100
Joyce's slash damage increase per level.
Setting type: Single
Default value: 20
BonusSlashDamagePerLevel = 20
Joyce's spirit damage increase per level.
Setting type: Single
Default value: 0
BonusFireDamagePerLevel = 0
Joyce's chop damage increase per level.
Setting type: Single
Default value: 20
BonusChopDamagePerLevel = 20
Joyce's base blocking power.
Setting type: Single
Default value: 43
BlockPower = 43
Joyce's blocking power increase per level.
Setting type: Single
Default value: 0
BlockPowerPerLevel = 0
Joyce's base deflection force.
Setting type: Single
Default value: 43
DeflectionForce = 43
Joyce's deflection force increase per level.
Setting type: Single
Default value: 0
DeflectionForcePerLevel = 0
Joyce's tool tier level (determines what can be cut eg. 4 = black metal axe).
Setting type: Int32
Default value: 4
ToolTier = 4
[MinotaurCreature (Client)]
The type of map marker shown for the minotaur (set to None to disable).
Setting type: PinType
Default value: Boss
Acceptable values: Icon0, Icon1, Icon2, Icon3, Death, Bed, Icon4, Shout, None, Boss, Player, RandomEvent, Ping, EventArea, Hildir1, Hildir2, Hildir3
MapMarker = Boss
[MinotaurCreature (Server Synced)]
The faction of the character.
Setting type: Faction
Default value: PlainsMonsters
Acceptable values: Players, AnimalsVeg, ForestMonsters, Undead, Demon, MountainMonsters, SeaMonsters, PlainsMonsters, Boss, MistlandsMonsters, Dverger
Faction = PlainsMonsters
The chance of spawning the creature.
Setting type: Single
Default value: 1
SpawnChance = 1
The interval between creature spawns.
Setting type: Single
Default value: 1
SpawnInterval = 1
The distance at which the creature can spawn.
Setting type: Single
Default value: 1
SpawnDistance = 1
The maximum number of creatures that can be spawned.
Setting type: Int32
Default value: 1
MaxSpawned = 1
The biome where the creature spawns.
Setting type: Biome
Default value: Plains
Acceptable values: None, Meadows, Swamp, Mountain, BlackForest, Plains, AshLands, DeepNorth, Ocean, Mistlands
Multiple values can be set at the same time by separating them with , (e.g. Debug, Warning)
Biome = Plains
The health of the creature.
Setting type: Single
Default value: 2500
Health = 2500
[SunArrowItem (Server Synced)]
Crafting station where it's available
Setting type: CraftingTable
Default value: Forge
Acceptable values: None, Workbench, Cauldron, Forge, ArtisanTable, StoneCutter, BlackForge
CraftingStation = Forge
Crafting station level required to craft
Setting type: Int32
Default value: 1
Acceptable value range: From 1 to 5
CraftingStationLevel = 1
Materials needed to craft it. None or Blank will use Default settings.
Setting type: String
Default value: Flametal:2,FineWood:20
CraftingCosts = Flametal:2,FineWood:20
Bow's base knockback value.
Setting type: Single
Default value: 35
Knockback = 35
Base piercing damage value.
Setting type: Single
Default value: 95
PiercingDamage = 95
Base fire damage value.
Setting type: Single
Default value: 5
FireDamage = 5
[SwordInTheStoneLocation (Client)]
The type of map marker shown (set to None to disable).
Setting type: PinType
Default value: Boss
Acceptable values: Icon0, Icon1, Icon2, Icon3, Death, Bed, Icon4, Shout, None, Boss, Player, RandomEvent, Ping, EventArea, Hildir1, Hildir2, Hildir3
MapMarker = Boss
[SwordInTheStoneLocation (Server Synced)]
The amount of Sword in the Stone locations in the world.
Setting type: Int32
Default value: 30
Quantity = 30
The biome in which a Sword in the Stone can appear.
Setting type: Biome
Default value: Meadows
Acceptable values: None, Meadows, Swamp, Mountain, BlackForest, Plains, AshLands, DeepNorth, Ocean, Mistlands
Multiple values can be set at the same time by separating them with , (e.g. Debug, Warning)
Biome = Meadows
The sword skill required to take Excalibur out of the stone.
Setting type: Int32
Default value: 100
SwordSkillRequired = 100
To Reproduce (if applicable)
Steps to reproduce the bug. For example:

apollo bow damage block weapon
Game crash

https://github.com/jpw1991/chebs-mythical-weapons/assets/150222207/8462daf2-98cd-4b81-bdcb-611f97bdaad9
Video

Thank you, I'll look into it

Fixed in 4.3.1


Handle destructor block

This block was still not handled add support for it

@alkino : in the commit messages please add fixes #issue-number so that issues are linked & automatically closed from PR merges. (Issue #584)


update cosign image to latest release

Fix #2895
Update cosign image used by integration test to latest version 2.2.3.
https://console.cloud.google.com/gcr/images/projectsigstore/global/cosign@sha256:8fc9cad121611e8479f65f79f2e5bea58949e8a87ffac2a42cb99cf0ff079ba7/details
Based on https://github.com/containerd/nerdctl/issues/2895#issuecomment-2016843711:

Cherry-picked

https://github.com/containerd/nerdctl/pull/2958


KAFKA-9524: increase retention time for window and grace periods longer than one day

Reproducing:
The bug can be easily reproduced for any TimeWindow where window + grace period > 1 day. Changing any test in TimeWindowedKStreamImplTest.java for this condition will reproduce the bug.
Cause:
The root cause is that .grace(...) never updates the default maintainDurationMs field value. The value is thus always 1 day - throwing the IllegalArgumentException when validating it at a later stage.
Implementation comments:
I believe that a minimum retention period of 1 day is desired because of log compaction - thus I used the Math.Max(window+grace, default maintainDurationMs-1 day-) to calculate the minimum retention period.
I am a bit unsure about the test - currently it indirectly tests the bug. The bug would throw a IllegalArgumentException, preventing the test scenario from working with any aggregation (count, reduce, etc). I've implemented the test with count operation to ensure consistency of the window behaviour. If this is not required, maybe just calling processData() and asserting that the original reported exception is not thrown should be enough.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Rather than having the grace(...) method update maintainDurationMs, would it be better to update maintainMs() to return Math.max(maintainDurationMs, sizeMs + graceMs) rather than Math.max(maintainDurationMs, sizeMs)?
https://github.com/apache/kafka/blob/7583e14fb20b34a044d92dcf6b078456bc4f6903/streams/src/main/java/org/apache/kafka/streams/kstream/TimeWindows.java#L247-L249
This feels more consistent with the fact that maintainDurationMs currently not only does not reflect grace period, but also does not reflect window size.

@vcrfxia I see your point. IMHO usually I refrain from having get() and set() (or equivalent methods) doing tasks other than just accessing fields. In the scenario of some extra processing, I usually change the behaviour name to depict that (e.g. getEffectiveMaintainMs)- so that a reader can guess that there's something going on more than accessing just maintainDurationMs fields.
Having said that, this is an original implementer decision and I see that other methods like gracePeriodMs() also perform computations when returning values - so I will just comply with the coding style here.
I saw that there's a kind of magic number on grace periods, that is -1 when not specified. Because of this, the implementation to just
public long maintainMs() {
    Math.max(maintainDurationMs, sizeMs + graceMs);
}

would fail for windows bigger than one day and with no grace period, returning the maintainSizeValue of windowsSize - 1 ms instead of windowsSize.
I have updated the PR to follow your suggestions and coping with the problem mentioned above.

@vcrfxia Nice one! I performed the suggested the changes. Thanks to your test comments and the fact that now we perform the computation on maintainMs() method, I could change the testing approach to directly test the bug with two lines of code in TimeWindowsTest instead. This conserves the separation of concerns between the tests. Updated the test file.

Thanks for the PR @MarcoLotz! And congrats to your first code contribution!
Thanks for reviewing @vcrfxia!
Merged to trunk and cherry-picked to 2.8 branch.


Replace Popen calls to nmcli with api calls to the Python GI API

With this rather thorough rewrite of nmcli-dmenu almost all calls to nmcli have been eliminated and been replaced with calls to the Python GI API (https://lazka.github.io/pgi-docs/#NM-1.0)
This requires PyGObjects (https://wiki.gnome.org/Projects/PyGObject), which should be widely available.
The upside to this is a decrease in execution time.
For me the execution time, before dmenu (or in my place rofi) is displayed is decreased from ~3.0 seconds to ~ 0.5 seconds. Which is quite noticeable.
Please be free to ask about the changes, I tried to make it behave in the same way as before.
I could not test the GSM part or multiple WiFi adapters!

Wow, thanks! We just moved, so I'll need a little time to digest this. I wonder if most people will be ok with the extra dependency or if I should leave the original version as a separate branch.
It is noticeable faster! Nice work!

I made some relatively minor changes...disregard the duplicate commits above, I was trying something and did a force push.
Looks like the only function that remains to be rewritten using gobject is set_new_connection(). Are you already working on that?
Did you work directly from the documentation or were there some examples to get you started? This gobject stuff is not intuitive for me for me at all!!

I have not started to rewrite that last function. First wanted to show my progress and wait for feedback.
Some small example scripts can be found here: https://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/examples/python/gi
From those I took two small functions. I am not versed in Licences so I am not sure if this is okay or needs attribution.
I have to agree with you, that the API first seems quite complex. Especially the difference between an active and a normal connection weren't clear to me at first.
The introduction of the Action class was however not needed by the API, but this way it seems cleaner, to me at least ;)

I went ahead and merged this with a few more minor fixes. I'll leave the PR open until one of us finishes the set_new_connection() function. Thanks!

Initial take on set_new_connection() with GObject. Seems to work. Going to test more in different places. Any other testers would be welcome. Branch He-Ro-Master.

Awesome, that you merged it. I briefly tested the new code for connecting to new networks. What I found is, that when leaving the password empty for a WPA2 connection (where there is a minimum length for the key) this is still acepted and a connection with this too short password is created. Now trying to connect to this network is no longer possible from nmcli-dmenu, because now the existing connection is used. Maybe one could delete the connection, if the connection was not established correctly?

Ooops, I actually had code in there originally that did exactly that! Forgot to port it to the GObject code. Thanks!

I do not know, how you implemented that functionality, but this verification (https://lazka.github.io/pgi-docs/NetworkManager-1.0/classes/Connection.html#NetworkManager.Connection.verify) seems like a good starting point. It can check, whether the settings are valid, before even adding the connection (as far, as I understand it).

Ok, implemented a verify_conn function to check validity and remove the connection on errors. Can you test it and let me know if it works for you as well (Hero-Ro-master branch)? Seems functional here so far. I'm a little concerned that on a connection that negotiates the passphrase more slowly that the verify_conn checks may miss a passphrase error.
Thanks!

It seems to work for me in a quick test. The connection is not added to network manager and thus after a failed attempt, I can try to connect to the same wifi again.

Cool. I consolidated all the AP list creation/filtering into one function and merged. Thanks again for doing this!!


modulesync 0.13.0 - 0.16.8

Can this be upped to 0.16.6 or whatever is latest, including cleaning up the PR title?

This is still failing test. BUT! It was failing tests before. I cleaned up rubocop warnings on all the files not related to failing tests. I am not qualified to fix the augeas-related type/provider errors so unless someone can fix that, I think this is ready to merge. This is still a vast improvement from the previous state.

Thanks!


typo in doc

https://github.com/mwaylabs/generator-m-ionic/blob/master/docs/guides/bower_component_usage.md
reads angular-translate instead of localforage in the install command

done with #422


Reduce rendering work in UI threads

refs #51
This PR distributes the GIF decoding process for each frames.
The frame drawing process is performed asynchronously for each frames.
As a result, this PR prevents UI freeze when a large GIF image is set as the AnimatedSource.
NOTE: This PR removes support for net30 and net40.
Behaviour before change

Behaviour after change

Hi @whistyun,
Thanks for the PR! However, for such a big change, it's better to first discuss it in an issue to ensure we're on the same page. It's going to take me a while to review the PR, and to be honest I don't have a lot of spare time at the moment.
Could you please explain your changes to make it easier to review?

NOTE: This PR removes support for net30 and net40.

Was that necessary to make your changes? I mean, I'm not necessarily against dropping old frameworks, but it should be done for a good reason, and preferably as a separate PR.

NOTE: This PR removes support for net30 and net40.

Was that necessary to make your changes? I mean, I'm not necessarily against dropping old frameworks, but it should be done for a good reason, and preferably as a separate PR.

This is necessary to implement parallel operations.
net30 does not have Task class. I removed the old framework to use Task.Run method.

Could you please explain your changes to make it easier to review?

Apologies for sending a big PR without explanation.
The changes are listed below.

move the methods related to frame creation from ImageBehavior.
Because the processing related to rendering has become lengthy, I moved it from ImageBehavior.cs to DelayFrameAnimation.cs.

create DelayFrameAnimation class instead of ObjectAnimationUsingKeyFrames
To do asynchronous rendering every frame, a new ObjectAnimationBase has to be created to treat Task<BitmapSource> instead of BitmapSource.

stop using 'RenderTargetBitmap.Render, use WriteableBitmap.WritePixels` instead
RenderTargetBitmap.Render takes a long time (at least in my environment).
I removed the use of DrawingContext.DrawImage and replaced with the process of writing byte[] to a WriteableBitmap. (DelayBitmapSource.Draw)
byte[] is generated by decompresing GifImageData.LzwMinimumCodeSize (DelayBitmapData.Decompress)

stop using BitmapDecoder
As a result of 3., There is no more information to acquire from BitmapDecoder, so I modified the code to retrieve only GifFile without BitmapDecoder.

Hi @whistyun,
Thanks for the explanations. It's a pretty extensive refactoring. To be honest, it makes such fundamental changes that I feel it's no longer really the same library... This isn't necessarily a bad thing in itself, but if I just merged your PR, I would no longer be able to maintain the code, because I would no longer understand it... See my problem here?
So, I'm not going to merge your PR. I know this is frustrating, and I'm sorry. It just changes too many things, and I don't have the time and energy to relearn how it all works, and to debug the new issues that will inevitably arise. If you really need those changes, consider forking the library. As you probably realized, I don't really work on this library anymore, so you won't have trouble keeping up with my changes :wink:
I see you actually implemented the LZW decompression (nice work!). If it's fast enough, it might not even be necessary to prepare the frames in advance (which uses a lot of memory), they could just be rendered on the fly. That's what I attempted to do in my other GIF library, but the performance isn't great. Looks like your LZW implementation might perform better (although it could probably be optimized further; it does a lot of allocations that could be avoided). If you don't have an objection, I might try to use it in XamlAnimatedGif (not likely, because again, I don't have enough spare time, but it'd be interesting to see if it improves the performance).


Use the tap() method instead of with(), as tap() returns the object instead of returning the last expression of the closure like with with().

Without this change, variable p3 actually contained the int 1951

Because born = 1951 is inside a closure, it is routed through ScriptBytecodeAdapter.setGroovyObjectProperty, if that line had been setBorn(1951), it would have been okay to stick with with.


Call Lock after objects to lock have been added

This fixes a small but serious bug in the new thread safety code, introduced in https://github.com/srajko/nodegit/commit/dbce34f9f6298c6df80f2e0771dcafef51a6c35f
The referenced commit moves the call to ConstructorImpl before AddParameters, because AddParameters relies of impl being initialized, and ConstructorImpl initializes impl.  Unfortunately, ConstructorImpl was also calling Lock, and after this change Lock was doing nothing because ObjectsToLock calls happen in AddParameters, which was now happening later.
This PR moves the Lock call into a new ObjectsToLockAdded method, which is called after AddParameters.
I will try to add some testing for the locking itself (in a separate PR, to not tie this up)... it might be hard to do detailed testing from JS, but even a basic "assert that something got locked at some point" test would have helped catch this.

Thanks @srajko!


Template item could remember incorrect templateSibling element

When a template element is extracted from the Document, it retains its nextElementSibling so that when it's inserted back into the Document it will be placed in the correct location.
However, if there are multiple elements of the same tag as siblings to the template element, sometimes the template element will be inserted before the wrong sibling. I expect this is to do with the conversion of the XPath selector, but could easily be remedied by storing the reference to the actual node.
Example:

Test

This element will always be after the H1

This is the template element

This is the contents of the first DIV. The template should come before it.

This is the contents of the second DIV. The previous DIV should come before it.

Reopening. Doesn't work with this html:
<!doctype html>

	<input type="radio" name="tab-control" id="tab-report" checked />
	<input type="radio" name="tab-control" id="tab-log"/>
	<input type="radio" name="tab-control" id="tab-emails"/>
	<input type="radio" name="tab-control" id="tab-attachments"/>

Non Conformance Report (NCR)

		Close

		<form method="post" class="submission" enctype="multipart/form-data">
			<input type="hidden" name="issuerUuid" data-bind:value="userUuid" />

NCR Submission

						Pass on to
						<select name="pass-on-to" data-bind:value="passOnToUserUuid">
							<option></option>
							<option data-template data-bind:text="fullName" data-bind:value="uuid"></option>
						</select>

						Assign User
						<select name="tag-user" data-bind:value="tagUserUuid">
							<option></option>
							<option data-template data-bind:text="fullName" data-bind:value="uuid"></option>
						</select>

					<button name="do" value="save-request">Save</button>
					<button name="do" value="submit-request" onclick="return confirm('Are you sure this NCR is ready to be submitted?')">Submit NCR</button>

		</form>


standalone: Add a small "generated by" footer

Adds a very small footer
at the bottom of each page in standalone mode
that indicates that it was generated by doc2go.

Codecov Report
Base: 89.14% // Head: 89.14% // No change to project coverage :thumbsup:

Coverage data is based on head (271adcc) compared to base (809a7a4).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #65   +/-   ##
=======================================
  Coverage   89.14%   89.14%
=======================================
  Files          28       28
  Lines        1492     1492
=======================================
  Hits         1330     1330
  Misses        116      116
  Partials       46       46

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Updating AUSS, SODA and SODAO logos

I agree to not ping anybody on Discord/Twitter/email about this pull request. Instead I will inquire by posting a new comment in the pull request if needed.

PRs are reviewed in bulk and and can take up to two weeks to be merged.
Please provide the following information for your token.

Updating token logos for SODA and SODAO.

@oJshua @bartosz-lipinski @federaa Solana network upgrade/expansion must be nuts. Any plans to approve PRs soon?

I've been trying to behave, @bartosz-lipinski, @oJshua, @federaa... but can someone look at this PR and merge it? It's been over 3 weeks...