Exception: Gradle build failed to produce an .apk file. It's likely that this file was generated under C:\project\flutter\sotrunx2\build, but the tool couldn't find it.

Steps to Reproduce

Execute flutter run -v  -->
...
Exception: Gradle build failed to produce an .apk file. It's likely that this file was generated under C:\project\flutter\sotrunx2\build, but the tool couldn't find it.

Expected results:
run app to android device
Actual results:
Exception: Gradle build failed to produce an .apk file. It's likely that this file was generated under C:\project\flutter\sotrunx2\build, but the tool couldn't find it.

[  +54 ms] executing: [C:\sdk\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H

[  +62 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] d571257a9916714b86fe6ac8daab1acbb27a00b4
[   +1 ms] executing: [C:\sdk\flutter/] git tag --points-at d571257a9916714b86fe6ac8daab1acbb27a00b4
[  +45 ms] Exit code 0 from: git tag --points-at d571257a9916714b86fe6ac8daab1acbb27a00b4
[   +2 ms] executing: [C:\sdk\flutter/] git describe --match ..* --long --tags
d571257a9916714b86fe6ac8daab1acbb27a00b4
[  +64 ms] Exit code 0 from: git describe --match ..* --long --tags d571257a9916714b86fe6ac8daab1acbb27a00b4
[   +1 ms] 2.9.0-0.0.pre-140-gd571257a99
[   +9 ms] executing: [C:\sdk\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +39 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +2 ms] origin/master
[        ] executing: [C:\sdk\flutter/] git ls-remote --get-url origin
[  +35 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms] https://github.com/flutter/flutter.git
[  +98 ms] executing: [C:\sdk\flutter/] git rev-parse --abbrev-ref HEAD
[  +40 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] master
[  +62 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[   +1 ms] 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.
[   +1 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[   +4 ms] Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
[  +53 ms] executing: C:\sdk\Android\platform-tools\adb.exe devices -l
[  +58 ms] List of devices attached
fylb79faz5xoaqpv       device product:chopin model:M2104K10AC device:chopin transport_id:1
[   +6 ms] C:\sdk\Android\platform-tools\adb.exe -s fylb79faz5xoaqpv shell getprop
[ +125 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +7 ms] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] 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.
[  +81 ms] Skipping pub get: version match.
[  +72 ms] Generating
C:\project\flutter\sotrunx2.android\Flutter\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +52 ms] ro.hardware = mt6891
[   +1 ms] ro.build.characteristics = nosdcard
[  +35 ms] Initializing file store
[  +10 ms] Skipping target: gen_localizations
[   +6 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have
updated contents: C:\project\flutter\sotrunx2.dart_tool\package_config_subset}
[  +25 ms] gen_dart_plugin_registrant: Complete
[   +2 ms] Skipping target: _composite
[   +2 ms] complete
[   +5 ms] Launching lib\main.dart on M2104K10AC in debug mode...
[   +4 ms] C:\sdk\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\sdk\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\sdk\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter
--debugger-module-names --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill
C:\Users\qssq5\AppData\Local\Temp\flutter_tools.b9cc9532\flutter_tool.146b6bf8\app.dill --packages
C:\project\flutter\sotrunx2.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 --flutter-widget-cache
--enable-experiment=alternative-invalidation-strategy
[  +46 ms] executing: C:\sdk\Android\platform-tools\adb.exe -s fylb79faz5xoaqpv shell -x logcat -v time -t 1
[  +14 ms] <- compile package:sotrunx/main.dart
[ +172 ms] --------- beginning of main
12-23 17:36:46.454 W/sh      (21869): type=1400 audit(0.0:1817837): avc: denied { search } for
name="mm" dev="sysfs" ino=9370 scontext=u:r:shell:s0 tcontext=u:object_r:sysfs_mm:s0 tclass=dir
permissive=0 app=com.tencent.mobileqq
[   +9 ms] executing: C:\sdk\Android\platform-tools\adb.exe version
[  +41 ms] Android Debug Bridge version 1.0.41
Version 31.0.3-7562133
Installed as C:\sdk\Android\platform-tools\adb.exe
[   +6 ms] executing: C:\sdk\Android\platform-tools\adb.exe start-server
[  +36 ms] Building APK
[  +20 ms] Running Gradle task 'assembleDebug'...
[   +5 ms] Using gradle from C:\project\flutter\sotrunx2\android\gradlew.bat.
[  +13 ms] executing: C:\Android\Android Studio\jre\bin\java -version
[ +129 ms] Exit code 0 from: C:\Android\Android Studio\jre\bin\java -version
[   +1 ms] 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)
[   +4 ms] executing: C:\soft\android-studio2<IP_ADDRESS>\jre\bin\java -version
[ +118 ms] Exit code 0 from: C:\soft\android-studio2<IP_ADDRESS>\jre\bin\java -version
[   +1 ms] openjdk version "11.0.11" 2021-04-20
OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
OpenJDK 64-Bit Server VM (build 11.0.11+9-b60-7590822, mixed mode)
[   +2 ms] executing: C:\soft\android-studio2<IP_ADDRESS>\jre\bin\java -version
[ +123 ms] Exit code 0 from: C:\soft\android-studio2<IP_ADDRESS>\jre\bin\java -version
[   +1 ms] openjdk version "11.0.11" 2021-04-20
OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
OpenJDK 64-Bit Server VM (build 11.0.11+9-b60-7590822, mixed mode)
[   +3 ms] executing: [C:\project\flutter\sotrunx2\android/] C:\project\flutter\sotrunx2\android\gradlew.bat
-Pverbose=true -Ptarget-platform=android-arm64 -Ptarget=C:\project\flutter\sotrunx2\lib\main.dart
-Pbase-application-name=android.app.Application -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ==
-Pdart-obfuscation=false -Ptrack-widget-creation=true -Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root
assembleDebug
[+4268 ms] > Task :app:compileFlutterBuildDebug
[   +1 ms] [  +64 ms] executing: [C:\sdk\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [  +61 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] d571257a9916714b86fe6ac8daab1acbb27a00b4
[        ] [        ] executing: [C:\sdk\flutter/] git tag --points-at d571257a9916714b86fe6ac8daab1acbb27a00b4
[        ] [  +45 ms] Exit code 0 from: git tag --points-at d571257a9916714b86fe6ac8daab1acbb27a00b4
[        ] [   +1 ms] executing: [C:\sdk\flutter/] git describe --match ..* --long --tags d571257a9916714b86fe6ac8daab1acbb27a00b4
[   +1 ms] [  +65 ms] Exit code 0 from: git describe --match ..* --long --tags d571257a9916714b86fe6ac8daab1acbb27a00b4
[        ] [        ] 2.9.0-0.0.pre-140-gd571257a99
[        ] [   +6 ms] executing: [C:\sdk\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [  +42 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/master
[        ] [        ] executing: [C:\sdk\flutter/] git ls-remote --get-url origin
[        ] [  +43 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +55 ms] executing: [C:\sdk\flutter/] git rev-parse --abbrev-ref HEAD
[   +5 ms] [  +49 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +3 ms] [        ] master
[   +1 ms] [  +62 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.
[        ] [   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[   +4 ms] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +2 ms] [        ] 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.
[        ] [   +6 ms] Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
[        ] [ +106 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [   +5 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +5 ms] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[   +2 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.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +5 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [  +41 ms] Initializing file store
[        ] [  +12 ms] Done initializing file store
[        ] [  +34 ms] Skipping target: gen_localizations
[        ] [  +10 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents:
C:\project\flutter\sotrunx2.dart_tool\package_config_subset}
[   +1 ms] [  +42 ms] gen_dart_plugin_registrant: Complete
[   +1 ms] [ +393 ms] kernel_snapshot: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents:
C:\project\flutter\sotrunx2.dart_tool\package_config_subset}
[   +1 ms] [   +8 ms] C:\sdk\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\sdk\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root C:\sdk\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/
--target=flutter --no-print-incremental-dependencies -DFLUTTER_WEB_AUTO_DETECT=true -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts
--track-widget-creation --no-link-platform --packages C:\project\flutter\sotrunx2.dart_tool\package_config.json --output-dill
C:\project\flutter\sotrunx2.dart_tool\flutter_build\710bdff7b7b9f665ceac01a927e711dc\app.dill --depfile
C:\project\flutter\sotrunx2.dart_tool\flutter_build\710bdff7b7b9f665ceac01a927e711dc\kernel_snapshot.d package:sotrunx/main.dart
[+7125 ms] [+7450 ms] kernel_snapshot: Complete
[ +191 ms] [ +187 ms] debug_android_application: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents:
C:\project\flutter\sotrunx2\pubspec.yaml}
[ +301 ms] [ +265 ms] debug_android_application: Complete
[ +199 ms] [ +229 ms] Persisting file store
[        ] [   +5 ms] Done persisting file store
[        ] [   +5 ms] build succeeded.
[        ] [   +8 ms] "flutter assemble" took 8,842ms.
[ +297 ms] [ +257 ms] ensureAnalyticsSent: 253ms
[        ] [        ] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 0
[ +204 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[   +1 ms] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preDebugBuild UP-TO-DATE
[        ] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[   +2 ms] > Task :app:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :app:checkDebugAarMetadata UP-TO-DATE
[ +194 ms] > Task :app:cleanMergeDebugAssets
[   +5 ms] > Task :app:mergeDebugShaders UP-TO-DATE
[   +3 ms] > Task :app:compileDebugShaders NO-SOURCE
[        ] > Task :app:generateDebugAssets UP-TO-DATE
[   +1 ms] > Task :app:mergeDebugAssets
[ +382 ms] > Task :app:copyFlutterAssetsDebug
[   +2 ms] > Task :app:generateDebugResValues UP-TO-DATE
[        ] > Task :app:generateDebugResources UP-TO-DATE
[        ] > Task :app:mergeDebugResources UP-TO-DATE
[   +2 ms] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[   +1 ms] > Task :app:extractDeepLinksDebug UP-TO-DATE
[   +1 ms] > Task :app:processDebugMainManifest UP-TO-DATE
[        ] > Task :app:processDebugManifest UP-TO-DATE
[        ] > Task :app:processDebugManifestForPackage UP-TO-DATE
[  +97 ms] > Task :app:processDebugResources UP-TO-DATE
[   +2 ms] > Task :app:compileDebugKotlin UP-TO-DATE
[   +1 ms] > Task :app:javaPreCompileDebug UP-TO-DATE
[        ] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :app:compileDebugSources UP-TO-DATE
[   +3 ms] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
[        ] > Task :app:compressDebugAssets UP-TO-DATE
[        ] > Task :app:processDebugJavaRes NO-SOURCE
[        ] > Task :app:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[  +83 ms] > Task :app:dexBuilderDebug UP-TO-DATE
[   +4 ms] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[   +6 ms] > Task :app:mergeExtDexDebug UP-TO-DATE
[   +5 ms] > Task :app:mergeDexDebug UP-TO-DATE
[  +90 ms] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[   +4 ms] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[   +2 ms] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[        ] > Task :app:validateSigningDebug UP-TO-DATE
[        ] > Task :app:packageDebug UP-TO-DATE
[  +83 ms] > Task :app:assembleDebug
[   +2 ms] 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
[        ] BUILD SUCCESSFUL in 13s
[        ] 32 actionable tasks: 5 executed, 27 up-to-date
[ +545 ms] Running Gradle task 'assembleDebug'... (completed in 14.6s)
[   +4 ms] LocalFile: 'C:\project\flutter\sotrunx2\android\build.gradle' provides AGP version: 4.1.0
[   +3 ms] Exception: Gradle build failed to produce an .apk file. It's likely that this file was generated under C:\project\flutter\sotrunx2\build, but the tool
couldn't find
it.
[   +2 ms] "flutter run" took 15,584ms.
[   +3 ms]
#0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
#1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:684:9)

#2      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:1161:27)

#3      AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#4      CommandRunner.runCommand (package:args/command_runner.dart:209:13)

#5      FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)

#6      AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)

#8      run.. (package:flutter_tools/runner.dart:62:9)

#9      AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#10     main (package:flutter_tools/executable.dart:94:3)

[ +112 ms] ensureAnalyticsSent: 110ms
[   +3 ms] Running shutdown hooks
[   +2 ms] Shutdown hooks complete
[        ] exiting with code 1
PS C:\project\flutter\sotrunx2>
PS C:\project\flutter\sotrunx2> flutter doctor
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel master, 2.9.0-1.0.pre.140, on Microsoft Windows [Version 10.0.19042.1348], locale zh-CN)
[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Professional 2022 17.0.3)
[√] Android Studio (version 2020.3)
[√] Android Studio (version 2021.1)
[√] IntelliJ IDEA Community Edition (version 2020.3)
[☠] IntelliJ IDEA Community Edition (the doctor check crashed)
X Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at
https://github.com/flutter/flutter/issues.
X FormatException: Unexpected extension byte (at offset 5)
[√] VS Code (version 1.63.2)
[√] Connected device (4 available)
|

file is exist

 ]      Attribute application@name at AndroidManifest.xml:6:9-42 requires a placeholder substitution but no value for <applicationName> is provided.

yaml

name: sotrunx
description: A new flutter module project.

# 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
#
# This version is used _only_ for the Runner app, which is used if you just do
# a `flutter run` or a `flutter make-host-app-editable`. It has no impact
# on any other native host app that you embed your Flutter project into.
version: 1.0.0+1

environment:
  sdk: ">=2.15.0-46.0.dev <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  flutter_svg:  1.0.0
  # 添加下面的依赖项
  flutter_localizations:
    sdk: flutter
  #   intl: 0.17.0
  #  intl_translation: 1.12.0
  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^1.0.2
  animations: ^2.0.0
  dio: 4.0.4
  sprintf: 6.0.0
  webview_flutter: ^3.0.0

dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_lints: ^1.0.0

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

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.
  assets:
    - assets/drawable/down_arrow.png
    - assets/drawable/empty_view_status_empty.png
    - assets/drawable/ic_about_us.png
    - assets/drawable/ic_action_menu_scan.png
    - assets/drawable/ic_alarm.png
    - assets/drawable/ic_break_up_vector.png
    - assets/drawable/ic_close.png
    - assets/drawable/ic_complete_1.png
    - assets/drawable/ic_complete_vector.png
    - assets/drawable/ic_complete_white.png
    - assets/drawable/ic_dashboard_black_24dp_vector.png
    - assets/drawable/ic_delete_all_vector.png
    - assets/drawable/ic_device_info_vector.png
    - assets/drawable/ic_edit_menu_vector.png
    - assets/drawable/ic_empty.png
    - assets/drawable/ic_enter_storage.png
    - assets/drawable/ic_error.png
    - assets/drawable/ic_exit_login_vector.png
    - assets/drawable/ic_exit_storage.png
    - assets/drawable/ic_expand_arrow.png
    - assets/drawable/ic_filter_all_vector.png
    - assets/drawable/ic_fiter_menu.png
    - assets/drawable/ic_flow_approval.png
    - assets/drawable/ic_home_black_24dp_vector.png
    - assets/drawable/ic_home_filter.png
    - assets/drawable/ic_home_hollow_vector.png
    - assets/drawable/ic_home_more.png
    - assets/drawable/ic_item_font_vector.png
    - assets/drawable/ic_launcher_background.png
    - assets/drawable/ic_login_password_vector.png
    - assets/drawable/ic_login_user_vector.png
    - assets/drawable/ic_menu_back.png
    - assets/drawable/ic_menu_flash.png
    - assets/drawable/ic_menu_label_adjust.png
    - assets/drawable/ic_menu_label_adjust2_vector.png
    - assets/drawable/ic_menu_lock_vector.png
    - assets/drawable/ic_menu_locked_vector.png
    - assets/drawable/ic_menu_makeup.png
    - assets/drawable/ic_menu_merge_box_vector.png
    - assets/drawable/ic_menu_more.png
    - assets/drawable/ic_menu_print.png
    - assets/drawable/ic_menu_print_preview.png
    - assets/drawable/ic_menu_split_box_vector.png
    - assets/drawable/ic_merge_box.png
    - assets/drawable/ic_my_setting_vector.png
    - assets/drawable/ic_new.png
    - assets/drawable/ic_notifications_black_24dp.png
    - assets/drawable/ic_prepare_material.png
    - assets/drawable/ic_product_1_info.png
    - assets/drawable/ic_product_2_wip.png
    - assets/drawable/ic_product_3_repair.png
    - assets/drawable/ic_product_4_god_ratio.png
    - assets/drawable/ic_product_5_shangliao.png
    - assets/drawable/ic_product_6_use_record.png
    - assets/drawable/ic_product_7_kucun.png
    - assets/drawable/ic_product_8_chuhuo.png
    - assets/drawable/ic_product_order_pinzhi9.png
    - assets/drawable/ic_query.png
    - assets/drawable/ic_recept_material.png
    - assets/drawable/ic_regcode.png
    - assets/drawable/ic_report_forms.png
    - assets/drawable/ic_save.png
    - assets/drawable/ic_split_box.png
    - assets/drawable/ic_tab_app.png
    - assets/drawable/ic_tab_hollow.png
    - assets/drawable/ic_tab_my.png
    - assets/drawable/ic_tab_my_hollow.png
    - assets/drawable/ic_table_delete.png
    - assets/drawable/ic_theme_svg.png
    - assets/drawable/ic_tune.png
    - assets/drawable/ic_uncomplete.png
    - assets/drawable/ic_uncomplete_1.png
    - assets/drawable/ic_user_info.png
    - assets/drawable/ic_version_upgrade.png
    - assets/drawable/ic_view_expand.png
    - assets/drawable/ic_view_fold.png
    - assets/fonts/icmy.ttf
    - assets/images/ic_my.png
    - assets/images/pic1.jpg
    - assets/svg/icon_my.svg
  uses-material-design: true
  fonts:
    - family: ICMy
      fonts:
        - asset: assets/fonts/icmy.ttf
          weight: 600
  module:
    androidX: true
    androidPackage: xxxxxappx
    iosBundleIdentifier: cxxxr.sotrunFlutter
#屏蔽掉下面代码， 不会自动生成国际化l10n.dart
flutter_intl:
  enabled: true

 ]      Attribute application@name at AndroidManifest.xml:6:9-42 requires a placeholder substitution but no value for <applicationName> is provided.

this getui plugin cause

delete module


Add msl::Version::V2_2

@grovesNL could we get a new version published also?

@grovesNL perhaps you could add me (and @aleksijuvani?) as an owner to cover cases like this when publishing is harmless

Yeah definitely. I was also going to bump SPIRV-Cross and regenerate the wasm bundle before publishing the new version, but didn't get a chance this morning.


Tempest Redox system is beta testing

@bpbond @stephpenn1
I have made redox program for TEMPEST and installed on 81,82,83 loggers. We will be error check for next few days so data should not be used.

Protocol install table can be found here
Googledoc for design table is here
Program will be sent when completed.

Thanks @roylrich ! This won't make it into the v1-0 release (unless @stephpenn1 disagrees) but I've added it to the milestone for v1-1.


add(typescript): typing defination file with unit tests (#237)

This PR made from all the TypeScript resources from the Issues & Pull Requests before. Include: #237 #238 #256 #381 .
What this PR do is:

Added index.d.ts to the root directory, added types entry to package.json;
Added test/typescript.ts unit test to make sure the basic TypeScript system works right;
Added TypeScript linting tool to do Static Type Checking;
Integrate the TypeScript test & lint scripts to package.json, which can be run automatically by executing npm test;

I really want to use import { test } from 'tap' with the Type Checking / IDE IntelliSense, instead of const { test } = require('tap') and have to check the document from time to time.
@isaacs Please let me know if there need do any future works on it, Thanks!

TravisCI passed! :smiley:

nice work, I will be happy to use this thanks!

ping @isaacs

AppVeyor is failing because of they have a node runtime called node.EXE but we are checking for node.exe.
https://ci.appveyor.com/project/isaacs/node-tap/build/446/job/46d8untfsgpj54yv#L5078
              found: '    not ok 1 - node.EXE ./test/test/nesting.js # time=650.715ms'
              pattern: >-
                /^    not ok 1 \- .*(node|iojs)(.exe)? \.\/test\/test\/nesting\.js #
                time=[0-9.]+(ms)?$/

Will try to fix it.

It seems Windows CI is passed, after we ignore the case for node.EXE
I believe this is the reason why the Appveyor CI looks not stable in the commit history. ;-]

ping @isaacs

Hi @isaacs, this PR have included all requirements that we discussed before, especially the unit tests.
I'd like to contribute more if we need additional works on it. If so, please feel free to let me know what you want me to do before this PR could be able to be merged.
I use tap in lots of my TypeScript projects, it's a pain for me that can not see any IDE IntelliSense and without any static typing check.
Looking forward to hearing back from you, thanks!

Ping, is there anything else that needs to be done for this to be merged?

Hi, sorry for the delay, thank you for your patience while v11 was being completed.
I've ported everything up to latest and squashed in my ts branch here: https://github.com/tapjs/node-tap/commit/ts
The only issue I still have with this is how am I to know that it's accurate and complete?  Even though many new methods are added on v11, it seems to be fine with them not being covered in the typescript definition.  Is there a way to make it fail on un-type-defined methods?

Ack, worse yet, the Test.prototype.current() method is removed, and the type definition checks are fine with it still being in the type definition.  That's exactly what I was afraid of.  I will break this thing, and not notice.  That's not ok.
Without automated testing, including automatic test coverage enforcement, I can't take responsibility for this.  I'm sorry.
I'm happy to merge this into master if that concern can be addressed somehow.

Hi @isaacs,
Glad to see you just released v11, and I understand that you are still worrying the mismatch between the Typing Definition and the JS code.
As my 2 cents, it will always be acceptable for me to have a buggy typing definition file instead of none. ;-p
However, if we want to be perfect match, the ultimate solution would be write the interface JS code to TS, and we use tsc to compile TS to JS and then we will have a absolutely matched type definition file.
For example, I just had a quick look on tap source code, it seems the API is inside the following two files:

https://github.com/tapjs/node-tap/blob/master/lib/test.js
https://github.com/tapjs/node-tap/blob/master/lib/tap.js

They are all writen in ES6 class, which means it could be very easy to rewrite to TypeScript. If so, then we will be never worried about the mismatch any more.
However, I do not know if this solution is acceptable for @isaacs . If you think it is acceptable, I'd like to send you PR to demo this.

Yeah, I'm really not interested in migrating to typescript for this module right now.  Maybe the best approach is to take this over to https://github.com/definitelytyped or something.

According to @iffy in this comment, the branch used in #381 may meet the necessary criteria?  If anyone wants to take a look, I'm still open to landing this, provided there's checks against me breaking it later :)

Any news on this?


Add a bio for @jwkester

This Pull Request adds a bio for @jwkester as requested in #18.

Looks good (not just your dog)


Blank UI - while opening

Hi
Why do i get blank screen?
I see some json errors in the console.
"Uncaught SyntaxError: Unexpected token  in JSON at position 0
at JSON.parse ()
at renderer.js:275
at EventEmitter. (renderer.js:275)
at EventEmitter.emit (events.js:210)
at Object.onMessage (init.ts:50)

This what happens when one of the configuration/state files gets corrupted. I'm not experienced in javascript, so I just used strace to track all the files the app was opening, and it turns out that there's a folder ~/.config/Protoman/ (that's where its located under Linux, on Windows it's probably C:/users/USERNAME/.config) containing the state files that the app tries to read (then fails and shows the blank UI).
If you remove the ~/.config/Protoman folder, the problem will go away.  There probably is a better way to do this (pinpoint the exact file that should be removed, instead of removing the whole folder) but as previously mentioned, I'm not experienced in javascript.

thanks for the feedback. I've been MIA for a while but now i'm back on track so i'll try to resolve most of the issues soon!


Bump dependency on quickcheck-state-machine

This includes
https://github.com/advancedtelematic/quickcheck-state-machine/pull/362, which
renames a file from Aux.hs to Auxiliary.hs, unbreaking the Windows build.

bors r+


make query parameter optional in IndexSearchQuery

Pull Request
Related issue
Fixes #321
What does this PR do?

make query parameter optional in IndexSearchQuery

PR checklist
Please check if your PR fulfills the following requirements:

[x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
[x] Have you read the contributing guidelines?
[x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

@ahmednfwela I sent a commit to this PR to fix the DioError warning.


Can't support ncl script

VSCode Version: 1.20.0
OS Version: win10

Steps to Reproduce:

Can't support ncl script

Does this issue occur when all extensions are disabled?: Yes/No

You can write extensions to extend language support in VS Code
: https://code.visualstudio.com/docs/extensionAPI/language-support


Fixed css scrollbar bug in pipeline properties

Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

CSS looks good to me but I'll wait for @ptitzler to make sure that the actual issue isn't present anymore


Various improvements

[jiminy core] Expose in C++ and Python Engine 'isSimulationRunning_'. Define new robot proxy 'nmotors'.
[jiminy core] Throw an error when trying to start multiple times a simulation.

[jiminy_py] Refactor Engine asynchronous.

[gym_jiminy] Robustness improvement of engine_asynchronous and gym robot env.
[gym_jiminy] Fix seldom bugs in C++ core generating segfault.
[gym_jiminy] Add default implementations to gym generic robot class.

ping @matthieuvigne


Error: Class 'Config' not found (ScoutElasticServiceProvider)

Hi Ivan,
first of all thank you for your great work!!!!!
I've been using your package for the last week now with absolutely no issues except one!
I'm getting an error that the Config class is not defined in the ServiceProvider (line 62).
Fixable by either updating the use statement (use Illuminate\Support\Facades\Config;) or by switching from using the Config Facade to the config helper function.
Do you confirm the issue?
I'd be happy to send you a PR if you'd like.

Hi @lasmanis, apparently you don't have alias in config/app.php:
'Config' => Illuminate\Support\Facades\Config::class

But anyways, I added a full facade name to the service provider, to avoid this issue in the future.


Minimum Scale Down By config option

When scaling by percentages, it would be useful to be able to specify a minimum to scale by (never scale down 50% if its only 1 or 2 actual units).  This is useful for limiting the downscaling operations.

I would actually go one step further and say to have more granular downscaling so we can bring tables down to 1 read/write unit quickly if they suddenly stop getting used


Add Kiev collage of communications

@butsasha Pull request merged. Thank you!

@philipto thank you!

@philipto but why i still see Your email address does not belong to any university that we know. Contribute your university to our list.

@butsasha it takes about half an hour for the changes to propagate through our system. Please try again now.

Yeah, already got license, thx
пт, 3 авг. 2018 г., 14:10 Philip Torchinsky<EMAIL_ADDRESS>
Merged #5039 https://github.com/JetBrains/swot/pull/5039 into master.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/JetBrains/swot/pull/5039#event-1769719698, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFHiDXVuLHEx1LQzQdiw7p3oYX_3y_rPks5uNC-KgaJpZM4VqWo6
.


App on f-droid is 907 kiB large

I can't believe that the app should be so large. Please make it smaller.
https://f-droid.org/repository/browse/?fdid=makeinfo.com.getid

@cweiske ,
This is because I forgot to remove some codes.If you can compile and make apk, that will be great.


Update Producer Information Endpoint

User story

As a frontend-dev
I need an endpoint
So that I can retrieve all relevant information about a single producer

Acceptance criteria
Endpoint provides all information listed below:

getAddress: Address of this publisher
getAverageMsgSize: Average message size published by this publisher
getClientVersion: Client library version
getConnectedSince: Timestamp of connection
getProducerId: Id of this publisher
getProducerName: Producer name

Here is a short documentation about all producers information.
Definition of done (DoD)

Feature is done when the acceptance criteria are fullfiled
Feature is done when there are test where it is necessary and they pass
Feature is done when the linter passes
Feature is done when it is merged onto our main branch (after the code has been reviewed by at least one other person)
Feature is done when the code has been documentend or commented properly

DoD general criteria

Feature has been fully implemented
Feature has been merged into the mainline
All acceptance criteria were met
Product owner approved features
All tests are passing
Developers agreed to release

Expert was not at the meeting, we will send a mail to him and then i will give you more detail about it. For now just start with those information. Adjusting the filtering process with some exrta attributes shouldnt be a big issue anyways.

Expert says, information is good for now. please do it like this!


[WIP] run e2e tests on travis

Codecov Report

Merging #140 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #140   +/-   ##
======================================
  Coverage    47.2%   47.2%
======================================
  Files          26      26
  Lines        1733    1733
======================================
  Hits          818     818
  Misses        853     853
  Partials       62      62

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0b1a48a...41f2454. Read the comment docs.


Support multi-qubit measurements in cirq.plot_state_histogram

Quote from the docstring: "Currently this function assumes each measurement gate applies to only a single qubit."
Currently, I get an incorrect histogram if I didn't read the docstring and used a multi-qubit measurement (I always make circuits like this):
qubits = cirq.LineQubit.range(3)
c = cirq.Circuit(
    (cirq.X**0.4).on_each(*qubits),
    cirq.measure(*qubits),  # One multi-qubit measurement
)
cirq.plot_state_histogram(cirq.sample(c, repetitions=10000))
# Incorrect output, no warning or error

If I use single-qubit measurement gates, I get the expected histogram:
qubits = cirq.LineQubit.range(3)
c = cirq.Circuit(
    (cirq.X**0.4).on_each(*qubits),
    cirq.measure_each(*qubits),  # One measurement per qubit
)
cirq.plot_state_histogram(cirq.sample(c, repetitions=10000))

This looks like it could be fixed by adding some logic to plot_state_histogram (https://github.com/quantumlib/Cirq/blob/master/cirq/study/visualize.py#L22) that checks for multi-qubit measurements and either correctly interpret them or raise an error.

I have made a quick-fix, I guess. Can you tell me what would be better, to raise an error/warning or to add said logic? Adding said logic does not seem hard, just a little longer. I don't know if it's the right way to get n_qubits by splitting by ,, please suggest a better way if there is one.

Along with the 2 code sample provided above being made equivalent, I have also made a mixture of single and mutli-qubit measurements work the same. Please tell me if some other combinations might have been expected. Just h-stacking the results worked.
    c3 = cirq.Circuit(
        (cirq.X**0.4).on_each(*qubits),
        cirq.measure(*qubits[:2]),  # One multi-qubit measurement
        cirq.measure_each(*qubits[2:]),  # One single-qubit measurement
    )
    r3 = cirq.sample(c3, repetitions=10000)
    cirq.plot_state_histogram(r3)


Pipe mkv

I am trying to pipe the output to a fs.createWriteStream but I keep getting Output format mkv is not available. My code:
_self.outputStream = fs.createWriteStream(_self.output.path);
_self.ffmpegCommand.format('mkv').pipe(_self.outputStream);

The rest of the command has been set up properly. If I change the above lines to
_self.ffmpegCommand.save(_self.output.path);

Then everything works. I'm on Windows x64 so idk if that is the problem. Perhaps you can only use pipes on Unix?

Can you post ffmpeg stderr please (in both cases) ?

I believe I found the problem. Format should be matroska not mkv. Sorry to have wasted your time.
Also I switched over to encoding into bmp. I'm using the following setup:
_self.ffmpegCommand
.videoCodec('bmp')
.format('image2')
.outputOptions('-vf', 'fps=fps=1')
.pipe(_self.outputStream);

I am then using bmp-js to try to decode the bmp on the other side of the pipe but I keep getting index out of range errors. Perhaps this is something I should ask the author though.
Thank you for taking the time to respond.

No problem, glad you worked it out :)


Initial Slide in of Content - Where is that from? Should it be there? Can I disable it?

Hi,
i'm trying to use this meteoric branch at the moment, and after getting around some other issues I'm working on, I noticed that the content always "slides in" from the right on the first load of any page, no matter if it's a subpage or the index page of the whole app.
See it here: http://jandres-ionic.meteor.com/ - just press reload and see the content slide in from the right.
I think that's probably to transition nicely between pages, but is it possible to disable this somehow for the first load?
A workaround would be fine for now, or maybe any information about where this is coming from in the code exactly.
Thanks and best wishes!

For now i've just commented out the import of _transitions.scss in the package itself since I don't need transitions myself at the moment.
But I think it'd be nice to be able to control this better.

@DanielDornhardt Yeah, transitions is in its primitive stage. I have recently integrated original ionic controllers and this should handle that better.

Hey, great to see you're busy about the project at the moment! I think Meteoric is a really valuable Mobile Framework for Meteor and it's great to see that it's not falling into disrepair.

Integration of ionic controllers should've fix this. Feel free to reopen this when problem arise.


Image: update importance prop to fetchpriority

Summary
Updating importance prop to fetchpriority.
What changed?
Priority-hints is going to ship in the next version of chrome. Since the origin-trial, they've updated the name to fetchpriority.
I've also removed the default 'auto' for fetchpriority and loading. React correctly handles if the prop is undefined and does not set it. The browser will default to 'auto' if the attribute is not set.
Why?
Once priority-hints ships we want to start running experiments with it.
Breaking Changes
Run the following codemod to locate Image components with importance prop and rename it to fetchpriority.
yarn codemod modifyProp ~/path/to/your/code --component=Image  --previousProp=importance --nextProp=fetchpriority
Checklist

[X] Added unit and Flow Tests
[X] Added documentation + accessibility tests

For context, added "Breaking Changes" section in PR description

@mziemer21 This PR's pretty old now, so I'm going to close it. If this change still needs to happen, feel free to re-open 🙂


Fails with Python 3.4

If I attempt to use requests with caching enabled in Python 3.4, I get this traceback:
    return requests.get(url).text
  File "/myproject/.tox/py34/lib/python3.4/site-packages/requests/api.py", line 70, in get
    return request('get', url, params=params, **kwargs)
  File "/myproject/.tox/py34/lib/python3.4/site-packages/requests/api.py", line 56, in request
    return session.request(method=method, url=url, **kwargs)
  File "/myproject/.tox/py34/lib/python3.4/site-packages/requests_cache/core.py", line 126, in request
    **kwargs
  File "/myproject/.tox/py34/lib/python3.4/site-packages/requests/sessions.py", line 488, in request
    resp = self.send(prep, **send_kwargs)
  File "/myproject/.tox/py34/lib/python3.4/site-packages/requests_cache/core.py", line 97, in send
    response, timestamp = self.cache.get_response_and_time(cache_key)
  File "/myproject/.tox/py34/lib/python3.4/site-packages/requests_cache/backends/base.py", line 70, in get_response_and_time
    if key not in self.responses:
  File "/myproject/.tox/py34/lib/python3.4/_collections_abc.py", line 428, in __contains__
    self[key]
  File "/myproject/.tox/py34/lib/python3.4/site-packages/requests_cache/backends/storage/dbdict.py", line 163, in __getitem__
    return pickle.loads(bytes(super(DbPickleDict, self).__getitem__(key)))
  File "/myproject/.tox/py34/lib/python3.4/site-packages/requests/packages/urllib3/packages/ordered_dict.py", line 8, in <module>
    from dummy_thread import get_ident as _get_ident
nose.proxy.ImportError: No module named 'dummy_thread'

As far as I can tell, dummy_thread is a Python 2.7 module, which doesn't exist in Python 3.*, so I'm not sure what would be trying to use it, much less for retrieving URLs.

That's correct. However, this bug is with requests_cache, not urllib3. It seems that requests_cache is using urllib3's backport of the OrderedDict on all Python versions, which is not what urllib3 does: urllib3 only uses it when the collections module doesn't have one.
They should fix that issue.


[Question]: Not able to create PropertyGraphIndex using SemanticSplitterNodeParser

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
I am trying to create PropertyGraphIndex using smaller chunk size instead of using the whole page. For that I am trying to split the documents into chunks using SemanticSplitterNodeParser but when I put the splitter nodes into PropertyGraphIndex.from_documents, I am getting an error:
AttributeError: 'TextNode' object has no attribute 'get_doc_id'
Here is my code:
reader = SimpleDirectoryReader(input_dir=DOCUMENT_DIR_PATH)
documents = reader.load_data()
splitter = SemanticSplitterNodeParser(
buffer_size=1,
breakpoint_percentile_threshold=95,
embed_model=embed_model,
include_metadata=True,
include_prev_next_rel=True
)
nodes = splitter.get_nodes_from_documents(documents)
entities = Literal[
"APPLICATION",
"EMPLOYEE",
"EVENT",
"LOCATION",
"OBJECT",
"ORGANIZATION",
"PARTNER",
"PRODUCT",
"RULE",
"SCOPE",
]
relations = Literal[
# "ACQUISITION",
"APPLIES_TO",
"COMPETITOR_TO",
"HAPPENED_AT",
"HAS_EVENT",
"HAS_SCOPE",
"IN_LOCATION",
# "PARTNERSHIP",
"PERTAINS_TO",
"PRODUCES",
"SUBSIDIARY_OF",
"SUPPLIER_OF",
"WORKS_AT",
]
schema_kg_extractor = SchemaLLMPathExtractor(
llm=llm,
possible_entities=entities,
possible_relations=relations,
kg_validation_schema=validation_schema,
max_triplets_per_chunk=20,
num_workers=4,
# if false, allows for values outside of the schema (useful for using the schema as a suggestion)
strict=False,
)
index = PropertyGraphIndex.from_documents(
nodes,
kg_extractors=[schema_kg_extractor],
llm=llm,
embed_model=embed_model,
property_graph_store=graph_store,
show_progress=True,
use_async=False # defaults to True
)

@nilu4u don't use from_documents when passing in nodes
I think you probably meant to do
index = PropertyGraphIndex(
  nodes=nodes,
  kg_extractors=[schema_kg_extractor],
  llm=llm,
  embed_model=embed_model,
  property_graph_store=graph_store,
  show_progress=True,
  use_async=False # defaults to True
)


Resolves #3843 by fixing the upgradeStrategy/residency defaults

Background: The AppAndGroupFormats didn't consider the possibly applied default residency when applying a default for upgradeStrategy.
This should be cherry-picked into releases/1.1

👍 thanks!


[AVM Module Issue]: avm/res/compute/virtual-machine shutDownConfig issue with dailyRecurrenceTime parameter

Check for previous/existing GitHub issues

[X] I have checked for previous/existing GitHub issues

Issue Type?
Bug
Module Name
avm/res/compute/virtual-machine
(Optional) Module Version
0.4.2
Description
There is a bug in avm/res/compute/virtual-machine/main.bicep file (version 0.4.2) at line:
https://github.com/Azure/bicep-registry-modules/blob/e75aa3a8a79c506c1c543d1a37551deec74ef8e7/avm/res/compute/virtual-machine/main.bicep#L616C44-L616C50
The line is:
time: contains(autoShutdownConfig, 'time') ? autoShutdownConfig.dailyRecurrenceTime : '19:00'
It appears that the 'contains' function is case-sensitive, so it does not return true if the parameter is the string 'time' (actually the contains function here is checking if parameter dailyRecurrenceTime is present).
I suppose that the line has to be replaced with:
time: contains(autoShutdownConfig, 'Time') ? autoShutdownConfig.dailyRecurrenceTime : '19:00'
As a workaround,  I have added a dummy parameter 'time' inside 'shutDownConfig' parameter object:
autoShutdownConfig: {
time: ''
dailyRecurrenceTime: '19:00'
notificationEmail<EMAIL_ADDRESS>notificationLocale: 'en'
notificationStatus: 'Enabled'
notificationTimeInMinutes: 30
status: 'Enabled'
timeZone: 'UTC'
}
(Optional) Correlation Id
No response

@joemos1550 thanks for bringing this up. I will look into it.


Force docker to pull FROM images when building

After fixing MariaDB issue https://github.com/src-d/sourced-ui/pull/279 we found again that libmariadbclient18 was missing in some others mate's PCs.
Turns out that libmariadbclient18 was removed from debian buster (base of python:3.6-slim), but when building the image with an old version of python:3.6 and python:3.6-slim, it failed.
The solution appeared deleting current python:3.6 and python:3.6-slim images, and building again, which pulled the proper (and new) versions of python:3.6 and python:3.6-slim.
Adding --pull in our docker build commands will do it by default, to avoid building using old versions of our FROM images.
some info: https://www.databasesandlife.com/docker-build-pull-option

[ ] I have updated the CHANGELOG file according to the conventions in keepachangelog.com
[x] This PR contains changes that do not require a mention in the CHANGELOG file

Given that --pull means to Always attempt to pull a newer version of the image this could happen again for future versions of debian. Isn't it better to just change the base images as follows?

python:3.6 -> python:3.6-buster
python:3.6-slim -> python:3.6-slim-buster

Good idea @se7entyse7en
Travis running with that locked images from bae02c5


Info level log message to be changed to show maxUnavailable for control plane and worker node

What kind of request is this (question/bug/enhancement/feature request): bug
Steps to reproduce (least amount of steps as possible):

Deploy a cluster on latest master-head
logs show

[INFO] Resetting maxUnavailable to 0 since 1 host(s) are found to be inactive/unavailable prior to upgrade
Expected Result:
maxUnavailable could be called out separately for maxUnavailable_control plane and maxUnavailable_worker node.
Other details that may be helpful:
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): master-head
Installation option (single install/HA): single

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): rke - do
Kubernetes version (use kubectl version):

1.17

Verified on latest-master-head - commit id: fa96c0c3d
Steps:

Cluster spec - 1 etcd, 3 control planes, 1 worker nodes
Power down one control plane node
maxUnavailable_controlplane - 2
Edit cluster - change k8s from 1.15 to 1.16
The following is seen in the logs

Logs:
2020/03/02 17:19:15 [INFO] Setting maxUnavailable for worker nodes to: 1
2020/03/02 17:19:15 [INFO] Setting maxUnavailable for control nodes to: 2
.......
2020/03/02 17:19:19 [INFO] Resetting max_unavailable_controlplane to 1 since 1 host(s) are found to be inactive prior to upgrade

The upgrade fails after it has upgraded the etcd components of the etcd node, the control plane and worker plane components on the control plane nodes that are active. Error seen after: [workerPlane] Failed to upgrade Worker Plane: cannot proceed with upgrade of worker since 1 host(s) are found to be inactive prior to upgrade; [workerPlane] Failed to upgrade Worker Plane: cannot proceed with upgrade of worker since 1 host(s) are found to be inactive prior to upgrade


Change in Server

Hi,
I am going to change the server quiet a bit. I would like both of client and server control vehicles with keyboard. What do I  do about this problem? Could you help me?
Thanks,

Hi,
I added a parameter to Player_Carla_Measurements and sent to client. Client Could read this data, but after a second, Carla crashed.
What do you think about this problem?

Hi @FarzanehJafari,
We provide a Python script that allows controlling the player vehicle with the keyboard: manual_control.py, wouldn't that work for you?

Hi, this python code woked fo me, but I want driving both with client and sometimes with server sach as change weathers with server. Does it work possible? and Which classes should be change on server side?Another problem is about benchmark driving. python code doesnt work for me and there isnt run_driving_benchmark in directory. Thanks a lot,
Sent from Yahoo Mail for iPhone
On Tuesday, September 25, 2018, 10:35, Néstor Subirón<EMAIL_ADDRESS>wrote:
Hi @FarzanehJafari,
We provide a Python script that allows controlling the player vehicle with the keyboard: manual_control.py, wouldn't that work for you?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Having both inputs simultaneously is a bit tricky since they will interfere with each other, as both inputs are being applied to the vehicle continuously every frame.
Take a look at WheeledVehicleController.cpp, there is where we suppress the input from the simulator window when the client is active.

which function of wheeledvehiclecontroller.cpp is doing this work? I dont found it.
Sent from Yahoo Mail for iPhone
On Tuesday, September 25, 2018, 11:41, Néstor Subirón<EMAIL_ADDRESS>wrote:
Having both inputs simultaneously is a bit tricky since they will interfere with each other, as both inputs are being applied to the vehicle continuously every frame.
Take a look at WheeledVehicleController.cpp, there is where we suppress the input from the simulator window when the client is active.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

The Set*Input() functions at the bottom of the file,
if (bAllowUserInput && !IsAutopilotEnabled()) {
  // set input here.
}

if Carla is running in server mode, bAllowUserInput is false.

I set constant value for bAllowUserInput  = true, but yet, I couldnt
control vehicle with server. 🙁🙁
Whats your suggestion about it? Are there any parameters, I should be
changed?
On Tue, Sep 25, 2018 at 2:20 AM Néstor Subirón<EMAIL_ADDRESS>wrote:

The Set*Input() functions at the bottom of the file,
if (bAllowUserInput && !IsAutopilotEnabled()) {
// set input here.
}
if Carla is running in server mode, bAllowUserInput is false.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/carla-simulator/carla/issues/800#issuecomment-424268358,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ak0fWh0-i8wqawRoI4bKpYHSfjUC_qdkks5uefVrgaJpZM4W1LUm
.

As I mention, probably the input coming from the client is overwriting the input from the server, you'd need to find a way of merging both inputs.

Excuse me for my questions. You tired to answer them and I am sorry about
it. last question, which classes can I see this Input functions for server
and standalone modes?
Thanks a lot for your help.😳
On Tue, Sep 25, 2018 at 4:44 AM Néstor Subirón<EMAIL_ADDRESS>wrote:

As I mention, probably the input coming from the client is overwriting the
input from the server, you'd need to find a way of merging both inputs.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/carla-simulator/carla/issues/800#issuecomment-424310376,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ak0fWu6kVHDoI21izhOORY3NTfiROoDVks5uehcggaJpZM4W1LUm
.

Hi @FarzanehJafari, no worries. The input from the keyboard comes from that class, WheeledVehicleController.cpp; and the input from the client-side comes from DataRouter::ApplyVehicleControl in DataRouter.h. But every frame you get control from both sides (including 0.0 if the key is not pressed), so the last one writing is the one that actually applies. The tricky part is how to combine these two so the vehicle control still makes sense.

Hi, Thank you very much. I could use from Client and Server for control Vehicle. but, I have another question about add a parameter to measurements and send to client. I add an integer parameter to void FCarlaEncoder::Encode() function and run. but I have this Error

Desktop/45946081-9929df00-bfa4-11e8-8290-f1c0f0bd427d.png

That's not an error, those are variables optimized by the compiler. If you change the configuration to debug in Visual Studio you'll see those variables.

I dont understand exactly? could you explain about it for me with more
details? Thanks
On Sun, Sep 30, 2018 at 12:06 AM Néstor Subirón<EMAIL_ADDRESS>wrote:

That's not an error, those are variables optimized by the compiler. If you
change the configuration to debug in Visual Studio you'll see those
variables.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/carla-simulator/carla/issues/800#issuecomment-425699870,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ak0fWjHLrBIBDFrFZrUkdIN7NB8Je1XFks5ugG1zgaJpZM4W1LUm
.

Sorry, those are general programming issues we cannot give support to.
I would recommend reading more about how the compiler optimizes code, and how Visual Studio debugging works, e.g.

https://docs.microsoft.com/en-us/visualstudio/debugger/how-to-debug-optimized-code?view=vs-2017
https://docs.microsoft.com/en-us/visualstudio/debugger/how-to-set-debug-and-release-configurations?view=vs-2017

Hope those links are a good starting point.

Thaks a lot
Sent from Yahoo Mail for iPhone
On Sunday, September 30, 2018, 12:36, Néstor Subirón<EMAIL_ADDRESS>wrote:
Sorry, those are general programming issues we cannot give support to.
I would recommend reading more about how the compiler optimizes code, and how Visual Studio debugging works, e.g.

https://docs.microsoft.com/en-us/visualstudio/debugger/how-to-debug-optimized-code?view=vs-2017
https://docs.microsoft.com/en-us/visualstudio/debugger/how-to-set-debug-and-release-configurations?view=vs-2017

Hope those links are a good starting point.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


Access Denied When Executing "GetCharacteristicsAsync()" for Write Characteristic

Hi dude @newky2k ,
you are claiming that your library is supporting .NET Framework 4.6.1+.
Did you test your code running in a Win32 e.g. console application? If you did and it is working, maybe you can assist me because I have a serious problem when trying to get the write characteristics from our bluetooth LE device.
I show you inside your code what ALWAYS gives me GattCommunicationStatus.AccessDenied:
You are using: var result = await NativeService.GetCharacteristicsAsync(BluetoothLE.CacheModeGetCharacteristics); in your GattService (https://github.com/newky2k/DSoft.System.BluetoothLe/blob/master/DSoft.System.BluetoothLe/Service/Service.uwp.netcore.netf.cs).
There is another method you can call to directly get a known characteristic, so we use:
var result = await NativeService.GetCharacteristicsForUuidAsync(uuid, BluetoothCacheMode.Cached);
This works when getting the read characteristic but ALWAYS gives result.Status == GattCommunicationStatus.AccessDenied when getting the write characteristic.
If I use the same method as you (NativeService.GetCharacteristicsAsync(BluetoothLE.CacheModeGetCharacteristics)), it also fails with GattCommunicationStatus.AccessDenied.
But the call var accessRequestResponse = await NativeService.RequestAccessAsync(); ALWAYS returns DeviceAccessStatus.Allowed.
I also asked those questions at stackoverflow, within discussions of Shiny library and in the Developer Community of Visual Studio.
If you have ANY hint or advice, I would really appreciate it!
Kind regards,
Mathias Hartner

@MathiasHartner  I'm sorrry your having an issue with this, it seems to be a known issue when using the WIndows Bluetooth stack via the Windows SDK with a non-UWP application.
I haven't created a .net framework specific sample, but i have had a .NET Core 3.1 and .NET 5 WPF application running with the library as well as a UWP application accessing both read and write characteristics.  I initially had the same issue with access denied when trying to implenent TI's OTAU, which is why i added the call to RequestAccessAsync() which solved the issue for me.
I can see your point regarding the use of GetCharacteristicsAsync(BluetoothLE.CacheModeGetCharacteristics), to return all characteristics and then filter them, but this is a hold over from the original library i based our library on, so all platforms operate the same way.  It also doesn't seem especially efficient so I can look into an alternate implementation.
Could you provide some example code of how you are using our library to access the services characteristics, so i compare it with the working solution that I have.
I'll also look to create a WPF based sample in this library for testing the functionality outside of the UWP sample already included.

@MathiasHartner  As a work around have you tried just calling Service.GetCharacteristicsAsync() to load the characteristics from the bluetooth device and then filter them locally?

Thanks for your quick reply...You are right, that was the culprit!
You can only call ONCE for getting the characteristics, no matter if you call for all at once via NativeService.GetCharacteristicsAsync(BluetoothLE.CacheModeGetCharacteristics) or for a specific one via NativeService.GetCharacteristicsForUuidAsync(uuid, BluetoothCacheMode.Cached).
Any subsequent calls will fail with GattCommunicationStatus.AccessDenied...
So my solution now is to retrieve all characteristics at once and filter them locally, like you proposed.
That did the trick! Anyways, this is so stupid...It wasted a lot of my time now!
I also do not need to set any AccessPermission via registry.
Thank you for your help and engagement, I will call out to you, if I stumble over another tricky situation, just to let you know.
PS: I am actually not using your library. We have a Xamarin app for Android and iOS using Shiny.BluetoothLE since some time ago now. So our goal was to use as much code as possible of our bluetooth driver (it also supports classic BT) also for the .NET Framework implementation. I stumbled over your library when searching for a solution of my problem and was curious how you implemented it because you claimed it is also for .NET Framework 4.6.1+.


bug: Missing icons in React package

Describe the bug

Some icons seems to be present in the Svelte package but missing in the React package, like the tools (line and fill) icon.

Some potential other missing ones:
.vtmx-tools-fill:before {
    content: "\f2a3";
}
.vtmx-tools-line:before {
    content: "\f2a4";
}
.vtmx-train-fill:before {
    content: "\f2a5";
}
.vtmx-train-line:before {
    content: "\f2a6";
}
.vtmx-trophy-fill:before {
    content: "\f2a7";
}
.vtmx-trophy-line:before {
    content: "\f2a8";
}

@llecle for more details
Steps to reproduce

Expected behavior

Browsers affected

Version affected

Hello,
Sorry, but there's no bug from our side. After investigating, @vtmn/react & @vtmn/svelte depends on the same package @vtmn/icons.
https://github.com/Decathlon/vitamin-web/blob/b4287d01f2011fcef69ef2f616a922fcbb53033b/packages/sources/react/package.json#L36
https://github.com/Decathlon/vitamin-web/blob/b4287d01f2011fcef69ef2f616a922fcbb53033b/packages/sources/svelte/package.json#L68
And after verification, all the icons that you mentioned are also present in our React showcase:

Example here: https://decathlon.github.io/vitamin-web/@vtmn/showcase-react/?path=/story/guidelines-iconography-vtmnicon--overview&args=size:32;value:tools-line
@llecle That's why it's not from our side. You probably still have version an older version of @vtmn/icons in your package-lock.json, I encourage you to upgrade to our latest version (or at least, the one requested by our latest @vtmn/react package).
Therefore, I close this issue. Thanks.


add a colab demo

this is a simple colab demo I have tested this on my own, and it works perfectly, but you can verify it yourself, sorry for a little typo 😅

Nice work, thank you! Please could you add some documentation about how to use it as well, eg. aimed at folks less familiar with Colab? Maybe in the readme or in it's own markdown file but linked to from the readme? 🙏


Suppot show time_limit and memory_limit

feat(problem information): Suppot show time_limit and memory_limit

It's not very convenient to write the time_limit and memory_limit in each problem. In addition, somtimes we may change the data but forget to change the description in the problem. So it seems a good thing to show the time_limit and memory_limit automatically.
After the update, the system will update the time_limit and memory_limit into the database in each svn sync.

BREAKING CHANGE:the database has some changes.
If you want to update, you have to add two column into the table problems.
The columns are named time_limit and memory_limit, the type are both int(11) and the default are both NULL.
The new problem will show the time_limit and memory_limit automatically after svn sync, but if you want the old problem to show them, you need to sync again or it will show N/A.

@earringyyr //我很看好你，写得比我还多


switch to openmp version

can re-enable sopt version if we see this works

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

Maybe it helps to explicitly add openmp in the dependencies https://conda-forge.org/docs/maintainer/knowledge_base.html#openmp

thanks for the hint, let's see whether this fixes the linux build :-)
a bit weird though that the osx build passes but not the linux one, while the documentation says that openmp is enabled on linux but not on osx.
In any case, we may still need to enable openmp also for the other compilers as mentioned by @dev-zero
I'm not quite sure though whether we will get into trouble with the clang / gfortran mix on osx then?
I.e. can we mix -fopenmp=libomp for C/C++ with -lgomp at the linking stage?

@jan-janssen It seems to me that the linux environment is missing the LDFLAGS_LD environment variable (available on osx), which contains the linker flags in a form that can be passed to the linker directly (i.e. without the -Wl, prefixes that are present in the LDFLAGS variable) .
So, I thought I'd be clever and simply use gcc as the linker on linux, but now I'm getting undefined references for gfortran objects - despite the fact that I still append -lgfortran to the LDFLAGS.
Any ideas what might be the problem here?

Hm, perhaps switching to gcc results in the LDFLAGS not being used at all (?)
That seems a bit weird though; I thought this bit was handled by the cp2k makefile rather than automatically via the binary (I might be wrong).

@jan-janssen any wisdom here?

@ltalirz It is on my list, still I am not sure I can work on it before Christmas

undefined reference to `_gfortran_stop_string'

Sounds like a lapack issue

@oschuett I thought I was done, but then I realized that the build.sh is missing set -e and one test fails on the osx build with clang.
It fails consistently in the openmp build, but it did not fail in the sopt build that is in master.
The test is QS/regtest-pao-2/H2O_pao_exp_cluster_sp.inp.out and it fails with Program received signal SIGABRT: Process abort signal.
In commit https://github.com/conda-forge/cp2k-feedstock/pull/8/commits/70cf624d9d5d6860b5fcf9a50534cc24d25c8719 it fails at a different, later stage of the calculation, which makes me suspect that this is an out of memory issue (?).
Does this sound reasonable?
Are there ways to include tests from the regtest?
In general, is there a suitable subset of regtests that should be run here on conda-forge in order to guard against miscompilation, or should we aim to run the full set of regtests?

@ltalirz due to the complexity of CP2K and the interplay of all the different components you want as many tests as possible, OOM is possible, but you could simply limit the number of threads by setting OMP_NUM_THREADS=1 which should give you something close to sopt

@dev-zero The regtest complains when setting OMP_NUM_THREADS=1 (also exported)

ERROR: maxtasks should be greater or equal numprocs*OMP_NUM_THREADS
       maxtasks        = 1
       numprocs        = 1
       OMP_NUM_THREADS = 2

ok, interesting, likely something we have to change, regtests used to work with sopt, hence they should work with psmp and OMP_NUM_THREADS=1.
But since numprocs = 1 I doubt that the OMP runtime will spawn too many threads itself to cause an OOM, so there is likely something else at play still.

Try:
make test ARCH=${ARCH} VERSION=${VERSION} TESTOPTS="-ompthreads 1"

Thanks, Ole - I think the issue was the mixture between the threads (?) used by make -j2 tests and then the openmp threads inside the executable.
I've simply removed the -j2 and now let cp2k use threads if it likes - it's anyhow better if that is tested.
From my side, I'm done.
I'm not building a separate .sopt executable here, but I create a symlink for backwards compatibility - hope that works.

@conda-forge-admin, please rerender

Same here, let's merge


DemoServer and routing "/"

I'm using the DemoServer as a template. Looking at this code below...
server["/"] = scopes {         html {             body {                 ul(server.routes) { service in                 }             }         }     }
My problem:
If I remove the unordered list, the server is no longer reachable on any route. Any ideas?

Hello,
Did you mange to solve this maybe ?
Best

Apologies. Just tried this again. Doesn't seem to be doing it any more.

No worries only dreams now :)


potential (hacky) fix for alias tables

Potential fix for issue #3246. It's hacky but it works

Looks good enough. Merged as 736140c06f675e and added a test in d47bc479c884


is it compatible with rails_api?

Hi,
I want to export data to excel and send it to client who wants.
But there is problem in my setup, I am getting MissingTemplate error.
controller/posts_controller.rb
# GET /posts
  def index
    @posts = Post.all

    PostMailer.export(@posts, current_user).deliver

    render json: @posts
  end

views/posts/export.xlsx.axlsx
wb = xlsx_package.workbook
wb.add_worksheet(name: "Posts") do |sheet|
  posts.each do |post|
    sheet.add_row [post.title, post.content, post.creator.name]
  end
end

mailers/post_mailer.rb
class PostMailer < ApplicationMailer
  def export(posts, user)
    xlsx = render_to_string layout: false, handlers: [:axlsx], formats: [:xlsx], template: "posts/export", locals: {posts: posts}
    attachment = Base64.encode64(xlsx)
    attachments["Posts.xlsx"] = {mime_type: Mime[:xlsx], content: attachment, encoding: "base64"}

    mail(to: user.email, subject: "Posts") do |f|
      f.text do
        render text: nil
      end
    end
  end
end

What am I doing wrong?
Thanks.

@ccoeder If you can get a sample repo with the problem it would help. I've not been able to track down this issue yet.

@straydogstudio Actually, the error I get is the same with https://github.com/straydogstudio/axlsx_rails/issues/29
But thank you for response.

Whatever is producing that error is an environment specific issue in combination with Rails 5 and the url called. Each time someone has reported that error, I've never been able to reproduce it with similar conditions. Hence my request for a sample repo.


Unhandled Rejection at: Promise

Hi ,
I am compiling vscode letest insider build  on my arm device.
after lots of effort i have successfully compiled source.
but while building installer i am getting following errors
node:17146) [DEP0097] DeprecationWarning: Using a domain property in MakeCallback is deprecated. Use the async_context variant of MakeCallback or the AsyncResource class instead`

`Unhandled Rejection at: Promise Promise {
  _bitField: 152305664,
  _fulfillmentHandler0:
   { Error: spawn ENOMEM
       at ChildProcess.spawn (internal/child_process.js:366:11)
       at spawn (child_process.js:551:9)
       at Object.fork (child_process.js:113:10)
       at fork (/home/ubuntu/Downloads/vscode-dev/node_modules/worker-farm/lib/fork.js:17:36)
       at Farm.startChild (/home/ubuntu/Downloads/vscode-dev/node_modules/worker-farm/lib/farm.js:106:16)
       at Farm.processQueue (/home/ubuntu/Downloads/vscode-dev/node_modules/worker-farm/lib/farm.js:279:10)
       at Farm.addCall (/home/ubuntu/Downloads/vscode-dev/node_modules/worker-farm/lib/farm.js:307:8)
       at Farm.<anonymous> (/home/ubuntu/Downloads/vscode-dev/node_modules/worker-farm/lib/farm.js:38:10)
       at _class.boundWorkers (/home/ubuntu/Downloads/vscode-dev/node_modules/uglifyjs-webpack-plugin/dist/uglify/index.js:71:24)
       at enqueue (/home/ubuntu/Downloads/vscode-dev/node_modules/uglifyjs-webpack-plugin/dist/uglify/index.js:96:17)
       at bound (domain.js:402:14)
       at runBound (domain.js:415:12)
       at tryCatcher (/home/ubuntu/Downloads/vscode-dev/node_modules/bluebird/js/release/util.js:16:23)
       at Promise._settlePromiseFromHandler (/home/ubuntu/Downloads/vscode-dev/node_modules/bluebird/js/release/promise.js:512:31)
       at Promise._settlePromise (/home/ubuntu/Downloads/vscode-dev/node_modules/bluebird/js/release/promise.js:569:18)
       at Promise._settlePromise0 (/home/ubuntu/Downloads/vscode-dev/node_modules/bluebird/js/release/promise.js:614:10) errno: 'ENOMEM', code: 'ENOMEM', syscall: 'spawn' },
  _rejectionHandler0: undefined,
  _promise0: undefined,
  _receiver0: undefined } reason: { Error: spawn ENOMEM
    at ChildProcess.spawn (internal/child_process.js:366:11)
    at spawn (child_process.js:551:9)
    at Object.fork (child_process.js:113:10)
    at fork (/home/ubuntu/Downloads/vscode-dev/node_modules/worker-farm/lib/fork.js:17:36)
    at Farm.startChild (/home/ubuntu/Downloads/vscode-dev/node_modules/worker-farm/lib/farm.js:106:16)
    at Farm.processQueue (/home/ubuntu/Downloads/vscode-dev/node_modules/worker-farm/lib/farm.js:279:10)
    at Farm.addCall (/home/ubuntu/Downloads/vscode-dev/node_modules/worker-farm/lib/farm.js:307:8)
    at Farm.<anonymous> (/home/ubuntu/Downloads/vscode-dev/node_modules/worker-farm/lib/farm.js:38:10)
    at _class.boundWorkers (/home/ubuntu/Downloads/vscode-dev/node_modules/uglifyjs-webpack-plugin/dist/uglify/index.js:71:24)
    at enqueue (/home/ubuntu/Downloads/vscode-dev/node_modules/uglifyjs-webpack-plugin/dist/uglify/index.js:96:17)
    at bound (domain.js:402:14)
    at runBound (domain.js:415:12)
    at tryCatcher (/home/ubuntu/Downloads/vscode-dev/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/home/ubuntu/Downloads/vscode-dev/node_modules/bluebird/js/release/promise.js:512:31)
    at Promise._settlePromise (/home/ubuntu/Downloads/vscode-dev/node_modules/bluebird/js/release/promise.js:569:18)
    at Promise._settlePromise0 (/home/ubuntu/Downloads/vscode-dev/node_modules/bluebird/js/release/promise.js:614:10) errno: 'ENOMEM', code: 'ENOMEM', syscall: 'spawn' }
[08:54:23] The following tasks did not complete: vscode-linux-arm-min
[08:54:23] Did you forget to signal async completion?
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I am not a pro developer , please help me to fix this.

VSCode Version: Letest insider 1.37
OS Version: Ubuntu 16.4 LTS ARM (TegraK1)

ENOMEM means your machine does not have enough memory to build VS Code.


Move SQLCipher support into separate repo

Per discussion on #192, I'm opening this as a catch-all specific issue to track splitting out the SQLCipher support into a separate repo.

I need to extract SQLCipher support out into its own repo. It's causing too many problems when bundled.

This appears to affects several Carthage and Cocoa Pod build issues (e.g. #300, #308) as well as dependent features (#272), many of which could at least be isolated to just those who need SQLCipher.

Completed via PR #314.
Replacement SQLCipher available for testing at https://github.com/stephencelis/SQLiteCipher.swift. Comments and PR's welcomed!


Migrate to more modern toolset (Vite, Vitest, Playwright) + Upgrade dependencies + More Improvements

Considering the fact that the project was built nearly 3 years ago, it was about time to revisit it and make the necessary updates. This PR includes the following changes:

Updated docs
All packages have been upgraded to their latest major versions (except ESLint which was upgraded to v8, let's wait for v9 a bit)
Switching from CRA to Vite, which was the most requested and the most obvious change.
Switching from Jest to Vitest, since Vitest integrates well with the Vite setup, is well maintained and there are far fewer issues.
Switching from Cypress to Playwright which is a more powerful and modern e2e-testing tool.
Storing auth token in cookie over localStorage.
Validating env variables with zod.
Updating UI by moving to using ShadCN UI
Switching to kebab case files for all files
Improving react-query usage
More improvements

This is great


RuntimeError: Assertion `cur_target >= 0 && cur_target < n_classes' failed.

I am trying to predict clothing attributes but getting an error like below. I am very new to using torch. Can anyone tell what is causing the problem.
{'neck': 7, 'sleeve_length': 5, 'pattern': 11}
Processing Attribute: neck
Start Training for: neck
/anaconda3/envs/nlp/lib/python3.6/site-packages/torchvision/transforms/transforms.py:211: UserWarning: The use of the transforms.Scale transform is deprecated, please use transforms.Resize instead.
"please use transforms.Resize instead.")
Before pre-processing...  (2238, 4)
After pre-processing...  (1776, 3)
Found validation dataset.... preparing
Before pre-processing...  (2238, 4)
After pre-processing...  (446, 3)
LR is set to 0.01
/Users/akshyasingh/PycharmProjects/predict_deep_fashion_attributes/classifier.py:65: UserWarning: Implicit dimension choice for log_softmax has been deprecated. Change the call to include dim=X as an argument.
classes_softmax = F.log_softmax( average_pool_flatten )
Traceback (most recent call last):
File "multi_label_vgg_nn.py", line 27, in
use_gpu=False )
File "/Users/akshyasingh/PycharmProjects/predict_deep_fashion_attributes/classifier.py", line 247, in create_attributes_model
batch_size, num_workers, num_epochs, use_gpu=use_gpu)
File "/Users/akshyasingh/PycharmProjects/predict_deep_fashion_attributes/classifier.py", line 206, in train_model
flatten_pretrained_out=flatten_pretrained_out)
File "/Users/akshyasingh/PycharmProjects/predict_deep_fashion_attributes/classifier.py", line 144, in train_attribute_model
loss = criterion(outputs, labels)
File "/anaconda3/envs/nlp/lib/python3.6/site-packages/torch/nn/modules/module.py", line 547, in call
result = self.forward(*input, **kwargs)
File "/anaconda3/envs/nlp/lib/python3.6/site-packages/torch/nn/modules/loss.py", line 916, in forward
ignore_index=self.ignore_index, reduction=self.reduction)
File "/anaconda3/envs/nlp/lib/python3.6/site-packages/torch/nn/functional.py", line 1995, in cross_entropy
return nll_loss(log_softmax(input, 1), target, weight, None, ignore_index, None, reduction)
File "/anaconda3/envs/nlp/lib/python3.6/site-packages/torch/nn/functional.py", line 1824, in nll_loss
ret = torch._C._nn.nll_loss(input, target, weight, _Reduction.get_enum(reduction), ignore_index)
RuntimeError: Assertion `cur_target >= 0 && cur_target < n_classes' failed.  at /Users/distiller/project/conda/conda-bld/pytorch_1565272679438/work/aten/src/THNN/generic/ClassNLLCriterion.c:94

The issue is resolved. No of classes to predict, I changed the input to load_model( col_dim + 1). Can anyone tell me if this is the correct way. The labels json i have outputs : {'neck': 7, 'sleeve_length': 5, 'pattern': 11}


Getting Started?

I'm using VS2017, adding the Nuget packages (1.9), trying to add map control to Toolbox but it doesn't appear (I only see AppManager, SpatialDockManager, and SpatialHeaderControl). And that's only when I browse to the compiled DotSpatial.Controls.dll in /bin.
Adding AppManager throws an exception saying it can't find 'DotSpatial.Extensions' even though it exists in the bin folder.
Haven't found any "getting started' docs that addresses these issues, so any help would be much appreciated!

Check out the DemoMap project. It shows you the base you need to get your program running.
If possible start with the current master and not 1.9.

Is there any documentation aside from the examples?

Try this https://github.com/DotSpatial/DotSpatial/tree/master/Source/Documentation

and this https://github.com/DotSpatial/DotSpatial/tree/master/Source/Examples

Ok thank you!


fix(ingest): azuread group mapping do not stop ingestion

Checklist

[x] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

metadata tests are not running because of invalid workflow. That is fixed in https://github.com/datahub-project/datahub/pull/7170

thanks aseem!


Mouse without borders does not respect primary mouse button option on remote machine

Microsoft PowerToys version
0.76.2
Installation method
GitHub
Running as admin
None
Area(s) with issue?
Mouse Without Borders
Steps to reproduce
With two windows machines, set the [Primary Mouse Button] option under windows's mouse settings to [Right] on both machines, then link the machines using Mouse Without Borders.
✔ Expected Behavior
The mouse's primary button on both machines should be [Right] with its secondary button being [Left], matching those computer's settings.
❌ Actual Behavior
The mouse's primary button on the host machine is [Right] with its secondary button being [Left], as expected; but on the remote machine, the mouse's primary and secondary buttons are reversed relative to the expectation:
The primary button is the [Left] button and the secondary button is the [Right] button.
Other Software
If relevant one of my machines is running windows 10, and the other is running windows 11.
No response

Some further investigation has revealed that changing the primary mouse button setting on the remote computer from [Right] to [Left] resolves the apparent issue: This changes my hypothesis for the cause of the behavior from "Mouse without borders does not respect primary mouse button on remote machine" to "Two primary mouse button options set to [Right] 'double negative' each other resulting in an apparent [Left] behavior on the remote machine."


Small key binding changes

remapped delete from 'd' to 'x', and add 'h'/'l' to move to previous and next sibling
Fixes #33 and fixes #35.

I've renamed the issue and edited your post to add the 'fixes #33 and #35' to the first comment rather than the title - this way, GitHub will automatically close the issues once this is merged.  Other than that, I haven't touched your wording.
I think these changes look good - the diffs are pretty wacky so it's hard to tell.  I think that two things are at play here:

This pull request is based off an old version of kneasle/master, and since you forked it I completely rewrote the README.  I also can't merge this because git can't resolve the two versions of history.
To fix this, you need to do a 'rebase' back onto my latest master branch.  If you have access to a git command line, running git fetch upstream then git rebase upstream/master should perform the correct rebase.  'Rebasing' is essentially the act of replaying your changes on top of a different original commit - in this case, replaying your changes on top of my overhauled README.  There might be some conflicts that need resolving - this tutorial should provide a good summary of how to fix them.

editor.rs should live in src/editor.rs.  I'm not quite sure how it ended up here, but if you could move it to src/editor.rs, then the diffs should become a lot easier to read.
Moving editor.rs to src/editor.rs (replacing the file if it already exists) should fix this.

Once these issues are fixed, then it should be good to merge!


Could not compile dependency :oauth, "make" command failed.

G:\ds_p9-P13>mix compile
==> oauth
'make' is not recognized as an internal or external command,
operable program or batch file.
** (Mix) Could not compile dependency :oauth, "make" command failed. You can recompile this dependency with "mix deps.compile oauth", update it with "mix deps.update oauth" or clean it with "mix deps.clean oauth"

HI @anilmane,
Looks like make is required to use the oauth library which is a dependency of ds_p9.  Can you install gnu make and try again?


Update Project

Updated some deps and added some helpful comments with links

@martijnvanwelie I have only recently got the opportunity to look into this. I believe you are referring to these warnings when one builds the library:
> Task :blessed:compileReleaseKotlin
w: blessed-android-coroutines/blessed/src/main/java/com/welie/blessed/BluetoothCentralManager.kt:523:72 Parameter 'peripheralCallback' is never used
w: blessed-android-coroutines/blessed/src/main/java/com/welie/blessed/BluetoothPeripheral.kt:171:22 This declaration overrides deprecated member but not marked as deprecated itself. Please add @Deprecated annotation or suppress. See https://youtrack.jetbrains.com/issue/KT-47902 for details
w: blessed-android-coroutines/blessed/src/main/java/com/welie/blessed/BluetoothPeripheral.kt:177:46 'getter for value: ByteArray!' is deprecated. Deprecated in Java
w: blessed-android-coroutines/blessed/src/main/java/com/welie/blessed/BluetoothPeripheral.kt:183:22 This declaration overrides deprecated member but not marked as deprecated itself. Please add @Deprecated annotation or suppress. See https://youtrack.jetbrains.com/issue/KT-47902 for details
w: blessed-android-coroutines/blessed/src/main/java/com/welie/blessed/BluetoothPeripheral.kt:184:50 'getter for value: ByteArray!' is deprecated. Deprecated in Java
w: blessed-android-coroutines/blessed/src/main/java/com/welie/blessed/BluetoothPeripheral.kt:188:22 This declaration overrides deprecated member but not marked as deprecated itself. Please add @Deprecated annotation or suppress. See https://youtrack.jetbrains.com/issue/KT-47902 for details
w: blessed-android-coroutines/blessed/src/main/java/com/welie/blessed/BluetoothPeripheral.kt:194:50 'getter for value: ByteArray!' is deprecated. Deprecated in Java
w: blessed-android-coroutines/blessed/src/main/java/com/welie/blessed/BluetoothPeripheral.kt:369:41 'getParcelableExtra(String!): T?' is deprecated. Deprecated in Java
w: blessed-android-coroutines/blessed/src/main/java/com/welie/blessed/BluetoothPeripheral.kt:422:41 'getParcelableExtra(String!): T?' is deprecated. Deprecated in Java
w: blessed-android-coroutines/blessed/src/main/java/com/welie/blessed/BluetoothPeripheral.kt:925:32 'setter for value: ByteArray!' is deprecated. Deprecated in Java
w: blessed-android-coroutines/blessed/src/main/java/com/welie/blessed/BluetoothPeripheral.kt:926:36 'writeCharacteristic(BluetoothGattCharacteristic!): Boolean' is deprecated. Deprecated in Java
w: blessed-android-coroutines/blessed/src/main/java/com/welie/blessed/BluetoothPeripheral.kt:1037:28 'setter for value: ByteArray!' is deprecated. Deprecated in Java
w: blessed-android-coroutines/blessed/src/main/java/com/welie/blessed/BluetoothPeripheral.kt:1038:36 'writeDescriptor(BluetoothGattDescriptor!): Boolean' is deprecated. Deprecated in Java
w: blessed-android-coroutines/blessed/src/main/java/com/welie/blessed/BluetoothPeripheral.kt:1159:32 'setter for value: ByteArray!' is deprecated. Deprecated in Java
w: blessed-android-coroutines/blessed/src/main/java/com/welie/blessed/BluetoothPeripheral.kt:1160:40 'writeDescriptor(BluetoothGattDescriptor!): Boolean' is deprecated. Deprecated in Java
w: blessed-android-coroutines/blessed/src/main/java/com/welie/blessed/BluetoothPeripheralManager.kt:118:61 'getter for value: ByteArray!' is deprecated. Deprecated in Java
w: blessed-android-coroutines/blessed/src/main/java/com/welie/blessed/BluetoothPeripheralManager.kt:140:40 'setter for value: ByteArray!' is deprecated. Deprecated in Java
w: blessed-android-coroutines/blessed/src/main/java/com/welie/blessed/BluetoothPeripheralManager.kt:169:57 'getter for value: ByteArray!' is deprecated. Deprecated in Java
w: blessed-android-coroutines/blessed/src/main/java/com/welie/blessed/BluetoothPeripheralManager.kt:209:32 'setter for value: ByteArray!' is deprecated. Deprecated in Java
w: blessed-android-coroutines/blessed/src/main/java/com/welie/blessed/BluetoothPeripheralManager.kt:257:44 'setter for value: ByteArray!' is deprecated. Deprecated in Java
w: blessed-android-coroutines/blessed/src/main/java/com/welie/blessed/BluetoothPeripheralManager.kt:266:40 'setter for value: ByteArray!' is deprecated. Deprecated in Java
w: blessed-android-coroutines/blessed/src/main/java/com/welie/blessed/BluetoothPeripheralManager.kt:447:47 'getter for value: ByteArray!' is deprecated. Deprecated in Java
w: blessed-android-coroutines/blessed/src/main/java/com/welie/blessed/BluetoothPeripheralManager.kt:453:28 'setter for value: ByteArray!' is deprecated. Deprecated in Java
w: blessed-android-coroutines/blessed/src/main/java/com/welie/blessed/BluetoothPeripheralManager.kt:454:38 'notifyCharacteristicChanged(BluetoothDevice!, BluetoothGattCharacteristic!, Boolean): Boolean' is deprecated. Deprecated in Java

My solution was to address these by putting in checks for API >=33 and then write the code path for both variations. I'll see what I can do. I'll submit it as part of this PR itself.

@weliem I was still working on adding some code to this PR, but I see you are already working on it.
Thanks for merging the PR anyways, it had some simple upgrades to the project.

I did a couple of more fixes that had to be done and released a new version.
Thx for your work!


Issue with LWC

Thank you for the extention.
For me it works with Apex Classes, but doesn't work for SObject, Fields, LWC. I have an error in "Runtime Status":
"ENOENT: no such file or directory, scandir 'tmp/lwc/approvalsManagement'".

I assume this approvalsManagement folder referenced in the error message exists in your repository? Can you tell me what files exist in that folder? I'm familiar with the approvalProcesses folder but not approvalsManagement.

Would you be able to share the contents of the approvalsManagement folder please?

Actually, never mind. I think I see the problem. I will try and get an update to fix this pushed out in the next couple days. My apologies for the inconvenience.

I have fixed the issue and pushed out an update of the extension.


Cleanup IM command

Summary of Changes:
--use enum class
--rename some parameter
--eliminate duplicate code
--cleanup comments

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@saurabhst @jelderton ?


Split spec file into three C, C++, and internal (for library)

libyaul/libyaul/Makefile is a bit messy and needs some refactoring.

Why is there a need for splitting?


Doesn't work for Modern experience

These directions are not relevant if you aren't on the classic experience. I did find the Site Usage page, but it doesn't let me change the popular items timeline and wont' show me all document views, only top 20. So I have no option to see how many times a page has been viewed unless it's a top 20 in the last 7 days. Could we get directions/details for the modern view

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

ID: eb55f79c-8118-474e-175b-f8cfb0737bc4
Version Independent ID: 43071ae4-5da9-056b-9bd9-333fb100c8ef
Content: View Popularity Trends and Most Popular Items
Content Source: SharePoint/SharePointOnline/view-popularity-trends-and-most-popular-items.md
Service: sharepoint-online
GitHub Login: @MikePlumleyMSFT
Microsoft Alias: mikeplum

If you look near the top of the article there is a Note section which provides a link for more information on the modern experience way of doing this.

@hlsidey Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


Feedback needed :)

Hi,
I've just merged almost all PR's for the grape_logging and I want to thank you all for your hard work! I will be running master version of gem in my projects during next week to make sure it's stable before pushing to rubygems and it would be really great if you could do the same and post your findings here :)
@diguliu @guizmaii @marshall-lee @987poiuytrewq @yalongzhang @jtmarmon @holstvoogd @scauglog @ayanko @rngtng

It's in production with the Rails instrumentation at home since a long time ;)

Great - glad to hear :) I did some refactoring though and fixed one bug with appending db times :) Do you think you can try using master?

I'll look at your commits and will use the master ;)

Ok for me.
I don't really know if the += instead of the = in the GrapeLogging::Timings.append_db_runtime changes something.
I push you a small PR for code lisibility :  #22

It actually does - without it we are only keeping track of last query timing ;)

master is usable over latest release, good work!

When do you plan to release the v1.2.0 ?

I will be pushing it today evening

First, thanks for processing the PRs, great job!
Second, sorry I still havn't found time to look into it in detail. I just ran a quick update and figured it includes breaking changes, e.g. .formatter is on Logger required. We use https://github.com/TwP/logging where this method is not available.
But nevertheless, go on with releasing a new version, I'd only bump it up to 2.0.0  to follow SemVer  correctly. Cheers!

@rngtng it should be pretty easy to make this optional - I will push update today to master and check it with your gem :)

cool thx

I aslo use https://github.com/TwP/logging.
.formatter is required for Logger since v1.1.2 at least. That's why I added the Rails  instrumentation mecanism.
So IMHO, it's not a breaking changes of this version.
If your in a Rails app, the simplest solution is that you use the Rails instrumentation mecanism, see https://github.com/aserafin/grape_logging#logging-via-rails-instrumentation

@guizmaii I saw that section in README. But well, we don't use rails....
We're currently on version 1.1.2. And use it successful with:
use GrapeLogging::Middleware::RequestLogger, logger: Logging.logger.root

After upgrade to latest branch this fails. When I grep the 1.1.2 code I don't see any mention of formatter besides in README.

#23

Created new issue for loggers that not expose .formatter method #23 - expect fix soon :)

@rngtng You're right, my bad. Sorry.

tested, looks good thx

Thanks @aserafin, @guizmaii and everyone else for getting this merged in - great job! I've been running 876ddf37ff712afd2ab60eba2da88ab6966e8ac1 for the past week in production at 75 requests per minute and it's been working great. :+1:

Thanks to you @987poiuytrewq ! A lot of the work come from you ! And thanks for the feedback :+1:

Just pusher 1.2.1 to RubyGems! Thanks again for all your hard work and support :clap:

nice thx

:+1: