YouTube: Unable to submit TFA code: HTTP Error 500: Internal Server Error

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.08.04. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2018.08.04

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--username=PRIVATE', '--password', 'PRIVATE', '--restrict-filenames', '--write-info-json', '--write-annotations', '--write-thumbnail', '-f', 'bestvideo+bestaudio', '--merge-output-format', 'mkv', '-o', '%(uploader)s/%(upload_date)s_-_%(title)s_[%(id)s][f%(format_id)s].%(ext)s', '0-fyoq4454U', '-2', '980084', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.07.29
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.14393
[debug] exe versions: ffmpeg N-85750-ga75ef15, ffprobe N-85750-ga75ef15
[debug] Proxy map: {}
[youtube] Downloading login page
[youtube] Looking up account info
[youtube] Logging in
[youtube] Submitting TFA code
WARNING: Unable to submit TFA code: HTTP Error 500: Internal Server Error
[youtube] 0-fyoq4454U: Downloading webpage
[youtube] 8tEsxbCl21E: Downloading webpage
[youtube] 8tEsxbCl21E: Downloading video info webpage
[youtube] {22} signature length 43.42, html5 player vfl4xh-NY
[youtube] {43} signature length 43.42, html5 player vfl4xh-NY
[youtube] {18} signature length 43.42, html5 player vfl4xh-NY
[youtube] {36} signature length 43.42, html5 player vfl4xh-NY
[youtube] {17} signature length 43.42, html5 player vfl4xh-NY
[youtube] {137} signature length 43.42, html5 player vfl4xh-NY
[youtube] {248} signature length 43.42, html5 player vfl4xh-NY
[youtube] {136} signature length 43.42, html5 player vfl4xh-NY
[youtube] {247} signature length 43.42, html5 player vfl4xh-NY
[youtube] {135} signature length 43.42, html5 player vfl4xh-NY
[youtube] {244} signature length 43.42, html5 player vfl4xh-NY
[youtube] {134} signature length 43.42, html5 player vfl4xh-NY
[youtube] {243} signature length 43.42, html5 player vfl4xh-NY
[youtube] {133} signature length 43.42, html5 player vfl4xh-NY
[youtube] {242} signature length 43.42, html5 player vfl4xh-NY
[youtube] {160} signature length 43.42, html5 player vfl4xh-NY
[youtube] {278} signature length 43.42, html5 player vfl4xh-NY
[youtube] {140} signature length 43.42, html5 player vfl4xh-NY
[youtube] {171} signature length 43.42, html5 player vfl4xh-NY
[youtube] {249} signature length 43.42, html5 player vfl4xh-NY
[youtube] {250} signature length 43.42, html5 player vfl4xh-NY
[youtube] {251} signature length 43.42, html5 player vfl4xh-NY
[youtube] 8tEsxbCl21E: Searching for annotations.
[info] Writing video annotations to: PewDiePie\20160203_-_SCARE_PEWDIEPIE_-_OFFICIAL_TRAILER_-_YOUTUBE_RED_ORIGINAL_SERIES_[8tEsxbCl21E][f137+251].annotations.xml
[info] Writing video description metadata as JSON to: PewDiePie\20160203_-_SCARE_PEWDIEPIE_-_OFFICIAL_TRAILER_-_YOUTUBE_RED_ORIGINAL_SERIES_[8tEsxbCl21E][f137+251].info.json
[youtube] 8tEsxbCl21E: Downloading thumbnail ...
[youtube] 8tEsxbCl21E: Writing thumbnail to: PewDiePie\20160203_-_SCARE_PEWDIEPIE_-_OFFICIAL_TRAILER_-_YOUTUBE_RED_ORIGINAL_SERIES_[8tEsxbCl21E][f137+251].jpg
[debug] Invoking downloader on 'https://r2---sn-4pgnuapbiu-5ace.googlevideo.com/videoplayback?mv=m&expire=1533805962&dur=59.092&initcwndbps=1351250&ei=KrFrW92hEIXx8wS16rSwDA&ip=<IP_ADDRESS>&requiressl=yes&mt=1533784249&gir=yes&ms=au%2Crdu&mm=31%2C29&mn=sn-4pgnuapbiu-5ace%2Csn-ab5sznle&mime=video%2Fmp4&id=o-AIshL91_P9S6QQ74HI6corUcfWaEGLPyoI9RdAKMqwSA&pl=19&gcr=us&ipbits=0&key=yt6&lmt=1507171918917734&keepalive=yes&itag=137&fvip=2&c=WEB&pcm2=yes&clen=20730454&source=youtube&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278&sparams=aitags%2Cclen%2Cdur%2Cei%2Cgcr%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpcm2%2Cpl%2Crequiressl%2Csource%2Cexpire&signature=A1512F04DD0CD3137C812E5F3DE54CD63D04B1B6.565FE518E081186B77A8DD461F979B6FA446C51D&ratebypass=yes'
[download] Destination: PewDiePie\20160203_-_SCARE_PEWDIEPIE_-_OFFICIAL_TRAILER_-_YOUTUBE_RED_ORIGINAL_SERIES_[8tEsxbCl21E][f137].f137.mp4
[download] 100% of 19.77MiB in 00:01
[debug] Invoking downloader on 'https://r2---sn-4pgnuapbiu-5ace.googlevideo.com/videoplayback?mv=m&expire=1533805962&dur=59.101&initcwndbps=1351250&ei=KrFrW92hEIXx8wS16rSwDA&ip=<IP_ADDRESS>&requiressl=yes&mt=1533784249&gir=yes&ms=au%2Crdu&mm=31%2C29&mn=sn-4pgnuapbiu-5ace%2Csn-ab5sznle&mime=audio%2Fwebm&id=o-AIshL91_P9S6QQ74HI6corUcfWaEGLPyoI9RdAKMqwSA&pl=19&gcr=us&ipbits=0&key=yt6&lmt=1454038209716099&keepalive=yes&itag=251&fvip=2&c=WEB&pcm2=yes&clen=974556&source=youtube&sparams=clen%2Cdur%2Cei%2Cgcr%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpcm2%2Cpl%2Crequiressl%2Csource%2Cexpire&signature=6E87796053060DD5C4B72C2328895EDBA626B73D.33BE8B84A582AB5875BACE9B88F92E58612DD738&ratebypass=yes'
[download] Destination: PewDiePie\20160203_-_SCARE_PEWDIEPIE_-_OFFICIAL_TRAILER_-_YOUTUBE_RED_ORIGINAL_SERIES_[8tEsxbCl21E][f251].f251.webm
[download] 100% of 951.71KiB in 00:00
[ffmpeg] Merging formats into "PewDiePie\20160203_-_SCARE_PEWDIEPIE_-_OFFICIAL_TRAILER_-_YOUTUBE_RED_ORIGINAL_SERIES_[8tEsxbCl21E][f137+251].mkv"
[debug] ffmpeg command line: ffmpeg -y -i "file:PewDiePie\20160203_-_SCARE_PEWDIEPIE_-_OFFICIAL_TRAILER_-_YOUTUBE_RED_ORIGINAL_SERIES_[8tEsxbCl21E][f137].f137.mp4" -i "file:PewDiePie\20160203_-_SCARE_PEWDIEPIE_-_OFFICIAL_TRAILER_-_YOUTUBE_RED_ORIGINAL_SERIES_[8tEsxbCl21E][f251].f251.webm" -c copy -map "0:v:0" -map "1:a:0" "file:PewDiePie\20160203_-_SCARE_PEWDIEPIE_-_OFFICIAL_TRAILER_-_YOUTUBE_RED_ORIGINAL_SERIES_[8tEsxbCl21E][f137+251].temp.mkv"

ERROR: Interrupted by user

(I canceled the download when it started to download the trailer rather than actual video (I have premium))
Description of your issue, suggested solution and other information
Cannot authenticate to YouTube with 2FA enabled.
WARNING: Unable to submit TFA code: HTTP Error 500: Internal Server Error
Also tried old app-password method (would be preferred for easily retractable passwords in batch files), but since the code is updated to support 2FA, app passwords no longer work. Therefore, it is currently impossible to log into YouTube at the moment.

closed because youtube-dl did not update as I thought, reopening new issue because issue does still exist


Usage with embedded ViewControllers or subviews

Let's say there's a Hero profile page (HeroViewController) with two parts:

Health bar at the top (fancy custom UIView)
List of skills at the bottom (child VC)

Parent VCs has HeroViewModel with all info ready to use for those two parts.
What's the recommended way of passing this VM to those children views/VCs?
I imagine this to be something like:
class HeroViewController: UIViewController, NonReusableViewModelOwner {
   var skillsVC: SkillsViewController!
   var healthBarView: HealthBarView!

   override func viewDidLoad() {
       // add child view controller and assign to skillsVC
       // add health bar view and assign to healthBarView
    }

    func didSetViewModel(_ vm: HeroViewModel, disposeBag: DisposeBag) {
        let skillsVM = SkillsViewModel(vm.skillsObservable)
        skillsVC.viewModel = skillsVM
        let healthBarViewModel = HealthBarViewModel(vm.health, vm.poisonStatus)
        healthBarView.viewModel = healthBarViewModel
    }
}

It brings some questionable solutions though.

Our HeroViewController is mini-coordinator as it is in charge of injecting HealthBarViewModel into corresponding UIViewController.
On the other hand if you bring it to some upper level (Coordinator-ish) you have to initialize VC's view there (I think we want to let OS do that) and worry about some subviews, which isn't related to navigation.
It makes testing though as you cannot inject SkillsViewModel and HealthBarViewModel.

Wondering what is your approach in production apps. Thanks for any response.

Things would look differently if you were navigating the hierarchy, e.g. pushing or modally showing the 'VC's, if that was the case then absolutely this should be managed by the Coordinator.
But given that in MVVM a ViewController should be treated as a View layer and the fact you are using VC to list the skills is an implementation detail, whether we use UIVC or View doesn't change anything in case of composition like this.
In your current situation I'd have the following:

HeroViewModel would expose SkillsViewModel and HealthBarViewModel as its children
FlowCoordinator would create HeroViewController and HeroViewModel

func didSetViewModel(_ vm: HeroViewModel, disposeBag: DisposeBag) {
  skillsVC.viewModel = vm.skillsViewModel
  healthBarView.viewModel = vm.healthViewModel
}

Thanks for response. Let me ask additional question, let's say you have VC which is displayed in two configurations:

As a modal, which leads to showing "Cancel" button in top left of UINavigationBar and/or within a regular view. Clicking on it dismisses it.
As a next ViewController in regular stack of UINavigationController. It does not lead to any additional buttons.

Where that logic of (not) adding Cancel should be put? Is it part of FlowCoordinator?
If so it would mean it is in charge of adding something to view hierarchy which might give him too many responsibilities?
Maybe it should be part of ViewModel's output? But then ViewModel acts little bit like coordinator as it decides how to dismiss attached screen.

FlowCoordinator knows the presentation context so its responsible for creating and configuring the VC / VM, and in this situation also the navigationBarItem, if you put that responsibility anywhere else you will create coupling and require unneccesary control flow


EXPRESSCREDIT - The locations displayed as results on the search engine do not match the locations from scraper-UI and from the company's website

ENVIRONMENT:
url: https://peviitor.ro/
browser: Chrome
device: laptop
OS: Windows
Version: 10
STEPS TO REPRODUCE:
Open url in browser.
Type "expresscredit" in the serach bar.
Analyze the jobs' locations.
EXPECTED RESULTS:
The jobs' locations match the locations from scrapers-UI  and from the company's website.
ACTUAL RESULTS:
Each job has another location - Brasov, which is not displayed on scrapers-UI or on the company's website. The company is located only in Iasi.
Attachments:

fixed can you retest?

Retested ✅


Facebook Meta unable to add Admob mediation

My App is getting crashed
W/FirebaseCrashlytics(25475): Timeout exceeded while awaiting app exception callback from Analytics listener.
E/AndroidRuntime(25475): FATAL EXCEPTION: main
E/AndroidRuntime(25475): Process: com.tv.animetv, PID: 25475
E/AndroidRuntime(25475): java.lang.NoSuchMethodError: No virtual method setRequestAgent(Ljava/lang/String;)Lcom/google/android/gms/ads/AdRequest$Builder; in class Lcom/google/android/gms/ads/AdRequest$Builder; or its super classes (declaration of 'com.google.android.gms.ads.AdRequest$Builder' appears in /data/app/~~rLD1Ogt5I7WUPA6yuy43nA==/com.tv.animetv-sY8MN-jFoDoK7B8yaWxqNQ==/base.apk!classes9.dex)
E/AndroidRuntime(25475): 	at io.flutter.plugins.googlemobileads.FlutterAdRequest.updateAdRequestBuilder(FlutterAdRequest.java:235)
E/AndroidRuntime(25475): 	at io.flutter.plugins.googlemobileads.FlutterAdRequest.asAdRequest(FlutterAdRequest.java:240)
E/AndroidRuntime(25475): 	at io.flutter.plugins.googlemobileads.FlutterNativeAd.load(FlutterNativeAd.java:230)
E/AndroidRuntime(25475): 	at io.flutter.plugins.googlemobileads.GoogleMobileAdsPlugin.onMethodCall(GoogleMobileAdsPlugin.java:427)
E/AndroidRuntime(25475): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:267)
E/AndroidRuntime(25475): 	at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:295)
E/AndroidRuntime(25475): 	at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:322)
E/AndroidRuntime(25475): 	at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12)
E/AndroidRuntime(25475): 	at android.os.Handler.handleCallback(Handler.java:942)
E/AndroidRuntime(25475): 	at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(25475): 	at android.os.Looper.loopOnce(Looper.java:240)
E/AndroidRuntime(25475): 	at android.os.Looper.loop(Looper.java:351)
E/AndroidRuntime(25475): 	at android.app.ActivityThread.main(ActivityThread.java:8377)
E/AndroidRuntime(25475): 	at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(25475): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584)
E/AndroidRuntime(25475): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1013)
Gradle Files are :
`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"
// Add this line
//changes ndk version and ndk varients changes
android {
compileSdkVersion 34
// ndkVersion flutter.ndkVersion
compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_8
    targetCompatibility JavaVersion.VERSION_1_8
}

kotlinOptions {
    jvmTarget = '1.8'
}

sourceSets {
    main.java.srcDirs += 'src/main/kotlin'
}

signingConfigs {
release {
storeFile file("animekill_key.jks")
storePassword "asd1236547899"
keyAlias "key0"
keyPassword "asd1236547899"
}
}
defaultConfig {
    // TODO: Specify your own unique Application ID (https://develop
    //  er.android.com/studio/build/application-id.html).
    applicationId "com.tv.animetv"
    // You can update the following values to match your application needs.
    // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
    minSdkVersion 21
    targetSdkVersion 34
    versionCode flutterVersionCode.toInteger()
    versionName flutterVersionName
}

buildTypes {
    release {
        ndk {
          //  abiFilters 'armeabi-v7a','arm64-v8a','x86_64'
            /*
                abiFilters "armeabi", "x86", "armeabi-v7a","x86_64", "mips",
                "mips64","arm64-v8a"
            * */
            //  abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86_64'
        }
        // TODO: Add your own signing config for the release build.
        // Signing with the debug keys for now, so `flutter run --release` works.
        signingConfig signingConfigs.debug
    }
}
buildFeatures {
    viewBinding true
}

}
flutter {
source '../..'
}
repositories {
maven {
name "Chartboost Mediation’s maven repo"
url "https://cboost.jfrog.io/artifactory/chartboost-mediation"
}
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.9.0'

//   implementation 'com.google.android.gms:play-services-ads:23.2.0'
implementation 'com.google.android.exoplayer:exoplayer:2.19.1'
implementation("com.google.ads.mediation:facebook:<IP_ADDRESS>")
// implementation 'com.google.ads.mediation:adcolony:<IP_ADDRESS>'
// implementation 'com.google.ads.mediation:vungle:<IP_ADDRESS>'
//implementation 'com.google.ads.mediation:facebook:<IP_ADDRESS>'
//implementation "androidx.activity:activity:1.8.0-alpha04"
}
apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.firebase.firebase-perf'
apply plugin: 'com.google.firebase.crashlytics'`
Plugin Files:
`name: animekillapp2023
description: Watch Latest anime free at anime tv
The following line prevents the package from being accidentally published to
pub.dev using flutter pub publish. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
The following defines the version and build number for your application.
A version number is three numbers separated by dots, like 1.2.43
followed by an optional build number separated by a +.
Both the version and the builder number may be overridden in flutter
build by specifying --build-name and --build-number, respectively.
In Android, build-name is used as versionName while build-number used as versionCode.
Read more about Android versioning at https://developer.android.com/studio/publish/versioning
In iOS, build-name is used as CFBundleShortVersionString while build-number is used as CFBundleVersion.
Read more about iOS versioning at
https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
In Windows, build-name is used as the major, minor, and patch parts
of the product and file versions while build-number is used as the build suffix.
version: 2.0.84+84
environment:
sdk: '>=2.19.6 <3.0.0'
Dependencies specify other packages that your package needs in order to work.
To automatically upgrade your package dependencies to the latest versions
consider running flutter pub upgrade --major-versions. Alternatively,
dependencies can be manually updated by changing the version numbers below to
the latest version available on pub.dev. To see which dependencies have newer
versions available, run flutter pub outdated.
dependencies:
flutter:
sdk: flutter
The following adds the Cupertino Icons font to your application.
Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.6
dartz: ^0.10.1
dio: ^5.4.0
freezed: ^2.4.2
freezed_annotation: ^2.4.1
json_annotation: ^4.8.1
get_it: ^7.6.2
injectable: ^2.3.0
flutter_riverpod: ^2.3.10
flutter_gen: ^5.3.1
google_mobile_ads: ^4.0.0
firebase_core: ^2.26.0
firebase_analytics: ^10.8.8
firebase_crashlytics: ^3.4.17
firebase_messaging: ^14.7.18
carousel_slider: ^4.2.1
dots_indicator: ^3.0.0
cached_network_image: ^3.2.3
shimmer: ^3.0.0
google_fonts: ^5.1.0
flutter_rating_bar: ^4.0.1
font_awesome_flutter: ^10.5.0
dropdown_button2: ^2.3.9
json_serializable: ^6.7.1
#beamer: ^1.5.4
#flex_color_scheme: ^7.0.5
url_strategy: ^0.2.0
another_flushbar: ^1.12.30
responsive_builder: ^0.7.0
url_launcher: ^6.1.14
pull_to_refresh_flutter3: ^2.0.1
firebase_performance: ^0.9.2+5
open_settings_plus: ^0.1.0
app_settings: ^5.0.0
flutter_email_sender: ^6.0.1
permission_handler: ^10.4.3
share_plus: ^7.1.0
path_provider: ^2.1.1
connectivity_plus: ^4.0.2
collection: ^1.18.0
package_info_plus: ^4.1.0
flutter_spinkit: ^5.2.0
logger: ^2.0.2
flutter_screenutil: ^5.9.0
sembast: ^3.5.0+1
shared_preferences: ^2.2.1
auto_size_text: ^3.0.0
toggle_switch: ^2.1.0
in_app_review: ^2.0.8
sms_autofill: ^2.3.0
dio_smart_retry: ^6.0.0
sign_button: ^2.0.6
google_sign_in: ^6.1.5
device_info_plus: ^9.1.0
geolocator: ^10.1.0
#location: ^5.0.3
android_id: ^0.3.6
visibility_detector: ^0.4.0+2
flutter_local_notifications: ^16.3.0
flutter_keyboard_visibility: ^6.0.0
intl: ^0.19.0
hexcolor:
dev_dependencies:
flutter_test:
sdk: flutter
The "flutter_lints" package below contains a set of recommended lints to
encourage good coding practices. The lint set provided by the package is
activated in the analysis_options.yaml file located at the root of your
package. See that file for information about deactivating specific lint
rules and activating additional ones.
build_runner: ^2.4.6
flutter_gen_runner:
flutter_launcher_icons: ^0.13.1
flutter_lints: ^2.0.3
#pretty_dio_logger: ^1.3.1
talker_dio_logger: ^2.3.3
injectable_generator: ^2.4.0
talker_logger: ^3.1.0
dependency_overrides:
build: ^2.4.0
http: ^1.0.0
file: ^7.0.0
collection: ^1.17.2
flutter_gen_core: 5.3.1
analyzer: ^6.0.0
flutter_icons:
android: "launcher_icon"
ios: false
image_path: "assets/images/pngs/playstore.png"
min_sdk_android: 21 # android min sdk min:16, default 21
For information on the generic Dart part of this file, see the
following page: https://dart.dev/tools/pub/pubspec
The following section is specific to Flutter packages.
flutter:
The following line ensures that the Material Icons font is
included with your application, so that you can use the icons in
the material Icons class.
uses-material-design: true
assets:
- assets/images/pngs/
- assets/images/gifs/
- assets/images/svgs/
flutter_gen:
output: lib/constants/
Optional
line_length: 80
colors:
inputs:
- assets/colors/color.xml
- assets/colors/text_colors.xml
To add assets to your application, add an assets section, like this:
assets:
- images/a_dot_burr.jpeg
- images/a_dot_ham.jpeg
An image asset can refer to one or more resolution-specific "variants", see
https://flutter.dev/assets-and-images/#resolution-aware
For details regarding adding assets from package dependencies, see
https://flutter.dev/assets-and-images/#from-packages
To add custom fonts to your application, add a fonts section here,
in this "flutter" section. Each entry in this list should have a
"family" key with the font family name, and a "fonts" key with a
list giving the asset and other descriptors for the font. For
example:
fonts:
- family: Schyler
fonts:
- asset: fonts/Schyler-Regular.ttf
- asset: fonts/Schyler-Italic.ttf
style: italic
- family: Trajan Pro
fonts:
- asset: fonts/TrajanPro.ttf
- asset: fonts/TrajanPro_Bold.ttf
weight: 700

For details regarding fonts from package dependencies,
see https://flutter.dev/custom-fonts/#from-packages
`

