info - This function has a return type of 'Future<bool>', but doesn't end with a return statement - lib\pages\get_activation_code_page.dart:46:16 - missing_return
   info - The value of the local variable 'screenHeight' isn't used - lib\pages\get_activation_code_page.dart:81:12 - unused_local_variable
   info - Avoid using unnecessary statements - lib\pages\get_activation_code_page.dart:230:9 - unnecessary_statements
   info - Unused import: 'package:agora_flutter/widgets/rolling_switch_widget.dart' - lib\pages\home_page.dart:26:8 - unused_import
   info - This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: HomePage.isCreateFence,
          HomePage.categoriesId - lib\pages\home_page.dart:47:7 - must_be_immutable
   info - The value of the field '_speechRecognitionAvailable' isn't used - lib\pages\home_page.dart:120:8 - unused_field
   info - The value of the field '_currentLocale' isn't used - lib\pages\home_page.dart:121:10 - unused_field
   info - The value of the field '_categoryFilterId' isn't used - lib\pages\home_page.dart:141:7 - unused_field
   info - The value of the field '_future' isn't used - lib\pages\home_page.dart:151:10 - unused_field
   info - The value of the local variable 'screenWidth' isn't used - lib\pages\home_page.dart:300:12 - unused_local_variable
   info - The value of the local variable 'listWidthSize' isn't used - lib\pages\home_page.dart:303:12 - unused_local_variable
   info - Avoid using unnecessary statements - lib\pages\home_page.dart:1063:9 - unnecessary_statements
   info - The declaration '_thisWillAffectTheState' isn't referenced - lib\pages\home_page.dart:1220:3 - unused_element
   info - This function has a return type of 'BitmapDescriptor', but doesn't end with a return statement - lib\pages\home_page.dart:1241:9 - missing_return
   info - This function has a return type of 'BitmapDescriptor', but doesn't end with a return statement - lib\pages\home_page.dart:1258:9 - missing_return
   info - Unused import: 'dart:math' - lib\pages\main_page.dart:6:8 - unused_import
   info - Unused import: 'package:agora_flutter/model/download_avatar_feence_model.dart' - lib\pages\main_page.dart:7:8 - unused_import
   info - Unused import: 'package:agora_flutter/model/fence_gift.dart' - lib\pages\main_page.dart:8:8 - unused_import
   info - Unused import: 'package:path_provider/path_provider.dart' - lib\pages\main_page.dart:29:8 - unused_import
   info - Unused import: 'package:http/http.dart' - lib\pages\main_page.dart:31:8 - unused_import
   info - This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: MainPage.page -
          lib\pages\main_page.dart:37:7 - must_be_immutable
   info - The value of the local variable 'location' isn't used - lib\pages\main_page.dart:584:19 - unused_local_variable
   info - The value of the local variable 'location' isn't used - lib\pages\main_page.dart:588:19 - unused_local_variable
   info - The value of the local variable 'geofenceEvent' isn't used - lib\pages\main_page.dart:592:24 - unused_local_variable
   info - The value of the local variable 'event' isn't used - lib\pages\main_page.dart:596:31 - unused_local_variable
   info - The value of the local variable 'state' isn't used - lib\pages\main_page.dart:600:16 - unused_local_variable
   info - The value of the local variable 'event' isn't used - lib\pages\main_page.dart:604:30 - unused_local_variable
   info - The value of the local variable 'response' isn't used - lib\pages\main_page.dart:608:20 - unused_local_variable
   info - The value of the local variable 'enabled' isn't used - lib\pages\main_page.dart:612:12 - unused_local_variable
   info - The value of the local variable 'event' isn't used - lib\pages\main_page.dart:616:34 - unused_local_variable
   info - The value of the local variable 'enabled' isn't used - lib\pages\main_page.dart:620:12 - unused_local_variable
   info - The value of the local variable 'event' isn't used - lib\pages\main_page.dart:624:29 - unused_local_variable
   info - Unused import: 'package:agora_flutter/model/my_fence_model.dart' - lib\pages\message_fence_page.dart:3:8 - unused_import
   info - Unused import: 'package:agora_flutter/pages/fence_detail_page.dart' - lib\pages\message_fence_page.dart:4:8 - unused_import
   info - Unused import: 'package:agora_flutter/pages/notification_alert_dialog.dart' - lib\pages\message_fence_page.dart:5:8 - unused_import
   info - Unused import: 'package:agora_flutter/widgets/agora_appbar_leading.dart' - lib\pages\message_fence_page.dart:11:8 - unused_import
   info - This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: MessagesPage.notifToShow -
          lib\pages\messages_page.dart:24:7 - must_be_immutable
   info - Unused import: 'package:agora_flutter/utils/dialog_util.dart' - lib\pages\myfences_page.dart:6:8 - unused_import
   info - Unused import: 'fence_detail_page.dart' - lib\pages\myfences_page.dart:14:8 - unused_import
   info - This function has a return type of 'Center', but doesn't end with a return statement - lib\pages\myfences_page.dart:52:20 - missing_return
   info - The value of the local variable 'fence' isn't used - lib\pages\myfences_page.dart:54:28 - unused_local_variable
   info - Unused import: 'package:agora_flutter/widgets/rolling_switch_widget.dart' - lib\pages\notification_settings.dart:11:8 - unused_import
   info - Unused import: 'package:agora_flutter/utils/db_helper.dart' - lib\pages\register_get_mobile_page.dart:7:8 - unused_import
   info - The value of the field '_mobileNumber' isn't used - lib\pages\register_get_mobile_page.dart:26:10 - unused_field
   info - The value of the local variable 'screenHeight' isn't used - lib\pages\register_get_mobile_page.dart:45:12 - unused_local_variable
   info - This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: RegisterPage.subscriberNo -
          lib\pages\register_profile_page.dart:27:7 - must_be_immutable
   info - The value of the field '_datetime' isn't used - lib\pages\register_profile_page.dart:116:10 - unused_field
   info - The value of the field '_format' isn't used - lib\pages\register_profile_page.dart:117:10 - unused_field
   info - The declaration '_changeDatetime' isn't referenced - lib\pages\register_profile_page.dart:121:8 - unused_element
   info - The value of the local variable 'i' isn't used - lib\pages\register_profile_page.dart:152:33 - unused_local_variable
   info - Avoid using unnecessary statements - lib\pages\register_profile_page.dart:223:9 - unnecessary_statements
   info - Avoid using unnecessary statements - lib\pages\register_profile_page.dart:224:9 - unnecessary_statements
   info - Avoid using unnecessary statements - lib\pages\register_profile_page.dart:225:9 - unnecessary_statements
   info - Avoid using unnecessary statements - lib\pages\register_profile_page.dart:226:9 - unnecessary_statements
   info - Avoid using unnecessary statements - lib\pages\register_profile_page.dart:227:9 - unnecessary_statements
   info - Avoid using unnecessary statements - lib\pages\register_profile_page.dart:228:9 - unnecessary_statements
   info - Avoid using unnecessary statements - lib\pages\register_profile_page.dart:229:9 - unnecessary_statements
   info - The declaration '_fieldFocusChange' isn't referenced - lib\pages\register_profile_page.dart:289:3 - unused_element
   info - The value of the local variable 'screenHeight' isn't used - lib\pages\register_profile_page.dart:312:12 - unused_local_variable
   info - The value of the local variable 'textFieldHeight' isn't used - lib\pages\register_profile_page.dart:313:12 - unused_local_variable
   info - Unused import: 'dart:collection' - lib\pages\select_post_image_page.dart:4:8 - unused_import
   info - This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: SelectPostImage.fenceId,
          SelectPostImage.downloadImagePostFence - lib\pages\select_post_image_page.dart:21:7 - must_be_immutable
   info - Unused import: 'package:agora_flutter/widgets/agora_appbar_leading.dart' - lib\pages\settings_language_page.dart:9:8 - unused_import
   info - Unused import: 'package:shared_preferences/shared_preferences.dart' - lib\pages\settings_language_page.dart:13:8 - unused_import
   info - 'await' applied to 'String', which is not a 'Future' - lib\pages\settings_language_page.dart:45:16 - await_only_futures
   info - Unused import: 'package:agora_flutter/widgets/agora_appbar_leading.dart' - lib\pages\settings_messages_page.dart:5:8 - unused_import
   info - Unused import: 'package:agora_flutter/widgets/rolling_switch_widget.dart' - lib\pages\settings_messages_page.dart:6:8 - unused_import
   info - Unused import: 'package:agora_flutter/pages/dashboard_page.dart' - lib\pages\settings_page.dart:5:8 - unused_import
   info - Unused import: 'package:agora_flutter/widgets/agora_appbar_leading.dart' - lib\pages\settings_page.dart:13:8 - unused_import
   info - The value of the field '_arrowIcon' isn't used - lib\pages\settings_page.dart:35:8 - unused_field
   info - Name non-constant identifiers using lowerCamelCase - lib\utils\db_helper.dart:18:10 - non_constant_identifier_names
   info - The value of the local variable 'number' isn't used - lib\utils\db_helper.dart:205:9 - unused_local_variable
   info - Duplicate import - lib\utils\dialog_util.dart:12:8 - duplicate_import
   info - Duplicate import - lib\utils\webservice.dart:40:8 - duplicate_import
   info - 'typed' is deprecated and shouldn't be used. Use stream.cast instead - lib\utils\webservice.dart:513:57 - deprecated_member_use
   info - 'typed' is deprecated and shouldn't be used. Use stream.cast instead - lib\utils\webservice.dart:544:44 - deprecated_member_use
   info - 'typed' is deprecated and shouldn't be used. Use stream.cast instead - lib\utils\webservice.dart:614:57 - deprecated_member_use
   info - This function has a return type of 'Future<RateFence>', but doesn't end with a return statement - lib\utils\webservice.dart:724:28 - missing_return
   info - Avoid empty statements - lib\utils\webservice.dart:734:63 - empty_statements
   info - Dead code - lib\utils\webservice.dart:734:63 - dead_code
   info - Unused import: 'package:shared_preferences/shared_preferences.dart' - lib\widgets\agora_appbar_leading.dart:11:8 - unused_import
   info - Avoid using unnecessary statements - lib\widgets\agora_appbar_leading.dart:60:23 - unnecessary_statements
   info - The value of the local variable 'i' isn't used - lib\widgets\create_fence_page.dart:112:33 - unused_local_variable
   info - The value of the local variable 'screenWidth' isn't used - lib\widgets\create_fence_page.dart:135:12 - unused_local_variable
   info - The value of the local variable 'image' isn't used - lib\widgets\create_fence_page.dart:138:10 - unused_local_variable
   info - The value of the local variable 'imageFinal' isn't used - lib\widgets\create_fence_page.dart:139:9 - unused_local_variable
   info - Avoid using unnecessary statements - lib\widgets\create_fence_page.dart:769:9 - unnecessary_statements
   info - Avoid using unnecessary statements - lib\widgets\create_fence_page.dart:770:9 - unnecessary_statements
   info - Avoid using unnecessary statements - lib\widgets\create_fence_page.dart:771:9 - unnecessary_statements
   info - Avoid using unnecessary statements - lib\widgets\create_fence_page.dart:772:9 - unnecessary_statements
   info - Avoid using unnecessary statements - lib\widgets\create_fence_page.dart:773:9 - unnecessary_statements
   info - Avoid using unnecessary statements - lib\widgets\create_fence_page.dart:774:9 - unnecessary_statements
   info - Avoid using unnecessary statements - lib\widgets\create_fence_page.dart:775:9 - unnecessary_statements
   info - Unused import: 'package:agora_flutter/utils/string_util.dart' - lib\widgets\edit_fence_dialog.dart:11:8 - unused_import
   info - This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: EditFenceDialog.id,
          EditFenceDialog.ratingCalculated, EditFenceDialog.ratingCount, EditFenceDialog.type, EditFenceDialog.title, EditFenceDialog.name, EditFenceDialog.avatarPath,
          EditFenceDialog.telephoneNo, EditFenceDialog.address, EditFenceDialog.insertTimestamp, EditFenceDialog.remarks, EditFenceDialog.latitude, EditFenceDialog.longitude,
          EditFenceDialog.radius, EditFenceDialog.activated, EditFenceDialog.blocked, EditFenceDialog.eliminated - lib\widgets\edit_fence_dialog.dart:25:7 - must_be_immutable
   info - The value of the field 'CLASS_NAME' isn't used - lib\widgets\edit_fence_dialog.dart:77:23 - unused_field
   info - This function has a return type of 'Future<DownloadAvatarFence>', but doesn't end with a return statement - lib\widgets\edit_fence_dialog.dart:184:31 - missing_return
   info - Avoid using unnecessary statements - lib\widgets\edit_fence_dialog.dart:191:11 - unnecessary_statements
   info - Unused import: 'package:agora_flutter/model/fence_filter_model.dart' - lib\widgets\filter_dialog.dart:5:8 - unused_import
   info - Unused import: 'package:agora_flutter/pages/messages_page.dart' - lib\widgets\filter_dialog.dart:8:8 - unused_import
   info - Unused import: 'package:agora_flutter/utils/geo_util.dart' - lib\widgets\filter_dialog.dart:12:8 - unused_import
   info - Unused import: 'package:agora_flutter/utils/webservice.dart' - lib\widgets\filter_dialog.dart:14:8 - unused_import
   info - Unused import: 'package:agora_flutter/widgets/rolling_switch_widget.dart' - lib\widgets\filter_dialog.dart:15:8 - unused_import
   info - Unused import: 'package:geolocator/geolocator.dart' - lib\widgets\filter_dialog.dart:19:8 - unused_import
   info - This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: FilterDialog.categories -
          lib\widgets\filter_dialog.dart:21:7 - must_be_immutable
   info - Avoid using unnecessary statements - lib\widgets\filter_dialog.dart:275:47 - unnecessary_statements
   info - Avoid using unnecessary statements - lib\widgets\filter_dialog.dart:362:47 - unnecessary_statements
   info - Avoid using unnecessary statements - lib\widgets\filter_dialog.dart:449:47 - unnecessary_statements
   info - Avoid using unnecessary statements - lib\widgets\filter_dialog.dart:535:47 - unnecessary_statements
   info - Avoid using unnecessary statements - lib\widgets\filter_dialog.dart:621:47 - unnecessary_statements
   info - Avoid using unnecessary statements - lib\widgets\filter_dialog.dart:707:47 - unnecessary_statements
   info - This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: RatingDialog.getRate -
          lib\widgets\rating_dialog_edited.dart:118:7 - must_be_immutable

