🐛 [firebase_core] Firebase.initializeApp NullPointerException

Bug report
I'm having a strange issue only on one phone right now that I'm able to test only remotely by using TeamViewer and adb.
I'm able to test the device from time to time, but right now I don't know how to fix this issue.
Here is the log:
09-24 10:14:51.553 11416 11465 I flutter : PlatformException(firebase_core, java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.NullPointerException: Attempt to invoke interface method 'long com.google.firebase.auth.a0.M()' on a null object reference, null)
09-24 10:14:51.553 11416 11465 E flutter : [ERROR:flutter/lib/ui/ui_dart_state.cc(166)] Unhandled Exception: PlatformException(firebase_core, java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.NullPointerException: Attempt to invoke interface method 'long com.google.firebase.auth.a0.M()' on a null object reference, null)
09-24 10:14:51.553 11416 11465 E flutter : #0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:572)
09-24 10:14:51.553 11416 11465 E flutter : #1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:161)
09-24 10:14:51.553 11416 11465 E flutter : <asynchronous suspension>
09-24 10:14:51.553 11416 11465 E flutter : #2      MethodChannel.invokeListMethod (package:flutter/src/services/platform_channel.dart:347)
09-24 10:14:51.553 11416 11465 E flutter : <asynchronous suspension>
09-24 10:14:51.553 11416 11465 E flutter : #3      MethodChannelFirebase._initializeCore (package:firebase_core_platform_interface/src/method_channel/method_channel_firebase.dart:30)
09-24 10:14:51.553 11416 11465 E flutter : <asynchronous suspension>
09-24 10:14:51.553 11416 11465 E flutter : #4      MethodChannelFirebase.initializeApp (package:firebase_core_platform_interface/src/method_channel/method_channel_firebase.dart:75)
09-24 10:14:51.553 11416 11465 E flutter : <asynchronous suspension>
09-24 10:14:51.553 11416 11465 E flutter : #5      Firebase.initializeApp (package:firebase_core/src/firebase.dart:43)
09-24 10:14:51.553 11416 11465 E flutter : <asynchronous suspension>
09-24 10:14:51.553 11416 11465 E flutter : #6      main (package:training/main.dart:15)
09-24 10:14:51.553 11416 11465 E flutter : <asynchronous suspension>
09-24 10:14:51.553 11416 11465 E flutter

Steps to reproduce
Here is my main.dart file:
Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();

  try {
    await Firebase.initializeApp(); // error is happening right here

    unawaited(_initializeCrashlytics());

    await initInjections();

    final bool injectAnalytics = isReleaseVersion();

    runZonedGuarded(() {
      runApp(TrainingApp(injectAnalytics: injectAnalytics));
    }, (error, stackTrace) {
      print(error);
      FirebaseCrashlytics.instance.recordError(error, stackTrace);
    });
  } catch (e) {
    print(e);
    rethrow;
  }
}

Future<void> _initializeCrashlytics() async {
  await FirebaseCrashlytics.instance.setCrashlyticsCollectionEnabled(isReleaseVersion());

  final Function originalOnError = FlutterError.onError;
  FlutterError.onError = (FlutterErrorDetails errorDetails) async {
    print(errorDetails);
    await FirebaseCrashlytics.instance.recordFlutterError(errorDetails);
    // Forward to original handler.
    originalOnError(errorDetails);
  };
}

Expected behavior
All other phones (Android/iOS) do not have such problem. Only one right now. But because this problem is connected with Firebase initialization - I'm not able to post this crashes to Crashlytics to have the full set of problem devices.
Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
flutter doctor -v
[✓] Flutter (Channel stable, 1.20.4, on Mac OS X 10.15.6 19G2021, locale en-RU)
    • Flutter version 1.20.4 at /Users/mig35/Documents/tools/flutter
    • Framework revision fba99f6cf9 (9 days ago), 2020-09-14 15:32:52 -0700
    • Engine revision d1bc06f032
    • Dart version 2.9.2

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

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

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

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

[!] Connected device
    ! No devices available

! Doctor found issues in 1 category.

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
flutter pub deps -- --style=compact
Dart SDK 2.9.2
Flutter SDK 1.20.4
training 2.1.2+103

dependencies:
- admob_flutter 1.0.0 [flutter meta]
- apple_sign_in 0.1.0 [flutter]
- audioplayers 0.16.1 [uuid path_provider flutter flutter_web_plugins]
- auto_size_text 2.1.0 [flutter]
- built_value 7.1.0 [built_collection collection fixnum quiver]
- color 2.1.1
- cupertino_icons 1.0.0
- custom_audio_focus 0.0.1 [flutter]
- decimal 0.3.5 [rational]
- firebase_admob 0.10.0-dev.1 [meta platform flutter firebase_core]
- firebase_analytics 6.0.0 [meta flutter firebase_core firebase_analytics_web firebase_analytics_platform_interface]
- firebase_auth 0.18.0+1 [meta firebase_core firebase_core_platform_interface firebase_auth_platform_interface firebase_auth_web flutter]
- firebase_core 0.5.0 [firebase_core_platform_interface flutter quiver meta firebase_core_web]
- firebase_crashlytics 0.2.0 [flutter stack_trace firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface]
- firebase_database 4.0.0 [flutter firebase_core]
- firebase_dynamic_links 0.6.0 [flutter firebase_core]
- firebase_remote_config 0.4.0 [flutter firebase_core]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]
- flutter_localizations 0.0.0 [flutter intl characters collection meta path typed_data vector_math]
- flutter_material_color_picker 1.0.5 [flutter]
- flutter_rating_bar 3.0.1+1 [flutter]
- flutter_redux 0.6.0 [meta redux flutter]
- flutter_rounded_date_picker 0.3.0 [flutter]
- flutter_signin_button 1.1.0 [flutter font_awesome_flutter]
- flutter_simple_dependency_injection 1.0.3
- flutter_svg 0.19.0 [path_drawing xml vector_math meta flutter]
- fluttertoast 7.1.1 [flutter flutter_web_plugins]
- google_sign_in 4.5.4 [google_sign_in_platform_interface flutter meta google_sign_in_web]
- in_app_update 1.1.11 [flutter]
- json_serializable 3.5.0 [analyzer build build_config json_annotation meta path source_gen]
- kt_dart 0.7.0+1
- launch_review 2.0.0 [flutter]
- package_info 0.4.3 [flutter]
- pedantic 1.9.0
- reorderables 0.2.12 [flutter]
- rxdart 0.22.6
- screen 0.0.5 [flutter]
- selectable_autolink_text 1.3.4 [flutter]
- share 0.6.5 [meta mime flutter]
- shared_preferences 0.5.12 [meta flutter shared_preferences_platform_interface shared_preferences_linux shared_preferences_macos shared_preferences_web shared_preferences_windows]
- stream_transform 1.2.0
- touch_indicator 1.0.3 [flutter]
- tuple 1.0.3 [quiver]
- url_launcher 5.7.1 [flutter url_launcher_platform_interface url_launcher_web url_launcher_linux url_launcher_macos url_launcher_windows]
- uuid 2.2.2 [crypto convert]

dev dependencies:
- build_runner 1.10.1 [analyzer args async build build_config build_daemon build_resolvers build_runner_core code_builder collection crypto dart_style glob graphs http_multi_server io js logging meta mime path pedantic pool pub_semver pubspec_parse shelf shelf_web_socket stack_trace stream_transform timing watcher web_socket_channel yaml]
- built_value_generator 7.1.0 [analyzer build build_config built_collection built_value source_gen quiver]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]
- intl_translation 0.17.10+1 [analyzer args dart_style intl path petitparser]

dependency overrides:
- flutter_rounded_date_picker 0.3.0 [flutter]
- reorderables 0.2.12 [flutter]