Hi @parmeetmaster can you please create a new ticket that is easier to read. Please only provide pertinent information such as the stack and trace and also please provide reproducible steps (if you haven't already)


use UpsertUserScramCredentials method  err panic: kafka server: The version of API is not supported.

Hello author：
I got an error when using the method to set the user and password. Is there a version restriction for this method? The version of Kafka I currently use is 2.3.0. Below is a part of the log
[Sarama] 2021/11/11 23:35:59 Cannot encode an unknown resource pattern type, using Literal instead
[Sarama] 2021/11/11 23:35:59 Cannot encode an unknown resource pattern type, using Literal instead
panic: kafka server: The version of API is not supported.

goroutine 1 [running]:
main.main()
        /Users/yangjiyuan/go/src/product/kafka-manager/main.go:80 +0x905

Correct yes, this api requires at least Kafka 2.7.0 at the backend. We should enforce that required version check in admin.go so it is rejected locally


RFE: API route to query servercheck data by host name or ID

Currently, this route is used to GET servercheck data:
/api/$version/servers/checks

This returns data for all servers. In order to better integrate with monitoring/alerting systems, I would like to have the option to request the same data for a specific host only, either by name or ID. Right now, its workable, but each individual monitoring check that uses this data would need to retrieve the large chunk of data and parse out the specific host the check cares about.

I can take this one since it is a duplicate of https://github.com/apache/trafficcontrol/issues/5463


Documentation of the solution to help customize benchmark configurations

Apart from the steps to run the existing benchmark scripts, more documentation on the solution flow, organization of files etc will help run pipelines/configs/models not covered in existing scripts.

Update index diagram to show volume mounts
Update pipelinesetup to add model location note for modeldownload.sh

Add architecture page that links to the architecture documentation https://github.com/intel-retail/documentation/tree/main/Architecture


Update Nuttx with F7 i2C fixes

@PX4/testflights Please test this on the Pxihawk 4 and mini. Verify both Mags always start. Then fly.

I have a issues not with this PR, but about I2C driver.
I think NUM_I2C_BUS_OPTIONS didn't get the right number of I2C bus here.
https://github.com/PX4/Firmware/blob/master/src/lib/drivers/device/i2c.h
So when I run some_sensor_name start -a , Pixhawk 4 I2C A port will have no response.
Reference:
#9710
#11842

Tested on Pixhawk v4 Pro
Modes Tested

Takeoff: Good
Position Mode: Good.
Altitude Mode: Good.
Stabilized Mode: Good.
Mission Plan Mode (Automated): Good.
RTL (Return To Land): Good.

Pre-flight Procedure:

Flash firmware through QGC ✓
Arm vehicle ✓
Calibrations ✓

Flight Test:

Arm and Take off in position mode ✓
Throttle Test ✓
Pitch, Roll, Yaw ✓
Mode Switch ✓
RTL (Failsafe RC Loss) ✓

Notes:
Arm and Take off in position mode, after flying for approximately one minute, switched to altitude then stabilized mode proceed to switch to mission plan mode then make sure that vehicle follows all waypoints as shown in QGC, once completed all waypoint turn off RC to trigger Failsafe RTL and see landing behavior.
There were no issues noted during take-off, flight nor landing; Mag Sensor #0 and Mag Sensor #1 were turned on during test on the field.
Flight Tests Logs
https://review.px4.io/plot_app?log=2e96815f-9a12-430d-946b-bdc5a0c8d366&fbclid=IwAR0xu063SInauC_ywhI8TTqObcfvaXEzVO2SuN6HFwNDkLGJqeYruPf8thA
https://review.px4.io/plot_app?log=296f492b-fff7-4148-9036-f90f06cf63ad&fbclid=IwAR06ul8YhSaOJgXu-ZvwNbYxcNjxkHpVgs3fG7WIgjwbiL0Zd8HbVbG5PJg
https://review.px4.io/plot_app?log=64e98387-b824-4c5c-8893-871dc37c25f6&fbclid=IwAR3OKMZJ48Wo7eMkrHYp8bs41yacaHwYrRBSFhBLWTWdVVWHff7zZmYH_jM

Here are the logs of our F450 with the I2C range finder and pixhawk 4 with the nuttx fix https://github.com/PX4/NuttX/pull/50 checked out locally. Perfect flight, no problem.
https://logs.px4.io/plot_app?log=7c696a59-d191-4ec8-a2ce-c005001b75f9
https://logs.px4.io/plot_app?log=143ba506-856c-4c8b-835c-47a2fb2391a3
https://logs.px4.io/plot_app?log=7a0a043d-0229-4f9b-bfc3-a42e4a627afb
The range sensor was running but not used for estimation. In the log we can see that it spits out strange values. It reacts to the altitude but there's definitely something wrong with the readings. We can maybe retest with a different sensor today to check if it's not specific to the setup.


testadd upgrade and downgrade compatibility test case

Proposed changes
testadd upgrade and downgrade compatibility test case
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall


Rm details i18n keys

it looks like these keys are not being used anywhere

Codecov Report

Merging #1735 (c48195c) into master (32d5afa) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1735   +/-   ##
=======================================
  Coverage   78.72%   78.72%
=======================================
  Files         265      265
  Lines        4212     4212
  Branches      796      796
=======================================
  Hits         3316     3316
  Misses        804      804
  Partials       92       92

Continue to review full report at Codecov.

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


Some meshes lost when using fbx

[x] Review the documentation: https://virocore.viromedia.com/
[x] Search for existing issues: https://github.com/viromedia/virocore/issues
[x] Use the latest ViroCore release: https://virocore.viromedia.com/docs/releases
[x] Turn off Instant Run in Android Studio

Environment
Please provide the following information about your environment:

OS: Mac
Version: ViroCore1.12.0
Device(s): Sony Xperia Z1

Description
I want to load a fbx with animation. The fbx is correct when preview in Maya, but when I convert it to vrx and load it with virocore, the rocks disappear.

Reproducible Demo
Here is the zip of fbx and vrx. Could you give me any suggestion about it?
sampledata.zip

Another problem. I found the model's position and rotation will change when I play the animation. I'm confused about it, you can try it.
The code to play the animation is from the sample.
          `// Now that the model is loaded, get its animation
           animation = object.getAnimation("Take 001");

            // Make the animation loop, then play it
            animation.setLoop(true);
            animation.play();`

Can you please include the textures being used for the scene? It was not included in the zip. Also, if you can freeze and reset transformations for the rocks, that may help. I noticed its root isn't zero'd out. The rocks may have legacy transforms which may cause it to move out of scene upon export to vrx. Modify>Reset Transformations, Modify>Freeze Transformations.


Reject instead of resolve(null) when mustBeMetamask is true

Firstly, thanks for your work on this project! 🙂
Rationale
There are times when multiple wallet provider extensions are installed inside the users browser alongside MetaMask.
Some extensions play together nicely (for example Metamask & Coinbase) but some are simply overwriting the window.ethereum property with their own injection (for example Metamask & Frame Companion).
In these cases, i would like to be able to call await detectEthereumProvider({mustBeMetamask: true}) and get a rejection if no MetaMask was found at window.ethereum instead of a null resolution. This way we can handle this error in our dapps and provide some meaningful information to our users as to why they cannot connect.

Here is the diff that solved my problem:
diff --git a/src/index.ts b/src/index.ts
index 2141c3e..f3248ad 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -40,7 +40,7 @@ function detectEthereumProvider<T = MetaMaskEthereumProvider>({

   let handled = false;

-  return new Promise((resolve) => {
+  return new Promise((resolve, reject) => {
     if ((window as Window).ethereum) {

       handleEthereum();
@@ -72,13 +72,17 @@ function detectEthereumProvider<T = MetaMaskEthereumProvider>({
       if (ethereum && (!mustBeMetaMask || ethereum.isMetaMask)) {
         resolve(ethereum as unknown as T);
       } else {
+        const expectedInjectionMissmatch = mustBeMetaMask && ethereum;

-        const message = mustBeMetaMask && ethereum
+        const message = expectedInjectionMissmatch
           ? 'Non-MetaMask window.ethereum detected.'
           : 'Unable to detect window.ethereum.';

         !silent && console.error('@metamask/detect-provider:', message);
-        resolve(null);
+
+        if(expectedInjectionMissmatch){
+          reject(new Error(message))
+        }
       }
     }
   });
END

We decided that the existing behavior is sufficient.


Create php.yml

@timothygwebb You need to specify the work-directory keyword for each command. I have managed it to build successfully to the point you have.
name: PHP Composer

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2

    - name: Validate composer.json and composer.lock
      run: composer validate
      working-directory: ./src

    - name: Cache Composer packages
      id: composer-cache
      uses: actions/cache@v2
      with:
        path: ./src/bb-vendor
        key: ${{ runner.os }}-php-${{ hashFiles('composer.lock') }}
        restore-keys: |
          ${{ runner.os }}-php-
    - name: Install dependencies
      if: steps.composer-cache.outputs.cache-hit != 'true'
      run: composer install --prefer-dist --no-progress --no-suggest
      working-directory: ./src

    # Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
    # Docs: https://getcomposer.org/doc/articles/scripts.md

    # - name: Run test suite
    #   run: composer run-script test
    #     working-directory: ./src

@timothygwebb I thought the goal was to make this file trigger and run unit tests not so?
The bottom section contains the command for running the unit test. I will confirm the correct code to use and update here

@samapraku I was going to use ant install like Travis does and discuss what test to add before adding. But it does check the dependencies of composer now if you look in the details of the action.

@timothygwebb  I have already prepared the actions that runs the unit tests in this pull request. https://github.com/boxbilling/boxbilling/pull/695
It is able to run the tests and I need to add the actions to run the other tests.
I think you can save your time from working on this.


IOS 13 Some crash or blank/White screen after capture

Hello,
Hello,
With IOS 13, I have several problems.
Crashes of the application without having report of errors and especially a screen which remains white after the capture.
At the debug level, during capture, nothing happens, reactotron does not even return the cropped image and infomation.
So if you had an idea of the causes.
RN 0.38.1 and i try different version of module.

Were you able to make it work?


[DropDownMenu][SelectField] Add Keyboard support

[x] PR has tests / docs demo, and is linted.
[x] Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
[x] Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

This adds keyboard support natively to DropDownMenu, and also SelectField by extension.
This (I think) is a better option than this pull request because it adds the keyboard support to all DropDownMenu's instead of SelectField.
DropDownMenu now has an IconButton that can receive (and indicate) focus. space or down arrow will open the drop down, and enter or esc will close the drop down.

I pulled and ran your branch. It doesn't appear to support tabbing for SelectField. I'm not sure if #4871 is addressing the same concern.

This PR is different from #4871 in that it highlights the arrow on tab:

Versus #4871:

I wasn't able to find a material spec for this, but it is a notable difference between the two. Personally, I prefer the animation in #4871.

@petermikitsh The animation here can be changed to include the textbox underline, that's not a big deal. The big deal is that this also adds keyboard support to DropDownMenu's that are NOT inside of a SelectField as well. Go to /#/components/dropdown-menu to see that it still works there, and there is also no underline to highlight there...

I get the technical benefits to this PR, but I visually prefer #4871. Maybe we could get the best of both worlds and combine the two?

@petermikitsh in DropDownMenu.js line 234 and 238 - that's the reason the TextField doesn't recieve focus events.. I was trying to get it to work your way as well, but when TextField gets a focus or blur event it does a setState, which re-renders its children and causes the drop down to lose focus. I couldn't get it to work that way but agree that it would be optimal. Do you want to take a look at this? just comment those lines and you'll see what i mean.

Yeah, lines 234 and 238 prevent TextField from receiving events. That's why I implemented a new prop, onClose, that can be passed into DropDownMenu. The SelectField passes in this function to DropDownMenu, which focuses the TextField component.

@petermikitsh Right, i re-focus on the drop down close too (inside of DropDownMenu instead) but a new prop doesn't fix anything if you're focusing the DropDownMenu instead of the TextField. If you focus the DropDownMenu again TextBox still re-renders and the focus ends in no-where-land.

 DropDownMenu could, for instance, be a drop down of links that direct you to different pages. SelectField is for form input where the user can change the selected value (which is not necessarily true of DropDownMenu)

I don't know why this is a debate? Clearly #4871 breaks the re-usability of DropDownMenu for what? a different visual style?

Does #4871 break DropDownMenu functionally?

Give me a second, I'm making more changes.

It doesn't break what's already there, but accessibility of DropDownMenu and SelectField has been on the issue tracker for a while and #4871 will need to be reverted if keyboard support is ever to be added to DropDownMenu.

#4871 will need to be reverted if keyboard support is ever to be added to DropDownMenu

I just merged our two branches and that seems to not be the case.

For sake of parity, I can support this change set over #4871.

@petermikitsh @caesay
Don't worry too much about the future because there is a semi-rewrite coming up in the next few months. The semi-rewrite is being done with not just keyboard accessibility in mind, but I am also testing every single component with a screen reader.

@petermikitsh If you check I've fixed the visual style so that it underlines the textbox as well.
@nathanmarks So does that mean this won't get accepted? should I also open a pull request that adds keyboard support to the DatePicker component or is it the same situation there?

@caesay they'll definitely still be accepted, there is another breaking release coming for master now. I'm just saying don't invest too much time worrying about making things absolutely perfect as this code will not stay in the long term.
Underlying components such as Menu and TextField are being completely rewritten. There are a lot of problems in the current version of MUI that are very difficult to fix incrementally. In next, the keyboard accessibility features are built into Menu itself.
In addition to fixing keyboard accessibility for menus, I've also added in a critical UX feature that we are currently missing: opening menus to the currently selected item.

@nathanmarks is the breaking change part of the next branch? I'm looking to implement keyboard navigation in this component and would much prefer that this go in and then get overridden when next is ready for prime time. Who needs to review this so that it can be merged into master?

I decided to go ahead and review it myself, and found a number of problems with my controlled component, evidenced by this GIF:

The dropdown arrow has changed color from light gray to black.
When activating the dropdown, onChange seems to be fired, because my error validation immediately kicks in.
Tabbing away clears the field. I'm pretty sure the field should never be cleared.

@petermikitsh  you closed PR#4871 in favor of this. But there is useful feature at that PR - onClose prop for DropDown component. It would be prefect to save it.

Did this ever make it into a release?

I'd like to know if this is going to be released as well. The ability to tab to a select field when filling out a form is a necessity for my project. If this will not be released I'll take a stab at implementing it myself and will submit a PR.
Here is a bug for the issue: https://github.com/callemall/material-ui/issues/5498

My project also would benefit greatly form this PR.

I have opened #5921 to bring this PR into master. Any feedback is welcomed 🙏 .


python3Packages.pymanopt: 2.2.0 -> master, unbroken

Description of changes
Updated to the latest master and unmarked as broken, as it now works with the current scipy.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 336807 run on x86_64-linux 1

4 packages built:

python311Packages.pymanopt
python311Packages.pymanopt.dist
python312Packages.pymanopt
python312Packages.pymanopt.dist


Add description to Viewport

This pull request adds a missing method description to Viewport in the class docs.

Thanks!


Remove redundant name space for static func call

Overview
Not sure if we have policy for gyb file, but I think that it would be less code to remove redundant name space for static func call in Swift.
Reference
https://github.com/apple/swift/pull/26982

I deliberately added these kinds of types for two reasons (which is not to say that the decision cannot be revised):

At some places, it sped up compile time (see https://github.com/apple/swift/commit/478518fcf718a4f6bb2a8db96573e7952f34febc)
Because we don't have go to definition in gyb-files, there's no easy way to know to which types .something definitions point. I personally think, these additional types make the code easier to follow (at least in some cases)

It makes sense to speed up compile time rather than amount of code, thanks for following up!


build: Update to released go-mods

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

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-go/blob/master/.github/Contributing.md.
What is the current behavior?
Using pre-release go-mods
Issue Number: n/a
What is the new behavior?
Using released go-mods
Does this PR introduce a breaking change?

[ ] Yes
[x] No

New Imports

[ ] Yes
[x] No

Specific Instructions
Are there any specific instructions or things that should be known prior to reviewing?
Other information

Codecov Report

Merging #3600 (a17bc5a) into master (b5de84c) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #3600   +/-   ##
=======================================
  Coverage   47.13%   47.13%
=======================================
  Files         111      111
  Lines        8142     8142
=======================================
  Hits         3838     3838
  Misses       3937     3937
  Partials      367      367

Continue to review full report at Codecov.

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


Add schema makefile

What this PR does / why we need it
This PR adds a JSON schema-related makefile, which provides commands to work with values.schema.json and values.yaml.
Originally this change was introduced in this PR, which I closed because I mistakenly thought that the changes were already merged.
I've also taken the liberty to add an explanation/instruction on how to work with the schema-related files in the readme.
Checklist

[x] Update changelog in CHANGELOG.md.

are these changes managed through our github automation?

The makefiles and the workflow files are. The readme part is not.


Implement Hadron worker CR watch loop

Implement the K8s CR watch loops for the various CRs. For each CR, it will be as simple as:
let clusters: Api<models::HadronCluster> = Api::all(self.client.clone());
let cluster_changes = watcher(clusters, ListParams::default());

Each change will then be handled by a specific function per CR type. Changes will cause updates to the metadata cache in the app, and will trigger spawning of controllers for Stream partitions, Pipeline partitions and other such objects.
Communication channels for spawned objects should then be passed along to the network controller to facilitate networking.

Donel.


core: Introduce ThreadPoolBuilder::use_current_thread.

This generalizes the approach used by targets that don't support threading like
wasm, allowing the builder thread to be part of a new thread-pool.
This PR:

Builds on top of the PoC implementation from that issue.
Renames the API as per the comments there.
Adds a way to clean up the WorkerThread storage once the pool is dropped.
Documents and tests the APIs.

Feedback welcome. clean_up_use_current_thread is not a great name, but I
think it's descriptive, and maybe good enough given it's a rather niche API for
non-global pools?

r? @cuviper

Fixed the formatting of the tests, whoops.

@cuviper review ping? Modulo the naming issue discussed above (happy to tweak as needed) I think this should be in decent shape?

Also ideas to be able to test the error (deadlocking) case of calling clean_up_use_current_thread from the inner job would be great, but probably not a blocker.

Hi, sorry -- I'm going to be unavailable the rest of this week, but I'll try to get to this early next week.

No worries, I was just making sure this didn't fall through the cracks, thanks! (And enjoy your time off if that's the reason for your availability :)).

Gentle ping?

The PR / Format failure doesn't seem related (temporary github actions hiccup?)

OK, I think we're good to go -- thanks for your persistence! :)
bors r+

OK, I think we're good to go -- thanks for your persistence! :)

Thank you!


[desktop-lite] Suggested usage of appPort instead of forwardPorts for devcontainer-cli

Update to the desktop-lite usage documentation:
The devcontainer-cli does not yet support the usage of forwardPorts, as indicated https://github.com/devcontainers/cli/issues/186. Conveniently, we can still use appPort in a similar manner.
This PR simply adds a line of documentation to NOTES.md to make users aware of this difference.

PR requested from this issue: https://github.com/devcontainers/features/pull/1086


Add a code style formater for contributing.

configurable with a gradle task
instruction in the contribution file
suggested code style attached
when done, reformat all the code and push

_idea-codestyle.xml.zip

This reminds me to add contribution section in the website too! Let me add it later after this issue is resolved :)

@glung I don't know if we can use intelliJ native code formatter from gradle task or not, but I found this nice tool called spotless (https://github.com/diffplug/spotless/tree/master/plugin-gradle) that can be used for formatting code based on defined style from gradle task!
Please check it out and if you think it's good I'll try to create a PR!

Hum, it seems quite a bit of configurations and adds another dependency.
In the SoundCloud listeners app setup we use the following setup. Let me know what you think about it.

commit: .idea-codestyle.xml
add the following gradle task

task setupCodeStyle << {
    def template = file(".idea-codestyle.xml")
    def ideaPrefDirs = file(System.env['HOME'] + '/Library/Preferences/').listFiles().findAll {
        it.path.contains("AndroidStudio") ||
                it.path.contains("IdeaIC") ||
                it.path.contains("IntelliJIdea")
    }
    println("Installing code style template to:")
    ideaPrefDirs.forEach { println("-> $it.name") }
    ideaPrefDirs.collect {
        file("$it.absolutePath/codestyles").with { it.mkdir(); it }
    }.forEach {
        ln(template, it)
    }
}

def ln(File dest, File source) {
    exec { commandLine "ln", "-sf", dest.absolutePath, "$source.absolutePath/LightCycle.xml" }
}

add the following in CONTRIBUTING.xml

./gradlew setupCodeStyle
Run ./gradlew setupCodeStyle; this will install our code formatter to all your IntelliJs
From within Android Studio, go to File → Other Settings → Default Settings → Editor → Code Style.
From the Scheme drop-down menu, select LightCycle

Yes, too bad this will use different configuration with the native intelliJ one and will add more dependencies.
And I think I misunderstand this statement

configurable with a gradle task

I thought you want the gradle task to fix the wrong code style too!
If not, I think using the native IntelliJ code formatter with the code style you made is enough.
For the gradle task, I think it will only work in Mac environment. To make this work with Linux (unsure with Windows!) I think we will need to add  ~/.<PRODUCT><VERSION> (reference) so the task will looks like this
import org.gradle.internal.os.OperatingSystem;

task setupCodeStyle << {
  def template = file(".idea-codestyle.xml")
  def currentOS = OperatingSystem.current()
  def ideaPrefDirs
  if (currentOS.isMacOsX()) {
    ideaPrefDirs = file(System.env['HOME'] + '/Library/Preferences/').listFiles()
  } else if (currentOS.isLinux() || currentOS.isUnix()) {
    ideaPrefDirs = file(System.env['HOME']).listFiles()
  } else {
    ideaPrefDirs = new File[0]
  }
  ideaPrefDirs = ideaPrefDirs.findAll {
    it.path.contains("AndroidStudio") ||
            it.path.contains("IdeaIC") ||
            it.path.contains("IntelliJIdea")
  }
  println("Installing code style template to:")
  ideaPrefDirs.forEach { println("-> $it.name") }
  ideaPrefDirs.collect {
    if (currentOS.isMacOsX()) {
      return file("$it.absolutePath/codestyles").with { it.mkdir(); it }
    } else if (currentOS.isLinux()) {
      return file("$it.absolutePath/config/codestyles").with { it.mkdir(); it }
    } else {
      return it
    }
  }.forEach {
    ln(template, it)
  }
}

This task is compatible with both MacOS and Linux (and other Unix based OS too).
Another way is we can write an .sh script and run it independently, and for Windows platform we can also write .bat script (Might be need some time to learn it first!).
Let me know what do you think about it 😃


OperationalError "Incorrect integer value" on /save_prescreening_updates

When clicking the "return to patient details" link in the /prescreening_results view, I get this error on this URL http://localhost:5000/save_prescreening_updates?patientid=1:
OperationalError: (OperationalError) (1366, "Incorrect integer value: 'None' for column 'householdsize' at row 1") 'UPDATE patient SET householdsize=%s, householdincome=%s WHERE patient.id = %s' (u'None', u'None', 1L)

Let me know if you'd like the full traceback!

This is because there was fake patient data fed to the prescreening results page, so no patient information was being stored in the session (and thus couldn't be used to access the patient's detail page).

Sounds good, thanks for clarifying @bengolder! I'm going to close this since it seems less of a "bug" and more of a result of not populating/working with the database yet.


Create a Python video from the script #control_structures_conditionals.md

Check out this Python script and create a short video explaining how it works:
https://raw.githubusercontent.com/PythonEducationVid/PythonBrokenEnglish/main/scripts/english/control_structures_conditionals.md
Follow the Instructions for Creating and Submitting Videos
You can create a screen recording or animation based on the content of the script. If your animation is designed for children, please add the "for kids" label to your pull request.
You do not need to be extremely efficient in speaking English, In fact, we need more Broken English Programming videos or native Videos(So be free to use broken English or your native language).
If you would like to create your own script's content relative to the topic, feel free to do so. However, please choose your words carefully to avoid any inappropriate language or abuse. We highly recommend you review our Video Creation Guidelines before starting.
Any video, audio or script you create, should have a unique name to avoid any form of conflicts. You can add your name or a unique set of numbers or hash to your video. For instance "introduction_to_python_by_jacob". Make sure your video is visually clear and has good sound quality, so people can easily understand and enjoy it.
How to Submit Your Video
After creating your video, you'll need to submit it via a pull request. Follow this YouTube guide on making a pull request to ensure your submission is correct.
After Submission
Once your video is merged (added to the project), please check our social media platforms to ensure it has been posted. If you notice that your video has not been posted after merging, add a "not posted" label to your open/closed pull request.
Our Social Media Links:

YouTube: https://youtube.com/@pythoneducationalvid?si=kKWDvbzPu1Gajo6o
GitHub: https://github.com/PythonEducationVid
TikTok: https://www.tiktok.com/@python.education?_t=8pqhBAobvLK&_r=1
X (formerly Twitter): https://x.com/PythonVid?t=PMyQBP2dFmr7EoJBcrEg4w&s=09
Telegram: https://t.me/PythonEducationVid

Hello
Asign this to me
I'm working on it already


demo not working

It's just me or the demo is not working anymore?

Yup, got a server crash some time ago, I have to fix this, and will do it tomorrow ;) Thanks for noticing by the way!

It should be working again :D
http://demo.orbitale.io/easy_impress/
Thanks ;)

Hi @Pierstoval , I think the demos are down again :(

Seems to be working right now 😕

I'm still getting an error
Oops! An Error Occurred
The server returned a "400 Bad Request".
Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.

It seems to comme from the AppCache file, I disabled it on the demo repo, can you test again @The-Don-Himself ?

I just have and all seems well, though I'm on mobile. Will check again when back on desktop just incase. Thanks.

I'm gonna enable mobile support, because it's disabled in Impress by default IIRC :)

@The-Don-Himself The new version is online, can you check again? Sorry for making you test so many often 😆

@Pierstoval sorry for the delay in getting back... different time zones :) On the brighter side it does give you a wider base to test with, which I have and I can confirm the demo works on both desktop and mobile... and it's snappy too :+1:
Thanks!

Awesome! 👍 Thanks for submitting the issue 🥇


Documentation python example tweaks

Type of change
Please delete options that are not relevant.

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

Checklist:

[ ] Pull request title reflects its content
[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Description:
I've been working a bit through the documentation and these are some tweaks I would propose. Nice job overall, I'm especially happy that pip install opendaq just worked(tm) :) .

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

This one is the absolute winner:
-import openDAQ(TM)
+import openDAQ

🤣


Modtools will not download on current version CS. 1.13.1

Seemingly no matter what method I try. I can get Modtools to show up on the content manager. CS adds it to the "steam workshop" page. But not to the mod page for me to toggle enable it.

follow up. So I managed to fix my issue with a full re download of the game. Now every time I enable ModToosls, i get an instant crash.
output_log.txt

Try this version: https://steamcommunity.com/sharedfiles/filedetails/?id=2434651215


isExpanded doesn't seem to be working

I'm using 1.3.5 on Angular 2.1.0.
{id: 55, name: "Recipes (…)", children: Array[2], expanded: true}

Neither setting isExpanded nor explicitly setting isExpandedField to something else ("expanded" as shown above) seems to have any effect on the display.

I have the same problem. Have tried both expanded: true and isExpanded: true.

I have the same problem. There is a workaround though. The expanded Node Ids are saved in the tree model and if you update that object after you updated your data it will expand the tree.
You need to access the treeModel and its property "expandedNodeIds", this is an Object that uses the IDs of the nodes as the key and the value represents the state of the node (true: expanded, false: not expanded). Be carefull though this does not takae into effect parents and if you expand a node that doesn't have children you will get a permanent "loading" message. This is obviously a bit more work.

Hi,
are you talking about children that are being loaded asynchronously? If so it's a known problem that I intend to solve soon.

Not in my case.

Can you send code example / the nodes + options you are passing in?
I just want to state that 'isExpanded' only works if it's on the nodes initially when you pass them to the tree.
The Tree does not listen to changes in the data, so if you want to expand the nodes at some point you should use the API to locate the node (by id, path or something else) - and then call the expand() method.

@adamkleingit I was thinking about opening an issue on this as well, but than I saw your previous comment: Will it be possible to add isExpanded flag to children that are loaded asynchronously ? And another question would be: can I access the tree model directly to actually preserve the state of the tree when switching between routes/tabbed content ? I plan to add isExpanded = true directly to the model AFTER the user expands that leaf, and keep the tree model in a service, so next time the tree is recreated, it should be the same as before

Hi,

version 2.4.0 fixes isExpanded on async children. Notice that this version has some breaking changes.

I'm trying to avoid changing the data that the user supplies, so I hold the expanded nodes IDs / selected node IDs in a separate list.
That's why I don't like the isExpanded feature so much, as it creates some duplication and confusion.

I intend to add 'getState()' and 'setState()' methods to the tree so you can save / restore them whenever you like.
Until then - you can hack it by getting and setting expandedNodeIds, activeNodeIds and focusedNodeId, then calling treeModel._calculateExpandedNodes();
But notice that this is not a public API and might change in future versions.

@adamkleingit Thanks for the suggestion but the getState alternative (with _calculateExpandedNodes()) does not seem to work. I think this is because the nodes are loaded asynchronously and it doesnt know which are these expandedNodesIds because they do not exist yet. Am I right? Here is a screenshot: http://prntscr.com/deirog. What I did is when the component which has the tree is destroyed (ngOnDestroy) I am saving the state, and than when the tree is initialized again (onInitialized) I am doing what you told me to do (setting the nodes and calling calculateExpandedNodes). Do you know how can I make this work properly ?


KC-1854: [CVE-2021-35516] Upgrade commons-compress

Release notes: https://commons.apache.org/proper/commons-compress/changes-report.html#a1.21

Hey @jolshan,
thank you for your Pull Request.
It looks like you haven't signed our Contributor License Agreement, yet.

The purpose of a CLA is to ensure that the guardian of a project's outputs has the necessary ownership or grants of rights over all contributions to allow them to distribute under the chosen licence.
Wikipedia

You can read and sign our full Contributor License Agreement here.
Once you've signed reply with [clabot:check] to prove it.
Appreciation of efforts,
clabot

I don't have permissions to pint merge so opening this up for master too.

maybe you can check with @tool-engg for permissions


WorkQueue outage on Jan/24 at 10am CERN time (up to 2h)

Impact of the new feature
WorkQueue
Is your feature request related to a problem? Please describe.
Imran passed along a message from CERN IT which says that a problem has been identified with a VO box 0841 and that an intervention of up to 2h need to be performed to fix the problem.
"""
This intervention will take place on 24-01-2024. Your server will not be available for up to 2 hours, starting at 10:00.
"""
Describe the solution you'd like
In addition to be prepared for this intervention with the following 3 actions:
a) disable alarms for this node (HTTP team)
b) announce the downtime of global workqueue (WMCore or HTTP team)
c) stop CouchDB 10-5min before the intervention starts, to avoid corrupting data (WMCore or HTTP team)
we could look into taking this opportunity to rotate the 2 databases hosted in this node, which have the following file numbers at the moment:

workqueue_inbox: doc_del_count	206469, doc_count	5362
workqueue: doc_del_count	907632, doc_count	59719

But we need to first exercise database replication/replacement in this "new" CouchDB version.
Describe alternatives you've considered
Skip database rotation and only have the CERN intervention performed
Additional context
None

This intervention is over for many hours now and workqueue/couchdb is back operational.
Unfortunately, we could not take advantage of this outage to rotate the workqueue databases, mainly for 2 reasons:
a) the outage took longer than expected, as the VM was in an error state;
b) we didn't complete the database rotation procedure in time. There were issues that we didn't manage to resolve, even in contact with CouchDB experts.
In any case, I provided up-to-date documentation for the workqueue and workqueue_inbox database rotation in:
https://gitlab.cern.ch/dmwm/wmcore-docs/-/commit/83eeb31ed74b362569dc49f581be7f0da8e66728
I also tested that procedure in testbed.
We will have other opportunities to rotate these databases. I consider this ticket ready to be closed out, but please reopen it and let me know if there is anything missing.

Just to update it here. This week we completed the workqueue and workqueue_inbox rotation in production as well.
I updated further notes in this MR: https://gitlab.cern.ch/dmwm/wmcore-docs/-/merge_requests/8


fix(module:list): re-enter the Angular zone when the NgZone.onStable emits