183 issues found. (ran in 18.9s)

flutter doctor -v output:
[√] Flutter (Channel stable, v1.17.5, on Microsoft Windows [Version 10.0.17763.1282], locale en-US)
    • Flutter version 1.17.5 at C:\flutter-sdk
    • Framework revision 8af6b2f038 (5 days ago), 2020-06-30 12:53:55 -0700
    • Engine revision ee76268252
    • Dart version 2.8.4

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at c:\android-sdk
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = C:\android-sdk
    • Java binary at: C:\Program Files\Android\Android Studio 4.0\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Android Studio (version 4.0)
    • Android Studio at C:\Program Files\Android\Android Studio 4.0
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] Connected device (1 available)
    • Nokia 1 • FRTBA80408004128 • android-arm • Android 8.1.0 (API 27)

• No issues found!

Hi @msndvlpr
the error might depends from flutter_plugin_android_lifecycle
Can you please provide your 'build.gradleand yourpubspec.yaml`.
Thank you

Hi @iapicca, yes I think so
This is my build.gradle  file:
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
    localPropertiesFile.withReader('UTF-8') { reader ->
        localProperties.load(reader)
    }
}
def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
    throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
    flutterVersionCode = '1'
}
def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
    flutterVersionName = '1.0'
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
    compileSdkVersion 29
    buildToolsVersion "30.0.0"
    sourceSets {
        main.java.srcDirs += 'src/main/kotlin'
    }
    lintOptions {
        disable 'InvalidPackage'
        checkReleaseBuilds false
    }
    compileOptions {
        //sourceCompatibility JavaVersion.VERSION_1_8
        //targetCompatibility JavaVersion.VERSION_1_8
        sourceCompatibility 1.8
        targetCompatibility 1.8
    }
    defaultConfig {
        applicationId "com.dml.agora"
        minSdkVersion 24
        targetSdkVersion 29
        versionCode flutterVersionCode.toInteger()
        versionName flutterVersionName
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
        multiDexEnabled true
    }
    buildTypes {
        release {
            //signingConfig signingConfigs.release
            // Enables code shrinking, obfuscation, and optimization for only your project's release build type.
            minifyEnabled true
            // Enables resource shrinking, which is performed by the Android Gradle plugin.
            shrinkResources true
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'),'proguard-rules.pro'
        }
/*        debug {
            signingConfig signingConfigs.debug
            // Enables code shrinking, obfuscation, and optimization for only your project's release build type.
            minifyEnabled true
            // Enables resource shrinking, which is performed by the Android Gradle plugin.
            shrinkResources true
        }*/
    }
}
flutter {
    source '../..'
}
dependencies {
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'androidx.test:runner:1.2.0'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
    // 3 dependencies for flutter arcore_flutter_plugin library
    implementation 'com.google.ar.sceneform.ux:sceneform-ux:1.8.0'
    implementation 'com.google.ar.sceneform:core:1.8.0'
    implementation 'com.google.ar.sceneform:assets:1.8.0'
    implementation 'com.android.support:multidex:1.0.3'
    implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
    implementation 'androidx.appcompat:appcompat:1.1.0'
    implementation 'androidx.core:core-ktx:1.3.0'
    implementation 'androidx.core:core:1.3.0'
    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
    implementation 'com.google.android.material:material:1.1.0'
    implementation 'com.android.support:support-compat:28.0.0'
    //TODO: uncomment after release apk export test
    //implementation 'com.google.firebase:firebase-messaging:17.1.2'

}
apply plugin: 'com.google.gms.google-services'

And my pubspec.yaml file:
name: agora_flutter
description: A new Flutter application.

version: 1.0.0+1

environment:
  sdk: ">=2.2.2 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  arcore_flutter_plugin: 0.0.5+1
  flutter_svg: 0.17.2
  google_maps_flutter: 0.5.27
  shared_preferences: 0.5.7+3
  geolocator: 5.3.1
  http: 0.12.0+4
  image_picker: 0.6.2+2
  path_provider: 1.6.7
  #firebase_core: 0.4.5
  #firebase_messaging: 6.0.16
  #firebase_auth: 0.16.1
  flutter_local_notifications: 1.4.4+1
  get: 2.13.0
  dio: 3.0.9
  jalali_calendar: 1.0.3+1
  flutter_background_geolocation: 1.9.0
  flutter_rating_bar: 3.0.1+1
  flushbar: 1.10.4
  url_launcher: 5.4.2
  dotted_border: 1.0.3
  mask_text_input_formatter: 1.0.6
  permission_handler: 3.3.0
  fluttertoast: 4.0.1
  speech_recognition:
    path: dependecies/speech_recognition-0.3.0+1
  flutter_localizations:
    sdk: flutter
  provider: 3.1.0
  sqflite: 1.3.0
  cupertino_icons: 0.1.2
  intl: 0.16.1
  share: 0.6.4+3
  showcaseview: 0.1.5
  image_cropper: 1.2.3
  rxdart: 0.24.1
  carousel_slider: 2.2.1
  flutter_switch: 0.0.2
  image_gallery: 1.2.0
  camera: 0.5.8+2

dev_dependencies:
  flutter_test:
    sdk: flutter

flutter:

  uses-material-design: true

  assets:
    - assets/svg/
    - assets/images/
    - i18n/en.json
    - i18n/fa.json

  fonts:
    - family: Iransans
      fonts:
        - asset: assets/fonts/iransansregular.TTF
        - asset: assets/fonts/iransansbold.TTF

I think flutter_plugin_android_lifecycle is a transitive dependent of another flutter library

I found the problem:
I think it is a bug in flutter_plugin_android_lifecycle library, the error was about importing androidx.lifecycle.Lifecycle in a java class.
so I added the required Gradle dependency implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0' in build.gradle file in path : [flutter sdk directory]\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-1.0.8\android\build.gradle and error gone in the next flutter build apk --release run.

For me, build was broken while I also had another dependency which isn't compatible with AndroidX.
After fixing that package, implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0' became unnecessary

I found the problem:
I think it is a bug in flutter_plugin_android_lifecycle library, the error was about importing androidx.lifecycle.Lifecycle in a java class.
so I added the required Gradle dependency implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0' in build.gradle file in path : [flutter sdk directory]\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-1.0.8\android\build.gradle and error gone in the next flutter build apk --release run.

Gonna test this now
And confirm if it works

I found the problem:
I think it is a bug in flutter_plugin_android_lifecycle library, the error was about importing androidx.lifecycle.Lifecycle in a java class.
so I added the required Gradle dependency implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0' in build.gradle file in path : [flutter sdk directory]\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-1.0.8\android\build.gradle and error gone in the next flutter build apk --release run.

Gonna test this now
And confirm if it works

Flutter 1.17.5 • channel stable -> Flutter 1.20.3 • channel stable
I can confirm it works using @msndvlpr solution

I'm facing the same exact issue right now, I'm on flutter version 1.20 channel stable, does anyone have other solution?
tried adding implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0' and it didn't work.
tried decreasing sdk version to 28 and 29, cleaned the project many times and invalidated cache also but nothing happend
@KohlsAdrian @msndvlpr

I'm facing the same exact issue right now, I'm on flutter version 1.20 channel stable, does anyone have other solution?
tried adding implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0' and it didn't work.
tried decreasing sdk version to 28 and 29, cleaned the project many times and invalidated cache also but nothing happend
@KohlsAdrian @msndvlpr

On Android:
You have to replace
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'

in the plugin build.gradle, not your flutter project, the plugin is found at
.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-1.0.8\android\build.gradle