transitive dependencies:
- _fe_analyzer_shared 6.0.0 [meta]
- analyzer 0.39.14 [_fe_analyzer_shared args charcode cli_util collection convert crypto glob html meta package_config path pub_semver source_span watcher yaml]
- args 1.6.0
- async 2.4.2 [collection]
- boolean_selector 2.0.0 [source_span string_scanner]
- build 1.3.0 [analyzer async convert crypto logging meta path glob]
- build_config 0.4.2 [checked_yaml json_annotation meta path pubspec_parse yaml]
- build_daemon 2.1.4 [built_collection built_value http_multi_server logging pedantic path pool shelf shelf_web_socket stream_transform watcher web_socket_channel]
- build_resolvers 1.3.11 [analyzer build crypto graphs logging path package_config pub_semver]
- build_runner_core 6.0.1 [async build build_config build_resolvers collection convert crypto glob graphs json_annotation logging meta path package_config pedantic pool timing watcher yaml]
- built_collection 4.3.2 [collection quiver]
- characters 1.0.0
- charcode 1.1.3
- checked_yaml 1.0.2 [json_annotation source_span yaml]
- cli_util 0.1.4 [path]
- clock 1.0.1 [meta]
- code_builder 3.4.1 [built_collection built_value collection matcher meta]
- collection 1.14.13
- convert 2.1.1 [charcode typed_data]
- crypto 2.1.5 [collection convert typed_data]
- csslib 0.16.2 [source_span]
- dart_style 1.3.6 [analyzer args path source_span]
- fake_async 1.1.0 [clock collection]
- ffi 0.1.3
- file 5.2.1 [intl meta path]
- firebase 7.3.0 [http http_parser js]
- firebase_analytics_platform_interface 1.0.3 [flutter meta]
- firebase_analytics_web 0.1.1 [flutter flutter_web_plugins firebase firebase_analytics_platform_interface meta]
- firebase_auth_platform_interface 2.0.1 [flutter meta firebase_core plugin_platform_interface]
- firebase_auth_web 0.3.0+1 [flutter flutter_web_plugins firebase meta http_parser intl firebase_core firebase_auth_platform_interface js]
- firebase_core_platform_interface 2.0.0 [flutter meta plugin_platform_interface quiver]
- firebase_core_web 0.2.0 [firebase firebase_core_platform_interface flutter flutter_web_plugins meta js]
- firebase_crashlytics_platform_interface 1.0.0 [flutter meta collection firebase_core plugin_platform_interface]
- fixnum 0.10.11
- flutter_web_plugins 0.0.0 [flutter characters collection meta typed_data vector_math]
- font_awesome_flutter 8.8.1 [flutter]
- glob 1.2.0 [async collection node_io path pedantic string_scanner]
- google_sign_in_platform_interface 1.1.2 [flutter meta quiver]
- google_sign_in_web 0.9.2 [google_sign_in_platform_interface flutter flutter_web_plugins meta js]
- graphs 0.2.0
- html 0.14.0+3 [csslib source_span]
- http 0.12.2 [http_parser path pedantic]
- http_multi_server 2.2.0 [async]
- http_parser 3.1.4 [charcode collection source_span string_scanner typed_data]
- intl 0.16.1 [path]
- io 0.3.4 [charcode meta path string_scanner]
- js 0.6.2
- json_annotation 3.1.0
- logging 0.11.4
- matcher 0.12.8 [stack_trace]
- meta 1.1.8
- mime 0.9.7
- node_interop 1.1.1 [js]
- node_io 1.1.1 [node_interop path]
- package_config 1.9.3 [path charcode]
- path 1.7.0
- path_drawing 0.4.1+1 [vector_math meta path_parsing flutter]
- path_parsing 0.1.4 [vector_math meta]
- path_provider 1.6.18 [flutter path_provider_platform_interface path_provider_macos path_provider_linux path_provider_windows]
- path_provider_linux 0.0.1+2 [path xdg_directories path_provider_platform_interface flutter]
- path_provider_macos 0.0.4+4 [flutter]
- path_provider_platform_interface 1.0.3 [flutter meta platform plugin_platform_interface]
- path_provider_windows 0.0.4+1 [path_provider_platform_interface meta path flutter ffi win32]
- petitparser 3.0.4 [meta]
- platform 2.2.1
- plugin_platform_interface 1.0.2 [meta]
- pool 1.4.0 [async stack_trace]
- process 3.0.13 [file intl meta path platform]
- pub_semver 1.4.4 [collection]
- pubspec_parse 0.1.5 [checked_yaml json_annotation pub_semver yaml]
- quiver 2.1.3 [matcher meta]
- rational 0.3.8
- redux 4.0.0+3
- shared_preferences_linux 0.0.2+2 [file flutter meta path path_provider_linux shared_preferences_platform_interface]
- shared_preferences_macos 0.0.1+10 [shared_preferences_platform_interface flutter]
- shared_preferences_platform_interface 1.0.4 [meta flutter]
- shared_preferences_web 0.1.2+7 [shared_preferences_platform_interface flutter flutter_web_plugins meta]
- shared_preferences_windows 0.0.1+1 [shared_preferences_platform_interface flutter ffi file meta path path_provider_platform_interface path_provider_windows]
- shelf 0.7.9 [async collection http_parser path stack_trace stream_channel]
- shelf_web_socket 0.2.3 [shelf web_socket_channel stream_channel]
- sky_engine 0.0.99
- source_gen 0.9.7+1 [analyzer async build dart_style glob meta path pedantic source_span]
- source_span 1.7.0 [charcode collection meta path term_glyph]
- stack_trace 1.9.5 [path]
- stream_channel 2.0.0 [async]
- string_scanner 1.0.5 [charcode meta source_span]
- term_glyph 1.1.0
- test_api 0.2.17 [async boolean_selector collection meta path source_span stack_trace stream_channel string_scanner term_glyph matcher]
- timing 0.1.1+2 [json_annotation]
- typed_data 1.2.0 [collection]
- url_launcher_linux 0.0.1+1 [flutter]
- url_launcher_macos 0.0.1+8 [flutter]
- url_launcher_platform_interface 1.0.8 [flutter meta plugin_platform_interface]
- url_launcher_web 0.1.4+1 [url_launcher_platform_interface flutter flutter_web_plugins meta]
- url_launcher_windows 0.0.1+1 [flutter]
- vector_math 2.0.8
- watcher 0.9.7+15 [async path pedantic]
- web_socket_channel 1.1.0 [async crypto stream_channel]
- win32 1.7.3 [ffi]
- xdg_directories 0.1.0 [path process flutter]
- xml 4.5.1 [collection convert meta petitparser]
- yaml 2.2.1 [charcode collection string_scanner source_span]

Which device doesn't it work on?

The device with the problem is Samsung A5 (2017) with Android 8.0.
Other devices that I can test and everything works fine (exact the same build): Samsung S9, Xiaomi Mi4C, Xiaomi Mi5C.

@mig35,
Although I don't have the same device, but a closer one I got is Samsung A2 with 8.1.0 and am able to launch app without any issues. I tried below code sample:
import 'package:firebase_auth/firebase_auth.dart';
import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();

  await Firebase.initializeApp();

  debugPrint('main');
  FirebaseAuth.instance.authStateChanges().listen((event) {
    debugPrint('event ${event.toString()}');
  });

  runApp(MaterialApp(
    home: Scaffold(
      appBar: AppBar(
        title: Text('test'),
      ),
    ),
  ));
}

Can you try above code sample and see if it helps ?
Thanks

hey @darshankawar ,
I've used exact the same code except I changed debugPrint to print to be able to see logs in release builds (I'm compiling in the release and push update through the Internal Testers group in Google Play).
The problem is still there and still exact the same.

hey @darshankawar @Ehesp ,
any update here? anything that I can do to prevent app crash?
I'm afraid that this is not just one device issue, because I'm not able to find this issue remotely (because crashlytics is not working). also because I'm using DB from firebase I have to have firebase in my app, so I'm not able just to try/catch and disable all the firebase stuff.
do you guys have anything to help me?

hey here,
I was able to fix this issue by clearing application data... so for now my workaround is:
(context.getSystemService(Context.ACTIVITY_SERVICE) as ActivityManager).clearApplicationUserData()

The bad thing is that this method caused application kill, but the good thing that the second launch is ok now.
And also that means that I'm not able to reproduce this anymore...

I am having the same issue. Some users are reporting that the app is not working anymore. The screenshot they are sharing includes the same stack trace.
@mig35 Can you explain better how you implemented the workaround? Thank you!

hey @mgonzalezc
I've created custom Platform channel and add try catch for the await Firebase.initializeApp();.
And as soon as I catch an exception I'm calling my Platform channel that execute this code (context.getSystemService(Context.ACTIVITY_SERVICE) as ActivityManager).clearApplicationUserData().
After that code application dies and has no user settings at all (like a free install). And user has to open application one more time and enter his login information again.
I do not like this solution and would like to find exact file that cause this problem, but I can not reproduce this issue so I've fixed it with the only solution that I know right now.

Thank you @mig35 for sharing
Yes, I understand. It is also being challenging for my team because none of us can reproduce the issue. In addition, as far as Crashlytics is not initializing, we cannot see any reports there. Did you try to reinstall the app before implementing your solution?

@mgonzalezc that solution totally works because I had a chance to fix this issue by clearing user's data at the only one phone that I was able to test remotely with this issue.
I haven't tried to do reinstall and because the issue is gone now on the test device I'm not able to test it now.