The NgZone.onStable always emits outside of the Angular zone, but the zone has not been
re-entered. This leads to change detection being called outside of the Angular zone.

LGTM


Data Forwarding miscategorized as Data Archiving

Describe the bug:
@harrinder pointed out in the #dochub Slack channel that page is wrongly categorized as Data Archiving, it is actually Data Forwarding. If some review the update history of this page, it can be found that this page was part of Data Forwarding. Couple of months back someone moved it to Data Archiving. https://help.sumologic.com/docs/manage/data-archiving/installed-collectors/

The article may have originally been moved and renamed by PR #2294

@stacykor, I'll take this ticket, since data forwarding is my area.

@JV0812, I'll take this ticket because I'm responsible for Data Forwarding documentation.


Error with pin-project-lite:0.1.9

Seeing the following error after running pin-project-lite released version 0.1.9.
error[E0453]: allow(explicit_outlives_requirements) overruled by outer forbid(rust_2018_idioms)
  --> /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/async-sse-4.0.0/src/encoder.rs:9:1
   |
9  | / pin_project_lite::pin_project! {
10 | |     /// An SSE protocol encoder.
11 | |     #[derive(Debug)]
12 | |     pub struct Encoder {
...  |
17 | |     }
18 | | }
   | |_^ overruled by previous forbid
   |
  ::: /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/async-sse-4.0.0/src/lib.rs:34:11
   |