On iOS:
In Runner.xcodeproj > project.pbxproj you have to remove some lines (Use VSCode for easy access)
Open it up and find in every release (Profile, Debug and Release) the property: OTHER_LDFLAGS
How you will find it:
    OTHER_LDFLAGS = (
    "$(inherited)",
    "-framework",
    Flutter,
    "-ObjC",
    "-l\"c++\"",
    "-l\"sqlite3\"",
    "-l\"z\"",
    "-framework",
    "\"AVFoundation\"",
    "-framework",
    "\"Accelerate\"",
    "-framework",
    "\"AudioToolbox\"",
    "-framework",
    "\"CFNetwork\"",
    "-framework",
    "\"CoreData\"",
    "-framework",
    "\"CoreGraphics\"",
    "-framework",
    "\"CoreImage\"",
    "-framework",
    "\"CoreLocation\"",
    "-framework",
    "\"CoreMedia\"",
    "-framework",
    "\"CoreTelephony\"",
    "-framework",
    "\"CoreText\"",
    "-framework",
    "\"CoreVideo\"",
    "-framework",
    "\"FIRAnalyticsConnector\"",
    "-framework",
    "\"FirebaseAnalytics\"",
    "-framework",
    "\"FirebaseCore\"",
    "-framework",
    "\"FirebaseCoreDiagnostics\"",
    "-framework",
    "\"FirebaseInstanceID\"",
    "-framework",
    "\"FirebaseMessaging\"",
    "-framework",
    "\"FirebaseStorage\"",
    "-framework",
    "\"Flutter\"",
    "-framework",
    "\"Foundation\"",
    "-framework",
    "\"GLKit\"",
    "-framework",
    "\"GTMSessionFetcher\"",
    "-framework",
    "\"GoogleAppMeasurement\"",
    "-framework",
    "\"GoogleDataTransport\"",
    "-framework",
    "\"GoogleDataTransportCCTSupport\"",
    "-framework",
    "\"GoogleMaps\"",
    "-framework",
    "\"GoogleMapsBase\"",
    "-framework",
    "\"GoogleMapsCore\"",
    "-framework",
    "\"GoogleMobileAds\"",
    "-framework",
    "\"GoogleUtilities\"",
    "-framework",
    "\"ImageIO\"",
    "-framework",
    "\"MediaPlayer\"",
    "-framework",
    "\"MessageUI\"",
    "-framework",
    "\"Metal\"",
    "-framework",
    "\"MobileCoreServices\"",
    "-framework",
    "\"OpenGLES\"",
    "-framework",
    "\"QuartzCore\"",
    "-framework",
    "\"Security\"",
    "-framework",
    "\"StoreKit\"",
    "-framework",
    "\"SystemConfiguration\"",
    "-framework",
    "\"UIKit\"",
    "-framework",
    "\"admob_flutter\"",
    "-framework",
    "\"clipboard_manager\"",
    "-framework",
    "\"device_info\"",
    "-framework",
    "\"firebase_analytics\"",
    "-framework",
    "\"firebase_core\"",
    "-framework",
    "\"firebase_messaging\"",
    "-framework",
    "\"firebase_storage\"",
    "-framework",
    "\"flutter_keyboard_visibility\"",
    "-framework",
    "\"flutter_plugin_android_lifecycle\"",
    "-framework",
    "\"flutter_speech\"",
    "-framework",
    "\"flutter_tts\"",
    "-framework",
    "\"geolocator\"",
    "-framework",
    "\"google_api_availability\"",
    "-framework",
    "\"google_maps_flutter\"",
    "-framework",
    "\"image_picker\"",
    "-framework",
    "\"location\"",
    "-framework",
    "\"location_permissions\"",
    "-framework",
    "\"nanopb\"",
    "-framework",
    "\"package_info\"",
    "-framework",
    "\"path_provider\"",
    "-framework",
    "\"permission_handler\"",
    "-framework",
    "\"protobuf\"",
    "-framework",
    "\"share\"",
    "-framework",
    "\"shared_preferences\"",
    "-framework",
    "\"url_launcher\"",
    "-framework",
    "\"webview_flutter\"",
    "-weak_framework",
    "\"AdSupport\"",
    "-weak_framework",
    "\"JavaScriptCore\"",
    "-weak_framework",
    "\"SafariServices\"",
    "-weak_framework",
    "\"UserNotifications\"",
    "-weak_framework",
    "\"WebKit\"",
  );

How it must be:
OTHER_LDFLAGS = (
    "$(inherited)",
    "-framework",
    Flutter,
  );

Save it and you can build iOS and go good to go

This solution is working. Thanks @KohlsAdrian

I'm having similar difficulties, getting this error whenever trying to fire up google maps.
I'm wondering whether anyone has managed to figure this out using com.android.tools.build:gradle above 4.0.0? My project needs to use firebase crashlytics and analytics, as well as firebase messaging and they require the 4.* gradle versions. Going absolutely insane here trying to make these things work together!
I've tried flutter stable, as well as flutter 1.22.3, and flutter 1.20.3, nothing works.
This seems to be connected:  link
but solutions there don't really work, and won't help me anyway as i'm using Bitrise to build and Bitrise installs a fresh install of Flutter from stable build, which I can't affect.
My error:
E/flutter (26134): [ERROR:flutter/shell/platform/android/platform_view_android_jni_impl.cc(43)] java.lang.IllegalAccessError: Interface androidx.lifecycle.c implemented by class io.flutter.plugins.googlemaps.GoogleMapController is inaccessible (declaration of 'io.flutter.plugins.googlemaps.GoogleMapController' appears in /data/app/is.stokkur.LightsAlert.test-RR09Sa7bX_QpfvMGpFGt3A==/base.apk)
My flutter doctor:
[✓] Flutter (Channel stable, 1.22.3, on Mac OS X 10.15.6 19G73, locale en-IS)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 11.7)
[!] Android Studio (version 4.1)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[!] IntelliJ IDEA Ultimate Edition (version 2020.2.1)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[!] IntelliJ IDEA Community Edition (version 2020.2.1)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] VS Code (version 1.51.1)
[✓] Connected device (1 available)

my android/build.gradle:
buildscript {
    repositories {
        google()
        jcenter()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:4.1.0'
        classpath 'com.google.gms:google-services:4.3.4'
        classpath 'com.google.firebase:firebase-crashlytics-gradle:2.4.1'
    }
}

allprojects {
    repositories {
        google()
        jcenter()
    }
}

rootProject.buildDir = '../build'
subprojects {
    project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
    project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

my app/build.gradle
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
    localPropertiesFile.withReader('UTF-8') { reader ->
        localProperties.load(reader)
    }
}

def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
    throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}

def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
    flutterVersionCode = '1'
}

def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
    flutterVersionName = '1.0'
}

apply plugin: 'com.android.application'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.firebase.crashlytics'

def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('app/key.properties')
println keystorePropertiesFile
if (keystorePropertiesFile.exists()) {
    keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}

android {
    compileSdkVersion 29

    lintOptions {
        disable 'InvalidPackage'
        checkReleaseBuilds false
    }

    defaultConfig {
        // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
        applicationId "my.app.id"
        minSdkVersion 18
        targetSdkVersion 29
        versionCode flutterVersionCode.toInteger()
        versionName flutterVersionName
    }
light

    try {
        signingConfigs {
            release {
           keyAlias keystoreProperties['keyAlias']
           keyPassword keystoreProperties['keyPassword']
           storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
           storePassword keystoreProperties['storePassword']
            }
        }
    } catch(ignored) {
        println("'storeFile' not found, app will not be signed")
    }

    buildTypes {
        release {
       signingConfig signingConfigs.debug
            // signingConfig signingConfigs.release
            minifyEnabled true
        }
    }

    flavorDimensions "flavor-type"

    productFlavors {
        dev {
            dimension "flavor-type"
            resValue "string", "app_name", "KLAPP Dev"
            applicationId "my.app.name.test"
        }
        staging {
            dimension "flavor-type"
            resValue "string", "app_name", "KLAPP Test"
            applicationId "my.app.name.test"
        }
        prod {
            dimension "flavor-type"
            resValue "string", "app_name", "KLAPP"
        }
    }
}
flutter {
    source '../..'
}

dependencies {
    implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
    implementation 'com.google.firebase:firebase-crashlytics:17.2.2'
    // implementation 'com.google.firebase:firebase-analytics:17.5.0'
}

The solution above https://github.com/flutter/flutter/issues/60883#issuecomment-700134997
did not work for me without also downgrading the com.android.tools.build:gradle
Need help!!

@arieljarnason
see this link
If the error is about debug/libs.jar, first build the debug version (and also the profile mode) and then try to Generate signed apk. By default, flutter run compiles to debug mode.
This is a known bug in grade 4.+, and is not recommended to use.

I'm facing the same issue
And I can't find this path ".pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-1.0.8\android\build.gradle" in flutter SDK
Flutter version 2.0.5


Default oauth2-redirect.html content is invalid and out of date

Description
The html content for oauth2-redirect.html is invalid and out of date. The lastest openapi version is correct.
As reported in this issue on swaggerui https://github.com/swagger-api/swagger-ui/issues/5111, the script tag must be moved inside the html tag.
Current content is here https://github.com/tiangolo/fastapi/blob/master/fastapi/openapi/docs.py#L107
New content is here https://github.com/swagger-api/swagger-ui/blob/master/dist/oauth2-redirect.html
I think it would be good to dynamically reference the latest version of oauth2-redirect.html included in swaggerui bundle instead of copying the content in this repo.

As a side note, because of this issue, you cannot authorize using the OpenIdConnect authorization_code flow. Since the redirect page doesn't function properly no auth code can be passed to the token endpoint. Probably affects other flows but haven't tested.


support qOffsets

It's not super clear that we need this... @tromey, do you know if this is really necessary?  (The TODO list in lib.rs is also unclear on this point.)

gdb sends it during the initial connection, but I believe it is fine to simply say it is not supported.

I surveyed all the stuff that gdb sent in a simple gdbserver session (pcap file is on the wiki) and tried to filter out things that seemed obviously unnecessary, but I clearly wasn't sure about everything. The docs don't explicitly say it's OK to return an empty response, so it's hard to say. I guess if we support qXfer:libraries:read we can just provide the library load addresses there and this isn't necessary?

That seems to be a bug in the docs.  gdbserver does this:
w $qOffsets#4b
r $#00