Ok, thank you

If it helps someone else, this is how we solved it:
We added this line
android:allowBackup="false"
under application in the AndroidManifest.
Then, we asked our users with issues to reinstall and it worked for them.

And how have you asked them @mgonzalezc ?
The key problem as for me is that this is an entry point of the application and the only thing we can do is to create a platform channel with an alert (or any other message UI) in the native code and ask them to relaunch (in my solution) or to reinstall (in yours). Otherwise we are not able to target all people that will have this issue - not everyone will write to the support or reinstall, usually users just remove the application especially if it is a new one for them.

You are completely right @mig35 . We asked to those who wrote to support but of course, it is possible that this happens to someone that didn't. For these cases, we ended up adding your solution with a button inside a screen that informs the user that their data needs to be restarted. I.e, we surrounded Firebase.initializeApp in a try/catch and if there is an error, then we show the screen. At this moment, we have not found any other workaround.

We are also getting many reports from Android users about this issue. Is there any other work around for it instead of clearing app data?

thanks guys. any update on this issue besides above workaround?
I am afraid we are facing the same problem.

Hey all,
So i'm facing this exact same issue - and i've manage to find out how to reproduce the error. With me, this error started occurring (along with angry emails and 1 star reviews) when my users started upgrading their app from a 2.x version that was written in Java... to version 3.x which was now a Flutter app. What i found is that the majority of users have upgraded fine, but - and it seems quite random amongst devices - a small number of users are held up at the launch screen. This only happens for users that are upgrading, not installing the app for the first time.
This is the error i get from logcat:
AsyncSnapshot(ConnectionState.done, null, PlatformException(firebase_core, java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.NullPointerException: Attempt to invoke interface method 'long com.google.firebase.auth.a0.b()' on a null object reference, null, null))
I followed the FIrebase app initialisation example here:
https://stackoverflow.com/a/63492262/1056961
I absolutely cannot get past the launch screen. After reading so many comments, docs and issues online - it seems that @mlg35 is correct - but it is a less than ideal solution given the disruption to users. I'm also suspect of Firebase Auth at this point purely based on what i'm seeing within the error above:
Attempt to invoke interface method 'long com.google.firebase.auth.a0.b()' on a null object reference
I have a feeling that when upgrading from a native Java app to a Flutter app - certain things are just not compatible. This could well be the storage and auth... I'm going to keep experimenting and will report back.

@IAmKio @mgonzalezc Thanks for the reports. I'll get this flagged up with Google and see if they're able to assist.

Thanks @Ehesp
Below is our stacktrace, and it looks like firebase initializeApp() somehow tries to read firebase auth user's metadata while it is null.
PlatformException: PlatformException(firebase_core, java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.NullPointerException: Attempt to invoke interface method 'long com.google.firebase.auth.FirebaseUserMetadata.d()' on a null object reference, null, null) File "message_codecs.dart", line 582, in StandardMethodCodec.decodeEnvelope File "platform_channel.dart", line 159, in MethodChannel._invokeMethod File "<asynchronous suspension>" File "platform_channel.dart", line 345, in MethodChannel.invokeListMethod File "<asynchronous suspension>" File "method_channel_firebase.dart", line 30, in MethodChannelFirebase._initializeCore File "<asynchronous suspension>" File "method_channel_firebase.dart", line 75, in MethodChannelFirebase.initializeApp File "<asynchronous suspension>" File "firebase.dart", line 43, in Firebase.initializeApp File "<asynchronous suspension>" File "main.dart", line 38, in main File "<asynchronous suspension>" File "unparsed"

we found something suspicious in FlutterFire SDK repo
https://github.com/FirebaseExtended/flutterfire/blob/bab436afbc94a48a7958db8a26c529475461fdf1/packages/firebase_auth/firebase_auth/android/src/main/java/io/flutter/plugins/firebase/auth/FlutterFirebaseAuthPlugin.java#L375
it seems like it does not check null properly. Will try to verify it with a fork. 🤞

hey guys, our fork seems to be working.
feel free to give it a try in your pubspec.yaml file. We will try to verify it with a few more users before we create a PR.
-  firebase_auth: ^0.18.4+1
+  firebase_auth:
+     git:
+      url: git@github.com:Insight-Timer/flutterfire.git
+      ref: 2270491bd7969b3ba1e90064d759090895b86906
+      path: packages/firebase_auth/firebase_auth

hey guys, our fork seems to be working.
feel free to give it a try in your pubspec.yaml file. We will try to verify it with a few more users before we create a PR.
-  firebase_auth: ^0.18.4+1
+  firebase_auth:
+     git:
+      url: git@github.com:Insight-Timer/flutterfire.git
+      ref: 2270491bd7969b3ba1e90064d759090895b86906
+      path: packages/firebase_auth/firebase_auth

Looks good so far! The hanging startup has gone from at least my own test devices! Going to try with a closed group of users next but it's looking good already.
Thanks @lidemin!


Add Solution to Beginner/GCD and LCM (FLOW016) in Cpp and Java

In regard to #18 , i added the c++ and java code for Beginner/GCD and LCM (FLOW016) , pls merge my PR and add hactoberfest-accepted label


Is there a recommended way to overwrite console.log to send breadcrumbs to BugSnag?

I'm using the following code in my project but wanted to know if overwriting console.log was already built in or if there is a better way to overwrite console.log?
//-------------------------------------------------------------------------------------------------
// Create a singleton instance of the bugsnag client so we don't have to duplicate our configuration
// anywhere.
//-------------------------------------------------------------------------------------------------
// https://docs.bugsnag.com/platforms/react-native/#basic-configuration
import Config from '../data/Config';
import { Client, Configuration } from "bugsnag-react-native";

const configuration = new Configuration();
configuration.apiKey = Config.BUGSNAG_API_KEY;
configuration.notifyReleaseStages = ['production'];

const client = new Client(configuration);

(function(){
    var _log = console.log;

    console.log = function(logMessage){
        client.leaveBreadcrumb(logMessage, {type: 'log'});
        _log.apply(console,arguments);
    };

})();
//-------------------------------------------------------------------------------------------------
export default {
    client
};

@wootwoot1234 I don't think there is a preferred way to overwrite console.log at the moment; overwriting it can have unexpected consequences for looking up files/line numbers, which we encountered when doing something similar for bugsnag-js. Its something to revisit though.


1.20 port please? :D

Whenever you have time can you port this to 1.20 please? thank you so much!

I gotchu, check out version 1.0.2.


Xn Handover - Test (manually)

Hello everyone,
I have installed free5g compose succesfully and, I've been able to deploy all the containers including some smalls modifications to generate 2 different gNbs and 1 UE (using ueransim). Therefore, I have the usual containers for the core running and then, one container for each gNb (gnb1 and gnb2) and a third container acting as UE (ue), that is conected to one of them (i have included the IPs of both gnbs withing the config file of the UE).
Now, I would like to create a function/command to trigger the Xn Handover from one gNb to the other (ie from gnb1 to gnb2). I would like to know if this is already implemented or if you could give me some guidance on how to carry it out. The first idea that came to my mind is changing the UE from one cell to the other (from the cell of gnb1 to gnb2 cell), would that work out?
Thank you for your help and time,
Ignacio

Hi @linouxis9 !
Thank you for your feedback. I saw that you are contributing to PacketRusher and, I was wodering if there is a way to access the gNBs like in UERANSIM, where you can directly send commands to trigger the handover manually.
On the other side, I tried running the command 'sudo ./packetrusher multi-ue -n 1 -xnh 3000 -idl 13000 -ngh 23000 --tunnel --dedicatedGnb' and I've got some errors, should I change something in the config file? ( I have already adapted it for the other tests )
I am using a VM with free5gc for the core and another VM for PacketRusher.

Hi @IgnacioCTO!
Sadly, for now, there no easy way to access the gnB and you have to use timers.
Can you open an issue on the repository? I'll take a look, thanks a lot!!
Also please try to do a xnh without an idl, and idl without a xnh.
Cheers,
Valentin


S3 version issue

Apologies if I've missed something in the docs but I get this error when running makeBackup() using the S3 option.
I can't see where to add the version configuration in the backup-manager and I'm able to upload files to S3 elsewhere in my app.
My setup is Laravel 5.1, AWS 3, latest backup-manager.

