[Add2App IOS] Instant crash on MacOS12.0.1 xcode13.1  Library not loaded: @rpath/App.framework/App

crash is run on the Device, but it is normal on the simulator，It is normal before upgrading MacOS.
current version：Swift version：5.5.1，xcode version：13.1，flutter version：2.5.3
crash:
  Referenced from: /private/var/containers/Bundle/Application/8699A097-28EB-4B42-8566-994E5EC45F52/ceshiss.app/ceshiss
  Reason: image not found
dyld: launch, loading dependent libraries
DYLD_LIBRARY_PATH=/usr/lib/system/introspection
DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib

Hi @yanwei49
Can you please provide your flutter doctor -v and a minimal complete reproducible code sample?
Thank you

flutter doctor -v:
✓] Flutter (Channel stable, 2.5.3, on macOS 12.0.1 21A559 darwin-arm, locale
zh-Hans-CN)
• Flutter version 2.5.3 at /Users/***/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 18116933e7 (3 weeks ago), 2021-10-15 10:46:35 -0700
• Engine revision d3ea636dc5
• Dart version 2.14.4
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/***/Library/Android/sdk
✗ cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for
more details.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 13.1, Build version 13A1030d
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
[✓] VS Code (version 1.61.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.27.0
[✓] Connected device (3 available)
• “”的 iPhone (mobile)      •            • ios
• iOS 14.7.1 18G82
• iPhone 13 Pro Max (mobile) • 58A9B499-A057-44DC-B1D5-0E4839622795 • ios
• com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
• Chrome (web)               • chrome                               •
web-javascript • Google Chrome 95.0.4638.69
! Doctor found issues in 1 category.

Hi @yanwei49 Can you please provide your flutter doctor -v and a minimal complete reproducible code sample? Thank you

https://stackoverflow.com/questions/69808637/dyld-library-not-loaded-rpath-app-framework-app-in-xcode13-1

crash is run on the Device, but it is normal on the simulator，It is normal before upgrading MacOS. current version：Swift version：5.5.1，xcode version：13.1，flutter version：2.5.3 crash: Referenced from: /private/var/containers/Bundle/Application/8699A097-28EB-4B42-8566-994E5EC45F52/ceshiss.app/ceshiss Reason: image not found dyld: launch, loading dependent libraries DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib

I have similar situation.
current version：Swift version：5.5.1，xcode version：13.1，flutter version：2.5.3
when i create a new ios project(swift),and add flutter module.run on the device and get this

crash:
Library not loaded: @rpath/App.framework/App
Referenced from: /private/var/containers/Bundle/Application/E9FD692D-A9A6-40FC-A1B3-4B1BD5121BC2/flutter_test.app/flutter_test
Reason: tried: '/usr/lib/swift/App.framework/App' (no such file), '/private/var/containers/Bundle/Application/E9FD692D-A9A6-40FC-A1B3-4B1BD5121BC2/flutter_test.app/Frameworks/App.framework/App' (no such file), '/private/var/containers/Bundle/Application/E9FD692D-A9A6-40FC-A1B3-4B1BD5121BC2/flutter_test.app/Frameworks/App.framework/App' (no such file), '/private/var/containers/Bundle/Application/E9FD692D-A9A6-40FC-A1B3-4B1BD5121BC2/flutter_test.app/Frameworks/App.framework/App' (no such file), '/usr/lib/swift/App.framework/App' (no such file), '/private/var/containers/Bundle/Application/E9FD692D-A9A6-40FC-A1B3-4B1BD5121BC2/flutter_test.app/Frameworks/App.framework/App' (no such file), '/private/var/containers/Bundle/Application/E9FD692D-A9A6-40FC-A1B3-4B1BD5121BC2/flutter_test.app/Frameworks/App.framework/App' (no such file), '/private/

flutter doctor -v:
[✓] Flutter (Channel master, 2.6.0-12.0.pre.554, on macOS 12.0.1 21A559 darwin-x64, locale zh-Hans-CN)
    • Flutter version 2.6.0-12.0.pre.554 at /Users/timmy/Documents/sdk/Flutter/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 6e0ba60408 (3 hours ago), 2021-11-02 03:48:04 -0400
    • Engine revision c674d2cbc6
    • Dart version 2.15.0 (build 2.15.0-268.0.dev)
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /Users/timmy/Documents/sdk/Android/sdk
• Platform android-30, build-tools 30.0.2
• ANDROID_HOME = /Users/timmy/Documents/sdk/Android/sdk
• Java binary at: /Users/timmy/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/203.7784292/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2020.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

@yanwei49  are you trying to add flutter to an existing ios app? if yes can you please refer to this link and share which option are you using Option A, B or C?
Thanks

@geGao123  The error you are hitting seems different than the one reported here, I  would advise you to please file a separate issue by filling in the details requested in the issue template.
Thanks

@yanwei49 are you trying to add flutter to an existing ios app? if yes can you please refer the add to app docs and share which option are you using Option A, B or C?
Thanks

I use A，It is normal before upgrading the macOS system and xcode.

I had the same problem, also use A ，😭

@yanwei49  I tried running this add to app sample and it's working fine for me on macOS 12.0.1 with xcode 13, so this is likely not an issue with macOS version or Xcode version, Can you please share a complete project for us to have a look.

flutter doctor -v
[✓] Flutter (Channel stable, 2.5.3, on macOS 12.0.1 21A559 darwin-arm, locale en-GB)
    • Flutter version 2.5.3 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18116933e7 (3 weeks ago), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart version 2.14.4

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 13.0, Build version 13A233
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 60.1.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.61.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.28.0

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • B622CBB7-F906-4FA7-8F49-FACEAAC905AB • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.0.1 21A559 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 95.0.4638.69

• No issues found!

Thanks

@yanwei49 @Aflysun I tried running this add to app sample and it's working fine for me on macOS 12.0.1 with xcode 13, so this is likely not an issue with macOS version or Xcode version, Can you please share a complete project for us to have a look.
flutter doctor -v
Thanks

try xcode13.1

I had the same problem, also use A

@yanwei49 @Aflysun I tried running this add to app sample and it's working fine for me on macOS 12.0.1 with xcode 13, so this is likely not an issue with macOS version or Xcode version, Can you please share a complete project for us to have a look.
flutter doctor -v
Thanks

try xcode13.1

demo link:https://gitee.com/yanwei49/flutterdemo

I tried running this add to app sample

I tried running this add to app sample and it's working crash for me xcode13.1:
dyld: Library not loaded: @rpath/App.framework/App
Referenced from: /private/var/containers/Bundle/Application/4786695F-BCC3-4225-9798-E57587DBF124/IOSFullScreen.app/IOSFullScreen
Reason: image not found
dyld: launch, loading dependent libraries
DYLD_LIBRARY_PATH=/usr/lib/system/introspection
DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib

@yanwei49 @Aflysun I tried running this add to app sample and it's working fine for me on macOS 12.0.1 with xcode 13, so this is likely not an issue with macOS version or Xcode version, Can you please share a complete project for us to have a look.
flutter doctor -v
Thanks

try xcode13.1

I tried xcode12.5,xcode13, xcode13.1 , but I couldn't

@yanwei49 @Aflysun I tried running this add to app sample and it's working fine for me on macOS 12.0.1 with xcode 13, so this is likely not an issue with macOS version or Xcode version, Can you please share a complete project for us to have a look.
flutter doctor -v
Thanks

Is it related to Apple M1？My computer is Apple Mini macOS13.0.1

My xcode  version  13.1 ,   I suspect it's the Xcode version ，I'll try the lower  xcode version.

My xcode version 13.1 , I suspect it's the Xcode version ，I'll try the lower xcode version.

It's not a problem with the Xcode version, i tried xcode12.5,xcode13,xcode13.1

i find a way to solve this problem.

find the pods-XXX-frameworks.sh file and add the
install_framework "${PODS_ROOT}/../../flutter-camera-ui/.ios/Flutter/App.framework" in Debug and Release branch seperately (remember change your App.framework  path)

@maheshmnj

flutter doctor -v
[✓](Channel master, 2.6.0-12.0.pre.535, on macOS 12.0.1 21A559
darwin-arm, locale zh-Hans-CN)
• Flutter version 2.6.0-12.0.pre.535 at /Users/chenxiaoguang/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 04156b6636 (5 days ago), 2021-10-29 18:29:31 -0700
• Engine revision 3a0a63c2d2
• Dart version 2.15.0 (build 2.15.0-262.0.dev)
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn

[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
Install Android Studio from:
https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK
components.
(or visit https://flutter.dev/docs/get-started/install/macos#android-setup
for detailed instructions).
If the Android SDK has been installed to a custom location, please use
flutter config --android-sdk to update to that location.
[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[!] Android Studio (not installed)
• Android Studio not found; download from
https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/macos#android-setup
for detailed instructions).
[✓] VS Code (version 1.61.2)
• VS Code at /Users/chenxiaoguang/Downloads/Visual Studio Code.app/Contents
• Flutter extension version 3.27.0
[✓] Connected device (3 available)
• iPhone19 (mobile)      • 00008030-000535A92E43802E            • ios
• iOS 14.8 18H17
• iPhone 12 Pro (mobile) • DE43A4A7-0380-4A58-B1E3-9BCCE74BA976 • ios
• com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
• Chrome (web)           • chrome                               •
web-javascript • Google Chrome 95.0.4638.69
! Doctor found issues in 2 categories.

i find a way to solve this problem.  find the pods-XXX-frameworks.sh file and add the install_framework "${PODS_ROOT}/../../flutter-camera-ui/.ios/Flutter/App.framework" in Debug and Release branch seperately (remember change your App.framework path) but i do not know why appear this problem, if someone know why please tell me.

i tried It did solve the problem, thanks!

@yanwei49 @Aflysun I tried running this add to app sample and it's working fine for me on macOS 12.0.1 with xcode 13, so this is likely not an issue with macOS version or Xcode version, Can you please share a complete project for us to have a look.
flutter doctor -v
Thanks

It did solve the problem, Look at kxifenger's solution, But can you tell us why this is done?

@yanwei49 @kxifenger
By doing so, the problem is solved, but what ？😄

I tried running this add to app sample and it's working crash for me xcode13.1:

@yanwei49 @Aflysun, I did try running with Xcode 13.1 and the ios module runs fine in Xcode.

demo link:https://gitee.com/yanwei49/flutterdemo

Even this application builds successfully.
Please make sure you are running the .xcworkspace file, You can find the steps to run the application in the readme of sample app

I tried running this add to app sample and it's working crash for me xcode13.1:

@yanwei49 @Aflysun, I did try running with Xcode 13.1 and the ios module runs fine in Xcode.

demo link:https://gitee.com/yanwei49/flutterdemo

Even this application builds successfully.
Please make sure you are running the .xcworkspace file, You can find the steps to run the application in the readme of sample app

I tried running this add to app sample and it's working crash for me xcode13.1, But now the problem has been solved, The solution is provided by @kxifenger , But can you tell us why this is done?

The solution is provided by @kxifenger , But can you tell us why this is done?

@yanwei49 I am not really sure why it worked. Provided you last message I feel it's safe to close the issue, If you disagree feel free to write in the comments and I will reopen it.

I had the same problem, also use A

I have try to the macOS big Sur 11.3.1 + Xcode 13.1 and it's OK。But crashed in macOS Monterey 12.0.1 + Xcode 13.1.  I suspect it has something to do with the system

I tried running this add to app sample and it's working crash for me xcode13.1:

@yanwei49 @Aflysun, I did try running with Xcode 13.1 and the ios module runs fine in Xcode.

demo link:https://gitee.com/yanwei49/flutterdemo

Even this application builds successfully.
Please make sure you are running the .xcworkspace file, You can find the steps to run the application in the readme of sample app

you have try in macOS Monterey 12.0.1

I tried running this add to app sample and it's working crash for me xcode13.1:

@yanwei49 @Aflysun, I did try running with Xcode 13.1 and the ios module runs fine in Xcode.

demo link:https://gitee.com/yanwei49/flutterdemo

Even this application builds successfully.
Please make sure you are running the .xcworkspace file, You can find the steps to run the application in the readme of sample app

@maheshmnj  Why don't you try it on macOS Monterey 12.0.1

@WeMadeCode  I did please check flutter doctor https://github.com/flutter/flutter/issues/92896#issuecomment-959090243

[✓] Flutter (Channel stable, 2.5.3, on macOS 12.0.1 21A559 darwin-x64, locale zh-Hans-CN)
• Flutter version 2.5.3 at /Users/zhouxiang/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 18116933e7 (3 weeks ago), 2021-10-15 10:46:35 -0700
• Engine revision d3ea636dc5
• Dart version 2.14.4
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/zhouxiang/Library/Android/sdk
✗ cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 13.1, Build version 13A1030d
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2020.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
[✓] VS Code (version 1.62.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.28.0
[✓] Connected device (2 available)
• iPhone (mobile) • 29a8d86ade875cec173ae3573439551cced781cd • ios            • iOS 15.0.2 19A404
• Chrome (web)    • chrome                                   • web-javascript • Google Chrome 95.0.4638.69
! Error: iPhone is not connected. Xcode will continue when iPhone is connected. (code -13)
@maheshmnj

[✓] Flutter (Channel stable, 2.5.3, on macOS 12.0.1 21A559 darwin-x64, locale zh-Hans-CN)
• Flutter version 2.5.3 at /Users/xxx/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 18116933e7 (3 weeks ago), 2021-10-15 10:46:35 -0700
• Engine revision d3ea636dc5
• Dart version 2.14.4
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/xxx/Library/Android/sdk
✗ cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 13.1, Build version 13A1030d
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2020.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
[✓] VS Code (version 1.62.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.28.0
[✓] Connected device (2 available)
• iPhone (mobile) • 29a8d86ade875cec173ae3573439551cced781cd • ios            • iOS 15.0.2 19A404
• Chrome (web)    • chrome                                   • web-javascript • Google Chrome 95.0.4638.69
! Error: iPhone is not connected. Xcode will continue when iPhone is connected. (code -13)

Same problem here on macOS 12.0.1 & Xcode 13.1.
After some investigations, I found that when building on macOS Monterey, two new load commands (LC_DYLD_EXPORTS_TRIE & LD_DYLD_CHAINED_FIXUPS) are inserted into App.framework, which makes the old version of ruby-macho not so happy.
Problem disappeared after upgrading cocoapods to 1.11.0 and ruby-macho to 2.5.1. See https://github.com/CocoaPods/CocoaPods/issues/10390

Please try update ruby and Cocoapods to latest version. can fix it. This problem make me feel sick. it wasted my day.......fuck!!!! good luck！！！！

Same problem here on macOS 12.0.1 & Xcode 13.1.
After some investigations, I found that when building on macOS Monterey, two new load commands (LC_DYLD_EXPORTS_TRIE & LD_DYLD_CHAINED_FIXUPS) are inserted into App.framework, which makes the old version of ruby-macho not so happy.
Problem disappeared after upgrading cocoapods to 1.11.0 and ruby-macho to 2.5.1. See CocoaPods/CocoaPods#10390

This is working for me!! Thank you very much!

sudo gem update ruby-macho
This is working for me

Thanks iamjjh
sudo gem update ruby-macho
Works for me also

sudo gem update ruby-macho
It's OK,Thank you!

Same problem here on macOS 12.0.1 & Xcode 13.1.
After some investigations, I found that when building on macOS Monterey, two new load commands (LC_DYLD_EXPORTS_TRIE & LD_DYLD_CHAINED_FIXUPS) are inserted into App.framework, which makes the old version of ruby-macho not so happy.
Problem disappeared after upgrading cocoapods to 1.11.0 and ruby-macho to 2.5.1. See CocoaPods/CocoaPods#10390

This is right correctly solution for this problem !!!

i find a way to solve this problem.  find the pods-XXX-frameworks.sh file and add the install_framework "${PODS_ROOT}/../../flutter-camera-ui/.ios/Flutter/App.framework" in Debug and Release branch seperately (remember change your App.framework path) but i do not know why appear this problem, if someone know why please tell me.

it because , you fix procedure where  really error lead to.
let's check  right procedure ， that should be.
podhelper.rb file which your project's podfile reference .
def install_flutter_application_pod(flutter_application_path)
  current_directory_pathname = Pathname.new File.expand_path('..', __FILE__)
  app_framework_dir = File.expand_path('App.framework', current_directory_pathname.to_path)
  app_framework_dylib = File.join(app_framework_dir, 'App')
  if !File.exist?(app_framework_dylib)
    # Fake an App.framework to have something to link against if the xcode backend script has not run yet.
    # CocoaPods will not embed the framework on pod install (before any build phases can run) if the dylib does not exist.
    # Create a dummy dylib.
    FileUtils.mkdir_p(app_framework_dir)
    `echo "static const int Moo = 88;" | xcrun clang -x c -dynamiclib -o "#{app_framework_dylib}" -`
  end

  # Keep pod and script phase paths relative so they can be checked into source control.
  # Process will be run from project directory.

  # defined_in_file is set by CocoaPods and is a Pathname to the Podfile.
  project_directory_pathname = defined_in_file.dirname
  relative = current_directory_pathname.relative_path_from project_directory_pathname
  pod 'xxxx_flutter', :path => relative.to_s, :inhibit_warnings => true

  flutter_export_environment_path = File.join('${SRCROOT}', relative, 'flutter_export_environment.sh');
  script_phase :name => 'Run Flutter Build xxxx_flutter Script',
    :script => "set -e\nset -u\nsource \"#{flutter_export_environment_path}\"\nexport VERBOSE_SCRIPT_LOGGING=1 && \"$FLUTTER_ROOT\"/packages/flutter_tools/bin/xcode_backend.sh build",
    :execution_position => :before_compile
end

it insert a build phase (Run Flutter Build xxxx_flutter Script) before compile ,
it run other script which can be found in FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.dart
notice  params 'build'
func buildApp()  build the app.framework and make it into your_flutter_project/.ios/Flutter directory.
then Embed Pods Frameworks script should  embed app.framework which build last step. (which the script is generated by pod install)
final your flutter project is build & embed into your ios  host project.
Now error comes from pod install , where ruby-macho could not recognize new mach load command . detail see ref:https://github.com/flutter/flutter/issues/92896#issuecomment-967120990
so Pods-xxxx-frameworks  generated with error effect install_framework line , that 's  no app.framework path mention on it !!!
your fix solution mention the app.framework path , app.framework can be found and embed into your ios host project.
hope it clear to solve your question.


Added a small FAQ section

Please feel free to reject if this is not the right place

Thanks for the suggestion. We already have a FAQ page linked on our ReadMe.


Issues related to the description of region and box parameters

Hello, mdtanker:
In the documentation of polartoolkit, I noticed that you describe the region parameter in the format of [e, w, n, s]. For example, in the region_xy_to_ll function. However, I find that this region parameter should be in the format of [xmin, xmax, ymin, ymax], which is also the default -R option in GMT. I think in the EPSG:3031 coordinate system, the [e, w, n, s] format may not be the proper description, and it could be a bit confusing. Moreover, in GMT, the [W|E|S|N] format is the way to specify the region.
I wonder if there's a mistake in this, and I could be wrong. Your package is very useful. Thank you for your work.

Hi @chenyqmy thank you so much for opening an issue! I think you are correct, and that discussing the region boundaries in terms of min and max is clearer than as east, west, north, south.
From my understanding of what you're saying, there isn't anything to change in the code, just in the documentation, correct?
If you'd like to contribute, please let me know and I'm happy to help out! Not sure of your level of experience, but this would be a great entry-level issue to fix 😀
No worries if not, I'm happy to implement this fix.

Yes, they are just in documentations. From my experience with the code, the return value is right.

I'm not very familiar with the open-source collaboration process, but I might still be able to help with the documentation.😊

No worries about not having experience, it's not as hard as it seems! If it's just documentation you're changing, it should be easy to do on GitHub only without needing to fork or anytbing, instructions should be here.
Or you can go through the typical contribution process. Have a look at the contributing guide for how to fork the package, make and activate your environment. Make you changes locally, run the style check commands with make, then push the changes to your forked repo and open a PR in the main repo.
Let me know if you have any questions or issues, as I think the contributing guide definitely could be better.


Executable not found on windows

Description
Beautifier reports that the executable is not found though the PATH is set up correctly.
Expected Results
Beautifier is executed properly
Steps to Reproduce

Add code to Atom editor
Run command Atom Beautify: Beautify Editor
atom-beatify reports exe not found

Debug
I checked the process.env variable. It contains too PATH entries. One is named "Path" as windows expects it and one is named "PATH". This second one is actually used by spawn. The second one looks like:
"C:\Python35;;/usr/local/bin;/usr/bin;/bin;/usr/sbin;/sbin"
The issue can be soleved by adding:
if process.env.PATH?
  delete process.env.PATH

I do not know, where this is comming from. My environment in Windows is clean. It has to be added by atom somewhere.... Pretty annoying. You might add the fix to the getShellEnvironment function to add a work around.

Which language are you trying to beautify?  It could be a problem in a beautifier.

Sorry, not a problem of atom-beautify. Traced it done to python-tools. See MichaelAquilina/python-tools#48. Closing it.


HDFS-16392. Fix TestWebHdfsFileSystemContract#testResponseCode timeout

Description of PR

Fix random timeout failures of TestWebHdfsFileSystemContract#testResponseCode

How was this patch tested?

UT

For code changes:

[x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 51s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
34m  5s

trunk passed

+1 :green_heart:
compile
1m 27s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
1m 23s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
1m  1s

trunk passed

+1 :green_heart:
mvnsite
1m 29s

trunk passed

+1 :green_heart:
javadoc
1m  3s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 29s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m 17s

trunk passed

+1 :green_heart:
shadedclient
23m 16s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 20s

the patch passed

+1 :green_heart:
compile
1m 20s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
1m 20s

the patch passed

+1 :green_heart:
compile
1m 14s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
1m 14s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 53s

the patch passed

+1 :green_heart:
mvnsite
1m 26s

the patch passed

+1 :green_heart:
javadoc
0m 53s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 22s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m 21s

the patch passed

+1 :green_heart:
shadedclient
22m 19s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
234m 33s

hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 48s

The patch does not generate ASF License warnings.

336m 38s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3821/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3821

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux 32af67601f79 4.15.0-156-generic #163-Ubuntu SMP Thu Aug 19 23:31:58 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / ebee32ccaff22e47805aeee1afb4ef9826af6f93

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3821/1/testReport/

Max. process+thread count
3462 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3821/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@secfree Thanks for your contribution. @ayushtkn @tomscut Thanks for your review!


Kafka spout workers

I am using the default kafka spout as part of the topology. If I set the workers to three will Pyleus ensue that different workers don't read the same message? Can I be sure I won't end up processing the same message more than once?

Even if Storm has support for exactly-once semantic (using Trident), Pyleus doesn't offer it out of the box. I guess you'll need to implement this logic yourself, if possible...

OK. I tried more than one worker and ended up with more records in the target table than the messages I published to kafka. I was just confirming that I did not miss something. Thanks for the clarification.


draw-tools: icons got blurry after update

All icons at draw panel got blurry.
It's easier to see when Chrome webpage is scaled to 200%.
It's especially annoying on mobile (I know it's out of scope of this fork).

fixed in commit fd5507a


Traffic to service through AzureLoad balancer blocked after injecting osm envoy proxy

We have a service running on kubernetes (setup using aks engine) that is exposed to VMs outside the cluster using Azure Internal Load balancer as shown below. The clients inside the VM connect to the service using GRPC w/http2.
VM (outside k8s) ---- LB -- Service(inside K8s)
When I was evaluating OSM, I created an alternate path to the service using Contour and OSM.
With OSM the topology looks like this.
VM ----- LB --------- Service
\------- Contour-----/
Now, after injecting the envoy proxy to the service pods, the existing connections through the Load balancer fail. New connection through the Load balancer receive a RST from the service. However, new connections through Contour works. I don't see the issue when i disable the proxy injection. Also, I don't see any logs on the proxy container for the failed connections.
I already set the enablePermissiveTrafficPolicy flag to true on the config. It doesn't help.
Need help to check if I am missing any other configurations.

Currently, the only way to access a service that is a part of the mesh is by using an Ingress controller, and using the IngressBackend configuration to permit external clients to access the backend service.
Have you looked at https://release-v1-1.docs.openservicemesh.io/docs/guides/traffic_management/ingress/?

Thank you for the response. We are a brownfield deployment and I was exploring options to check the possibility of a smooth transition to using OSM without disrupting the existing connections.


[google_maps_flutter] Google map package makes IOS Runner run in Intel mode (Macbook M1)

After installing google_maps_flutter and add API_KEY to AppDelegate.swift, the Runner process start up in Intel mode (while my laptop is using M1 Silicon CPU), which affects the performance a lot and the CPU usage is always between 100-300%.
Does anyone have any idea?
Thank you so much in advance!

This is tracked in https://github.com/flutter/flutter/issues/94491; closing as a duplicate.


Move and retire "What's new in C# 7.x"

As the last task of this project, the current C# 7.x what's new content should move to the appropriate location in the C# guide. It's no longer ✨ New ✨

I don't understand why you'd do this. There are places that link to this article and also it is beneficial to be able to track how the language evolved version by version

@Eirenarch That's a good question There's three parts to the answer:
First, There will be redirects for any links to this article. They'll get rerouted to the C# 7.x sections of the C# version history. Second, we won't make circular links, the content from the what's new article gets added to the version history article. Third, tutorials and examples for the new features will be moved to the sections on that language feature, rather than call them out by version.
We feel this is a good balance between learning the language as it exists now, and understanding the history of what features were added in each version. Both are important. We don't want to require readers to know which version introduced a feature to find it. We also want to explain the language's evolution.
The "what's new" by version pages are designed to help developers as they upgrade between versions. Once a version is old enough, that use is needed less. That's the reason to retire them eventually.

I see. I somehow didn't realize the version history page existed or rather I assumed it contained release dates and corresponding .NET/VS versions and not lists of features.

@Eirenarch @BillWagner
Frankly speaking, I don't like the document maintenance style -- "Move and retire". I am grateful to you for maintaining the document so well. However, the document is like a product and the link should be stable enough.
I still remembered that not long ago, I queried what's new in C# 6.0, unfortunately, I just couldn’t find it. I clearly remembered it was there just under what's new... I checked the github check-in history and found that the document was permanently deleted. well...
Yes, we still have The history of C#, but this one is really too brief.
If possible, please consider moving these documents to a folder to archive/reference, or you could just consider it as release notes, so that we could still find/redirect to them when we need to refer to the specific version.
Many similar maintenance methods could be find below, which keep the original details and is also more reasonable.
some Microsoft style

Visual Studio Release Notes
Nuget Release Notes

famous OSS style

Elasticsearch Release notes
Mongdb Release Notes ~ from V1.2-5.0
Couchbase Documentation Archive


Not able to load Playground page from Visual Studio

I have cloned the repo and opened the index html page present in Visuals PlayGround folder. Set as start page and changed build properties as mentioned in home page. When I run the application, $ undefined error and many references externals.min.js, VisualsPlayGround.js etc., files refereed in index page are not available in solution. Please help me. I am blocked.

@venkateshappala did you follow instructions in repo home (npm install, etc)?

Yes. I have installed node.js and ran npm install command as well in Visual Studio

Could you try running gulp build from command line (root folder) and see if there is any error?
Looks like you don't have the following files which are produced during build:
PowerBI-visuals\src\Clients\PowerBIVisualsPlayground\PowerBIVisualsPlayground.js
PowerBI-visuals\src\Clients\PowerBIVisualsPlayground\externals.min.js
PowerBI-visuals\src\Clients\PowerBIVisualsPlayground\powerbi-visuals.js

PS. I've just tested master branch and it works for me

thnx a lot!! working now.


Firebase crashes when release build used in xCode 13

Step 0: Are you in the right place?
[REQUIRED] Step 1: Describe your environment

Xcode version: 13.0
Firebase SDK version: 8.7.0
Installation method: CocoaPods
Firebase Component: Core

[REQUIRED] Step 2: Describe the problem
When upgraded to XCode 13, the Firebase crashes in release build on iOS 15 on firebase initialisation FirebaseApp.configure()

I am seeing the same thing

Thanks for the reports. What is the exception thrown? What version of CocoaPods is being used?

@paulb777 It's a little hard to give more info my reports are all "Missing" when viewed in the console (dsyms are uploaded, it's only these crashes that are effected, the rest are successfully symbolicated0. I made an issue which might be more appropriate as @sarsonj 's issue might be different. My crashlytics crashes, seem to align with Testflight feedback which is correctly symbolicated. Looks like pref is locked and another thread crashes as a result.
As for cocoapods I am using 1.11.2
Issue: #8710
Please let me know if I should move this thread over to the other issue or if it's better in one place?

OK, I'll close based on needing more info from @sarsonj  and @foxware00 's issue being discussed at #8710.  Feel free to comment with more info about the topLevelVersion crash and we can reopen.

I am having the same crash when the release scheme build is installed from Testflight.

Also the crash report:
FirebaseCrash.txt
Probably crashing on initialization as soon as the app is launched
cocoapods - 1.11.2


ci: introduce Python 3.9 tests and clean unnecessary Python versions

We are currently including more than necessary Python versions in the testing matrix:
$ grep 3.7, reana-*/.github/workflows/ci.yml
reana-commons/.github/workflows/ci.yml:        python-version: [2.7, 3.6, 3.7, 3.8]
reana-db/.github/workflows/ci.yml:        python-version: [2.7, 3.6, 3.7, 3.8]
reana-demo-cdci-crab-pulsar-integral-verification/.github/workflows/ci.yml:        python-version: [3.6, 3.7, 3.8]
reana-job-controller/.github/workflows/ci.yml:        python-version: [3.6, 3.7, 3.8]
reana-message-broker/.github/workflows/ci.yml:        python-version: [3.6, 3.7, 3.8]
reana-server/.github/workflows/ci.yml:        python-version: [3.6, 3.7, 3.8]
reana-workflow-controller/.github/workflows/ci.yml:        python-version: [3.6, 3.7, 3.8]
reana-workflow-engine-cwl/.github/workflows/ci.yml:        python-version: [3.6, 3.7, 3.8]
reana-workflow-engine-serial/.github/workflows/ci.yml:        python-version: [3.6, 3.7, 3.8]
reana-workflow-engine-yadage/.github/workflows/ci.yml:        python-version: [3.6, 3.7, 3.8]

Starting from maint-0.7, branch, we can:

for client and common modules (r-client, r-commons, r-db, p-reana), let us add a new test for newly released py39
for cluster components, we are using only py38 in Dockerfile, let us remove the other version from testing matrix
for demo examples, we probably don't even need python tests

In this way, the Python versions that we promise to support in setup.py declarations should be the only ones that are tested in CI for the given component.

Tibor's:

[ ] reana-commons
[ ] reana-db
[ ] reana-demo-*

Marco's:

[ ] reana-message-broker
[ ] reana-server
[ ] reana-workflow-controller
[ ] reana-workflow-engine-cwl
[ ] reana-workflow-engine-serial
[ ] reana-workflow-engine-yadage

FWIW we are also using different Python versions in different demo examples, but I guess this is OK, since we promise to support Python 2.7 for longer...
$ grep -r python-version reana-demo-*/.github/workflows/ci.yml
reana-demo-alice-lego-train-test-run/.github/workflows/ci.yml:          python-version: 2.7
reana-demo-atlas-recast/.github/workflows/ci.yml:          python-version: 3.8
reana-demo-bsm-search/.github/workflows/ci.yml:          python-version: 2.7
reana-demo-cdci-crab-pulsar-integral-verification/.github/workflows/ci.yml:          python-version: 3.8
reana-demo-cms-h4l/.github/workflows/ci.yml:          python-version: 3.8
reana-demo-helloworld/.github/workflows/ci.yml:          python-version: 2.7
reana-demo-root6-roofit/.github/workflows/ci.yml:          python-version: 2.7
reana-demo-worldpopulation/.github/workflows/ci.yml:          python-version: 2.7

All issues were addressed.


test: add test for BaseHealthRatioHandler

FAILED apps/data_handler/tests/health_ratio_test/test_health_ratio_tests.py::TestBaseHealthRatioHandler::test_initialize_loan_entities - TypeError: Can't instantiate abstract class MockState with abstract method compute_liquidable_debt_at_price
FAILED apps/data_handler/tests/health_ratio_test/test_health_ratio_tests.py::TestBaseHealthRatioHandler::test_initialize_loan_entities_with_empty_data - TypeError: Can't instantiate abstract class MockState with abstract method compute_liquidable_debt_at_price
FAILED apps/data_handler/tests/health_ratio_test/test_health_ratio_tests.py::TestBaseHealthRatioHandler::test_initialize_loan_entities_maintains_existing_state - TypeError: Can't instantiate abstract class MockState with abstract method compute_liquidable_debt_at_price
FAILED apps/data_handler/tests/test_zklend_transformer.py::test_save_collateral_enabled_event - pydantic_core._pydantic_core.ValidationError: 1 validation error for CollateralEnabledDisabledEventData
FAILED apps/data_handler/tests/test_zklend_transformer.py::test_save_collateral_disabled_event - pydantic_core._pydantic_core.ValidationError: 1 validation error for CollateralEnabledDisabledEventData

next time If I see that you didn't even test it, I will just unassign you
@vestor-dev

holla @djeck1432 i have synced my fork
kindly review :)

@vestor-dev Can you please attach screenshot that tests were running succesfully

hey @djeck1432 this is it

it works perfectly on mine


Update gazebo estimator plugin to add foot pos and vel to robot state msg

Edited to remove joint effort, which will come in a later PR.


JQuery: "Uncaught TypeError: Cannot read property 'length' of undefined"

Adding jquery.turbolinks causes JQuery itself to crash, saying "Uncaught TypeError: Cannot read property 'length' of undefined"
My application.js:
//= require jquery
//= require jquery.turbolinks
//= require jquery_ujs
//= require angular/angular.min
//= require angular/angular-route.min
//= require jquery-ui.min
//= require chosen-jquery
//= require bootstrap
//= require conversations
//= require analytics
//= require common
//= require jquery.infinite-pages
//= require jquery.contenthover
//= require overlay
//= require tag-it.min
//= require_tree .
//= require_tree ../../../vendor/assets/javascripts/.
//= require turbolinks
The function in question where it crashes:
merge: function( first, second ) {
	var len = +second.length,
		j = 0,
		i = first.length;

	while ( j < len ) {
		first[ i++ ] = second[ j++ ];
	}

	// Support: IE<9
	// Workaround casting of .length to NaN on otherwise arraylike objects (e.g., NodeLists)
	if ( len !== len ) {
		while ( second[j] !== undefined ) {
			first[ i++ ] = second[ j++ ];
		}
	}

	first.length = i;

	return first;

Was able to resolve this issue by placing the JS library that was calling this method after require jquery but before require jquery-turbolinks. Unclear on why that particular library was causing an issue, but it is fixed.

nice, glad you had it sorted out!


Add support for developing with docker

Looks reasonable to me. Unfortunately, the vega rendering stuff is not available with the CPU edition, testing this stuff is tricky. Let me know when this is good to go.

@ian-r-rose Good to go. I removed the local mapd service.

Thanks!


Refactoring donut and brush chart tests

Description

Updating into TAP format, ES6 and common describe clauses
Motivation and Context

Refreshing code
How Has This Been Tested?

Run tests
Types of changes

[x] Refactor (changes the way we code something without changing its functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] Latest master code has been merged into this branch
[ ] No commented out code (if required, place // TODO above with explanation)
[ ] No linting issues
[ ] Build is successful
[ ] Code follows the API Guidelines
[ ] Updated the documentation
[ ] Added tests to cover changes
[ ] All new and existing tests passed

@all-contributors please add @jchen85 for code, ideas, maintenance, review, and test


Fix performance issue related to word count

This PR fixes #5 by replacing the word counting code with something that requires less string manipulation. I also dropped the binary in favor of the actual cmark source using SwiftMark.

This looks good to me!

Apart from this appearing to be two separate changes (replacing the parser and fixing the word count) looks good to me.
NSTask loses again.

@klaaspieter Yes, aware of the 2-in-1, but it was part of the debugging process :( I will keep the commits separate and save time by using one PR.


What is correct installation setup for ALFWorld experiments?

Thank you very much for releasing the solid work!
I wonder how you conducted the ALFWorld experiments, as I found it seems so difficult to run this simulator in headless when I tried to reproduce the experimental results shown in your excellent paper based on a headless cloud server.
Looking forward to your answer!

Hi, thanks for checking our codes. We have provided the installation guide here, could you let us know what errors you are encountering during installation?


scripts: utils: add guidelines converter script

Add a guidelines rst converter script to convert the rst written coding guidelines into another format.
The first supported format is the one for cppcheck.
The advantage of this script is that the coding guidelines only have one source ( documentation) of truth and don't need to be changed in x files if there are any changes.

ping @fabiobaltieri @stephanosio @nashif


ci: Add a new workflow to check and format shell scripts in util dir

Hi,
I've added a new GitHub action workflow to resolve https://github.com/uutils/coreutils/issues/4752. It utilizes shellcheck and shfmt tools to perform checks and formatting on our shell scripts during a push to the main branch or the creation of a PR.
As it stands, I would appreciate some input on the following aspects that may require further discussion or decision:

Unification of Shell Interpreters: It appears that some of our scripts utilize #!/bin/sh shebang, yet contain certain statements that do not adhere to the POSIX sh standard, as pointed out by shellcheck. I have attached an example of such an occurrence in the CI output from my forked repo here:  ShellScript/Check. As a temporary measure, I've configured shellcheck to scrutinize all scripts against the bash rules. Would this be acceptable or should we strictly adhere to the $shebang rules?
Inclusion of Specific shellcheck Rules: Currently, I've left the shellcheck rules to their default settings, which still yield a number of warnings: ShellScript/Check. My plan is to address these in an additional commit, but before proceeding, it would be beneficial to determine which rules we should strictly enforce.
Auto Commit Post shfmt Execution: Once shfmt completes successfully, an automatic commit will be added to the main branch. I was wondering if this practice aligns with our workflow expectations.

it didn't run. I guess it is because a new testsuite.
Let's see if it works if I merge it once you fixed the comment

Yes, I think that's due to that security feature of github where it won't tun unmerged workflows.

I've removed any write operations. now the job will fail if the code does not meet the formatting specifications.

Let's try
Thanks

And as I've mentioned above, the job will be triggered if we modify the shell script under the util dir. But in the current situation, the shellcheck/shfmt will complain about some scripts. Should I add an additional commit to fix them?

yeah, please :)


search, sort imp and formatted files

I didn't take some of the whitespace changes. I didn't want to risk anything breaking at this point


More flexible AddComponent/ReplaceComponent methods

If you have a component with multiple member variables, the AddComponent and ReplaceComponent methods require specifying every single member.
[Game]
public struct ExampleComponent : IComponent {
   public Vector3 Position;
   public Quaternion Rotation;
   public int Layer;
   public bool Visible;
}

When I first started using Entitas I expected that I would need to create the component and add it.  But instead you need to do this:
   entity.AddComponent(newPosition, newRotation, newLayer, isVisible);

The problem is this can be tedious if some of the values should default to false/null.  If you supported the ability to take ExampleComponent as a parameter, I could do this:
   entity.AddComponent(new ExampleComponent() { Position = newPosition });

Or alternatively define my own constructors (if it is a class not a struct).
I like the existing syntax for some cases, but in other cases it is not a fit.  So I'd actually like flexibility by having an attribute for the class that defines how the signature of AddComponent/ReplaceComponent work.

You doing all wrong. If you need to change part of component, then you need new component, that will be part of previous component.
public class PositionComponent : IComponent {
   public Vector3 Value;
}
public class RotationComponent : IComponent {
   public Quaternion Value;
}

public class LayerComponent : IComponent {
   public int Layer;
}

public class VisibleComponent : IComponent {}

And use classes.

Generally I agree with @WeslomPo , in this case it makes sense to split the components into smaller ones which will increase the reusability of those components.
There might be other components where you don't want to do that, in this case just extend the partial entity class with your custom addition of a Add and Replace method.
partial class GameEntity
{
    public void AddPosition(float x) {
        AddPosition(new Vector3(x, 0, 0));
    }

    public void ReplacePosition(float x) {
        ReplacePosition(new Vector3(x, 0, 0));
    }
}

Sorry I didn't follow up on this earlier.  I understand WeslomPo's point but the thing is, my example was just made up as an illustration, and I think it was a poor example, because it just led people to questioning why anyone would ever want to do such a silly thing.
Let me try again.  This time, I will actually use the example of WeslomPo:
public class PositionComponent : IComponent {
   public Vector3 Value;
}

Now, when I add a PositionComponent, I need to add a Vector3.  Because this is a position, maybe I actually want to supply the position by giving it a name or enumeration, like Cities.NewPhoenix, which it will then look up the position in some other place, and turn it to a Vector3.
However, in this example, Vector3 is not my class, I didn't make it.  I cannot make a constructor for Vector3.  I can create a constructor for PositionComponent, but this does no good because AddPosition() does not accept a PositionComponent, it accepts the members of PositionComponent which is a Vector3 in this case.
I know that there's other ways to do it, such as just making a static method to convert, but it just seemed like it should not be difficult to make versions of AddXXX and ReplaceXXX that took an actual PositionComponent instead of the members of position component.  That's why I asked for an attribute to do this for convenience.
Being able to define this conversion right in PositionComponent is convenient as it keeps the code together with the single class where it is used.
Now, there may be implementation issues that make this not possible, for example maybe the underlying data structure never actually creates or uses a real PositionComponent.  But if it is possible, my request stands, even though I do know there's workarounds.  Thanks.

Very hard to understand real application of your demand (maybe my translation skill not enough :) ). Can you provide a fake code example?
By the way, may real components looks like this:

If I understand right, you trying make something that not intended to be created like this.
For example, if you want to take position of something like city by some kind of id, you need to get that position somewhere first place. Where did entity can get that position, even if you pass id for that? Entity does not know about all cities, entity is just a ONE ROW of DATA. So, if you want to get data for particular ID and that data stored in entitas, it actually stored in CONTEXT. Context - are TABLE of ROWS (array of entities). You can't make components doing complex work, their responsibility are storing one row of data.
To make contexts made complex work for you you have two options:

Make partial class for that context.
Create extensions method for context - I think this is more convenient work to do that.


[SPARK-44221][BUILD] Upgrade RoaringBitmap from 0.9.44 to 0.9.45

What changes were proposed in this pull request?
This pr aims upgrade RoaringBitmap from 0.9.44 to 0.9.45.
Why are the changes needed?
1.The new version brings 2 bug fix:

https://github.com/RoaringBitmap/RoaringBitmap/pull/631
https://github.com/RoaringBitmap/RoaringBitmap/pull/630

2.v0.9.44 VS v0.9.45
https://github.com/RoaringBitmap/RoaringBitmap/compare/v0.9.44...0.9.45
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass GA.

Let me add the results of MapStatusConvertBenchmark.

cc @LuciferYang

thanks @panbingkun @srowen @LuciferYang , merged to master


[Stargate RPG ] v.1.70

Changes / Comments

refactor with PUG & SCSS
make CSE compliant
add datalists
update page buttons

Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[x] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[x] Does this add functional enhancements (new features or extending existing features) ?
[x] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.


Use markdown output for levitate is-compatible action

Adds the --markdown option to the levitate call to output a markdown friendly text that can be parsed by github comment's markdown

 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.

 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.


Correct error messages for edit and delete commands

They are not updated. Right now they still say INDEX instead of IC_NUMBER

Completed in #144


[Music] ...we need 'search'

Extension
https://www.raycast.com/fedevitaledev/music
Description
It would be better if I could use Raycast to search songs in apple music.Apple Music
Who will benefit from this feature?
No response
Anything else?
No response

Unfortunately due to the current state of the implementation that's not possible at the moment. Search is available only via MusicKit API, I created a PR a while ago but i still have to implement the authentication server.

See #6988


Crash on scene exit when using await on a Timer node

Godot version
4.0.dev (25bea735449d4e762e3c5f6b960d5f5b9cf79ac1)
System information
Windows 10
Issue description
When running a scene that uses await on a Timer node, the game crashes after scene exit, either when exiting the game or reloading the scene.
Crash callstack:
[0] List<Object::Connection,DefaultAllocator>::erase (C:\dev\godot\core\templates\list.h:428)
[1] List<Object::Connection,DefaultAllocator>::erase (C:\dev\godot\core\templates\list.h:428)
[2] Object::~Object (C:\dev\godot\core\object\object.cpp:1879)
[3] Node::~Node (C:\dev\godot\scene\main\node.cpp:2884)
[4] Timer::~Timer (C:\dev\godot\scene\main\timer.cpp:233)
[5] Timer::`scalar deleting destructor'
[6] memdelete<Node> (C:\dev\godot\core\os\memory.h:111)
[7] Node::_notification (C:\dev\godot\scene\main\node.cpp:170)
[8] Node::_notificationv (C:\dev\godot\scene\main\node.h:48)
[9] Object::notification (C:\dev\godot\core\object\object.cpp:843)
[10] Object::_predelete (C:\dev\godot\core\object\object.cpp:355)
[11] predelete_handler (C:\dev\godot\core\object\object.cpp:1906)
[12] memdelete<Node> (C:\dev\godot\core\os\memory.h:104)
[13] SceneTree::_change_scene (C:\dev\godot\scene\main\scene_tree.cpp:1073)

It crashes on invalid callable here (object is null):
https://github.com/godotengine/godot/blob/536757b80b092a0cc3b2819d502e0129196d6a19/core/object/object.cpp#L1877-L1879
This signal connection is created by the await function here:
https://github.com/godotengine/godot/blob/536757b80b092a0cc3b2819d502e0129196d6a19/modules/gdscript/gdscript_vm.cpp#L2144
And it looks like it's not disconnected when releasing the function state after await is done, although the callable is invalidated.
I'm not sure what a proper fix is, there are two possible directions:

Fix in gdscript to disconnect the signal properly after await is done

Fix in the Timer destructor to disconnect any signals, like SceneTreeTimer does here:
https://github.com/godotengine/godot/blob/536757b80b092a0cc3b2819d502e0129196d6a19/scene/main/scene_tree.cpp#L93-L100

On top of that, it might be helpful to add a check here to avoid crashes when the callable is invalid, as long as that doesn't cause too much performance overhead:
https://github.com/godotengine/godot/blob/536757b80b092a0cc3b2819d502e0129196d6a19/core/object/object.cpp#L1877-L1879
Steps to reproduce
Simple script that causes the crash on exit or reload scene:
extends Node

func _ready():
	print("timer start")

	var timer = Timer.new()
	timer.one_shot = true
	add_child(timer)
	timer.start(0.5)

	await timer.timeout

	print("timer end")

func _process(_delta):
	if Input.is_action_just_pressed("ui_accept"):
		get_tree().reload_current_scene()

Steps with MRP:

Run the project
Press SPACE or close the game window
Observe crash

Minimal reproduction project
timer-crash.zip

The crash also happens in this scenario:

func _ready() -> void:
	$Timer.start()
	await $Timer.timeout
	queue_free()

The node is freed after await finished, but it still crashes. Deferring doesn't help.


IMAGING-176

When "Compression" field is missing in TIFF - default to no compression to avoid exception.

Is the compression field optional in TIFF files or does the absence of the compression field indicate a broken file?

I'm not an expert on this, but according to https://en.wikipedia.org/wiki/Tagged_Image_File_Format#TIFF_Compression_Tag "The default value is 1 = no compression", which seems to me that the field is optional.
I got several such files from a user of my app, and they can be opened with different programs just fine, but cause an exception when attempting to get their info with Commons Imaging.

@GabiAxel okay! Do you see a way to provide a unit test for the new behavior?

I'll try to work on this in the next few days.

Awesome! Thank you.

@britter I pushed another change and a test TIFF file which caused failure in TiffReadTest and the change makes the test pass.

@GabiAxel I'll have a look tomorrow!

@britter TiffReadTest does that - it loads all TIFF images, and by adding the new image src/test/data/images/tiff/8/no-compression-tag.tiff this test runs Imaging.getMetadata() for it too. I didn't add new behaviour, just fixed how Imaging.getMetadata() deals with a case of an image, so I think it's enough.

Fixed in SVN in revision 1749362. Should sync to GitHub shortly. Thank you!


TransH outputs Nan values

Hi,
I was trying to train TransH with dimensions of 50-100, epochs of 1000-10000. So far the embedding outputs are all "Nan".
There's also a parameter called "weigthing_soft_constraint" that I don't understand. Is it referring to the "weight C" parameter in the original paper?

Hi @ChaseWLW,

I was trying to train TransH with dimensions of 50-100, epochs of 1000-10000. So far the embedding outputs are all "Nan".

Can you please provide more details about the experimental setup, because I tested TransH on different datasets, and I didn't face this issue, yet? I can imagine its due to the specified value for the "weigthing_soft_constraint".

There's also a parameter called "weigthing_soft_constraint" that I don't understand. Is it referring to the "weight C" parameter in the original paper?

Exactly.

config = dict(     training_set_path           = 'yeast-plain.nt',     execution_mode              = 'Training_mode',     random_seed                 = 0,     kg_embedding_model_name     = 'TransR',     weigthing_soft_constraint   = 1,     embedding_dim               = 50,     relation_embedding_dim      = 50,     normalization_of_entities   = 2,  # corresponds to L2     scoring_function            = 1,  # corresponds to L1     margin_loss                 = 1,     learning_rate               = 0.01,     num_epochs                  = 1000,  # 1000 is better for real     batch_size                  = 256,     preferred_device            = 'gpu', )
I used configs similar to this one and only changing epochs and dimensions. Maybe something I don't yet understand with some of these hyperparameters?

I see a typo in weigthing_soft_constraint

Hi @ChaseWLW,
I've created a Jupyter Notebook for TransH trained on RDF (.nt): https://github.com/SmartDataAnalytics/PyKEEN/blob/master/notebooks/Train and Evaluate TransH on RDF (.nt).ipynb
Please compare it with your experiment.

Thanks @mali-git!
As a side note, I see a test_set_ratio parameter here: https://pykeen.readthedocs.io/en/latest/train_and_evaluate.html
Is this the validation set here and is it implemented to save the best model?

Hi @ChaseWLW ,

Is this the validation set here and is it implemented to save the best model? If so, does it output the best epoch?

The test_set_ratio can be used when you want to evaluate your model, but you don't have a test available. Then, the ratio that you defined will be extracted randomly from the training set, and used as a test set.

I read the pipeline code and it seems like early stopping is not yet implemented. Maybe something to consider?

Yes, thats a good point. Early stopping is one of our TODOs :)


add "info" tool

to print SVD information and statistics

oh this would be great. I would also love it if this tool could allow one to query a single peripheral or register, and print out its parent or child objects


MyGet package publishing

Implemented publishing JSIL package to MyGet feed. Use GitVersion for versioning, bumped version to 0.9.1 for now.
JSILc from nuget package now able to copy Libraries to designed folder (use settings JsLibrariesOutputDirectory in jsilconfig or outLibraries command line parameter).
Current version of package doesn't contains any XNA translation related assemblies. I have no plans to integrate them for now (but it could be done by somebody else).

It would be good to create ReadMe, that will be opened after package installation and will suggest user to create *.jsilconfig with at least next content:
{
  "OutputDirectory": "JS\\Translated\\",
  "JsLibrariesOutputDirectory": "JS\\Libraries\\"
}

We also need to make JSIL.Meta package, but that package should be build from JSIL.Meta repository.


merge CHEBI:84656 and CHEBI:90361

Please merge. Note that the name of CHEBI:90361 has "beta-Gal" as second moiety despite it being beta-D-Gal, as given in the definition.

now merged. Thanks


customcommands: refine delayed execCC limits

This PR proposes the two changes to delayed execCC[^1] limits. There are two minor issues with the

Make the limit

[^1]: Note that execCC calls with 0 delay are not affected by this change, nor do future revisions of this change aim to limit them further. Those calls do not go through the scheduled event system and are considerably less costly to handle.

Whoops, sent this before I finished writing the description 😔 Will edit.

I'm going to close this off for the time being (such is the fate to all changes to execCC, I suppose...)--it's accumulated a bunch of conflicts and I don't have the energy to test it as exhaustively as a change to execCC should be tested. I still think it is a change worth considering so would be happy to see it picked up by someone else in future.


Request for additional information on question #30 regarding "reference"

In the response to question #30 (also referenced in the response to question #33) you mention that "'--filter-clusters-inferred-assembly'"... "removes clusters that were never identified from an assembly, meaning they were only found in the reference."
Does the term "reference" you use in the question #30 response refer only to the genome defined as the reference when the pipeline was originally run?  Or in this case can the term "reference" in the question #30 refer to any single-genome-only cluster (i.e. any cluster only originally identified in a single genome?)  I want to be sure I'm understanding this correctly.  In my analysis, I'm using only assembled genomes (albeit, most are draft assemblies) and I'm seeking clarification on whether self-only clusters (i.e. clusters only originally identified in a single genome would be removed under the same rules as would be done with the explicitly defined reference used when the pipeline was run.  Under these conditions, every genome assembly in turn might be construed as a "reference" for the purposes of filtering as explained in the response to question #30.

Yes, "reference" refers to the genome identified as the reference when it was originally run. This is the sequence that you aligned all of your reads to in order to produce the BAM files.


setPosition with ease duration 0, should work as setPositionNow

Currently if one tries to do a setPosition(x, y, 0), condition on Ease::finish is true on the next Map::Update and Ease::update is never called.
Refer: https://github.com/tangrams/tangram-es/blob/master/core/src/util/ease.h#L32

Can't reproduce this problem so far - the logic in the Ease functions seems to correctly handle this case and run update(dt) at least once for all ease instances.

This seems to work correctly from both the OS X and Android demo apps, and the logic in the code covers this case. Closing until we have evidence of a bug.


Refactor permissions

Task/Issue URL: https://app.asana.com/0/488551667048375/1205815328063411/f
Description
This PR refactors permissions so the ones that can be accepted or denied automatically are done within the module rather than the fragment.
Steps to test this PR
Camera/mic deny

[x] Go to http://webcamera.io/
[x] Deny the camera/mic permissions
[x] Go to Settings --> Permissions --> Site Permissions
[x] Verify webcamera.io is not under "Manage Sites"

Camera/mic allow

[x] Go to http://webcamera.io/
[x] Allow the camera/mic permissions
[x] Go to Settings --> Permissions --> Site Permissions
[x] Verify webcamera.io is under "Manage Sites" and is set to ask for all 3 permissions

Camera/mic allow within 24h

[x] Go to Settings --> Permissions --> Site Permissions
[x] Tap on webcamera.io under "Manage Sites"
[x] Set camera permission to "Allow"
[x] Reload the web on the same tab
[x] Check permission is granted without prompt

Camera/mic always allow

[x] Go to Settings --> Permissions --> Site Permissions
[x] Tap on webcamera.io under "Manage Sites"
[x] Set camera permission to "Allow"
[x] Go to http://webcamera.io/ and check permission is granted without prompt

_Camera/mic always deny

[x] Go to Settings --> Permissions --> Site Permissions
[x] Tap on webcamera.io under "Manage Sites"
[x] Set camera permission to "Deny"
[x] Go to http://webcamera.io/ and check permission is not granted

Session-based Consent

[x] Load https://shaka-player-demo.appspot.com/demo/ - DRM consent prompt should appear
[x] Select  "Only for this Session"
[x] Verify that you are able to play the 3rd video, Sintel (it's encrypted with Widevine)
[x] Reload the page and verify that you are still able to play the video and no dialog appears
[x] Open a new tab and go to https://shaka-player-demo.appspot.com/demo/
[x] Consent prompt should appear - select "Deny for this Session"
[x] Verify that the 3rd video, Sintel, is not available
[x] Reload the page - video should still be unavailable and no consent prompt should appear

Current dependencies on/for this PR:

develop

PR #3843   👈

This stack of pull requests is managed by Graphite.

I added more test cases for mic/camera permissions in the description. This mic/camera refactor seems significant enough to justify a separate PR from the DRM one. Should we create two different ones?

@nalcalag I can't recreate the errors that you mention. What are the test steps?
Regarding the refactor, the whole PR is 12 files and the change is moving logic from the app to the permissions module. It doesn't differentiate between drm or other permissions so I don't see where the complexity or significance of the change is.

I can't reproduce the issues @nalcalag mentions either. I ran all the new test cases and everything works as expected for me.
@marcosholgado I think the difference between the two test cases you mention is that perhaps in the second case (always allow) you are expected to open the site in a new tab instead of the same one. Is that right @nalcalag ?

@marcosholgado , @CrisBarreiro I can reproduce it if I load http://webcamera.io/ in a new tab, instead refresh the same one. That's why you need two different tests, one for testing session (24h) which seems to work fine, and another one for Always allow setting. I added the extra step to open a new tab on the test case.
@marcosholgado I know it's not a big change in terms of lines of code or files, but more for testing everything properly by permission. It's ok to have everything here though, it was just a suggestion 👍 .

@nalcalag thanks! I wasn't able to reproduce the crash, but I did get the timeout

@CrisBarreiro, @nalcalag got it now. This happens when the website asks for more than one permission and one of them is already handled automatically. Will fix that and ping again for review

Ok this is more complicated, the code in prod also doesn't work as is supposed to and cannot deal with a page with multiple permissions. Will fix everything here.

@CrisBarreiro this should be ready to re-review :)


Uploading the model to physionet

Hello there and thanks for the super impressive work!
I was hoping to ask about any updates on uploading the model to physionet? I am hoping to reference your model in a downstream task on a current research work.
Many thanks!:)

Currently, our submission to PhysioNet is still under review, so I'm afraid we can't share it publicly just yet.
That being said, if you could provide us with proof of your PhysioNet credentials, we might be able to send over the checkpoint via email.
Thanks you for your attention!

Currently, our submission to PhysioNet is still under review, so I'm afraid we can't share it publicly just yet. However, if you could provide us with proof of your PhysioNet credentials, we might be able to send over the checkpoint via email.
Thanks you for your attention!

That would be awesome and deeply appreciate the kind accommodation. Wondering what's the best way to send the credentials over? Would be happy to share it via email or whatever way you see fit. :) My email is<EMAIL_ADDRESS>

Hi,
Great work! I would like to ask if there is any news regarding the uploading of the model to Physionet. We are interested in using your model and referencing it in our ongoing research.
Thank you!

Unfortunately, we have halted the PhysioNet submission and replaced it with our new model, Asclepius. This is an instruction-tuned model based on clinical notes, and it empirically demonstrates superior performance compared to CAMEL. You can directly access Asclepius on HuggingFace.
However, if you still wish to access the CAMEL checkpoint, please provide your PhysioNet credentials to me (kjune0322@kaist.ac.kr).
Thank you for your interest in our project!


Added support for the worklog endpoints

I added support for the worklog REST endpoints from Atlassian.  It would be appreciated if they were merged into the main branch and npm updated.

Left a comment about the docs; other than that, looks great!  I'll merge and publish as soon as the docs are corrected.

Updated docs to reflect correct url.  Sorry about that.

Awesome, will merge and publish

Published as version 2.1.0
Thanks!

Thank you very much!
On Mon, Mar 21, 2016 at 10:36 AM, Caleb Brinkman<EMAIL_ADDRESS>wrote:

Published as version 2.1.0
Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/floralvikings/jira-connector/pull/28#issuecomment-199393626


[Feature]集成LDAP的用户管理

希望EasyScheduler能够集成LDAP的用户管理，可以根据group来划分管理员和普通用户，谢谢

good，we will consider this feature！

Hello, I want to implements this feature, and will complete it next week

Hello, I want to implements this feature, and will complete it next week
How is it going？haha

Thanks.
You are great !

Hello, I want to implements this feature, and will complete it next week

How is it going？

Hello, I want to implements this feature, and will complete it next week

How is it going？

I will finish ldap feature in this week (deadline:20200906)


Documentation

Adds documentation for all public items and enables the warning for missing it. Had to add an implementation of Eq to Token to make the doc tests for that easy to write, but I think it makes sense to have it; as far as I can tell the only way it can sort of fail is if you have duplicated attributes in different orders.

Except for those minor corrections, it looks very good! :+1:

If you're done with docs, I'll try the 'Update branch' button and merge this...

:+1:

Hmm... A reverse merge! Now there'll be another merge commit!

Hmm, yeah, I prefer GitLab's "rebase branch". I could rebase and force push this if you want?

I could rebase and force push this if you want?

Alright! I was almost at the merge button!!


The font size of the strings 'Properties & Metadata' are incorrect in the 'Properties' dialog

Storage Explorer Version: 1.17.0
Build Number: 20210218.1
Branch: main
Platform/OS: Windows 10/ Linux Ubuntu 16.04/ MacOS Catalina
Architecture: ia32/x64
Regression From: Previous release(1.17.0)
Steps to Reproduce

Expand one storage account -> Blob Containers.
Right click one blob container -> Click 'Properties...'.
Observe the 'Properties' dialog.
Check whether the font size of the strings 'Properties & Metadata' are correct.

Expected Experience
The font size of the strings 'Properties & Metadata' are correct.

Actual Experience
The font size of the strings 'Properties & Metadata' are incorrect.

Additional Context
This issue also reproduces for one ADLS Gen2 blob container /file share.

More Info:
This issue also reproduces for the font size of the 'Blob Tags' in the 'Edit Tags' dialog.

Verified on build 20210223.1. This issue has been fixed. So we close it.


Create kqt.txt

@msyazwanskqt Please provide us with an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course

@msyazwanskqt You might miss my previous comment. Please react.

@msyazwanskqt I am sorry, this request remains unanswered for a while. I have to close it without merging. Please reopen and comment if you have an update regarding the aforementioned issue. Thank you for your understanding!


Ferdi Debian package uses incorrect path in postinst

The Debian package downloaded from the current release v5.6.0-beta.6 uses /opt/ferdi in two places, but the actual files are installed into /opt/Ferdi. That means that:

the link /usr/bin/ferdi is dead
/opt/Ferdi/chrome-sandbox is not properly chown-ed

Best

@kris7t - would you be able to take this up asap?

Just another note on the debian package - every time I log out of my computer and log back in again, there are two ferdi icons in the taskbar. One is irresponsive.

@vraravam @norbusan I'll try to look into this. I might have to change the application name from Ferdi to ferdi, though.
@k3tan172 Yes, this is a known issue. Unfortunately, fixing it will require a substantial rewrite of our tray icon functionality for Linux. (We use the default Chromium tray icon support, but that's kinda broken and the icon just disappears on screen lock. We fixed it, but now the icon duplicates, which is still more usable compared to just disappearing, but obviously not ideal.)

I was doing a small bit of browsing between work meetings, and came to this page - it might be helpful in running the chowncommand. Also, this might be helpful.
For the application name, maybe you can take a look at the productName in the electron-builder.yml file? relevant read

@k3tan172 - thanks for testing/logging the bug, but, once the first issue is fixed, we will want to close the issue. If you would like your bug fixed/tracked, I would suggest that you create a new bug card with all relevant details. Thanks in advance.

@vraravam @k3tan172 We're already tracking this at e.g.  #1189

For the application name, maybe you can take a look at the productName in the electron-builder.yml file?

The problem seems to be that we have linux.executableName: ferdi in electron-builder.yaml, and I think there's some inconsistency about which directory names come from linux.executableName and which directory names come from "productName" in package.json. Now I'm investigating just setting linux.executableName: Ferdi to see what changes in the resulting package.


Quikliy

Please describe the bug
Please give a clear and concise description of what went wrong.
Explain the steps needed to reproduce the bug

Navigate to to '…'
Click on '…'
See an error…

What was the expected behaviour?
Screenshots
If applicable, please add screenshots to help explain your problem.
What web browser were you using? (if relevant)
If you're reporting a bug with the front end, please include your browser information below:

Platform: Desktop/Tablet/Smartphone
Browser [e.g. Chrome, Safari]
Version [e.g. Version 15.1]

Additional context
Is there anything else we might find useful?

The entire device is out of control. Sometimes, I write sentences in the translation, and they are snatched up, and he sends a Facebook 🤗, a clearer movement. And all my devices.. for GitHub. I know how to hack. Increases barcode protection. The barcode can be photographed. If I have my own picture, he will not be able to photograph the barcode. This barcode is widely penetrated. Before it scrolled quickly, now it makes long scrolls

I suspect you might need to block this one - looks like GPT bot antics

Yeah I blocked them for a day, may need more!


MainActivity.kt: (12, 48): Type mismatch: inferred type is MainActivity but FlutterEngine was expected

I am trying to write some platform-specific code but facing a problem.
package com.thegosai.theknowledge
import android.os.Bundle
import io.flutter.app.FlutterActivity
import io.flutter.plugins.GeneratedPluginRegistrant
import io.flutter.plugin.common.MethodChannel
class MainActivity : FlutterActivity() {
    private val CHANNEL = "samples.flutter.dev/autostart"
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        GeneratedPluginRegistrant.registerWith(this);
         MethodChannel(flutterView, CHANNEL).setMethodCallHandler { call, result ->
            if (call.method == "getmanufacture") {
                val s = getmanufacture();
                result.success(s);
            } else {
                result.notImplemented();
            }
        }
    }
    private fun getmanufacture(): String {
        val manufacturer: String = android.os.Build.MANUFACTURER;
        return manufacturer;
    }
}

Hi @sanjeevbaria
With new embedding v2, you don't need to have onCreate
For platform channels, please check this code sample created based your code and official https://flutter.dev/docs/development/platform-integration/platform-channels
Code Sample
package com.example.master_flutter

import android.os.Bundle
import io.flutter.embedding.android.FlutterActivity
import io.flutter.embedding.engine.FlutterEngine
import io.flutter.plugin.common.MethodChannel

class MainActivity: FlutterActivity() {

    private val CHANNEL = "com.example.master_flutter/getManufacturer"

    override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
        super.configureFlutterEngine(flutterEngine)
        MethodChannel(flutterEngine.dartExecutor.binaryMessenger, CHANNEL).setMethodCallHandler { call, result ->
            if (call.method == "getManufacturer") {
                val s = getManufacturer();
                result.success(s);
            } else {
                result.notImplemented();
            }
        }
    }

    private fun getManufacturer(): String {
        val manufacturer: String = android.os.Build.MANUFACTURER;
        return manufacturer;
    }

}

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

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      theme: ThemeData.dark(),
      home: Home(),
    );
  }
}

class Home extends StatefulWidget {
  @override
  _HomeState createState() => _HomeState();
}

class _HomeState extends State<Home> {
  static const platform =
      const MethodChannel('com.example.master_flutter/getManufacturer');

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Material App Bar'),
      ),
      floatingActionButton: FloatingActionButton(
        child: Icon(Icons.add),
        onPressed: () async {
          final result = await platform.invokeMethod('getManufacturer');
          print(result);
        },
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel master, 1.20.0-3.0.pre.78, on Mac OS X 10.15.5 19F101,
    locale en-GB)
    • Flutter version 1.20.0-3.0.pre.78 at /Users/tahatesser/Code/flutter_master
    • Framework revision 2962912d68 (2 days ago), 2020-06-27 00:59:50 -0700
    • Engine revision fc0e27210c
    • Dart version 2.9.0 (build 2.9.0-19.0.dev 63cf56d925)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.0
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 47.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.46.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.12.0

[✓] Connected device (4 available)
    • SM M305F      • 32003c30dc19668f • android-arm64  • Android 10 (API 29)
    • macOS desktop • macos            • darwin-x64     • Mac OS X 10.15.5
      19F101
    • Web Server    • web-server       • web-javascript • Flutter Tools
    • Chrome        • chrome           • web-javascript • Google Chrome
      83.0.4103.116

• No issues found!

This platform is not meant for assistance on personal code.
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

thanks, man I actually referred the old article.


Unique Index

How can I create a Unique Index with two or more columns?
Thank you

Same question I'm dealing with now.

I need it as well

You can do that like this (if i understood you correctly):
`public class Account
{
[PrimaryKey, AutoIncrement]
public int Id { get; set; }
[Unique, Indexed]
public string AccountName { get; set; }
public bool Closed { get; set; }
public DateTime ClosedSince { get; set; }

public override string ToString()
{
    return $"{AccountName}{(Closed ? $" (geschlossen seit {ClosedSince.ToShortDateString()})" : ""  )}";
}

}`


Validation FormlyFieldConfig Parameter Pass

I'm submitting a ...  (check one with "x")
[X] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[X] support request

Current behavior
Field is null
    FormlyModule.forRoot(
      {
        validators: [
          { name: 'test', validation:
                  (control: AbstractControl, field: FormlyFieldConfig) => {
                      console.log(field)}
                    },
        ],

Expected behavior
Field not to be null
Minimal reproduction of the problem with instructions
https://stackblitz.com/edit/ngx-formly-ui-bootstrap-qed6k7?file=app%2Fapp.module.ts
What is the motivation / use case for changing the behavior?
I need access to hidden items on validation to do a compare.
I noticed in the documentation it says you can use field, but unsure.
[key: string]: ((control: AbstractControl, field: FormlyFieldConfig) => boolean)
https://github.com/formly-js/ngx-formly/blob/master/src/core/src/components/formly.field.config.ts#L53

I am going to attempt to see if I can make a pull request for this enhancement.
I think if I add it in  initFieldValidation & initFieldAsyncValidation to
validators.push((control: FormControl, field: FormlyFieldConfig)


Add hero based on this

https://github.com/PatrykMajchrzakDev/StarterAppBolierplate/commit/f868beb67499ea133b87a9e9bcdcedf21e8a83c3
This pull fixes this issue


[ 3pt ] Shopping list view

Should show the list of food that is missing for all recipes of the logged-in user.
Should count the total food items and total price of the missing food.


Make it possible to run unit tests in parallel

This fails, probably because different tests use the same dataset name(?)

Not relevant anymore.


"attributes" property on regions not updating

I'm using the "attributes" property on regions in order to set text on a region that can be displayed via css ::before. The text works on initial render, but doesn't update when I pass in a changed prop.

Sorry wrong repo.


ModuleNotFoundError: No module named 'deeppavlov.models.ner.evaluation'

Hello, i need help, this import is not recognize.
from deeppavlov.models.ner.evaluation import precision_recall_f1
Traceback (most recent call last):
File "", line 1, in
from deeppavlov.models.ner.evaluation import precision_recall_f1
ModuleNotFoundError: No module named 'deeppavlov.models.ner.evaluation'

Hello!
What config are you using? The tests are fine, everything is working. However the precision_recall_f1 function was moved from deeppavlov.models.ner.evaluation to deeppavlov.metrics.fmeasure. You can you try to checkout the fresh version of master branch.

Thank you.


It would be nice to have timestamps on the test jobs page (at least)

Without timestamps it is hard to tell when the jobs run, which can be handy.
https://dashboard.packit.dev/jobs

Sadly, we don't have this info in the database yet. I'm creating an issue for that: packit/packit-service#1015

Just implemented the API part in packit-service.

Just had a look at prod API, it seems everywhere is null for the submitted time.


Add method to CheckCompLoops which returns its full netlist

There are many instances where have a netlist representation of the design is a really useful analysis for some sort of transformation. In these cases the transform writer ends up writing something that looks much like the initial netlist-graph generation  of CheckCombLoops. This PR adds a method to return the complete graphs for use by an enclosing transformation.
Contributor Checklist

[x] Did you add Scaladoc to every public function/method?
[ ] Did you add at least one test demonstrating the PR?
[x] Did you delete any extraneous printlns/debugging code?
[x] Did you specify the type of improvement?
[x] Did you state the API impact?
[x] Did you specify the code generation impact?
[x] Did you request a desired merge strategy?

Type of Improvement

new feature/API

API Impact

Expands CheckCombLoops's API.

Backend Code Generation Impact

No verilog changes.

Desired Merge Strategy

Squash

Reviewer Checklist (only modified by reviewer)

[ ] Did you add the appropriate labels?
[ ] Did you mark the proper milestone (1.2.x, 1.3.0, 1.4.0) ?
[ ] Did you review?
[ ] Did you mark as Please Merge?

I don't think we need to backport this, though.

Hmm, why not, I made it 1.2.x. I feel like the absence of this method was an omission.


Adding content for the Modal story.

Fixes #428
This PR does the following:

This adds more content to the Modal component's story example for when the modal is closed and opened. Also fixed some accessibility warnings from the SearchBar story example.

Front End Review:

[ ] View the Modal example in Storybook

I'd modify the story to not have the skeleton loader outside of the modal and inside the modal—at first I thought this was a bug. Maybe instead of the skeleton loader we can just have some ipsum lorem text?

I think this will be very helpful for the story! I wonder if the modal content is longer than the height of the screen, will overflow: hidden (the change I just made) prevent the bottom content from being seen?