(That's the remote logging format, "w" means "gdb wrote it" and "r" means "reply from gdbserver.)
It'd be good to collect the various doc bugs and report them to gdb as well.

I guess if we support qXfer:libraries:read we can just provide the library load addresses there and this isn't necessary?

I think so, see https://sourceware.org/bugzilla/show_bug.cgi?id=15696 and the threads it links to.

Filed https://sourceware.org/bugzilla/show_bug.cgi?id=22633 for the doc bug.

Aha, the overview says that any command can have an empty response.  https://sourceware.org/gdb/onlinedocs/gdb/Overview.html#Overview

I think we should not bother with qOffsets.  gdbserver only implements it for one very obscure case.


How do you know whether it is checked or not?

I can't figure out how to know if it is checked or not.
I know there is theonClick={() => alert()} function but if I pass anything through in this function it doesn't give me any information.

did you find anything related to it , i also need

@Tufan21 no but I do isChecked={the_variable} onClick={() => { the_variable = ! the_variable ;} and then you can just check the variable to determine if it's checked or not


Cannot launch Store version, but Dev Build works fine

Environment
Windows build number: 10.0.18362.267
Windows Terminal version (if applicable): Windows Store version (latest)

Windows Terminal (Dev Build)

Steps to reproduce
I have build Terminal from source and am using it successfully, but I would like to try the version from the Windows Store. I have downloaded it, but when I try to launch it, it immediately terminates without any other error.
The exact sequence is:

Start Menu
Click on "Windows Terminal (Preview)"

Expected behavior
I expect both versions to run on the same instance of Windows, if the manual build runs, then the pre-compiled should also run?
Actual behavior
I get a quick flash of a terminal window - it is not blank (as reported elsewhere). It is a quick flash and then immediately it terminates. Nothing on the taskbar, nothing in the process list, no error messages, etc.
Additional Information
There are no updates pending on the Windows Store, and the Dev Build version runs fine.
I looked at #2073 because the symptoms are the same, but I am not running with elevated privileges "Run as administrator" (ie, right-click on the icon).

@burhan Could you share your profiles.json content? It should be located at C:\Users\<username>\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\RoamingState\profiles.json.

I had this same issue. My default profile pointed to an installation of Powershell (6) that didn't exist. Installing PS6 allowed Terminal to open successfully.

Just to double check, "C:\\Program Files\\PowerShell\\7-preview\\pwsh.exe" is installed, correct?

It is not installed on this machine, but it is installed on my other laptop. Are these profiles synchronized?

Yep that'll do it. The commandline needs to exist.
As of #2298 we won't roam the settings anymore, but as of 0.3 we still do.
I might investigate popping a warning dialog if the executable doesn't exist as part of #1348, but that also might be impossible so ¯\_(ツ)_/¯


disconnected status on startPaymentConnection()

I'm using Honor8 - Api24. and I always get disconnected status from startPaymentConnection()

Please use our latest version, If you are faced with the same problem,Please open this issue and post more detail about your error


[SPARK-16271][SQL] Implement Hive's UDFXPathUtil

What changes were proposed in this pull request?
This patch ports Hive's UDFXPathUtil over to Spark, which can be used to implement xpath functionality in Spark in the near future.
How was this patch tested?
Added a new test suite UDFXPathUtilSuite that is based on Hive's UDFXPathUtil.

Can one of the admins verify this patch?

Jenkins, add to whitelist.

Test build #3136 has started for PR 13961 at commit c97353d.

LGTM pending Jenkins.

Test build #3137 has started for PR 13961 at commit 90bf2f1.

Test build #3136 has finished for PR 13961 at commit c97353d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merging in master.

Test build #3137 has finished for PR 13961 at commit 90bf2f1.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class ReusableStringReaderSuite extends SparkFunSuite


display condition panel for conditional events and inclusive gateway

This updates the conitions panel to allow it to appear

when a sequence flow source is an inclusive gateway
if a conditional event is added

The spiff library work needed to support the conditional event is in progress, so diagrams with conditional events can't be run yet.  However, this might still be worth merging to allow for conditions on inclusive gateways (which spiff does support).  We can also wait a day until I finish the library work and merge both at the same time if that's preferable.

This work depends on https://github.com/sartography/SpiffWorkflow/pull/356


Added link to 3rd party volume driver plugins

Added link to 3rd party volume driver plugins

Proposed changes

Unreleased project version (optional)

Related issues (optional)

Deploy preview for docsdocker ready!
Built with commit 71a1b14153135e98f7d785133b2373e2ea28335a
https://deploy-preview-8932--docsdocker.netlify.com

@omegamormegil Thanks for the update.


Ps notification sorting

Coverage decreased (-0.09%) to 15.024% when pulling aa2c3abcc31572b1ee9c30bcf39d75790a868e45 on ps_notification_sorting into 9fb748e3f8b44e48c8bd643d22e2dadd3f947f62 on master.


Unable to embed superset dashboard in an iframe from an angular application

Hi,
I am trying to integrate superset dashboard into an angular based web application by embedding superset dashboard in an iframe.
I did the following setup:
Configured LDAP Authentication in superset.
Enabled a Custom Security Manager to authenticate based on a jwt-token. The jwt-token is decoded and the credentials are validated as per the configured LDAP settings in the Custom Security manager.
The jwt-token based authentication is working as expected and I am able to redirect to the dashboards without the login page.  But, the same is not working when passed in an iframe.
Getting the below error in iframe:

There is this warning message in superset log:
WARNING:root:Class 'werkzeug.local.LocalProxy' is not mapped
Can anyone please help on this. Thanks in advance!

I am also getting the same error after upgrading superset from 1.1.0. to  1.2.0
Can anyone know about this error.

@HariniPuppala @srikark16  Any solution for the error, Also other than iFrame is there any client JS for integrating Dashboard ? @junlincc

Also related to #16718.


⚠ Bofrost.at has degraded performance

In 790bf19, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1151 ms

Resolved: Bofrost.at performance has improved in 151b90f after 1 hour, 1 minute.


Airlock - Revoke SAS token

Description
As a TRE Developer
I want to be able to revoke SAS token for containers
So that I can control the access to these containers based on the current status of the request
Acceptance criteria

[ ] SAS token is revoked

Technical note:

Research how to identify a token, do we need to persist its ID?

Revoking SAS token is probably going though access policies


Modified the help information of cargo-rustc

Motivation
The original help information for cargo build is

Compile a local package and all of its dependencies

And the original help information for cargo rustc is

Compile a package and all of its dependencies

These messages are too similar to make it difficult to distinguish the differences between the two commands.
According to the cargo book, cargo rustc is characterized by

pass extra options to the compiler

I think this should be written into the help text of the command.
In addition, the <args> ... parameters of cargo rustc lack help text and need to be added.
Modification
See the commit files.
Problems
Maybe some words in my modification are not accurate enough. If you have better wording, welcome to point out. Thanks.

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @alexcrichton (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

Thanks!
@bors r+

:pushpin: Commit 367fe7bfcb4c9ea4b8511bf198c9ccb539ebcf2e has been approved by ehuss

:hourglass: Testing commit 367fe7bfcb4c9ea4b8511bf198c9ccb539ebcf2e with merge<PHONE_NUMBER>22e1e192f8b6e04de6cd475bb5dbc3...

:sunny: Test successful - checks-azure
Approved by: ehuss
Pushing<PHONE_NUMBER>22e1e192f8b6e04de6cd475bb5dbc3 to master...


objdump intel syntax

more readable and the first operand is the destination like arm64/ptx

Needs a test

I shouldn't have merged this with the try except. I don't have llvm-objdump on my computer.

That test also passes if you don't have llvm-objdump.

I didn't change the test cause the CI has llvm-objdump. Llvm-objdump comes with llvm not clang. I think it's better cause it works on other platforms. If you're on windows you just need llvm whereas with objdump you need wsl/mingw.


Unclear situation about B2B member users

As outlined in another article, it is possible to have B2B collaboration users as members as well and not just as guests. It is not described if this has implications towards licensing. Does it remain the same?

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

ID: d9de7df3-1669-e58d-ae57-bdc8993ac35f
Version Independent ID: 3a1d7ec3-b46f-3c87-2dc6-846cc815a530
Content: B2B collaboration licensing guidance - Azure Active Directory
Content Source: articles/active-directory/b2b/licensing-guidance.md
Service: active-directory
Sub-service: b2b
GitHub Login: @msmimart
Microsoft Alias: mimart

@Staubi999 Thanks for your feedback! We will investigate and update as appropriate.

Yes, for member users you need the license. The text says "non-guest" so I think it makes sense here.


Suggested improvement of “Run automatically on boot” section in Wiki / Install

The “Run automatically on boot” section of the new “Install” Wiki is highly likely to prove problematic for the less experienced.
1. I present evidence here that the ampersanded line in /etc/rc.local is problematic and needs revising.
2. There is zero feedback from this line when problems occur (and they do).
The inclusion of several logsave commands in the rc.local file provided very revealing feedback:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
logsave /tmp/rc.local_active_directory.log pwd
logsave /tmp/rc.local_current_path.log echo $PATH
#
# After running gcp-cups-connector-util -init
# ...the following code appears to be working
sleep 60
logsave /tmp/rc.local_gcp_cups_connector_line.log su --login --command /usr/sbin/gcp-cups-connector admin &
#
# whereas the following line leads to a "command not found" error
# logsave /tmp/rc.local_gcp_cups_connector_line.log su --login --command gcp-cups-connector admin &
#
exit 0

contents of /tmp/rc.local_active_directory.log (blank lines removed)
Log of pwd
Mon Oct 19 18:38:47 2015
/
Mon Oct 19 18:38:47 2015

contents of /tmp/rc.local_current_path.log (blank lines removed)
Log of echo /sbin:/usr/sbin:/bin:/usr/bin
Mon Oct 19 18:38:47 2015
/sbin:/usr/sbin:/bin:/usr/bin
Mon Oct 19 18:38:47 2015

Conclusions
Despite the fact that whilst /etc/rc.local was being processed, $PATH = /sbin:/usr/sbin:/bin:/usr/bin,
when I put the binaries in /usr/sbin (so that “gcp‑cups‑connector” ought to be findable within the command search path), a rather unexpected “command not found” error occurred (see Example 1 below) when the ampersand line in /etc/rc.local consisted of:
su --login --command gcp-cups-connector admin &

Example 1: Contents of rc.local_gcp_cups_connector_line.log (blank lines removed)
Log of su --login --command gcp-cups-connector admin
Mon Oct 19 12:20:37 2015
-su: gcp-cups-connector: command not found
su died with exit status 127
Mon Oct 19 12:20:37 2015

so during interpretation of the rc.local script, $PATH seems to be ignored.
However when the full path was included, everything worked OK (see example 2):
Example 2: Contents of rc.local_gcp_cups_connector_line.log (blank lines removed)
Log of su --login --command /usr/sbin/gcp-cups-connector admin
Mon Oct 19 12:31:26 2015
E1019 12:31:26.748528    2295 gcp-cups-connector.go:34] Google Cloud Print CUPS Connector version 2015.10.05-linux
Google Cloud Print CUPS Connector version 2015.10.05-linux
E1019 12:31:26.839178    2295 gcp-cups-connector.go:148] Ready to rock in local-only mode
Ready to rock in local-only mode

Summary
My investigation strongly suggests that it is safest to specify the full path to the “gcp-cups-connector” binary (the way I ended up doing).
Footnote (software/hardware used)
Operating system:
Ubuntu 14.04 LTS x86-64 (GUI version)
Hardware:
Model = Gigabyte Brix
CPU = Intel Celeron  N2807
Graphics = Intel Bay Trail

I have not investigated it but increasing the "sleep" time might also fix the problem. However (a) the required delay may vary between machines and (b) specifying the full path would mean more consistency and would get the connector up and running more quickly.

I agree that the delay can vary between machines, and I consider 60 seconds to be generous, so should work for most users.
I have updated the wiki per your suggestion.


kubectl gs template cluster should support all CAPI providers

User story

As an admin, I want to create a cluster manifest via the CLI, so that I can create a cluster in a reproducible way.

Details
The kubectl gs template cluster command should provide a manifest for creation of the App and ConfigMap resources needed to provision a workload cluster.
Tasks

[ ] #1554
[ ] kubectl gs template cluster should support CAPZ

As a product owner, please convert your line item into a provider-specific issue to track in your team.

FTR We have been working on adding support for creating gitops bases for CAPx cluster in kubectl gs. Currently for template only CAP[A,G,O] uses the cluster + default apps App CRs approach so we limited the scope in https://github.com/giantswarm/roadmap/issues/1828 to support these providers only. There are some intersection / cross calling / using same data structures to avoid some double maintenance in the future, so setting up other providers - CAP[Z,V,CVD] at the moment - is more optimal when template supports the new structures as well. Created tickets to add support for these in the future for gitops add base and cross linked them.

not investing more effort into this command


Doc to ss3 doc

See PR #523 in stock-synthesis repo. This was discussed in the meeting with Dave about moving over to GHEC.

Will be waiting on name change until we move over to GHEC


TLSH information

OSCAR 23.01 implements TLSH in a way that differs from the defaults found in py-tlsh.
I came up with some documentation to mention this and step-by-step instructions to utilize it.
Does this seem too much information in this particular page?

Hello! Thanks a lot for the contribution, I think this is exactly what some of the users were looking for, so I'm merging it 😄


Updates spot-market to 3.10.2 with support of SIP 406 changes

https://github.com/Synthetixio/synthetix-v3/pull/2339

hey @0xMithrandir mind adding please arbitrum sepolia? or is there a reason it was not added there


[WIP][Sema] Remove .self on metatypes

This is a rough early attempt at implementing SE-0090.
In no way is this done because there are still a lot of bugs I need to fix and tests to add, but would love to hear feedback regarding this approach and if there are any cleanups you can point out.
The only cases I could find where ambiguity is now found is with arrays, tuples, dictionaries (although they don't work because metatypes aren't hashable), and with protocol composition (not yet implemented).
cc: @DougGregor (thank you for your advice on twitter), @xedin, @slavapestov

Can one of the admins verify this patch?


New version: ParameterJuMP v0.1.3

Registering package: ParameterJuMP
Repository: https://github.com/JuliaStochOpt/ParameterJuMP.jl
Created by: @blegat
Version: v0.1.3
Commit: d75f3651b0ef8e5a78bf13a0eafca62ed8c3a579
Reviewed by: @blegat
Reference: https://github.com/JuliaStochOpt/ParameterJuMP.jl/commit/d75f3651b0ef8e5a78bf13a0eafca62ed8c3a579#commitcomment-34837251

No, thanks for catching that. This PR can be closed in favor of https://github.com/JuliaRegistries/General/pull/2967


Basic mistral workflow example 400 response

Hi, Im not sure whether this is the correct place to post, but I've tried IRC and email with no success.
I’ve been trying to evaluate stackstorm for a future project, and have been attempting to work through the basic mistral workflow example here ... https://docs.stackstorm.com/mistral.html
Unfortunately when running the 'st action create' command I get a 400 response ...
vagrant@stackstorm:~$ cat /opt/stackstorm/packs/examples/actions/mistral-basic.yaml
version: '2.0'

examples.mistral-basic:
    description: A basic workflow that runs an arbitrary linux command.
    type: direct
    input:
        - cmd
    output:
        stdout: <% $.stdout %>
    tasks:
        task1:
            action: core.local cmd=<% $.cmd %>
            publish:
                stdout: <% task(task1).result.stdout %>
                stderr: <% task(task1).result.stderr %>

vagrant@stackstorm:~$ st2 action create /opt/stackstorm/packs/examples/actions/mistral-basic.yaml
ERROR: 400 Client Error: Bad Request
MESSAGE: Additional properties are not allowed ('examples.mistral-basic', 'version' were unexpected) for url: http://<IP_ADDRESS>:9101/v1/actions

vagrant@stackstorm:~$ st2 --version
st2 2.0.0

I’m running it on a fresh Ubuntu 14.04 box run up via vagrant, and have installed stackstorm via the one liner on the installation doc ... https://docs.stackstorm.com/install/index.html#installation
Any help or direction would be most appreciated.

Hi! I remember your e-mail, and we did reply on the same day IIRC, but just in case it got lost in the spam folder—it happens!—here it is:

Hi Chris,
Sorry to hear you're having problems! Let me help you by clarifying a few things that may not be immediately clear from the docs.
The cause of this error is quite simple. A StackStorm action usually consists of two files: a metadata file describing the action, and the code itself (for some actions a metadata file is enough).
For mistral-basic, the example you're trying, here's the metadata file (note that it's stored in actions/): github.com/StackStorm/st2/blob/master/contrib/examples/actions/mistral-basic.yaml
The second file is the workflow itself, stored in actions/workflows/ (the metadata file has its path under "entry_point"): github.com/StackStorm/st2/blob/master/contrib/examples/actions/workflows/mistral-basic.yaml
From your gist, I can see that you have the workflow inside the actions/ dir, where the metadata file should be. Move that workflow file to actions/workflows/, put its metadata file into actions/, and everything will be working just fine.
Lastly, sorry we're not active in IRC anymore! We've moved from IRC to Slack, and we maintain a public community which is very much alive. I encourage you to sign up: stackstorm.com/community-signup
Have fun with StackStorm! Let me know if the solution above doesn't fix your problem.

oh, ok.  I got a weird bounce back from the email ...
Delivery has failed to these recipients or groups:

<EMAIL_ADDRESS>Your message wasn't delivered due to a permission or security issue. It may have been rejected by a moderator, the address may only accept e-mail from certain senders, or another restriction may be preventing delivery.

Diagnostic information for administrators:

Generating server: BRMWP-EXMB12.corp.brocade.com

<EMAIL_ADDRESS>#< #5.7.1 smtp;550 5.7.1 RESOLVER.RST.AuthRequired; authentication required> #SMTP#
...

I'll go make the path corrections, and try again.
Thanks for the assistance,  I'll try Slack in future.

We did have an issue with one of the forwarding DLs, but it wasn't critical. Admittedly, it's a weird message to get in response for a support e-mail though! As far as I'm aware, it's all fixed now, but still, really sorry for the hiccup.
Let me know how it goes. I hope your issue gets resolved :)

That seems to have resolved the issue, thanks for the comprehensive response.
Im just working my way though some of the videos, and getting my head around the mistral DSL.
Thanks


fix(side-panel): update icon imports for Angular side panel

Closes #
Summary
We are using the Angular SidePanel in our Carbon Angular app. It works fine in the product (ESM), however, when we run the unit test code with jest and jest-preset-angular (CommonJS) on Travis CI, it always times out while loading the SidePanel component.
After some debugging, it seems the problem is related to loading icons from @carbon/icons. SidePanel imports the icons from the @carbon/icons package. For CommonJS build, @carbon/icons/lib/index.js contains hundreds of require calls to all icons. This is fast on a SSD drive, however, it is a lot slower on Travis CI.
This PR changes the imports to load individual icons instead. This is in line with the recommendation here https://github.com/carbon-design-system/carbon/tree/main/packages/icons, and also Carbon Angular implementation here https://github.com/IBM/carbon-components-angular/blob/master/src/icon/icon.module.ts#L9.
Change List (commits, features, bugs, etc)

items_here

Acceptance Test (how to verify the PR)

tests here

Regression Test (how to make sure this PR doesn't break old functionality)

tests here

Things to look for during review

[ ] Make sure all references to iot or bx class prefix is using the prefix variable
[ ] (React) All major areas have a data-testid attribute. New test ids should have test written to ensure they are not changed or removed.
[ ] UI should be checked in RTL mode to ensure the proper handling of layout and text.
[ ] All strings should be translatable.
[ ] The code should pass a11y scans (The storybook a11y knob should show no violations). New components should have a11y test written.
[ ] Unit test should be written and should have a coverage of 90% or higher in all areas.
[ ] All components should be passing visual regression test. For new styles or components either a visual regression test should be written for all permutations or the base image updated.
[ ] Changes or new components should either write new or update existing documentation.
[ ] PR should link and close out an existing issue

I've found a fix for unit test, so this proposed change is no longer required.


inherit attributes for generated methods / consts / types

Thanks for the PR! Can you briefly describe your motivation for this change? In particular, what kind of attributes would you like to inherit? The change looks good to me and makes sense on first thought, but I'm worried we are missing some attributes that do not make sense to "inherit" in the generated impls.

@LukasKalbertodt Ok, in my case, I want to inherit cfg(feature = "xxx") and cfg_attr(feature = "docs", doc(cfg(feature = "xxx"))) attribtues, both of them are used for conditional compilation. Because for my traits, some interfaces are only available when the specified feature is on.

For cfg, I'm convinced I think. I don't see how this could backfire and I think one always wants to also apply this to the generated items. However, other attributes I'm not sure sure.
You use doc in cfg_attr, but does this really need to apply to the generated item as well? And doc attributes, like doc(hidden) or the simple doc = "comment..." I don't see why they would apply to the generated item as well. Further, we have allow, warn, forbid, deprecated, must_use and tool attributes (e.g. rustfmt::skip). I don't think all of those should always apply to the generated item.
So I don't think I want to accept the PR as is. If you restrict it to cfg attributes, that should be fine, I guess. Also, note that this crate is for the 90% of cases and doesn't aim to work for every possible use case. Because the latter would come at the cost of an increase in complexity.

@LukasKalbertodt Thanks, PR is updated

@bachue I'm not really maintaining this crate anymore, I'm sorry. @KodrAus might take this from here!

Thanks for the PR @bachue
It's been a while since I've been through this crate, but this seems reasonable to me. I'll merge this in and take stock of things and look at getting another release out :bow:


seed drumkit

Exponential envelope on pitch might be a bit snappier, but as a simple example, this is great.

There are a few issues with envelope, but they'll be fixed from the DaisySP of things. Merging.


Add source map for better DX

ref https://webpack.github.io/docs/configuration.html#devtool

Current coverage is 69.53%

Merging #170 into next will not affect coverage as of 38801dd

@@             next    #170   diff @@
=====================================
  Files          35      35
  Stmts         430     430
  Branches        0       0
  Methods         0       0
=====================================
  Hit           299     299
  Partial         0       0
  Missed        131     131

Review entire Coverage Diff as of 38801dd

Powered by Codecov. Updated on successful CI builds.


How to create docker volume on specific device("Lun")

I have multiple devices ("LUNs") mapped to my linux server. These luns are mapped via FC (block devices) from VMAX storage.
I would like to create docker volume [ "docker volume create " command ] to create docker volume on specific Device ("LUN") but somehow I dont find option to create docker volume on specific device.
Any pointers would be great . Thanks in advance.
Devices ("LUNs") List
/dev/sdae
/dev/sdaf
/dev/sdag
/dev/sdah
/dev/sdai
/dev/sdaj
/dev/sdak
/dev/sdal
/dev/sdam
/dev/sdan
/dev/sdao
/dev/sdap
/dev/sdaq
/dev/sdar
docker volume create -d local -o size=4000g -o extended_fs_attr="bsize=8192" volume10

This repo is for the Docker-in-Docker image https://hub.docker.com/_/docker
But you should be able to do docker volume create --opt device=/dev/sdae for instance https://docs.docker.com/engine/reference/commandline/volume_create/#driver-specific-options
For further help I'd try asking over at the Docker Community Forums, Docker Community Slack, or Stack Overflow. Since these repos aren't really a user-help forum


Added tslint-loader to webpack config, added tslint.json to typescrip…

Added tslint-loader to webpack config, added tslint.json to typescript template since there is currently no way to set this by package.json alá eslintConfig for IDE support
I have added tslint-loader conditionally by "useTypeScript" to the webpack-config and a tslint.json (as used before by "react-scripts-ts").
i have used a rest/spread operator which might be a problem >  node 6.4.0 (https://node.green/#ES2015-syntax-rest-parameters)
i have also added a tslint.json to the --typescript template root
Tested on MacOS High Sierra
Node: v8.11.2
NPM: v5.6.0

Thanks for your contribution. We already have a PR up for this over at #5697.


Use Microsoft.Data.Services instead of System.Data.Services

This addresses https://github.com/NuGet/NuGetGallery/issues/3578.
You'll never guess who fixed this:
https://github.com/OData/odata.net/commit/f10d515b4498cfe703b96b7fd0d35aca2347d5e3
/cc @maartenba
Version 5.7.0 is the first one with this fix:
https://github.com/OData/odata.net/releases/tag/5.7.0

Yay!


minor: handle failed error parse

:tada: This PR is included in version 2.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


mobile: make builders work with mobile sub-repo.

build status of mobile subrepo never looks good in build.golang.org
That's mostly because some code in mobile repo has exernal package/library dependency.

some builders complain lack of 'hg' tool, for go get code.google.com/p/freetype-go/freetype
: Should we require the builders to have 'hg' tool?
some packages work only on darwin/linux. (app,gl,font, ..)
: Need proper build tags.
darwin builders: missing OpenGL/gl3.h, CoreText/CTFont.h
: Need for a special darwin builder with necessary libraries installed?

One option is to exclude mobile subrepo entirely by default. But I don't want to avoid it if possible. There are some packages and tools (eg. gobind?) that should work without the platform/library dependencies.

On 16 January 2015 at 06:28, Hyang-Ah Hana Kim<EMAIL_ADDRESS>wrote:

build status of mobile subrepo never looks good in build.golang.org
That's mostly because some code in mobile repo has exernal package/library
dependency.

some builders complain lack of 'hg' tool, for go get
code.google.com/p/freetype-go/freetype : Should we require the
builders to have 'hg' tool?

That's easy to do, so we should do it. Then again, it's likely freetype
will move soonish. (right @nigeltao?)

darwin builders: missing OpenGL/gl3.h, CoreText/CTFont.h : Need for
a special darwin builder with necessary libraries installed?

That can also be arranged.

One option is to exclude mobile subrepo entirely by default. But I don't
want to avoid it if possible. There are some packages and tools (eg.
gobind?) that should work without the platform/library dependencies.

It should definitely be tested. If we decide we don't want the go builders
to do it, then maybe we could use Travis CI? But I would prefer to just
make it work in the go build infrastructure.
(cc @bradfitz)

I can help with this, but I'm a little buried in builder-related stuff at the moment, so I can't promise any low latency on this.

On Fri, Jan 16, 2015 at 1:05 PM, Andrew Gerrand
<EMAIL_ADDRESS>wrote:

That's easy to do, so we should do it. Then again, it's likely freetype
will move soonish. (right @nigeltao?)

I wasn't planning on moving it any time soon, but can do so if required.
Where would live, though? "go.googlesource.com/freetype/" or
"github.com/google/freetype-go"? Does it matter if the freetype-go
license differs from the usual Go license?

update: mobile repo doesn't depend on freetype anymore. thanks to @nigeltao
linux buildlets will need opengl es2, openal, and some font packages. Is it okay to add these to the buildlet image? Or do we want these to be added only to a small set of special builders?
RUN apt-get install -y --no-install-recommends libgles2-mesa-dev libopenal-dev fonts-droid
This will increase the image size by ~80MB.
@adg @bradfitz @crawshaw

I think we need to put them on the linux base image. It doesn't seem
tenable to push that stuff to the buildlets on demand.
On 28 July 2015 at 23:17, Hyang-Ah Hana Kim<EMAIL_ADDRESS>wrote:

update: mobile repo doesn't depend on freetype anymore. thanks to
@nigeltao https://github.com/nigeltao
linux buildlets will need opengl es2, openal, and some font packages. Is
it okay to add these to the buildlet image? Or do we want these to be added
only to a small set of special builders?
RUN apt-get install -y --no-install-recommends libgles2-mesa-dev
libopenal-dev fonts-droid
This will increase the image size by ~80MB.
@adg https://github.com/adg @bradfitz https://github.com/bradfitz
@crawshaw https://github.com/crawshaw
—
Reply to this email directly or view it on GitHub
https://github.com/golang/go/issues/9603#issuecomment-125603485.

We really need to get the Kubernetes buildlets up, so then this can just be a Docker image running the buildlet, rather than modifying our VM image.

(but modifying base image in the meantime is fine, even if it's annoying and slower)
Be sure to keep the staging project's copy in sync.

cc/ @eliasnaur
Resurrecting this issue.
We'd like to focus on making mobile subrepo fully tested at least on darwin/x86 builders that have mobile devices attached.
Currently failed tests:

darwin-amd64-10_10 at e806cd9f95ccf14163623792425db2b066d4198e building mobile at 2e1e39e5a64203ad7ed9716e117333cc0622885a

# golang.org/x/mobile/exp/gl/glutil
/var/folders/bn/49l0ffts381_wqsh02663nr40000gn/T/workdir/gopath/src/golang.org/x/mobile/exp/gl/glutil/glimage_test.go:35: undefined: gl.WorkAvailable
/var/folders/bn/49l0ffts381_wqsh02663nr40000gn/T/workdir/gopath/src/golang.org/x/mobile/exp/gl/glutil/glimage_test.go:36: undefined: gl.DoWork
/var/folders/bn/49l0ffts381_wqsh02663nr40000gn/T/workdir/gopath/src/golang.org/x/mobile/exp/gl/glutil/glimage_test.go:47: undefined: start
/var/folders/bn/49l0ffts381_wqsh02663nr40000gn/T/workdir/gopath/src/golang.org/x/mobile/exp/gl/glutil/glimage_test.go:48: undefined: stop
/var/folders/bn/49l0ffts381_wqsh02663nr40000gn/T/workdir/gopath/src/golang.org/x/mobile/exp/gl/glutil/glimage_test.go:81: undefined: gl.CreateFramebuffer
/var/folders/bn/49l0ffts381_wqsh02663nr40000gn/T/workdir/gopath/src/golang.org/x/mobile/exp/gl/glutil/glimage_test.go:82: undefined: gl.BindFramebuffer
/var/folders/bn/49l0ffts381_wqsh02663nr40000gn/T/workdir/gopath/src/golang.org/x/mobile/exp/gl/glutil/glimage_test.go:83: undefined: gl.CreateRenderbuffer
/var/folders/bn/49l0ffts381_wqsh02663nr40000gn/T/workdir/gopath/src/golang.org/x/mobile/exp/gl/glutil/glimage_test.go:84: undefined: gl.BindRenderbuffer
/var/folders/bn/49l0ffts381_wqsh02663nr40000gn/T/workdir/gopath/src/golang.org/x/mobile/exp/gl/glutil/glimage_test.go:88: undefined: gl.RenderbufferStorage
/var/folders/bn/49l0ffts381_wqsh02663nr40000gn/T/workdir/gopath/src/golang.org/x/mobile/exp/gl/glutil/glimage_test.go:89: undefined: gl.FramebufferRenderbuffer
/var/folders/bn/49l0ffts381_wqsh02663nr40000gn/T/workdir/gopath/src/golang.org/x/mobile/exp/gl/glutil/glimage_test.go:89: too many errors
ok  	golang.org/x/mobile/app	0.028s
?   	golang.org/x/mobile/app/internal/apptest	[no test files]
?   	golang.org/x/mobile/app/internal/testapp	[no test files]
?   	golang.org/x/mobile/asset	[no test files]
ok  	golang.org/x/mobile/bind	0.490s
?   	golang.org/x/mobile/bind/benchmark	[no test files]
ok  	golang.org/x/mobile/bind/java	0.030s
--- FAIL: TestObjcSeqTest (6.91s)
	seq_test.go:71: tmpdir = /var/folders/bn/49l0ffts381_wqsh02663nr40000gn/T/bind-objc-seq-test-940819910
	seq_test.go:89:
	seq_test.go:90: failed to run gomobile bind: exec: "gomobile": executable file not found in $PATH
--- FAIL: TestObjcSeqBench (0.26s)
	seq_test.go:71: tmpdir = /var/folders/bn/49l0ffts381_wqsh02663nr40000gn/T/bind-objc-seq-test-018531949
	seq_test.go:89:
	seq_test.go:90: failed to run gomobile bind: exec: "gomobile": executable file not found in $PATH
FAIL
FAIL	golang.org/x/mobile/bind/objc	7.182s
ok  	golang.org/x/mobile/bind/seq	0.014s
?   	golang.org/x/mobile/bind/testpkg	[no test files]
?   	golang.org/x/mobile/cmd/gobind	[no test files]
ok  	golang.org/x/mobile/cmd/gomobile	0.134s
?   	golang.org/x/mobile/event/key	[no test files]
?   	golang.org/x/mobile/event/lifecycle	[no test files]
?   	golang.org/x/mobile/event/mouse	[no test files]
?   	golang.org/x/mobile/event/paint	[no test files]
?   	golang.org/x/mobile/event/size	[no test files]
?   	golang.org/x/mobile/event/touch	[no test files]
?   	golang.org/x/mobile/example/audio	[no test files]
?   	golang.org/x/mobile/example/basic	[no test files]
?   	golang.org/x/mobile/example/bind/hello	[no test files]
?   	golang.org/x/mobile/example/flappy	[no test files]
?   	golang.org/x/mobile/example/network	[no test files]
?   	golang.org/x/mobile/exp/app/debug	[no test files]
ok  	golang.org/x/mobile/exp/audio	0.018s
?   	golang.org/x/mobile/exp/audio/al	[no test files]
ok  	golang.org/x/mobile/exp/f32	0.014s
ok  	golang.org/x/mobile/exp/font	0.052s
FAIL	golang.org/x/mobile/exp/gl/glutil [build failed]
?   	golang.org/x/mobile/exp/sensor	[no test files]
?   	golang.org/x/mobile/exp/sprite	[no test files]
ok  	golang.org/x/mobile/exp/sprite/clock	0.013s
?   	golang.org/x/mobile/exp/sprite/glsprite	[no test files]
ok  	golang.org/x/mobile/exp/sprite/portable	0.024s
?   	golang.org/x/mobile/geom	[no test files]
?   	golang.org/x/mobile/gl	[no test files]
ok  	golang.org/x/mobile/internal/binres	0.026s
?   	golang.org/x/mobile/internal/mobileinit	[no test files]


Background

Background is not being correctly displayed
this should be related to i3 running feh and feh not finding the image file

fixed in 84f5a19


Updated to support API version 2.0.12

-API version updated from 2.0.2 to 2.0.12
-Fixed GET requests returning error 405 by adding two new mandatory headers

Going to test it out & merge it.


Determine guidelines on focus states

What
We want to improve the consistency of focus states and expected focus behaviour across GOV.UK. As a team, we need to set some principles for our ideal focus states, when and how they are used.
Why
In order to publish documentation on focus states we need to determine some appropriate rules/guides.
Who needs to know about this
Designers, Developer, all the team
Further detail

Focus states - an audit
Understanding focus states in get started guidance

Done when

[x] Collect examples of focus states
[x] Present back at team show and tell (8 June 2021 hopefully)
[ ] Workshop with team
[ ] Defined some clear principles
[ ] Have enough information to start documentation

Related (but previously resolved) issues:

Inability to tab to accordion plus/minus 'control' flagged in accessibility audit – https://github.com/alphagov/govuk-frontend/issues/1770
Focus indicator is potentially confusing for tabs and accordion components – https://github.com/alphagov/govuk-frontend/issues/1405

Other useful reference:

Colour contrast and Focus for WCAG 2.1 (Presentation, June 2019)
Review of new focus success criteria in initial WCAG 2.2 public draft (Presentation, August 2020)
Focus States User Research Findings Round One (Presentation, July 2019)
GitHub Issues relating to WCAG 2.2 2.4.11 focus appearance on the WCAG repo

Related, unresolved, issues that we might end up doing as part of this work:

Consider adding focus styles guidance on links with large touch areas #1162
Improve the focus style guidance to include linked images/ videos #1101
Include extra example of how to style focused items #1317

The team worked on grouping and establishing some principles for focus states on the 21 Jun 2021. Here is the padlet from the session.


Update PlatformOpsToolbox/AutomaticInstaller/Linux/README.md

Before executing the script you must execute "chmod u+x OutSystemsInstaller.sh". Add this to the description.

Done


Start Evaluation Internal Server Error

Describe the bug
I added the training data and completed the training. I got the first evaluation result. I added training data and trained again. But when I want to get an evaluation result, it shows "Internal Server Error". I deleted all training data and uploaded it again. It gave the same error again. I get the same error in both local and azure server.
Botfront Version : 25.1
To Reproduce
Steps to reproduce the behavior:

Go to 'NLU / Evaluation'
Click on 'Start Evaluation'
See error
Screenshots

Hi @oguzhankarahan , do you see anything in the logs (botfront logs)?

Hi, logs look like the following.
botfront-rasa   | [2020-07-08 10:35:29 +0000] [1] [ERROR] Exception occurred while handling uri: 'http://rasa:5005/model/test/intents?language=tr'
botfront-rasa   | Traceback (most recent call last):
botfront-rasa   |   File "/opt/venv/lib/python3.7/site-packages/sanic/app.py", line 976, in handle_request
botfront-rasa   |     response = await response
botfront-rasa   |   File "/opt/venv/lib/python3.7/site-packages/rasa/server.py", line 181, in decorated
botfront-rasa   |     result = await result
botfront-rasa   |   File "/opt/venv/lib/python3.7/site-packages/rasa/server.py", line 932, in evaluate_intents
botfront-rasa   |     _, nlu_model = model.get_model_subdirectories(model_directory)
botfront-rasa   |   File "/opt/venv/lib/python3.7/site-packages/rasa/model.py", line 233, in get_model_subdirectories
botfront-rasa   |     unpacked_model_path
botfront-rasa   | rasa.exceptions.ModelNotFound: No NLU or Core data for unpacked model at: '/tmp'.
botfront-app    | 2020-07-08T10:35:29.097Z [error] : POST at http://rasa:5005/model/test/intents?language=tr failed at response time user: PSnwoRrp43uumvBzr /imports/api/instances/instances.methods.js - rasa.evaluate.nlu with {"modelId":"Z5RPru6PkMsXpj2tk","projectId":"bf","testData":null} url: http://rasa:5005/model/test/intents?language=tr  data: "Too much data." error: Error: Request failed with status code 500
How can I fix this?

@oguzhankarahan Thanks for the bug report. Looking into it.

Fixed in https://github.com/botfront/rasa-for-botfront/commit/ce50ad766cee184ea0b43fb9c9ef1a82dbf09b6e, coming on next patch release.

Thanks, train bug fixed :) but evaluation error continues.


Upgrade to Omnipay v3

Hello guys, is this integration going to be upgraded for Omnipay v3?

Hello, Omnipay v3 released, are you planning an update?

Currently we are not using Qiwi merchant in our projects and are extremely busy to take care of this package. If you can give some love to this package – we will be happy to merge your pull request.

Damn library! Move it to the archive


Image::strip_resampled_prefix won't work on Windows.

Current version of the function in 3.x branches assume that directory paths use '/'.
It should either take into account both \ and / (regardless of OS) or be OS-specific.
Current function:
public static function strip_resampled_prefix($path) {
	return preg_replace('/_resampled\/(.+\/|[^-]+-)/', '', $path);
}

Proposed fix: (OS-specific)
public static function strip_resampled_prefix($path) {
	return preg_replace('/_resampled\\'.DIRECTORY_SEPARATOR.'(.+\\'.DIRECTORY_SEPARATOR.'|[^-]+-)/', '', $path);
}

Looks good, wanna send a PR with some unit tests? Note that this behaviour changed quite a bit in SS4. @tractorcow Do you think this is still an issue there?

No it won't be, since there is no _resampled folder.

OK, given that this issue has been resolved in SS4 by removing the entirety of the code, I say we close it? Feel free to reopen if there's still an issue in SS4 that we've missed.


OSError: [WinError 193] %1 is not a valid Win32 application

from pylsl import StreamInlet, resolve_stream
File "C:\Users\rakes\AppData\Local\Programs\Python\Python38\lib\site-packages\pylsl_init_.py", line 2, in
from .pylsl import IRREGULAR_RATE, DEDUCED_TIMESTAMP, FOREVER, cf_float32,
File "C:\Users\rakes\AppData\Local\Programs\Python\Python38\lib\site-packages\pylsl\pylsl.py", line 1217, in
lib = CDLL(libpath)
File "C:\Users\rakes\AppData\Local\Programs\Python\Python38\lib\ctypes_init_.py", line 373, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 is not a valid Win32 application

Did you get Python from python.org? I noticed the default 3.8 download is for 32-bit Python, but that 32-bit Python somehow installs 64-bit wheels which are incompatible. That might be the case here.
More likely is that you're missing a visual studio runtime. Download and install vc_redist.x64 from here.

I uninstalled my python and installed python 3.7.9 and reinstalled the vc_redist.x64 too. I am still unable to run the script. This was working fine the last week.
C:\Rakesh work\programming workspace\Finalproject\drone blocks>python --version
Python 3.7.9
C:\Rakesh work\programming workspace\Finalproject\drone blocks>pip install pylsl --no-cache-dir
Collecting pylsl
Downloading pylsl-1.13.6-py2.py3-none-win_amd64.whl (363 kB)
|████████████████████████████████| 363 kB 66 kB/s
Installing collected packages: pylsl
Successfully installed pylsl-1.13.6
WARNING: You are using pip version 20.1.1; however, version 20.2.3 is available.
You should consider upgrading via the 'c:\users\rakes\appdata\local\programs\python\python37\python.exe -m pip install --upgrade pip' command.
C:\Rakesh work\programming workspace\Finalproject\drone blocks>python 1.py
Traceback (most recent call last):
File "1.py", line 3, in
from pylsl import StreamInlet, resolve_stream
File "C:\Users\rakes\AppData\Local\Programs\Python\Python37\lib\site-packages\pylsl_init_.py", line 2, in
from .pylsl import IRREGULAR_RATE, DEDUCED_TIMESTAMP, FOREVER, cf_float32,
File "C:\Users\rakes\AppData\Local\Programs\Python\Python37\lib\site-packages\pylsl\pylsl.py", line 1217, in
lib = CDLL(libpath)
File "C:\Users\rakes\AppData\Local\Programs\Python\Python37\lib\ctypes_init_.py", line 364, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 is not a valid Win32 application

I have received (not for pylsl, but for other dlls) similar errors on Windows, although i knew the file was there and the path i specified was correct. In my experience, this usually is a windows or environment bug, and tricky to resolve. I once eventually resorted to brute force, i.e. i loaded the dll in a while-loop until it was successfully loaded. Don't ask me why that worked.
In your case, maybe the search path is messed up from earlier installs? If there is still a path to an old python installation, the new one might be shadowed and you might need to clean your path. You can print the current PATH from cmd with
echo %PATH:;=&echo.%
Can you also confirm that you are using a 64bit install of python?

Yes, I am using 64bit python.

It's almost certainly an architecture mismatch problem, either that or pylsl 1.13.6 is somehow corrupted on pypi. This SO answer has a lot of relevant information.
You can try this newer wheel:
pylsl-1.14.0-py2.py3-none-win_amd64.zip
Or you can try an older wheel with pip install pylsl==1.13.1.

This did not solve my problem. I got this output when I tried installing from the .whl and with the older package too.
from pylsl import StreamInlet, resolve_stream
File "C:\Users\rakes\AppData\Local\Programs\Python\Python37\lib\site-packages\pylsl_init_.py", line 2, in
from .pylsl import IRREGULAR_RATE, DEDUCED_TIMESTAMP, FOREVER, cf_float32,
File "C:\Users\rakes\AppData\Local\Programs\Python\Python37\lib\site-packages\pylsl\pylsl.py", line 1200, in
lib = CDLL(libpath)
File "C:\Users\rakes\AppData\Local\Programs\Python\Python37\lib\ctypes_init_.py", line 364, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found

You've somehow managed to break your environment. There are some incorrect dlls on some path that are shadowing the correct dlls... or something like that.
I recommend uninstalling all of your manually installed python interpreters and switch to using conda-managed environments. I like to use miniconda.

I manually installed python and removed all the path from the Enovironmental variables. I installed minicoda and still I am getting the same error.
File "1.py", line 3, in
from pylsl import StreamInlet, resolve_stream
File "C:\Users\rakes\miniconda3\envs\lsl\lib\site-packages\pylsl_init_.py", line 2, in
from .pylsl import IRREGULAR_RATE, DEDUCED_TIMESTAMP, FOREVER, cf_float32,
File "C:\Users\rakes\miniconda3\envs\lsl\lib\site-packages\pylsl\pylsl.py", line 1217, in
lib = CDLL(libpath)
File "C:\Users\rakes\miniconda3\envs\lsl\lib\ctypes_init_.py", line 356, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 is not a valid Win32 application

Please download and unpack Dependencies somewhere.
Inside your anaconda prompt window, with your lsl env active, run path\to\DependenciesGui.exe. In the DependenciesGui, click file-->open and find the dll inside C:\Users\rakes\miniconda3\envs\lsl\lib\site-packages\pylsl\lib\
Please list here the dependencies in red that are missing. If possible, expand a missing item to drill down to its missing dependency.

I think those files that Dependencies reports as missing are false positives due to localization. See here: https://github.com/lucasg/Dependencies/issues/102
So... I have no idea what the problem is. You can try pip install pylsl==1.13.1. That one comes with an older DLL that is more compatible.

I installed the pylsl 1.13.1, I still have the dependencies problem.

I really have no idea what's wrong with your system. Do you have access to another computer running the same (localized) version of Windows that you can try? Or can you ask a friend to try?
Assuming that other computer works, then my advice is to reinstall windows. I'm sorry we couldn't pinpoint the problem.

I agree with @cboulay that this is likely an environment issue, and not caused by the liblsl.dll. The dll obviously exists, and runs fine on other machines. My last shot: Can you try a brute-force approach? I once had brute-force work on windows for a different dll, so maybe it is worth the try. If it ran for a few minutes unsucessfully, just abort with ctrl-c.
print("[", end="")
while True:
    try:
        print(".", end="")
        from pylsl import StreamInlet, resolve_stream
    except OSError as e:
        pass
    else:
        print("]")
        break

Just to make sure pylsl tries to load the right library: you can set the environment variable PYLSL_LIB to a full path; pylsl then tries to load this file as lsl library.

@tstenner I added the PYLSL_LIB as a new environment variable and set it to the full path. This solved my problem. Thank you so much for helping me resolve the problem.

@rakeshbci I guess that means that you had a rogue liblsl somewhere on your path. This might cause you trouble in the future.
Can you please unset the environment variable temporarily, then add a print(libpath) immediately before the lib = CDLL(libpath) line and try to import pylsl again?
If the printed path is different to the expected path then this was your problem and you should probably get this other library off the PATH. If it's the same dll then we still don't know what the issue was.

@cboulay It indeed was a problem due to rogue liblsl. I had installed an older version of muse lab which comes with a lsl.dll. When I used the print(libpath), I found the file in my muse folder. Thank you for the guidance.


Removing Mono specific DllImports

With the conversion to dotnet nothing will preload the libuv.dylib into the process so the __Internal in DllImport won't work. Users will have to put libuv.lib in the default search location or set the DYLD_LIBRARY_PATH to the folder where libuv.dylib was restored or installed.

Won't this break DNX?

do we care?

@moozzyk Until we have working CLI tooling yes. As long as we have a good workaround for OSX that's fine (is OSX the only one?)

@davidfowl - The workaround for dnx on Mono will be the same as for CLI on Mono - install libuv using homebrew or, possibly, set the DYLD_LIBRARY_PATH to point to the libuv.dylib.
I don't think this change is very urgent but currently it is impossible to run Kestrel on Darwin Mono when using CLI

The workaround for dnx on Mono will be the same as for CLI on Mono - install libuv using homebrew or, possibly, set the DYLD_LIBRARY_PATH to point to the libuv.dylib.
I don't think this change is very urgent but currently it is impossible to run Kestrel on Darwin Mono when using CLI

It'll work on mono because we copy it to the output folder with the CLI (even on build for net45x). I wonder if we should runtime check if we're on DNX and use it if we're there...

It won't work on Mono and CLI because DllImport is trying to load __Internal and nothing loaded the dylib into the process (this was dnx's job before) so the exported functions couldn't be found. I built an app today to confirm this and, as expected, it failed due to not being able to invoke uv.loop_size() which is the first call to libuv Kestrel makes.

@moozzyk best course of action is to check for DNX specifically at runtime. Do we have an API for that? Hmmm.

Super hack:
https://github.com/aspnet/dnx/blob/dev/src/Microsoft.Dnx.Host/Bootstrapper.cs#L77
Check to see if DNX_SERVICEPROVIDER is set in the app domain data :smile:

Can you check for a Microsoft.Dnx* assembly/type?

DNX_SERVICEPROVIDER hack should work for now but I would really like to remove __Internal the code longer term.

@moozzyk we should I just don't want to break anyone using things * in VS today.

We haven't had coherence-signed in a long time and not sure when the lucky day will come... :smile:

Is why we all went aspnetvolatiledev :stuck_out_tongue_winking_eye:

@benaadams - unfortunately yes.

Closing this for now.


Windows virtual desktop was renamed to Azure virtual desktop

The current page still refers to Windows Virtual Desktop instead of Azure Virtual Desktop.

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

ID: 17880b9d-6b98-3194-cc33-fe8067ce241e
Version Independent ID: 643bcf2f-507b-e449-73db-923d8a368ad9
Content: Teams for Virtualized Desktop Infrastructure - Microsoft Teams
Content Source: Teams/teams-for-vdi.md
Service: msteams
GitHub Login: @cichur
Microsoft Alias: v-cichur

@adrienmaugard , Thanks for pointing out, I am going to edit this article

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


HeaderBar

Hey guys,
thank you for the awesome work you are doing and please do not read this as a complaint, but more like a lack of understanding question.
I am learning GO and wanted to build a simple Note gui. I was looking at the Header struct and i wanted to add some buttons on it. The thing is that it does not render as a HeaderBar, but as normal grid box inside the app. What I mean is below :
What it should be :

What Im getting :

The "ds" button and the label should be in the header as in the first screenshot.
Here is my code :

Is this the intention ? Am I missing something ?

You must not add the header directly to the window. Windows can have only one widget inside. You must first add a container (probably a vertical box) to the window and then add the header (probably inside another horizontal box with the button) to that vertical box.

It does not work. I add a vertical box inside the window and then a horizontal one inside of it. When I add the header and the button I get the following :

Well, those steps where necessary but not the only ones. Try to set homogeneous to false in the MainBox. I don't know exactly now. Maybe in half an hour can try to write it myself.

alright, thank you for the help!

You're welcome.
This seems to work for me:
func main() {
	gtk.Init(nil)

	window, _ := gtk.WindowNew(gtk.WINDOW_TOPLEVEL)
	window.SetDefaultSize(1000, 800)
	window.Connect("destroy", gtk.MainQuit)

	mainBox, _ := gtk.BoxNew(gtk.ORIENTATION_VERTICAL, 0)
	header, _  := gtk.HeaderBarNew()
	button, _  := gtk.ButtonNewWithLabel("Dsa")

	header.PackEnd(button)

	mainBox.Add(header)
	window.Add(mainBox)
	window.ShowAll()

	gtk.Main()

}

I got the same result as before with just the button on the right instead of left. Can you send me a screenshot of what you got exactly ?

With PackStart you add at the beginning and with PackEnd at the end of the container. Or use simply Add. I tried to solve your first problem of not getting the header box at the top of the window. This is how it looks like (now with PackStart):

alright, I guess I did not explain the problem well enough. The issue is to get the buttons in the place where it says ''headerbox'' in you screenshot, not below them in a different container. Like shown here :
http://python-gtk-3-tutorial.readthedocs.io/en/latest/layout.html#headerbar

Well, maybe this gets closer: undecorate the main window and translate some lines from the python code.
func main() {
	gtk.Init(nil)

	window, _ := gtk.WindowNew(gtk.WINDOW_TOPLEVEL)
	window.SetDefaultSize(600, 400)
	window.SetDecorated(false)
	window.Connect("destroy", gtk.MainQuit)

	mainBox, _ := gtk.BoxNew(gtk.ORIENTATION_VERTICAL, 0)
	header, _  := gtk.HeaderBarNew()

	header.SetShowCloseButton(true)
	header.SetTitle("HeaderBar example")

	button, _  := gtk.ButtonNewWithLabel("Dsa")
	header.PackStart(button)

	mainBox.Add(header)
	window.Add(mainBox)
	window.ShowAll()

	gtk.Main()
}

Its perfect, thank you very much for the effort :)

De nada ... and good luck with the rest of your code :-)