exception 'InvalidArgumentException' with message 'Missing required client configuration options:
version: (string)
A "version" configuration value is required. Specifying a version constraint
ensures that your code will not be affected by a breaking change made to the
service. For example, when using Amazon S3, you can lock your API version to
"2006-03-01".
Your build of the SDK has the following version(s) of "s3": * "2006-03-01"
You may provide "latest" to the "version" configuration value to utilize the
most recent available API version that your client's API provider can find.
Note: Using 'latest' in a production application is not recommended.
A list of available API versions can be found on each client's API documentation
page: http://docs.aws.amazon.com/aws-sdk-php/v3/api/index.html. If you are
unable to load a specific API version, then you may need to update your copy of
the SDK.`

This has been fixed in the latest backup-manager, thanks.


How to config webpack "babel-loader" for js file?

Im want using babel-loader ? , i edit webpack config like this, app running but it only whitescreen.
How to config webpack "babel-loader" for js file?
{ test: /\.js?$/, loader: 'babel-loader?presets[]=env&presets[]=stage-0', exclude: /node_modules/, enforce: 'pre' }

App running but only have whitescreen ...

This question not about this repository. You need to ask it to webpack community.

Answer: https://github.com/centrual/cordova-template-framework7-vue-webpack/issues/29


Choosing an appropriate license

It's not clear what license that Thomas Sanladerer intended for this project, he just says it's "all free". We should check to see what he was actually intending -- perhaps it's a CC share-alike license or something.

"All free" literally means "CC-0 / PD / no rights reserved" in this case.
Allowed use also includes sharing and using any of provided files under a different license.

Added LICENSE, fixed in 5d8666c1a287c430bc7336bd76a3391ac569ba7b.


Docs| Logo and Favicon updates #154

Updated Hiro Logo and Favicon for Hiro-docs.
Modified files:

    modified:   docusaurus.config.js
    modified:   static/img/favicon.ico

 Deleted files:

    deleted:    static/img/footer-logo-dark.svg
    deleted:    static/img/footer-logo-light.svg
    deleted:    static/img/logo-dark.svg
    deleted:    static/img/logo-light.svg

 Files added:

    new file:   static/img/hiro-docs-footer.svg
    new file:   static/img/hiro-docs-logo.svg

 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.

We'll need a dark mode version of the docs logo.

It feels like the footer logo should be a bit smaller.

Light version here

I liked the vibe of the old footer.

Here's a .png of the new Hiro icon rounded-white in a similar size: https://we.tl/t-hFnxhvY3oM

Thank you @janniks :')
Here's the same but on neutral colors and in SVG, in case the sizing needs to be fixed

@janniks @sabbyanandan @eugeniadigon: Please let me know if the changes look good. Thanks!


CHANGELOG: fix operator stuck in adding self hosted member

[skip ci]

fixed

Minor fix. Merging.


How do I publish a random port?

I'm attempting to dynamically assign a random port to a container upon its creation. I've been experimenting with various configurations, including setting the PortBindings property to null and trying different values for HostPort such as 0, null, an empty string, and "0". However, I haven't been successful in achieving the desired outcome. Here's the snippet of code I've been working with:
CreateContainerParameters containerParameters = new CreateContainerParameters {
    Name = name,
    Image = type,
    HostConfig = new HostConfig {
        PortBindings = new Dictionary<string, IList<PortBinding>> {
            { "25565/tcp", [] }
        }
    }
};

Hi, this works for me:
portBindings.Add($"{hostport}/tcp", new List<PortBinding> { new() { HostPort = port.ToString() } });
exposedPorts.Add($"{port}/tcp", default);


A way to automatically display which schema is currently on?

If there are many schemas, it's a big issue when you don't know which schema is currently on. So before starting typing, I want to see which schema is on, without clicking anything. Sure I could just click F4 and then Esc but that's inconvenient, it takes time. If we're talking about Windows, it could potentially be displayed in the language bar. Or, which would be even better, show it as a little message near or after the cursor. I considered writing a Lua script to display it as fake input after the cursor but I couldn't find a way to do it since Lua scripts always run as a callback to user input but the feature has to work with no user input.

Hello.
How the information is displayed depends on the IME client app's UI design.
This project, rime/librime, is the back library of IME apps without mandating what the UI should be like; it exposes the information about current Rime schema via RimeApi::get_status API.
So technically the feature is supported by librime, and there are a few Rime clients already does it: ibus-rime displays the first character of the schema name in the language indicatior; trime displays the name on the spacebar of the virtual keyboard.


Update screenshots

Fixes #10

@wesoudshoorn  I create new screenshots with this task: https://github.com/appsignal/appsignal-server/pull/1856
But the UI has changes compared to the design used in the original screenshots. Maybe we'll have to do some JS/CSS tweaking to make certain elements the correct size before we take the screenshots.
Some screenshots are really off right now. To wide or too big in general, see this screenshot of the screenshots on http://localhost:4567/getting-started/new-application.html locally:

I also removed the spacing/border around the screenshots and added padding in the screenshots themselves for the box-shadow the elements now have.
What do you think?

If we are taking screenshots of elements I think we're best off to create a bit of CSS that makes the screenshots background and square and only take a screenshot of the element itself. We can then add shadows / borders in the docs to make them look nice in the text.
Does that make sense? For screenshots like "install appsignal gem" I would probably remove the title and button and only take a screenshot of the box itself :)

If we are taking screenshots of elements I think we're best off to create a bit of CSS that makes the screenshots background and square and only take a screenshot of the element itself.

I can tweak it a bit, but not all content will fit as well in a square box I think. But we'll see...

We can then add shadows / borders in the docs to make them look nice in the text.

So I should disable the shadows in the screenshots so we can add them later? Or should I put back the border around the elements then?

Does that make sense?

Hmm.. See my questions ;)

For screenshots like "install appsignal gem" I would probably remove the title and button and only take a screenshot of the box itself :)

Will update

@wesoudshoorn updated the screenshots. Made them less wide overall. Some screenshots look better than others, but I think it's an improvement. What do you think?

@wesoudshoorn based on feedback from call:

Removed border-radius from elements in screenshots to avoid dealing with the fancy gradient background being visible under the rounded corners
Use bigger screen for notifications screenshot
Update webhook screenshot to new design

👍 /:-1: ?

Looks great @tombruijn !!


NL: Fix 3 fulfillment bugs

This includes fixes for the following three bugs:

https://github.com/datacommonsorg/website/issues/2474: validated by integration tests, a unit test and screenshot below
https://github.com/datacommonsorg/website/issues/2527: validated by a new integration test
https://github.com/datacommonsorg/website/issues/2467: see screenshots below

Enable Temperature

country in US

"regions in" "places in"

Thanks for the change!  I'll submit and handle followup comments in future PR.


feat: Split Season and many other options

In this BIG PR i added all the features i needed to create packs from seasoned RSS.
I added many options:
  --image-item-gen-font              font used for image item generations                    [string] [default: "Arial"]
  --thumbnail-from-first-item        generate thumbnail from first item instead of first chapter       [boolean] [default: false]
  --rss-split-length                 RSS will be split in parts of N length                 [number] [default: 10]
  --rss-split-seasons                RSS create different packs per season                  [boolean] [default: false]
  --rss-min-duration                 RSS min episode duration                               [number] [default: 0]
  --rss-use-image-as-thumbnail       Use rss image (first item with image) as thumbnail     [boolean] [default: false]
  --use-thumbnail-as-root-image      Use thumbnail as 'root' image instead of generated one     [boolean] [default: false]

As an example here is the command i use to generate per season packs for BabaYaga
deno run -A studio_pack_generator.ts --lang="fr-FR" --use-coqui-tts=true --coqui-tts-model tts_models/multilingual/multi-dataset/xtts_v2 --coqui-tts-language-idx=fr --coqui-tts-speaker-idx="Abrahan Mack" "https://feeds.podcastics.com/podcastics/podcasts/rss/4622_3343651ffefc083680983bb01d613319.rss" --rss-split-seasons --rss-split-length=100 --rss-min-duration=180  --image-item-gen-font Gluten-SemiBold --skip-rss-image-dl --rss-use-image-as-thumbnail --skip-extract-image-from-mp3 --use-thumbnail-as-root-image

With this i get per season packs:

filters small episodes which are actually trailers, ads...
dont extract mp3 images so that each "story" has a generated image from font (for better consistency)
use funnier font for generated images (not perfect yet)
ensure each pack as the correct thumbnail by using first rss episode image
use thumbnail as root image so that it shows on lunii
use nice french generated voice. Still some cases where it is not perfect. Might have to play with tts parameters

LGTM ! Thanks !


Description of Amulet of Proof against Detection and Location is "String"

The description property of Amulet of Proof against Detection and Location is "String".
See https://www.dnd5eapi.co/api/magic-items/amulet-of-proof-against-detection-and-location

Whoops. That should probably get fixed.


Template Literals Formatter

Describe the bug
dprint version: 0.47.4
It is adding new lines for the functions within template literals. If there was a configuration  to NOT add new lines for template literals function, that would be great. Or even disable formatting anything in a template literal.
Input Code
const html = html`

    ${when(x => x.isValid, html`

${x => x.name}

    `)}