34 |   #![forbid(rust_2018_idioms)]
   |             ---------------- `forbid` level set here
   |
   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0453]: allow(explicit_outlives_requirements) overruled by outer forbid(rust_2018_idioms)
  --> /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/async-sse-4.0.0/src/lines.rs:11:1
   |
11 | / pin_project! {
12 | |     /// A stream of lines in a byte stream.
13 | |     ///
14 | |     /// This stream is created by the [`lines`] method on types that implement [`BufRead`].
...  |
28 | |     }
29 | | }
   | |_^ overruled by previous forbid
   |
  ::: /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/async-sse-4.0.0/src/lib.rs:34:11
   |
34 |   #![forbid(rust_2018_idioms)]
   |             ---------------- `forbid` level set here
   |
   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

hitting the same with pin project 0.1.10

Found it is fixed in 4.0.1, for me running cargo update -p async-sse fixed this :)

closing this as resolved, please reopen if that's inaccurate


deployment methods - pypi or maven

hi ,
would be great if there were pypi installation or maven coordinates so organization behind firewalls and with security controls can use the library.

Thanks for the suggestion. I will look into it to deploy them into pypi and maven later.


Feature Request: Global Filters and more excludes

Would be great if there could be global filters like exclude, not only for tmdb, but based on tmdb.
the tmdb id's are fetched anyway, or not? so could be easily processed with further filtering i guess?
also please add the ability for an "advanced mode".
like setting negative value's; for example to "with_original_language" - which i would like to set to "!hindi" or something like that. the negative value could work for anything else like "with_cast: !Bill Cosby". without you having to add all these "with and without".
or, if you don't want to add that "advanced",
please add "exclude_original_language" at least :)
also missing (deeply): tmdb content_ratings (age restrictions) so i can make a few kids collections easily
(i really want to exclude bollywood :D)
thanks

i can add a tmdb exclude thats easy as for your request about filters what youre asking for isnt going to happen the tmdb_discover endpoint functions the way it functions i dont make how the values work tmdb does.

Would be great if there could be global filters like exclude, not only for tmdb, but based on tmdb.
the tmdb id's are fetched anyway, or not? so could be easily processed with further filtering i guess?

I could try and add some kind of ability to add builders to the filters or something so it'll filter out whatever the builder finds from the collection

also please add the ability for an "advanced mode".
like setting negative value's; for example to "with_original_language" - which i would like to set to "!hindi" or something like that. the negative value could work for anything else like "with_cast: !Bill Cosby". without you having to add all these "with and without".
or, if you don't want to add that "advanced",
please add "exclude_original_language" at least :)

For tmdb_discover this is a limitation of tmdb the only operation they accept is with_original_language you can request from them to add without_original_language to their discover endpoint.
But this has been a problem before and the solution is using the original_language filter which can use the .not modifier

also missing (deeply): tmdb content_ratings (age restrictions) so i can make a few kids collections easily

do you want a filter again i cannot edit discover

most of this is not really anything PMM can control. you can use original_language.not filter and content_rating.not filters to filter content from collections and theres a global ignore_ids for tmdb although it is static. So I'm going to close this as i dont really see anything to implement


error: type 'LAPolicy' has no member 'deviceOwnerAuthenticationWithBiometricsOrCompanion'

Hey there, hope you're having a great day!

I'm trying to configure sudo authentication with my mac mini without touch ID, I'm only trying to use my apple watch
As per this conversation that should be possible
however, I'm getting the following error even after the commit that applied 2 days ago.

<EMAIL_ADDRESS>on  main via 🐦 v5.10 took 8s
[24/11/01] kubernetes ()
❯ sudo make install
swiftc watchid-pam-extension.swift  -DSEQUOIASDK -o pam_watchid_x86_64.so -target x86_64-apple-darwin23.6.0 -emit-library
watchid-pam-extension.swift:85:21: error: type 'LAPolicy' has no member 'deviceOwnerAuthenticationWithBiometricsOrCompanion'
            return .deviceOwnerAuthenticationWithBiometricsOrCompanion
                   ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [all] Error 1

I'm running macOS Sonoma 14.6.1
Computer I'm using is a mac mini M1
Just to add a bit more context, if I turn on my external magic keyboard with touch ID, authentication with my apple watch works using this config

but I'm trying to leave the magic keyboard out, as that is not my main keyboard and I don't want to have it turned on just to have touch ID enabled

<EMAIL_ADDRESS>[24/11/01] kubernetes ()
❯ cat sudo
# sudo: auth account password session
auth       include        sudo_local
auth       sufficient     pam_smartcard.so
auth       required       pam_opendirectory.so
account    required       pam_permit.so
password   required       pam_deny.so
session    required       pam_permit.so

<EMAIL_ADDRESS>[24/11/01] kubernetes ()
❯ cat sudo_local
# sudo_local: local config file which survives system update and is included for sudo
# uncomment following line to enable Touch ID for sudo
auth       optional       /opt/homebrew/lib/pam/pam_reattach.so
auth       sufficient     pam_tid.so

Could you please let me know if I'm missing something?
If you need any other details to troubleshoot, please let me know and I'll be more than happy to provide any relevant info
Again, thanks for taking time out of your day to look at this, appreciate it

Hi again!
Just so I can try to reproduce it, can I get you to run the following commands so I can get your configured Xcode and macOS SDK versions:
xcodebuild -version
xcrun --sdk macosx --show-sdk-path

I don't have Xcode installed, just xcode-select as it brew required it for the Command Line Tools (CLT)
<EMAIL_ADDRESS>[24/11/04] kubernetes ()
❯ xcodebuild -version
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

<EMAIL_ADDRESS>[24/11/04] kubernetes ()
❯ xcrun --sdk macosx --show-sdk-path
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk

<EMAIL_ADDRESS>[24/11/04] kubernetes ()
❯ xcode-select -version
xcode-select version 2409.

Do I need to have xcode installed?

By the way, I upgraded to Sequoia yesterday, so I'm in macOS Sequoia 15.1

Alright, this should (fingers crossed) be fixed now.
The issue lied in Apple structuring their SDKs differently for the CLT and Xcode. Xcode has versioned symlinks to unversioned folders:
% ls -lah /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
total 0
drwxr-xr-x  5 user  staff   160B 10 Sep 22:15 .
drwxr-xr-x  6 user  staff   192B 29 Aug 06:43 ..
drwxr-xr-x  7 user  staff   224B 10 Sep 22:12 MacOSX.sdk
lrwxr-xr-x  1 user  staff    10B 10 Sep 22:12 MacOSX15.0.sdk -> MacOSX.sdk
lrwxr-xr-x  1 user  staff    10B 10 Sep 22:12 MacOSX15.sdk -> MacOSX.sdk

Whereas, the CLT has unversioned symlinks to versioned folders:
% ls -lah /Library/Developer/CommandLineTools/SDKs
total 0
drwxr-xr-x  7 root  wheel   224B 31 Oct 18:21 .
drwxr-xr-x  6 root  wheel   192B 25 Oct 18:03 ..
lrwxr-xr-x  1 root  wheel    14B 31 Oct 18:21 MacOSX.sdk -> MacOSX15.1.sdk
drwxr-xr-x  7 root  wheel   224B  8 Jul 18:09 MacOSX14.5.sdk
lrwxr-xr-x  1 root  wheel    14B 31 Oct 18:20 MacOSX14.sdk -> MacOSX14.5.sdk
drwxr-xr-x  7 root  wheel   224B 11 Oct 10:11 MacOSX15.1.sdk
lrwxr-xr-x  1 root  wheel    14B 31 Oct 18:20 MacOSX15.sdk -> MacOSX15.1.sdk

As of https://github.com/Logicer16/pam-watchid/commit/f97da3f7c9ba4bae925561e4baf3dd88c9e47447, the makefile now checks for both.
Seen as you've updated though, you probably won't be experiencing this issue anymore regardless.

You're a genius, my magic keyboard is off now, and I get the authentication notications on my apple watch when using my mac mini

In case anyone else is wondering, here's what my files look like
<EMAIL_ADDRESS>took 3s
[24/11/05] kubernetes ()
❯ cat sudo
# sudo: auth account password session
auth       include        sudo_local
auth       sufficient     pam_smartcard.so
auth       required       pam_opendirectory.so
account    required       pam_permit.so
password   required       pam_deny.so
session    required       pam_permit.so

<EMAIL_ADDRESS>[24/11/05] kubernetes ()
❯ cat sudo_local
# sudo_local: local config file which survives system update and is included for sudo
# uncomment following line to enable Touch ID for sudo
auth       optional       /opt/homebrew/lib/pam/pam_reattach.so
auth       sufficient     pam_watchid.so
auth       sufficient     pam_tid.so

I really appreciate all your help and time troubleshooting this!

I created a video on how to set all of this up in case someone is interested

Link to my video with the entire setup process here
If you don't like videos, link to my blogpost here


Wildcard Cert

User Story
As a SIMS team member with the number of environments (dev, test, staging, qa, prod) and EDW Extra routes the use of a wildcard certificate will streamline deployment and annual requests.
Acceptance Criteria

[ ] Generate CSR and Certificate using emailed CNF file
[ ] Securely store certificate and private key
[ ] Make available the certificate and private key to dev team for deployment

After investigating UCC cert, will proceed with wildcard request.


[yara 4.5.0] Fix broken Linux builds

This pull request backports a fix for build issues on Linux that were introduced in yara 4.5.0. Further details:
https://github.com/VirusTotal/yara/pull/2048
https://github.com/VirusTotal/yara/issues/2050
Since builds are broken on multiple mainstream Linux distributions right now and there hasn't been a new release since this issue was fixed, I think it may be a good idea to backport the fix and apply it as a patch in vcpkg.

[x] Changes comply with the maintainer guide.
[x] SHA512s are updated for each updated download.
[x] The "supports" clause reflects platforms that may be fixed by this new version.
[x] Any fixed CI baseline entries are removed from that file.
[x] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

Looks like yara just released version 4.5.1. This can therefore be closed.


"python.envFile": cannot be set to empty string

Type: Bug

Behaviour
Setting "python.envFile": "" to disable env file leads to an error.
[ERROR 2022-10-8 11:18:1.64]: Unable to read `python.envFile` setting for resource undefined

 This may also cause additional errors like the following, but I think it's caused by the wrong parsing of the empty string