TS Server: Return description of why a given refactoring cannot be applied

Follow up on #34930
Search terms

refactor / refactoring

Problem
In VS Code, I often try to extract something to a function only to discover that this is not possible for the my current selection. The current UX for this is poor, since we offer no explanation of why the selection is not extractable.
Proposal
To fix this, we would like to have TS Server return a human readable message about why a refactoring cannot be applied. Client could then surface this information to users
With this proposal, TS Server would no silently longer dropping invalid refactorings like it does today and instead always return them but with an additional error message attached..
Protocol proposal
I believe this simplest approach is to add a new errorDescription field on ApplicableRefactorInfo:
interface ApplicableRefactorInfo {
    name: string;
    description: string;
    inlineable?: boolean;
    actions: RefactorActionInfo[];

    errorDescription?: string;
}

Client would be expected to not to try to resolve invalid refactorings.
To implement this in a way that won't break existing clients, we also need a way for a client to express that they can handle these invalid refactorings:
interface GetApplicableRefactorsRequestArgs extends FileLocationOrRangeRequestArgs {
    // better name?
    returnInvalidRefactorings?: boolean;
}

If returnInvalidRefactorings is not set, the TS Server should preserve its existing behavior, i.e. drop invalid refactorings

As we discussed offline, this seems likely to be of interest primarily when the user has explicitly requested a particular refactoring or family of refactoring (e.g. extraction).  If that's the case, it might be preferable to treat the presence of a refactoring/family identifier as an indicator that errors are desirable.

For experimental purposes, we might want to add such a flag to the protocol and let the editor decide which portion of the flood of information is exposed to the user.

A few other points from our discussion last Thursday:

As @amcasey notes, this proposal may be tied to #35096

We likely only care about why a general class of refactorings are not valid. I.e. for extract constant we don't want to list out every possible scope that we could extract to and why we can't extract to it, instead: if any extract constant is possible then return that, otherwise return a single extract constant item that states why the selected expression could not be extracted (the error would probably come from the closest scope)

We currently have no good way to surface this information in VS Code. I'm looking into how to do this this month

Here's the VS Code side of the proposal and some thoughts on how we would surface the error information to users: https://github.com/microsoft/vscode/issues/85160

I cant select an if statement like the one below in my nodejs typescript program to extract it to a function. Several options are visible in the context menu but I cant pick any of them. Where should I report that issue?
if (typeof (ConnectTo.connections[partnerCode]) == 'undefined'||!((<mongoose.Connection>ConnectTo.connections[partnerCode]).readyState==1||(<mongoose.Connection>ConnectTo.connections[partnerCode]).readyState==2)) {


Fix Contract file url

Fixes #3167
Use ContractPrivateMediaView instead of direct calling the file.url

Deploying to test now.