`;

Expected Output
const html = html`

    ${when(x => x.isValid, html`

${x => x.name}

    `)}

`;

Actual Output
const html = html`

    ${
  when(
    x => x.isValid,
    html`

${x => x.name}

    `,
  )
}

`;

Duplicate of https://github.com/dprint/dprint-plugin-typescript/issues/9

Sorry, I only looked at the title of this and not the body.


feat: improve LspInfo

the servers list always out of window when there are many servers. it should be show in a newline

set default border and support custom border by LspInfo border=double or other style

two highlight group are added LspInfoBorder LspInfoList set the servers list highlight default link to Visual

replace the string format by use api

after:

Fix #2068

Can there be no border by default? Are options for the window even configurable by the user?

yup it can be set to none in default. option is passed from cmdline.

I wonder if visual options are something that's needed on the command line. You usually want to set options like that just once. Maybe window options can be something like a lspconfig.util.window_options table?

look for LspInfo . when it will be used ?  check there has a client in this buffer when neovimer found the lsp not take effect in most situations.  It's not a frequently used command, so simply passing a option in cmdline is enough? there is not much else to do there unless they want to custom a border . then provide a function will be better.

But in this case, if this is something you use very rarely to debug something, why would you bother to type out an additional border=single just to change a purely visual option?

make sense maybe. I think they always use command by a keymap .but sometimes when we debug with the min config we need this function ? hmm keymap also easy vim.keymap.set('n','<space>l' ,'<cmd>LspInfo boder=single<CR>')

I personally use commands for stuff that I don't need a quick access to.

also use commands :) I just not very need this border in default ..just for fix issue. so provide a util function ?

Does it have to be a function? I think it can just be a normal table you can replace
require'lspconfig'.util.window_options = { border = 'single' }

does other option will passed to window_options ? maybe just
require 'lspconfig.ui.lspinfo'.border = 'single ' or {} a table for custom border

I thought about that, but I think it might be better for it to live in already established util, next to other options like default_config and on_setup.

what about this
util.default_config = {
 win_border = 'none'
}

default_config is the base configuration for language servers, so that doesn't really work

create a new option ? hmmm just for a window options. actually it just for a border .. a little refused to T.T

You need to configure it somehow, and making it a command line argument doesn't make too much sense IMO, so what else can you do? :) I think it's fine to have a table with a single option. If it was just something like util.win_border, then when a new window option comes along you'll have to either pollute util module further, or change it again.

@ii14 I fond there has an option in windows we can use it . Please check :)

I wonder if visual options are something that's needed on the command line. You usually want to set options like that just once. Maybe window options can be something like a lspconfig.util.window_options table?

I agree with this. Feels a bit awkward to accept the border option as an command argument.  Wouldn't it be nice to suggest using good old FileType autocmds for customizing UI components?
autocmd FileType lspinfo calll nvim_win_set_config(0, { "border": "rounded" })

require('lspconfig.ui.windows').default_options{
 border = ' '
 -- also other options can be there
}

Not sure if it's just me, but it seems that the floating window is not centred. Can anyone else reproduce this?

this is same as before.  you can test with old code or switch a commit .


Add compgen.sc (cli completion generator)

Adds a standalone Slang script that can generate cli completions for the sireum command. It is completely optional, and works similar to cli.sc (except it outputs completions instead of CliOpts as JSON). The script will work for any valid cli.sc and has been placed next to the top-level cli.sc in order to generate completions for all tools when ran. It recognizes a number of special cases, such as enums and flags expecting files. Here is a demo gif.
I am happy to make any changes to the code as needed.
Example Usage:

Add to current session only

eval "$(sireum slang run compgen.sh)"

Install completions in bash

# Save to a file and source in `~/.bashrc` or `~/.bash_profile`
sireum slang run compgen.sh > ${SIREUM_HOME}/bin/completions.sh
echo 'source ${SIREUM_HOME}/bin/completions.sh' >> ~/.bashrc

Install completions in zsh

# Save to a file and source in `~/.zshrc`
sireum slang run compgen.sh > ${SIREUM_HOME}/bin/completions.sh
echo 'autoload bashcompinit' >> ~/.zshrc
echo 'bashcompinit' >> ~/.zshrc
echo 'source ${SIREUM_HOME}/bin/completions.sh' >> ~/.zshrc

It seems that it would be better to make the script as a Slash script and make the cli.sc as the script argument, then put it in the /bin directory. What do you think?

Good idea, the /bin directory does seem more appropriate. I have updated the PR accordingly and am open to any feedback.
I can also make the script accept the CliOpt JSON directly (instead of invoking cli.sc from within the script) if preferable.


Added note with Microsoft recommendations

On the following page (https://docs.microsoft.com/en-us/azure/active-directory/privileged-identity-management/concept-privileged-access-versus-role-assignable#what-are-privileged-access-groups) there is a note with Microsoft recommendation for an approval process for eligible assignments on privileged access groups granting Azure AD roles. The same note should be on this page, as it is an important piece of information.
#ATCP

@stianstrysse : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

#sign-off

@curtand: I'm sorry - only the author of this article, @rolyon, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

#sign-off

@ktoliver : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Add libgit2 (@ 1.8.1)

Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (libgit2) have been updated in this PR. Please review the changes.

The presubmit failure is due to use of an unstable source archive URL.
The libgit2 project does not publish stable release archives.


Add --listen-on option a la guard --listen-on to better support VMs

I may be confused about how spring works, but I would like to be able to tell spring to listen to listen via a network address like guard does when I run bundle exec guard -o <IP_ADDRESS>:4000 inside a VM.
Is this possible already and I'm just too dense to figure it out?

I'm guessing you are mounting a shared folder inside a VM.
It's a huge amount of work to make everyone happy in the area of VMs. I actually dropped TCP support in Listen since 3.x because of this.
I'd consider the opposite of what you're doing:

Mount a folder within the VM on the host. (e.g. using Samba if your host is Windows)
Install all your development tools within the VM

If neither is an option for you, you have to have an incredibly strong reason why.
It really depends on what you're doing, so you have to be very, very specific.
Otherwise, you'll likely be disappointed anyway (no matter how much work I do to help you).


Update UI - Update notification with close button

Describe the task
Update UI - Update notification with close button

Implement from issue https://github.com/Koniverse/SubWallet-Extension/issues/1227

Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./upgrade-ui-pr-1653-build-1.1.2-2023-07-20T11-17-39UTC.zip
Validation passed.
https://github.com/Koniverse/SubWallet-Extension/assets/130966515/92b43c8e-0b97-45c4-b022-401f5a90ae58


Problem with Syntax Highlighting - white background

Describe the bug
White highlight in a code section (see screenshot)
To Reproduce
Install the theme as per instruction.
Test with another theme and it is working fine
Expected behaviour
Code highlights without white bacground
Screenshots

Desktop (please complete the following information):

OS: Ubuntu
Browser: crome
Version of the Theme: 1.11.0
Version of Hugo: v0.68.3

I am new to the Hugo, please help.

@WinOpsDBA What's the snippet that you had used?

I am using it for terraform code.

@WinOpsDBA  Hi there, I tried to reproduce your error, but only got this result:

I had used the following snippet in the latest theme:

I am wondering what you might have done differently. 🤔

Good morning @lxndrblz,
Would you like to try it with monokailight, please?
my current config
pygmentsCodeFences = true
pygmentsUseClasses = true
customCss = ["css/syntax.css"]

When I look at the website generated by Hugo server I can see the following

When I open a static website from the drive I ma getting this

Thank you for looking into it for me, much appreciated.

@WinOpsDBA It seems you are loading a custom css file. Did you try the code highlighting that comes  with Anatole?

I have a similar issue. Bottom line is that the highlighting style is different than what is supposed to be.
I understand that the default Chroma style for Anatole is Monokailight.  Any ideas how to correct this issue?

Ok, I see in the image that you provided that the colours are correct, but the font family is different, right?

@martinolmos Correct. This should be a serif/monospace font.


Run generate to populate pack2 code

What this PR does / why we need it:
Code generation must be executed during build time, otherwise the extension is failing with
{
  "level": "error",
  "ts": "2020-04-09T16:38:45.637Z",
  "msg": "Could not create Generator",
  "error": "stat /templates/script/suse-jeos.template: no such file or directory",
  "stacktrace": "github.com/go-logr/zapr.(*zapLogger).Error\n\t/go/src/github.com/gardener/gardener-extension-os-suse-jeos/vendor/github.com/go-logr/zapr/zapr.go:128\ngithub.com/gardener/gardener/extensions/pkg/controller/cmd.LogErrAndExit\n\t/go/src/github.com/gardener/gardener-extension-os-suse-jeos/vendor/github.com/gardener/gardener/extensions/pkg/controller/cmd/cmd.go:32\ngithub.com/gardener/gardener-extension-os-suse-jeos/cmd/gardener-extension-os-suse-jeos/app.NewControllerCommand\n\t/go/src/github.com/gardener/gardener-extension-os-suse-jeos/cmd/gardener-extension-os-suse-jeos/app/app.go:36\nmain.main\n\t/go/src/github.com/gardener/gardener-extension-os-suse-jeos/cmd/gardener-extension-os-suse-jeos/main.go:29\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:203"
}

Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

NONE

/cc @rfranzke


Edit to US Rare Disease Definition

For this term's definition, I would edit the US wording. They do not technically have to be Americans. According to the Rare Diseases Act of 2002, the definition is "any disease or condition that affects less than 200,000 persons in the United States."

agreed.
This will become a bit moot after we implement #254 and all "rare X" terms become obsolete, and we stop baking rare classification into the ontology. However, if it's useful to continue housing the "rare" modifier and a consensus definition we're happy to do this

Sounds good. I will leave it up to the experts to decide on the implementation of #254. Thanks!


[WIP] server side apply investigatio

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #271
Special notes for your reviewer:
Documentation:

Does this PR introduce a user-facing change?:

Closing this PR, since it is my reference only.


Unable to create policy exemption in Azure

Azure documentation issue guidance
Thanks for opening an issue in the Azure technical documentation repository.
We use GitHub issues as the primary channel for customer and community feedback about the Azure documentation.
Creating an issue
We prefer that you create documentation feedback issues using the Feedback link on the published article - the feedback control on the doc page creates an issue that contains all the article details so you can focus on the feedback part.
You can also create a feedback issue here in the repo. If you do this, please make sure your issue lists:

[x] The relevant Azure service or technology.
[ ] A link to the published documentation article that you have feedback about.
[ ] Clear, specific feedback that the author can act on.

Pull requests and article contributions
If you know the change that is needed in an article, we encourage you to submit the changes directly using a pull request. If the change is large, or if you want to contribute an entire article, follow these guidelines:

[ ] Don't surprise us with a big pull request or a pull request with a new article! Submit an issue that describes the details of the proposed large change or new article.
[ ] Include the service or technology area.

We'll route the issue to the appropriate content team for review and discussion.
Tech support and product feedback
If you would like to contact Microsoft about other things, such as product feedback or tech support, please review these guidelines:

If you need technical support using Azure, the paid and free support options are described here: https://azure.microsoft.com/support/options/.

Each article in the Azure technical documentation contains a product feedback button - it's best to submit product feedback directly from a relevant article. Otherwise, you can submit product feedback for most Azure products in the following product feedback forum: https://feedback.azure.com/forums/34192--general-feedback.

I am global admin for the subscription but when ever i tried to create an exemption it shows an error Please change the scope as you don't have permissions to create an exemption in the current scope.
I have tried changing scope from Subscription to resource group but still the same.

@Pankajazlearn Thank you for reaching out to us. Please note that this channel  (the Azure Docs repository) is only for driving improvements related to the Azure documentation. It would be great if you can share the documentation link you are referring, so that we can assist you accordingly.

@Pankajazlearn It would really help if you can share the documentation link you are referring so that we can direct you accordingly. Since we have not heard back from you we will now proceed to close this thread for now. If there are further questions regarding this matter, please tag me in your reply. We will gladly reopen the issue and continue the discussion.


4.12 cluster with no way to update due to OCPBUGS-13188

Describe the bug
Have a 4.12.0-0.okd-2023-04-16-041331 cluster with
❯ oc get -o json clusteroperator cloud-controller-manager | jq '.status.conditions[] | select(.type == "Upgradeable")'
{
  "lastTransitionTime": "2023-09-07T20:14:51Z",
  "reason": "AsExpected",
  "status": "False",
  "type": "Upgradeable"
}

OCPBUGS-13188
I'm guessing that wasn't ever ... uh ... backported upstream so we never got it in okd4. Curious why this wasn't mentioned previously but perhaps we waited for stability in 4.13 for too long. I've looked through the various Jira issues I can see but wasn't able to find a workaround and it seems that 4.12.0-0.okd-2023-04-16-041331 is the last okd-4.12 so kcs#7041078

It is identified as a Bug for which cluster must be upgraded to the latest version of 4.12, if not latest then at-least greater than 4.12.18.

Isn't much help here.
Version

IPI vSphere 4.12.0-0.okd-2023-04-16-041331
How reproducible

1 for 1, don't remember this in our other okd4 cluster (which is already on 4.13)
Log bundle
~Pending.~ Complete but it's >13G so it'll take a while to find somewhere to upload and upload it. My maintenance window just opened for the update to 4.13 and i made this discovery. Logs available on request and i'll start a must-gather now but it'll take a while to complete. Will edit when it's done.

So, i found https://github.com/okd-project/okd/discussions/1738 (i'd only searched issues)
Sorry if this ends up getting demoted to a discussion, but i'll chase down the context in that thread now.

/close
I was able to work around this by deleting the cloud-controller-manager operator and allow the cluster version operator to recreate it.


Number of container don't match expected number

Hello,
Hard issue to explain, but easy to reproduce.
I have two containers. One frontend and one backend.
The backend is already configured to be scaled at 2 containers.
The frontend is configured to be scaled at 1 container.
When I do rollout on the backend container, everything is peachy, it works as expected (4 containers then 2 containers).
When I do rollout on the frontend container after the backend one, one of the backend container gets deleted.
I wonder why it is happening ...

Hi, is the number of containers configured in docker-compose.yml, or using --scale flag?

hoo, I see, it's the one setup using the --scale arg.
I imagine I should switch with setting it up in the docker-compose file.

Confirmed, having deploy.replicas settings fixes everything :)

@Belphemur Great, thanks for sharing your solution 😃


Avare connects but not data

Stratux version:

Stratux config:
SDR

[x ] single
[ ] dual

GPS

[ x] yes
[ ] no
type:

AHRS

[ x] yes
[ ] no

power source:
usb cable:  I am able to connect to the stratux wifi and I see the data on Avare internal external app,  It just doesnt show on the AVARE app.  No traffic and I cant pull up weather??

EFB app and version: (e.g., WingX Pro7 8.6.2)
EFB platform: (e.g., iOS 9.2)
EFB hardware: (e.g., iPad Mini 2)

Description of your issue:

If possible, enable "Replay Logs", reproduce the problem, and provide a copy of the logs in http://<IP_ADDRESS>/logs/stratux/ and http://<IP_ADDRESS>/logs/stratux.log.

You don't need the Avare separate I/O app anymore. Just connect to the Stratux WiFi, open Avare then on the bottom scroll all the way over to "IO" and set the dropdown at the top to WiFi. Data should start flowing.

Got it.  Thanks for that.
I still am not seeing weather on AVARE nor can I pull up the winds aloft as before.  I am seeing one aircraft but normally see way more.  I haven't updated the firmware in a couple of years.  I see the newest one says Europe.  Will that also work in the USA?  Should I need to update even though I am able to connect my tablet to the Stratux?
Thanks

Yes update to the latest eu028 with US settings, and hopefully you have the low power UAT radio with the red PCB - more sensitive for towers.
Sent from my iPhone

On Sep 21, 2022, at 3:40 PM, shempferd @.***> wrote:

Got it. Thanks for that.
I still am not seeing weather on AVARE nor can I pull up the winds aloft as before. I am seeing one aircraft but normally see way more. I haven't updated the firmware in a couple of years. I see the newest one says Europe. Will that also work in the USA? Should I need to update even though I am able to connect my tablet to the Stratux?
Thanks
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.

I had to click on the io tab while flying to get weather.  Seems like a bug.
On Wednesday, September 21, 2022 at 03:57:32 PM EDT, wa9als<EMAIL_ADDRESS>wrote:

Yes update to the latest eu028 with US settings, and hopefully you have the low power UAT radio with the red PCB - more sensitive for towers.
Sent from my iPhone

On Sep 21, 2022, at 3:40 PM, shempferd @.***> wrote:

Got it. Thanks for that.
I still am not seeing weather on AVARE nor can I pull up the winds aloft as before. I am seeing one aircraft but normally see way more. I haven't updated the firmware in a couple of years. I see the newest one says Europe. Will that also work in the USA? Should I need to update even though I am able to connect my tablet to the Stratux?
Thanks
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.

—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


[BEAM-12399] Move CPython license to own file.

In order to resolve BEAM-12399 (Beam Go SDK docs can't be displayed on the standard GoDoc site pkg.go.dev) we need to separate out the CPython license stack from the other licenses which apply more broadly.

Moves that license text from LICENSE to LICENSE.python
Ensures the LICENSE.python file is also copied to the Python SDK distribution images.

Per https://github.com/golang/go/issues/45095, and #46291 the issue is that the license not particularly compatible, so adding it as a recognized license is apparently not the way forward. However, as the license only needs to be posted with distributions of cpython, it largely only needs to go into the Python SDK container(s).
Since pkg.go.dev must be conservative about what it checks for LICENSE we can't pare down or filter what the site picks up (eg. a LICENSE.golang or a LICENSE in the sdks/go subdirectory file would only be added to whats in the root LICENSE, not supercede it). However, pkg.go.dev doesn't look at other LICENSE files for particular languages, hence the new file.
The way we're referring to the LICENSE.python sidecar file is also acceptable to Apache Legal https://issues.apache.org/jira/browse/LEGAL-582

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @aaltay

Run Java PreCommit

Run Java_Examples_Dataflow PreCommit


💡 [FEATURE] - Add Frontend Web Development Resource

Idea Contribution

[X] I have read all the feature request issues.

Explain feature request
I'd like to add the HTML and CSS tutorial and JavaScript tutorial by SuperSimpleDev to the resources table. They're very in-depth and I really like his teaching, and I believe people could benefit by watching his videos.
HTML and CSS Course
JavaScript Course
Explain your solution
No response
Any alternative approaches/features
No response
Additional Context
To take this project even further, we could add tutorials and resources for Git and GitHub. We could also create a website to display these resources, as people could find a nice website easier to navigate than the documentation of the repository. Just a suggestion. If you like the idea, I'd be willing to create a basic HTML and CSS frontend, which people can improve on throughout the course of GSSOC 24. Sorry if this is not the correct place to be writing all of this.

Idea Contribution

[x]  I have read all the feature request issues.

Explain feature request
I'd like to add the HTML and CSS tutorial and JavaScript tutorial by SuperSimpleDev to the resources table. They're very in-depth and I really like his teaching, and I believe people could benefit by watching his videos. HTML and CSS Course JavaScript Course
Explain your solution
No response
Any alternative approaches/features
No response
Additional Context
To take this project even further, we could add tutorials and resources for Git and GitHub. We could also create a website to display these resources, as people could find a nice website easier to navigate than the documentation of the repository. Just a suggestion. If you like the idea, I'd be willing to create a basic HTML and CSS frontend, which people can improve on throughout the course of GSSOC 24. Sorry if this is not the correct place to be writing all of this.

Yes the project really need a website, if you can, please raise a seperate issue and I will assign it to you, I will give higher level for it (level 3). Thank you

Assign it to you, @rahul-p19. Appreciate the suggestion!


Added more LPC SVD files

Thanks for the tip on where to find them, feel free to gripe if a messed up your naming convention or something.

Excellent, thanks for doing the legwork.  As far as SVD/XML file extension, either works for me.  Since the files in the repository now are all .XML, I think keeping that convention makes sense.


Expose keyword line numbers via listener API v2

Test line numbers were exposed already in RF 3.2 (#3451) via start/end_test methods but for technical reasons we couldn't add this info to start/end_keyword methods. The technical reason is that the execution side code didn't make this possible, and it also the reason why we haven't been able to add start/end_keyword methods to the listener API v3 (#3296).

We have PR #3518 about adding the keyword source information to start/end_test methods. It is compatible with RF 3.2, but unfortunately it cannot be merged due to the reasons explained in its comments. If you happen to need this information badly, you can use the version in the PR until this feature is added to Robot Framework itself.

Probably the biggest benefit of getting keyword source information via the listener API (v2 or v3) would be making it a lot easier to create debuggers. If there are lot of needs for that, or for this functionality in general, we can consider creating RF 3.3 where the main enhancement would be cleaning up the execution code so that this and #3296 could be implemented. The current RF 4.0 has also many other big enhancements which means that it will take quite long time until it is released. RF 3.3 with better execution side logic would directly benefit other features planned for RF 4.0 (e.g. IF/ELSE), so it shouldn't post-pone RF 4.0 release much. Having an intermediate release with important features like this one might very well be worth that.

line number and source would also be extremely beneficial to show on stdout when a test fails.
Now showing only the failure reason.

Related draft.
https://github.com/robotframework/robotframework/pull/3672

This is now added to development-4.0 branch as https://github.com/robotframework/robotframework/commit/76c821f0e1b8b4d25effa44e290b3429677431af

This has been implemented by 67fd7f76203f94402977bb8b53a8a415a6897f5a. The version in alpha 3 didn't report line numbers correctly with the new IF/ELSE and this apparently isn't yet documented in the User Guide either.

It turned out source information isn't reported correctly in all cases. Fixing that is somewhat complicated and we decided to post-pone it to beta 2. If we get start/end_keyword added to listener v3 (#3296), supporting source with listener v2 will be easy and the current line number number implementation can be simplified as well.


JpegMini doen't work

Hi,
I am trying to run ImageOptim-CLI under Sierra, but I got error:
/usr/local/bin/imageOptimAppleScriptLib:3009:3085: execution error: System Events got an error: Can’t get text field 1 of sheet 1 of sheet 1 of window 1 of process "JPEGmini". Invalid index. (-1719)
Terminal access was enabled in Security&Privacy

Same problem here. I think it comes from the new macOS (Sierra). Last opened ticket on this problem : https://github.com/JamieMason/ImageOptim-CLI/issues/106

+1
same issue here.

Thanks, I will close this as a duplicate of #129 so please subscribe to that issue.


creating just one card component with props for details

as a developer I want to create a card component so I can use it for current milestone and next milestone


Add ShouldHaveAttribute assertion

This adds a shouldHaveAttribute assertion.
<?php declare(strict_types=1);

namespace App;

use Doctrine\ORM\Mapping\Entity;
use PHPat\Selector\Selector;
use PHPat\Test\Builder\Rule;
use PHPat\Test\PHPat;
use Symfony\Component\HttpKernel\Attribute\AsController;

class ArchitectureTest
{
    public function test_controllers_have_as_controller_attribute(): Rule
    {
        return PHPat::rule()
            ->classes(Selector::inNamespace('App\Controller'))
            ->shouldHaveAttribute()
            ->classes(
                Selector::classname(AsController::class),
            );
    }

    public function test_entities_have_entity_attribute(): Rule
    {
        return PHPat::rule()
            ->classes(Selector::inNamespace('App\Entity'))
            ->shouldHaveAttribute()
            ->classes(
                Selector::classname(Entity::class),
            );
    }
}

Hi @gertjuhh, thanks for the contribution.
The implementation and the tests look great 🙌 however, can you rename the term to "apply" instead of "have"? then the error message should be '%s should apply the attribute %s
I'm going to do some manual testing of the assertion in the meantime :)

Hi @carlosas, thanks for the review.
I just pushed the requested changes.


Adding carbonara recipe fixing issue #7

Adding another main dish in pastas

Yummy, thank you for adding this recipe!


[Feature] Mongo Service

Implement service connecting to our mongo node
Motivation is instant transactions history updates and filtering

Could you pls tell us more about this tsk? Any specs?

Not relevant - transactions are fetched with Hyperion API


🌱 Improve metal3cluster endpoint printing

What this PR does / why we need it:
Print endpoint as <IP_ADDRESS>:6443 instead of
{"host":"<IP_ADDRESS>","port":6443} when listing
m3clusters with kubectl.

/test-integration

/test-integration

/test-integration


Specify exception names and uses

Currently the module adds around 15 exceptions, doesn't even use all of them.
Need to be thought out.

Added to the release plan for 1.1.31.xx


openapi: Validate real requests and responses, not fictional mocks

Discussion.

Reviewed this. Generally looks reasonable; I guess the main thing that's annoying is the need to document the application/json content types for many fields in a separate place from where the field is declared, but that's essentially our API's fault.

Looks good to me, marked to merge once CI passes. @laurynmm FYI -- and I guess this will make a lot of PRs with API changes have merge conflicts, but that's life; I don't think there's any huge ones (bigger than like 1-2 new settings fields) currently in flight.

This was segfaulting Python 3.11.2 again, so I’ve prepended some commits to disable coverage on Debian 12 in place of the previous workaround.

This was backported in https://github.com/zulip/zulip/pull/29234.


Adding new feature : adjust uwp dispatcher selection according to ass…

According to the information i wrote in issue :
https://github.com/aritchie/userdialogs/issues/494
i tried to implement a workaround to allow UWP to choose the right dispatcher.

Thank you for the PR.  I'm going to add this feature in the next release based on what you've sent, but not 1-1.


getConnectedSSID return value modified to remove unnecessary surround…

getConnectedSSId yields SSID name with extra quotes on some versions of android (tested on 4.x). Now, it will remove the first surrounding pairs so that there's no need of parsing on the client side.
Examples:

"SSID" --> SSID
"SSID --> "SSID
""SSID"" --> "SSID"

This seems to do the same fix as https://github.com/hoerresb/WifiWizard/pull/59


Building Error

Operating System Version: Windows 10
Provider (VirtualBox/VMWare): Tried Both
Vagrant Version: newest
Packer Version: newest

Description of the issue:
Hi
I have been trying to install with Windows 10 and i have tried both Vmware with the plug in and Virtualbox. I haven't tried running the .sh file in Linux. Do you get a higher success rate using Linux vs Windows? I don't want to make the partition if I don't have to.
Thank you!

I'm experiencing similar issues as well. I tried it on both Windows 10 and Ubuntu 18.04. In both instances the Windows 10 and WEF builds work fine but the logger and DC do not build properly. I re-provisioned both of them and the DC appears to boot up normally but logger is still having issues. I get the following error for logger. Appreciate your help with this.
Warning: Caldera failed post-build tests and may not be functioning correctly.
@clong - Thanks for sharing an amazing project with the security community!

@jsecurity101 - I'm not sure I understand your question. When you bring up the Linux host, it automatically runs the bootstrap.sh file. I'm not sure I understand your reference to partitions at all.
@jasc22 - Assuming you're getting that error from a Windows host, the logger host has to be successfully provisioned and online when the Windows hosts are brought up, as they need to pull the Caldera config from the logger host or else the caldera config will fail. I can't help beyond that without Vagrant debug logs.
I'm going to close this issue as I don't want it to become a generic "I'm having trouble building the lab" thread. If you have a specific issue and debugging output, please open up a new issue and provide both.


Vitest Suite Additions!

Strewn across our source code, there are exported methods that have no tests! How could Ryan allow this?
Main culprits:

[x] AEGUtils.ts
[ ] ProofToolUtils.ts
[ ] EditModeUtils.ts

Removing ProofNode.ts and Themes.ts from the checklist since they do not export functions with return types

Removing ProoToolUtils.ts from the checklist since all methods within rely entirely on TreeContext.ts which is not instantiated during AEG tests

Removing EditModeUtils.ts from the checklist since it relies on the document element, which is also not instantiated during AEG tests. Great work, Ryan


Update Polkadot SDK

Polkadot SDK Companion: https://github.com/Snowfork/polkadot-sdk/pull/18

Closing in favour of https://github.com/Snowfork/snowbridge/pull/1008.


Updated README.md to ensure links go to the same branch.

Links in this file were referring to files in differnt branches which
caused me to miss varialbes in the new branch. Fixing those refernces.
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change

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

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Test Configuration:
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] Any dependent changes have been merged and published in downstream modules
[ ] Any variable changes have been validated to be backwards compatible

Fixing links to different branches


Mounting server data on each user's pod

(copy oif post from #794)
We are working on a open paper (in the spirit of distill) but focused on neuroimaging (for now). Any user could have access to a reproducible paper using binder. Anyone could also upload a new article there.
We are trying to let the user upload data from the web https://github.com/SIMEXP/Repo2Data (discussed here jupyter/repo2docker#460) into our server.
@bitnik We have a binder running on our server and were wondering how to "mount" the data in the user's notebook, and how to launch repo2data every time a user upload a new repository. Could you explain more in details how we could do that (for now we are not wondering about authentification) (using https://github.com/gesiscss/example-binderhub-deployments/blob/master/persistent_storage/config.yaml) ? Here is our config file :
jupyterhub:
  ingress:
    enabled: true
    hosts:
      - conp7.calculquebec.cloud
    annotations:
      ingress.kubernetes.io/proxy-body-size: 64m
      kubernetes.io/ingress.class: nginx
      kubernetes.io/tls-acme: 'true'

  hub:
    baseUrl: /jupyter/
  proxy:
    service:
      type: NodePort
  singleuser:
    memory:
       guarantee: 4G
    cpu:
       guarantee: 2

# BinderHub config
config:
  BinderHub:
    hub_url: https://conp7.calculquebec.cloud/jupyter
    use_registry: true
    image_prefix: cmdntrf/conp7.calculquebec.cloud-

service:
  type: NodePort

storage:
  capacity: 2G

ingress:
  enabled: true
  hosts:
    - conp7.calculquebec.cloud
  annotations:
    kubernetes.io/ingress.class: nginx
  https:
    enabled: true
    type: kube-lego
  config:
    # Allow POSTs of upto 64MB, for large notebook support.
    proxy-body-size: 64m

Thank you,

Basically, we do not want the user to have right access to our server, that is why repo2data wold be launch on the server every time any user upload a new repository.
The process could be seen as it:

A user upload his work (a notebook), which is using some databases (from https://openneuro.org/ for example).
He provides in the repo a configuration file data_requirements.json, which specify where the data lives
After the work is on binder (docker built), we launch repo2data from our server which will read user's data_requirements.json
The database is downloaded on a folder /data on our server (if it is not already existing on our server)
/data is accessible as read-only by every users (every notebooks running on our binder).

Hi @ltetrel 👋, it is super to see what you are planning and working on. However can I ask if we can move this discussion to http://discourse.jupyter.org/ (where most of the people who hang out here are also, and more people). We are trying to streamline the different discussion places and want to use the issues on GitHub repos for technical discussions on how to change the code in that repo. More general discussions should go to discourse so that they are easier to find, indexed better by google and generally more accessible than being hidden in the bowls of a GitHub repository ;)

thanks @betatim !
I just registered to http://discourse.jupyter.org/ and waiting for my post to be reviewed,

To follow up this discussion, please go to : https://discourse.jupyter.org/t/mounting-server-data-on-each-users-pod/641


plugins/lsp: add svelte language server

Add support for the svelte language server.
Fixes #497
@rupurt, if you have the possibility to test it on your setup, it would be great !

Looks good on my machine :pray:

FWIW, working great on main. That's again y'all!


User selected minimum peptide length

someone who can should combine these issues

Noted by @trishorts in https://github.com/smith-chem-wisc/MetaMorpheus/issues/307:
"Possibly allow short peptides will full coverage of b and y ions"

I add new parameters 'int? minPeptideLength' and maxPeptideLength in the 'ProteinExtensions' - 'Digest' methods, and made the function work with Unit test.
The method 'Digest' are used by Indexing Engine.cs and ClassicSearchEngine.cs, the engines are used  by SearchTask.cs and other 2 tasks. So I change all of those. (*Only I didn't change the calibrationEngine.cs. Not sure if needed)
I change so many things that made me scared. Is there a way like Unit test to test if the GUI works or not?Although all the Unit Test can pass.

lonelu, currently we check if the GUI works by just compiling the GUI, running a few tasks, and seeing if the outputs correspond to the changes you made!

Done in https://github.com/smith-chem-wisc/MetaMorpheus/pull/335
The note about "Possibly allow short peptides will full coverage of b and y ions" is moved to a new issue


Fix libdrm includes

This removes any assumptions about how the libdrm headers are installed, and uses the pkg-config include directories as we're "supposed to".
This only adds a partial dependency, since we don't actually need to link against libdrm.

Thanks


Translation status view

What's this PR do?
Adds a new view to the /admin/content/search/translation which lists all campaigns and there associated translations
How should this be manually tested?
navigate to the above URL ^ and check the data in the table is correct
Any background context you want to provide?
@angaither and I opted to make a quick n' dirty solution to this that doesn't look to great rathter than coding & theming this custom. @mikefantini approved the v1 version
What are the relevant tickets?
Fixes #5300
@blisteringherb can you verify the exports?
@DFurnes can you verify the css?
EDIT: also ffs of course theres a merge conflict

yeah I noticed.. but is the css :ok: ?

Looks good to me! :art:

:+1:


Update Dreamweaver.gitignore

added Mac OS X files
Reasons for making this change:
TODO
Links to documentation supporting these rule changes:
TODO
If this is a new template:

Link to application or project’s homepage: TODO

Added Mac OS X files

commit