[ERROR 2022-10-8 10:50:29.348]: Error discovering pytest tests:
 [TypeError: Cannot read properties of undefined (reading 'join')
	at m.getEnvFile (c:\Users\csl\.vscode\extensions\ms-python.python-2022.18.1\out\client\extension.js:2:324061)
	at m.getCustomEnvironmentVariables (c:\Users\csl\.vscode\extensions\ms-python.python-2022.18.1\out\client\extension.js:2:323390)
	at m._getEnvironmentVariables (c:\Users\csl\.vscode\extensions\ms-python.python-2022.18.1\out\client\extension.js:2:322793)
	at m.getEnvironmentVariables (c:\Users\csl\.vscode\extensions\ms-python.python-2022.18.1\out\client\extension.js:2:322034)
	at l.create (c:\Users\csl\.vscode\extensions\ms-python.python-2022.18.1\out\client\extension.js:2:231016)
	at S.create (c:\Users\csl\.vscode\extensions\ms-python.python-2022.18.1\out\client\extension.js:2:235661)
	at S.createActivatedEnvironment (c:\Users\csl\.vscode\extensions\ms-python.python-2022.18.1\out\client\extension.js:2:236231)
	at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
	at async a.runTestDiscovery (c:\Users\csl\.vscode\extensions\ms-python.python-2022.18.1\out\client\extension.js:2:752340)
	at async Promise.all (index 0)
	at async E.refreshTestData (c:\Users\csl\.vscode\extensions\ms-python.python-2022.18.1\out\client\extension.js:2:782198)
	at async C.refreshTestDataInternal (c:\Users\csl\.vscode\extensions\ms-python.python-2022.18.1\out\client\extension.js:2:769229)
	at async c:\Users\csl\.vscode\extensions\ms-python.python-2022.18.1\out\client\extension.js:2:770055
	at async Promise.all (index 0)
	at async C.refreshTestDataInternal (c:\Users\csl\.vscode\extensions\ms-python.python-2022.18.1\out\client\extension.js:2:769962)
	at async s.$refreshTests (c:\Users\csl\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:94:166907)]

Setting it instead to a non existing file, or even " " (space) works as expected.
This bug seems caused by the version 2022.18.x of the extension, the previous version worked fine
Expected vs. Actual
No error to be produced and the behaviour to be as if the env file does not exists
Steps to reproduce:

add "python.envFile": "", to the settings
open a python file
view the python output log

Diagnostic data

Python version (& distribution if applicable, e.g. Anaconda): 3.10.6
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Conda
Value of the python.languageServer setting: Pylance

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

[ERROR 2022-10-8 11:18:1.64]: Unable to read `python.envFile` setting for resource undefined
[ERROR 2022-10-8 11:18:1.64]: Unable to read `python.envFile` setting for resource {"$mid":1,"external":"file:///c%3A/Users/csl/dev/python-test","path":"/c:/Users/csl/dev/python-test","scheme":"file"}
[ERROR 2022-10-8 11:18:1.77]: Unable to read `python.envFile` setting for resource {"$mid":1,"external":"file:///c%3A/Users/csl/dev/python-test","path":"/c:/Users/csl/dev/python-test","scheme":"file"}
[ERROR 2022-10-8 11:18:1.79]: Unable to read `python.envFile` setting for resource {"$mid":1,"external":"file:///c%3A/Users/csl/dev/python-test","path":"/c:/Users/csl/dev/python-test","scheme":"file"}
[ERROR 2022-10-8 11:18:1.82]: Unable to read `python.envFile` setting for resource {"$mid":1,"external":"file:///c%3A/Users/csl/dev/python-test","path":"/c:/Users/csl/dev/python-test","scheme":"file"}

User Settings

envFile: ""

languageServer: "Pylance"

linting
• flake8Enabled: true

formatting
• provider: "black"

testing
• autoTestDiscoverOnSaveEnabled: false

Extension version: 2022.18.1
VS Code version: Code 1.73.0 (8fa188b2b301d36553cbc9ce1b0a146ccb93351f, 2022-11-01T15:34:06.111Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: No

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes516:30244333
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
azure-dev_surveyone:30548225
pyindex848cf:30577861
nodejswelcome1:30587005
fc301958:30595537
282f8724:30602487
gswce2:30605431
3d0df643:30604793
dbltrim-noruby:30604474

Thanks for the bug report! We investigate issues in order based on priority and severity, which includes the impact it has on your ability to use the extension to do productive work, and the number of people affected. If other users come forward and leave a comment demonstrating they are seeing/reproducing the problem then we will raise this issue's priority. Thanks for understanding and the patience!

Same error here, it seems to be a recent regression.

Thanks for the bug report! We just wanted to quickly acknowledge we received it and we will triage this as soon as we can.

Fix should be out in the pre-release version of the extension in a day, use the following to try it out:

thanks for the quick resolution!


sync_timeout

I am fairly new to Makefiles and the like, so this may be a stupid question, but how do I set the value of sync_timeout in src/systems/manager.cc when making without having to hardcode a new value for it?  ps-lite is being built as a dep in my build for wormhole, and I'm wondering what the most straightforward way to set the value of sync_timeout would be from a command line make call?

It's set via gflags, i.e appending a --sync_timeout=600 in command line.


opensc: 0.17.0 -> 0.18.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/opensc/versions.
These checks were done:

built on NixOS
/nix/store/4dhwvyjqklvgf9a1mgdw1grkg8vlswv5-opensc-0.18.0/bin/opensc-tool passed the binary check.
Warning: no invocation of /nix/store/4dhwvyjqklvgf9a1mgdw1grkg8vlswv5-opensc-0.18.0/bin/opensc-explorer had a zero exit code or showed the expected version
/nix/store/4dhwvyjqklvgf9a1mgdw1grkg8vlswv5-opensc-0.18.0/bin/opensc-notify passed the binary check.
Warning: no invocation of /nix/store/4dhwvyjqklvgf9a1mgdw1grkg8vlswv5-opensc-0.18.0/bin/pkcs15-tool had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/4dhwvyjqklvgf9a1mgdw1grkg8vlswv5-opensc-0.18.0/bin/pkcs15-crypt had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/4dhwvyjqklvgf9a1mgdw1grkg8vlswv5-opensc-0.18.0/bin/pkcs11-tool had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/4dhwvyjqklvgf9a1mgdw1grkg8vlswv5-opensc-0.18.0/bin/cardos-tool had a zero exit code or showed the expected version
/nix/store/4dhwvyjqklvgf9a1mgdw1grkg8vlswv5-opensc-0.18.0/bin/eidenv passed the binary check.
/nix/store/4dhwvyjqklvgf9a1mgdw1grkg8vlswv5-opensc-0.18.0/bin/openpgp-tool passed the binary check.
Warning: no invocation of /nix/store/4dhwvyjqklvgf9a1mgdw1grkg8vlswv5-opensc-0.18.0/bin/iasecc-tool had a zero exit code or showed the expected version
/nix/store/4dhwvyjqklvgf9a1mgdw1grkg8vlswv5-opensc-0.18.0/bin/egk-tool passed the binary check.
/nix/store/4dhwvyjqklvgf9a1mgdw1grkg8vlswv5-opensc-0.18.0/bin/opensc-asn1 passed the binary check.
Warning: no invocation of /nix/store/4dhwvyjqklvgf9a1mgdw1grkg8vlswv5-opensc-0.18.0/bin/cryptoflex-tool had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/4dhwvyjqklvgf9a1mgdw1grkg8vlswv5-opensc-0.18.0/bin/pkcs15-init had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/4dhwvyjqklvgf9a1mgdw1grkg8vlswv5-opensc-0.18.0/bin/netkey-tool had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/4dhwvyjqklvgf9a1mgdw1grkg8vlswv5-opensc-0.18.0/bin/piv-tool had a zero exit code or showed the expected version
/nix/store/4dhwvyjqklvgf9a1mgdw1grkg8vlswv5-opensc-0.18.0/bin/westcos-tool passed the binary check.
/nix/store/4dhwvyjqklvgf9a1mgdw1grkg8vlswv5-opensc-0.18.0/bin/sc-hsm-tool passed the binary check.
Warning: no invocation of /nix/store/4dhwvyjqklvgf9a1mgdw1grkg8vlswv5-opensc-0.18.0/bin/dnie-tool had a zero exit code or showed the expected version
/nix/store/4dhwvyjqklvgf9a1mgdw1grkg8vlswv5-opensc-0.18.0/bin/gids-tool passed the binary check.
Warning: no invocation of /nix/store/4dhwvyjqklvgf9a1mgdw1grkg8vlswv5-opensc-0.18.0/bin/npa-tool had a zero exit code or showed the expected version
9 of 21 passed binary check by having a zero exit code.
3 of 21 passed binary check by having the new version present in output.
found 0.18.0 with grep in /nix/store/4dhwvyjqklvgf9a1mgdw1grkg8vlswv5-opensc-0.18.0
directory tree listing: https://gist.github.com/1276953ac55af68ec597ce6744192684
du listing: https://gist.github.com/b02c245b9a13433013450fc258e41a01

meta.description for opensc is: '"Set of libraries and utilities to access smart cards"'.
cc @viric @wkennington for testing.

Success on x86_64-linux (full log)
Attempted: opensc
Partial log (click to expand)
shrinking /nix/store/4dhwvyjqklvgf9a1mgdw1grkg8vlswv5-opensc-0.18.0/lib/opensc-pkcs11.so
shrinking /nix/store/4dhwvyjqklvgf9a1mgdw1grkg8vlswv5-opensc-0.18.0/lib/pkcs11-spy.so
shrinking /nix/store/4dhwvyjqklvgf9a1mgdw1grkg8vlswv5-opensc-0.18.0/lib/onepin-opensc-pkcs11.so
shrinking /nix/store/4dhwvyjqklvgf9a1mgdw1grkg8vlswv5-opensc-0.18.0/lib/libopensc.so.6.0.0
shrinking /nix/store/4dhwvyjqklvgf9a1mgdw1grkg8vlswv5-opensc-0.18.0/lib/libsmm-local.so.6.0.0
gzipping man pages under /nix/store/4dhwvyjqklvgf9a1mgdw1grkg8vlswv5-opensc-0.18.0/share/man/
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/4dhwvyjqklvgf9a1mgdw1grkg8vlswv5-opensc-0.18.0/lib  /nix/store/4dhwvyjqklvgf9a1mgdw1grkg8vlswv5-opensc-0.18.0/bin
patching script interpreter paths in /nix/store/4dhwvyjqklvgf9a1mgdw1grkg8vlswv5-opensc-0.18.0
checking for references to /build in /nix/store/4dhwvyjqklvgf9a1mgdw1grkg8vlswv5-opensc-0.18.0...

Success on x86_64-darwin (full log)
Attempted: opensc
Partial log (click to expand)
/nix/store/3abj7585khnfyi1h85prb7cixlbfalm0-opensc-0.18.0/lib/libopensc.6.dylib: fixing dylib
/nix/store/3abj7585khnfyi1h85prb7cixlbfalm0-opensc-0.18.0/lib/libopensc.6.dylib: fixing dylib
/nix/store/3abj7585khnfyi1h85prb7cixlbfalm0-opensc-0.18.0/lib/libopensc.6.dylib: fixing dylib
/nix/store/3abj7585khnfyi1h85prb7cixlbfalm0-opensc-0.18.0/lib/libopensc.6.dylib: fixing dylib
/nix/store/3abj7585khnfyi1h85prb7cixlbfalm0-opensc-0.18.0/lib/libopensc.6.dylib: fixing dylib
/nix/store/3abj7585khnfyi1h85prb7cixlbfalm0-opensc-0.18.0/lib/libopensc.6.dylib: fixing dylib
/nix/store/3abj7585khnfyi1h85prb7cixlbfalm0-opensc-0.18.0/lib/libopensc.6.dylib: fixing dylib
/nix/store/3abj7585khnfyi1h85prb7cixlbfalm0-opensc-0.18.0/lib/libopensc.6.dylib: fixing dylib
/nix/store/3abj7585khnfyi1h85prb7cixlbfalm0-opensc-0.18.0/lib/libopensc.6.dylib: fixing dylib
/nix/store/3abj7585khnfyi1h85prb7cixlbfalm0-opensc-0.18.0

Success on aarch64-linux (full log)
Attempted: opensc
Partial log (click to expand)
shrinking /nix/store/azb92pdyrmn8zhwpawq74i6f9iw1782q-opensc-0.18.0/lib/onepin-opensc-pkcs11.so
shrinking /nix/store/azb92pdyrmn8zhwpawq74i6f9iw1782q-opensc-0.18.0/lib/pkcs11-spy.so
shrinking /nix/store/azb92pdyrmn8zhwpawq74i6f9iw1782q-opensc-0.18.0/lib/opensc-pkcs11.so
shrinking /nix/store/azb92pdyrmn8zhwpawq74i6f9iw1782q-opensc-0.18.0/lib/libopensc.so.6.0.0
gzipping man pages under /nix/store/azb92pdyrmn8zhwpawq74i6f9iw1782q-opensc-0.18.0/share/man/
strip is /nix/store/jk6j4lh9v5mvjdbdc35sj0zffhhf6s56-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/azb92pdyrmn8zhwpawq74i6f9iw1782q-opensc-0.18.0/lib  /nix/store/azb92pdyrmn8zhwpawq74i6f9iw1782q-opensc-0.18.0/bin
patching script interpreter paths in /nix/store/azb92pdyrmn8zhwpawq74i6f9iw1782q-opensc-0.18.0
checking for references to /build in /nix/store/azb92pdyrmn8zhwpawq74i6f9iw1782q-opensc-0.18.0...
/nix/store/azb92pdyrmn8zhwpawq74i6f9iw1782q-opensc-0.18.0


Callout hit box to minize is to large, can't copy code

Describe the bug
When creating a callout for example:
[!DANGER]+
the hit box for closing the callout is over the whole box which makes copying (by marking) nearly impossible and also creates problems with code blocks, when trying to copy the code. When pressing the "copy" button the callout is closed

To Reproduce
Steps to reproduce the behavior:
Create callout (additionally with code block):
`> [!DANGER]+ ### Execution

...
command -c "asdasd"
command -c "asdasd"

...
command -c "asdasd"

...`

Expected behavior
Only in the headline the callout should be closable, as in obsidian.

Thanks by the way for this awesome tool, i love it!


Parameter assignment in bilateral model

There is a small issue in bilateral.py: https://github.com/rmnldwg/lymph/blob/dev/lymph/models/bilateral.py
in Line 343 we have:
        remaining_args, remainings_kwargs = self.contra.assign_params(
            *remaining_args, **contra_kwargs, **remainings_kwargs
        )

This does not work properly with the trinary model, where we need to assign "global" parameters like growth. A fix would be to replace **remaining_kwargs with general_kwargs.
As follows:
        remaining_args, remainings_kwargs = self.contra.assign_params(
            *remaining_args, **contra_kwargs, **general_kwargs
        )

by doing so, the general kwargs like universal growth, microscopic spread and I also guess the time distribution prior is passed to both ipsi and contralateral model.

I found a second bug in the bilateral code in the comp_posterior_joint_state_dist function.
In line 605 we multiply by the ipsilateral diagnose vector. Which is correct, but the transposition of the matrix does not have the desired effect. To reach the desired effect we need to build a different vector array.
Current state:
        joint_state_dist = self.comp_joint_state_dist(t_stage=t_stage, mode=mode)
        # matrix with P(Zi=zi,Zc=zc|Xi,Xc) * P(Xi,Xc) for all states Xi,Xc.
        joint_diagnose_and_state = (
            diagnose_given_state["ipsi"].T
            * joint_state_dist
            * diagnose_given_state["contra"]
        )

Potential fix:
joint_state_dist = self.comp_joint_state_dist(t_stage='early', mode='HMM')
# matrix with P(Zi=zi,Zc=zc|Xi,Xc) * P(Xi,Xc) for all states Xi,Xc.
joint_diagnose_and_state = (
    diagnose_given_state["ipsi"][:, np.newaxis]
    * joint_state_dist
    * diagnose_given_state["contra"]
)

I moved the comment about the bug in the multiplication of matrices into a new issue (#61).
Regarding the assignment of the parameters in the bilateral model: Right now one would need to use it like so
global_growth = 0.2
bilateral_model.assign_params(
    ipsi_growth=global_growth,
    contra_growth=global_growth,
)

to assign both sides the same growth probabilities. And if bilateral_model.symmetries["lnl_spread"] is True, then it's actually enough to just set the ipsilateral ones, as they will be synced. So, I guess there's technically no need for this, as you could define that in your custom likelihood function.
But do you think there is also the need for, e.g., keyword arguments that get copied and dispatched to both sides? For example any keyword argument starting with "bilateral_" will be sent to both assign_params() methods?

But thinking about it again, I do think it somewhat useless how these general_kwargs are used 😅

But do you think there is also the need for, e.g., keyword arguments that get copied and dispatched to both sides? For example any keyword argument starting with "bilateral_" will be sent to both assign_params() methods?

Imo this would be the most intuitive solution. But of course what you wrote is a good option as well. I was just thinking about using the general_kwargs since they have limited usecases in the moment :)

Or actually, I think you're right: Anything that is NOT prefixed with "ipsi_" or "contra_" should just go to both sides. So, I'll implement your proposed fix.


python3Packages.matrix-nio: add missing dependency (cachetools)

Motivation for this change
This adds a missing propagated build input: https://github.com/poljar/matrix-nio/blob/0.6/setup.py#L39
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @tilpner

https://github.com/NixOS/nixpkgs/pull/74788 should fix the build failure of that dependency (apsw) with python 3.8.


RISCV Vector code problem

Here on line 128 elen might be rewritten as vlen？

i meet the same problem, wait for a reply.

The path of the file is src/arch/riscv/isa/formats/vector_conf.isa

I believe that condition corresponds to this part of the spec,
https://github.com/riscv/riscv-v-spec/blob/master/v-spec.adoc?plain=1#L330
Having said that, I'm puzzled why it was sew > std::min(vflmul, 1.0f) * elen instead of sew > vflmul * elen.

The sew here does not seem to be the smallest and does not match the SEW_{MIN} here in spec


Move backwards to go back in the chain?

Is your feature request related to a problem? Please describe.

Describe the solution you'd like
When you go back to a quadrant (so if you started clockwise you'd go counterclockwise) it goes back in the selection, so if you were at "b" it goes back to "y" etc
I can probably implement it myself if needed

I can understand the frustration. If it's just the characters it would have had made sense, but 8vim has a lot of nifty gestures and rely on the assumptions that the movement sequence will not be changed mid movement.


chore(monitoring): add timeout for await_alive

Stack:

#1992
#1991 ⬅

⚠ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.

This change is

✓ Commit merged in pull request #1992


Connect to Mayo Clinic

[ ] Discuss establishing a PHINMS instance: They believe that our model of sending data is non-standard, and are wondering if we can establish a PHINMS instance or an SFTP location for them to push to instead

[x] Mayo wants to know if ReportStream is covered by the DURSA (https://www.healthit.gov/sites/default/files/factsheets/nationwide-health-information-network-exchange.pdf) and why we have our own TOS. Currently handed this off to Megan Light for confirmation. KEVIN to follow up with Mayo to request signed TOS

Follow up call being scheduled.  Agenda to include request for them to sign the ToS.

I explained to Stephen Julien that they will need to sign the ToS.  It has been sent to him and he is forwarding to their lawyers.


⚠ ClamAV has degraded performance

In 67460e9, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 424 ms

Resolved: ClamAV performance has improved in bde0bd2.


⚠ Map POIs has degraded performance

In 9b7b515, Map POIs (https://api.geonadir.com/api/project_coords/) experienced degraded performance:

HTTP code: 200
Response time: 23266 ms

Resolved: Map POIs performance has improved in 9e65e0b.


feat: copy text docname on click of subtitle

Task Link: https://app.asana.com/0/1194051119161697/1199997172288567/f
GIF:

@nehasacher143 why is this PR raised on production branch?


fatal: Create Zookeeper Config

On a fresh set of systems, I receive the following error when I try to run all.yml.
Running: ansible-playbook -i lab.yml all.yml
Failure:
TASK [confluent.zookeeper : Create Zookeeper Config] *************************************************************************************************************************************
fatal: [<IP_ADDRESS>]: FAILED! => {"changed": false, "checksum": "d5f0980ecc1fa12c695eb6cb2af6ee030cf57262", "msg": "Destination directory /etc/kafka does not exist"}
fatal: [<IP_ADDRESS>]: FAILED! => {"changed": false, "checksum": "d5f0980ecc1fa12c695eb6cb2af6ee030cf57262", "msg": "Destination directory /etc/kafka does not exist"}
fatal: [<IP_ADDRESS>]: FAILED! => {"changed": false, "checksum": "d5f0980ecc1fa12c695eb6cb2af6ee030cf57262", "msg": "Destination directory /etc/kafka does not exist"}

What is supposed to create the /etc/kafka directory?
Workaround: ansible all -i lab.yml -m shell -a "mkdir /etc/kafka"

@prestonmcgowan have reached out over slack for more details.

Seems a previous install was causing things to fubar.
I removed a bit more of the previous install and things succeeded as expected.


Odd scraping glitch (?)

So I had originally used the default scrapper for my ROMs, and it worked fine, but some games like F-Zero weren't showing up and some other PSX and NES titles. I decided to use sselph, but after I rebooted, even more games were missing. I checked and aparently thegamedb was down for maintainence at around the same time, and stayed off into the evening. After it came back on line, I tried using the default scrapper again, but now it has a hard time finding the titles and when it does, it no longer gives an image. Same for sselph. I'm a complete noob at this pi stuff and using the terminal and such (although I'm sure emulationstation was down when I ran sselph). Please help.

My scraper, by default, will overwrite all the metadata you have scraped but won't download an image, video, etc if it already exists. It is possible some nonsense images were downloaded if you were running it from the command line you could delete the images folder in the rom directory or if you used the retropie-setup method you could remove /home/pi/.emulationstation/downloaded_images/<system>