rancher k8s get node , not find other node

Describe your issue here
Rancher Versions:
Server: 1.6.7
healthcheck: 0.2.3
vxlan: v0.11.2
network-services: v0.6.6
kubernetes: 1.5.4
Kernel：4.12 （From Centos7.3  3.10.0-514.26.2）
Docker Version:
1.12.3 on agents, 17.03.1-ce on rancher host
docker info
Containers: 11
Running: 10
Paused: 0
Stopped: 1
Images: 15
Server Version: 1.12.3
Storage Driver: devicemapper
Pool Name: docker-253:0-67156248-pool
Pool Blocksize: 65.54 kB
Base Device Size: 10.74 GB
Backing Filesystem: xfs
Data file: /dev/loop0
Metadata file: /dev/loop1
Data Space Used: 2.785 GB
Data Space Total: 107.4 GB
Data Space Available: 42.66 GB
Metadata Space Used: 5.042 MB
Metadata Space Total: 2.147 GB
Metadata Space Available: 2.142 GB
Thin Pool Minimum Free Space: 10.74 GB
Udev Sync Supported: true
Deferred Removal Enabled: false
Deferred Deletion Enabled: false
Deferred Deleted Device Count: 0
Data loop file: /var/lib/docker/devicemapper/devicemapper/data
WARNING: Usage of loopback devices is strongly discouraged for production use. Use --storage-opt dm.thinpooldev to specify a custom block storage device.
Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
Library Version: 1.02.135-RHEL7 (2016-11-16)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 4.12.7-1.el7.elrepo.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 3.857 GiB
Name: k8s-node05
ID: Z63P:RKII:NKWT:H5X3:HGX4:PO64:ANWN:OCLL:2XWY:KVWM:ARE3:IEQS
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: bridge-nf-call-ip6tables is disabled
Insecure Registries:
<IP_ADDRESS>/8

Useful
Info

Versions
Rancher v1.6.7 Cattle: v0.183.5 UI: v1.6.17

Access
Disabled

Orchestration
Kubernetes

Route
hosts.index

kubectl get nodes
NAME         STATUS    AGE       VERSION
k8s-node04   Ready     8h        v1.5.4-rancher1
why not find k8s-node05?

Can you describe what steps you followed to get into this state? As you are running k8s 1.5.4 on rancher v1.6.7 there was an upgrade involved?

Please report back so we can help on this.


Enforce AWS role naming requirements

Is your feature request related to a problem? Please describe.
For the AWS S3 connector IAM role, it is strictly required that the role be prefixed with OIDC_ . It will not work if that is not done, but the script does not enforce the naming. This leads to an ambiguous error message in the Sentinel web console.
Describe the solution you'd like
I would like the automation script to throw an error if an attempt is made to use an IAM role name that does not begin with OIDC_
Describe alternatives you've considered
Additional context
This requirement is documented in the Sentinel documentation https://learn.microsoft.com/en-us/azure/sentinel/connect-aws?tabs=s3#:~:text=to Microsoft Sentinel.-,The name must include the exact prefix OIDC_%2C otherwise the connector will not function properly.,-Use the values

Hey @jeffb4, Thank you for reporting this issue. we have noted this feature request and will share this with our respective concern team. Currently we can't provide any ETA for this. but once we get any further info from our team will share update to you.
So, closing this issue from GitHub. If you still need support for this issue, feel free to re-open it any time. Thank you for your co-operation.


Fix nitpicky grammar and spelling

Thx for correcting my bad English!

Happy to help! I'll be using this library heavily; perhaps I'll be able to offer additional improvements.


Create testing infrastructure

Now that we have some draft code, we could probably do with setting up a simple testing infrastructure framework, using pytest. It would be nice if this was run automatically for any PR, but that doesn't have to be the case, I guess.
Presumably copying something like the tskit testing framework would be sensible? Thoughts @duncanMR? Have you dealt with much unit testing before?

We'll definitely need to do this at some point. I've written a few tests, but I've never set up a testing system before. I'd like to learn how, though, so I'd like to take this one on. I think it would be sensible to start by writing the tests with pytest, then later figure out how to automatically run them with any PR?

The infrastructure is basically there now, although the tests aren't. I will leave this open until we've made a few PRs to test that it's all working.

An easy task is to get coverage up to 100% in tables.py and util.py. See
https://app.codecov.io/gh/hyanwong/GeneticInheritanceGraph/tree/main/GeneticInheritanceGraph

Great, I'll get some tests up and running today!

The two example tests in test_tables.py should show you (a) how to use fixtures (e.g. if you want to import a standard GIG for testing in multiple tests) and (b) how to use @pytest.mark.parametrize to test a range of parameter values. Both of these are useful idioms.

Seems to work OK now. Closing.


[Not ready] [NOS-912] format timestamp

@jdcasey  Please review it.

Okay, I can't see the original changes you made in this PR any more. I may have made a mistake in the changes I suggested. This is why I've asked that you just continue pushing commits to a PR instead of overwriting or resetting old commits...in case I make a mistake, and we need to look at the history of what's been done in the PR.
We cannot change the duration directive like this. It's used all over the place for time durations (not calendar dates). I may have read your original changes incorrectly, since I didn't understand that you were trying to express a calendar date (re-enable at 2017/08/02 21:51) instead of a duration (re-enable in 9h5m). We need the duration directive to remain as it is, and if you were trying to express a calendar date your original code should have been better (if I remember it correctly).

@jdcasey My originla PR just change {{raw.disableExpiration }} to {{raw.disableExpiration | date:"yyyy-MM-DD HH"}}, You suggest using uniform format for the timestamp like {{store.cache_timeout_seconds | duration}}.
I find the duration filter is wrong format of date(like 416792379h 40m 26s) , so I change it .

@jdcasey
I update the PR, I using dateFormat filter in the PR.
Result:
Name: central
✘ Enabled? Set to automatically re-enable at 7/19/2017, 4:22:46 PM
Please review it.


auto-indent bodies of multiline strings with .trimIndent()

We had some code that looks like this:
    params.apply {
        task.description =
                """
                Creates a maven repository that includes just the libraries compiled in
                this project.
                Group: ${if (mavenGroup != "") mavenGroup else "All"}
                """.trimIndent()
        task.from(supportRepoOut)
    }

and we asked ktlint to format it and ktlint correctly pointed out that the quotation marks in the multiline string need to be deindented by 4 spaces. However, ktlint didn't deindent the body of the string too
Observed Behavior
ktlint formatted this code into this:
    params.apply {
        task.description =
            """
                Creates a maven repository that includes just the libraries compiled in
                this project.
                Group: ${if (mavenGroup != "") mavenGroup else "All"}
             """.trimIndent()
        task.from(supportRepoOut)
    }

Expected Behavior
We would like ktlint to notice the .trimIndent() that follows the multiline string, and then deindent the body of the string to match, to get:
    params.apply {
        task.description =
            """
            Creates a maven repository that includes just the libraries compiled in
            this project.
            Group: ${if (mavenGroup != "") mavenGroup else "All"}
             """.trimIndent()
        task.from(supportRepoOut)
    }

Your Environment
We're seeing this when upgrading from ktlint 0.36.0 to 0.39.0
The code in question: https://android-review.googlesource.com/c/platform/frameworks/support/+/1431946/1/buildSrc/src/main/kotlin/androidx/build/Release.kt#92

Also note that this isn't a super high priority for us

Quite specific case, probably Ktlint should while formatting move multiline string content as well when it uses .trimIndent()
@romtsn what do you think about this?

I am not sure we'd like to introduce that, as the idea of trimIndent is about having a free-form test within the quotes... Although it might be convenient to re-indent the contents of trimIndent if, and only if both starting and ending quotes got re-indented by the same offset. Otherwise, it's generally unclear how to indent stuff within the quotes.

Imho ktlint should handle correctly this specific edge-case - on formatting raw string if it ends with .trimIndent() and both """ are indented - content of the raw string should be indented on the same amount.

I might be misremembering, but I think we recently reverted some code that would touch the contents of raw strings for the same reasoning that @romtsn said - it's a raw string so we assume we should leave the contents alone.

In PR this is resolved. Indentation of multiline strings is improved.

In PR this is resolved. Indentation of multiline strings is improved.

@paul-dingemans made some improvements to string templates, but we aren't going to touch the contents of them. Perhaps, this would make a good third-party rule or in a new-to-be-defined-upcoming-contrib-ruleset

@paul-dingemans made some improvements to string templates, but we aren't going to touch the contents of them. Perhaps, this would make a good third-party rule or in a new-to-be-defined-upcoming-contrib-ruleset

Actually I have developed such a rule a while ago. I can however not release it until https://github.com/pinterest/ktlint/pull/1230 has been merged.


Connecting through JDBC - ODBC bridge

Hi Gurus
I'm trying to connect to a MS Access database in dbeaver. First I tried connecting through UCanAccess, but it won't open the .mdb file because several reported errors with procedures and such.
I'm trying to connect through ODBC, but I'm missing something (probably a simple thing, but I can't figure out what).
Step1: I created the ODBC connection in the System DSN (in the ODBC Administrator), and name it as "Campaign".
Step2: I downloaded the JDBC-ODBC drivers in DBeaver and configure a connection which JDBC URL is jdbc:odbc:Campaign
Step3: I click on Test Connection and get a java.sql.SQLException: No data found error.
DBeaver version: 3.7.3
Connection parameters: by default
Thanks in advance!

Upgrade DBeaver to the recent version
Make sure that ODBC driver (which one exactly btw?) matches DBeaver/Java version.
64-bit driver can be used only from 64-bit DBeaver, the same about 32-bit.

Thanks for your quick answer.
Java version is 	1.7.0_67
ODBC is 32 bits, the same as DBeaver.
I'll test with the latest version and let you know if it works.
Thanks!

What exactly ODBC driver do you use?

Well, I was using the "Microsoft Access Driver (.mdb)" driver, as my Access DB was .mdb... but because of you asking, I tried with the "Microsoft Access Driver (.mdb, *.accdb)" and know it works just fine.
Thanks!

Cool ;)


@Priority on Sterotypes do not enable an Alternative as per the Spec

In StereotypeWithPriorityTest it is assumed that @Priority on a Stereotype does enable the Alternative. But this is imo not defined in the spec.
The specification only defines 2 cases as per section <IP_ADDRESS>:
An alternative may be given a priority for the application:
• by placing the @Priority annotation on the bean class of a managed bean, or
• by placing the @Priority annotation on the bean class that declares the producer method, field or resource.

Can you please point me to the paragraph which defines that Priority on Stereotypes do also count? Txs!

txs!

Yeah, let me reopen this. There's also a section in the CDI Full part of the spec that needs similar updating.


[google_maps_flutter] Empty map when resuming from background on Android

Tested with google_maps_flutter 0.5.21-0.5.21+11 on Emulator and Pixel 3a, Android 10.
Steps to reproduce:

Open app with GoogleMap -> displays ok
Put app into background, without it being killed by the system.
Resume the app after a while

Behaviour:

The map content (base map and custom polygon overlay) is visible for a brief moment, then disappears.
The Google logo stays visible.
The map appears to still be there, but be drawn completely translucently. Widgets behind it become visible. Gesture/movement/tap listeners still react to inputs.
The map can be made reappear by 'wildly' applying zoom-in gestures.
No specific log outputs.

Note that this is an intermittent problem. I couldn't find a pattern yet as to how long the app needs to be in the background or how much load the device needs to be under (I think it is more likely to happen if the app stays in the background for a longer time, however I had it happen when leaving the app for only a couple of seconds).

@BondarenkoStas you marked this issue as device-specific, but it really isn't. It happens on various devices.

The problem also happens in the following scenario:

The MapView is contained in an IndexedStack along with some other views.
Another widget within the IndexedStack comes into the foreroiund (but the MapView stays initialized)
MapView comes into foreground again.

When the MapView comes into foreground, sometimes the behavior is as described in the initial post.
It would be really great if somebody could look into this issue.

Here is a log output from this issue happening. I'm also using firebase_auth  in my app. Seems like the libraries somehow talk to each other and something goes wrong:
2019-12-06 12:51:42.898 22883-22946/de.bolz.dachzeltfestival W/BiChannelGoogleApi: [FirebaseAuth: ] getGoogleApiForMethod() returned Gms: com.google.firebase.auth.api.internal.zzak@d807a44 2019-12-06 12:51:42.905 22883-22911/de.bolz.dachzeltfestival W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found. 2019-12-06 12:51:42.907 22883-22911/de.bolz.dachzeltfestival I/FirebaseAuth: [FirebaseAuth:] Loading module via FirebaseOptions. 2019-12-06 12:51:42.907 22883-22911/de.bolz.dachzeltfestival I/FirebaseAuth: [FirebaseAuth:] Preparing to create service connection to gms implementation 2019-12-06 12:51:43.758 22883-22903/de.bolz.dachzeltfestival D/FirebaseAuth: Notifying id token listeners about user ( RzgiHyy37MaYtBpb5OG0XBGBfPW2 ).

Could somebody please look into this? @BondarenkoStas

Here's a screenshot:

I was able to reproduce the problem also with using a GoogleMap as root widget and found that persistent zooming in 'reanimates' the map after a while. See also my Spost on StackOverflow on this issue: https://stackoverflow.com/questions/59374010/flutter-googlemap-is-blank-after-resuming-from-background
I would really appreciate to get at least a word on whether this is being looked at.

same issue here

Workaround here: https://stackoverflow.com/a/59435683/1257326

same problem，after white screen，swith screen to landscape，platformView will display again 😂

I am having this problem as well. Has anybody been able to find a solution?

the same problem, just one-time map work properly at the emulator and when I perform any design changes and again hot restart it will disappear and when I close the android studio and again start it and run the project map works properly. I don't know what is the main problem.

this should be fixed or team should provide a solutions for such case.

Workaround here by modifying a fork: https://stackoverflow.com/a/59435683/1257326

thanks for this workound
currently we are using this patch.

@FlutterIssues team - have you published a patch for this yet?

Same issue with Android 10 API 29

Just experienced this on a OnePlus A5000 & Samsung Galaxy A51. Didn't see anything weird in the logs.

To me, the app outright crashes in the Android emulator after switching to another app and then switching back. Tested in Android 6 through 10.

E/Surface ( 5993): getSlotFromBufferLocked: unknown buffer: 0x200
D/EGL_emulation( 5993): eglMakeCurrent: 0xdd117540: ver 3 0 (tinfo 0xc67780e0)
E/flutter ( 5993): [ERROR:flutter/shell/gpu/gpu_surface_gl.cc(71)] Failed to setup Skia Gr context.
D/EGL_emulation( 5993): eglMakeCurrent: 0xe8659b80: ver 3 0 (tinfo 0xdd1c9610)
F/libc    ( 5993): Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x8 in tid 6022 (1.raster), pid 5993 ([app id])
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'google/sdk_gphone_x86/generic_x86:10/QSR1.190920.001/5891938:user/release-keys'
Revision: '0'
ABI: 'x86'
Timestamp: 2020-08-25 17:05:03-0300
pid: 5993, tid: 6022, name: 1.raster  >>> [app id] <<<
uid: 10144
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x8
Cause: null pointer dereference
    eax 00000000  ebx c863ac78  ecx fffffff9  edx 00000000
    edi c69f5978  esi 00000004
    ebp c69f56f8  esp c69f56f8  eip c7f91b85
backtrace:
      #00 pc 0138cb85  /data/app/[app id]-8G1wZH1E4TI7ZbVnqWpWTw==/lib/x86/libflutter.so (BuildId: 7c10268101450e4033959b201ce27d4c3845c232)
      #01 pc 0138b55d  /data/app/[app id]-8G1wZH1E4TI7ZbVnqWpWTw==/lib/x86/libflutter.so (BuildId: 7c10268101450e4033959b201ce27d4c3845c232)
      #02 pc 0142dd20  /data/app/[app id]-8G1wZH1E4TI7ZbVnqWpWTw==/lib/x86/libflutter.so (BuildId: 7c10268101450e4033959b201ce27d4c3845c232)
      #03 pc 015ff502  /data/app/[app id]-8G1wZH1E4TI7ZbVnqWpWTw==/lib/x86/libflutter.so (BuildId: 7c10268101450e4033959b201ce27d4c3845c232)
      #04 pc 015ff3d9  /data/app/[app id]-8G1wZH1E4TI7ZbVnqWpWTw==/lib/x86/libflutter.so (BuildId: 7c10268101450e4033959b201ce27d4c3845c232)
      #05 pc 015ff8c3  /data/app/[app id]-8G1wZH1E4TI7ZbVnqWpWTw==/lib/x86/libflutter.so (BuildId: 7c10268101450e4033959b201ce27d4c3845c232)
      #06 pc 015ff6af  /data/app/[app id]-8G1wZH1E4TI7ZbVnqWpWTw==/lib/x86/libflutter.so (BuildId: 7c10268101450e4033959b201ce27d4c3845c232)
Lost connection to device.

On a real Android device (running Android 10), the map becomes blank without any errors in the log, as described by the other comments.
Output of flutter doctor:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.20.1, on Mac OS X 10.15.6 19G2021, locale en-BR)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
[✓] Android Studio (version 4.0)
[✓] VS Code (version 1.48.2)
[✓] Connected device (1 available)

• No issues found!

Version of google_maps_flutter is 0.5.28+1.

@FlutterIssues team please update the repository with a patch.

same issue happens on android 10 api 29 but only on release version of app
with debug mode it works.

It would be nice if this was fixed.  I started submitting a PR and then started wondering if there was a better way to do this fix.  Temporarily I added a didChangeAppLifecycleState to my Widget and force the GoogleMap to redraw with a state change.

I have the same issue, will this be adressed soon or do we have to always use the workaround? :C

Same issue here..this issue should be fixed as soon as possible

I have the same issue with  version Flutter 1.22.2 stable and the last version of the package 1.0.3 of flutter google maps

This issue has opened more than a year ago .why didn't find an effective solution till now ?

I wonder if the problem is related to state restoration. The Google maps code restores state via mapView.onCreate(savedInstanceState). With the v2 plugin, this method is called twice: once in the implementation of DefaultLifecycleObserver#onCreate using a null bundle, and again in the implementation of Flutter's OnSaveInstanceStateListener#onRestoreInstanceState using a valid bundle. I wonder if these are occurring in an unexpected order and therefore causing state to restore incorrectly.

Same issue here with Samsung Galaxy S9+ (Switching apps, rotation and Stack() Widget)

Same Problem here, but only for some of my users. Any updates on this ?

Same here, any news?

Same problem!! give us a solution please, this issue has more than one year open and the problem persist

This bug occurs in official flutter map examples too.  To replicate just try switching apps to force change in lifecycle state. This is really a critical bug and needs to be fixed as soon as possible.

This bug occurs in official flutter map examples too.  To replicate just try switching apps to force change in lifecycle state. This is really a critical bug and needs to be fixed as soon as possible.

google_maps_flutter: ^1.0.6
flutter: 1.22.5
I'm having the same problem. I've tried to solution using didChangeAppLifecycleState but it didn't seem to make any difference. Is there an update on when this might get resolved?

google_maps_flutter: ^1.0.6
flutter: 1.22.5
I'm having the same problem. I've tried to solution using didChangeAppLifecycleState but it didn't seem to make any difference. Is there an update on when this might get resolved?

im having the same problem , any ideas for this isue ?? TT_TT

im having the same problem , any ideas for this isue ?? TT_TT

Having same issue..any solutions?

This is the workaround we are using right now.

  @override
  void didChangeAppLifecycleState(AppLifecycleState state) {
    if (state == AppLifecycleState.resumed) {
      _initMapStyle();
    }
  }

  Future<void> _initMapStyle() async {
    _mapStyle ??= await rootBundle.loadString(ThemeAssets.mapsStyle);
    await _controller?.setMapStyle(_mapStyle);
  }

Thank you very much
On Tue, Feb 9, 2021 at 6:55 PM Koen Van Looveren<EMAIL_ADDRESS>wrote:

This is the workaround we are using right now.
@override
void didChangeAppLifecycleState(AppLifecycleState state) {
if (state == AppLifecycleState.resumed) {
_initMapStyle();
}
}
Future _initMapStyle() async {
_mapStyle ??= await rootBundle.loadString(ThemeAssets.mapsStyle);
await _controller?.setMapStyle(_mapStyle);
}
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/40284#issuecomment-775933319,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKJAUNPX6VNK4RMXUYZR5LLS6EZWLANCNFSM4IVZAO3Q
.

Hey @HasikaDilshani @vanlooverenkoen did you extend or implement any class?
It doesn't seem to be working for me, i extended WidgetsBindingObserver,.
It's not even running the didChangeAppLifecycleState method as far as i can tell.

This is how you sould use the WidgetBinderObserver
class MapsState extends State<Maps> with WidgetsBindingObserver

  @override
  void initState() {
    super.initState();
    WidgetsBinding.instance.addObserver(this);
  }

  @override
  void dispose() {
    WidgetsBinding.instance.removeObserver(this);
    super.dispose();
  }

Hi, it's been almost 1.5 years since I reported the bug. @BondarenkoStas @TahaTesser is this issue being worked on? Thanks.

same issue

@jbxbergdev @AlexoDz
did you try the workarounds suggested here?

@iapicca yes, I actually posted the question.

Yeah! It works fine
On Thu, 18 Feb 2021 at 10:14 PM Francesco Iapicca @.***>
wrote:

@jbxbergdev https://github.com/jbxbergdev @AlexoDz
https://github.com/AlexoDz
did you try the workarounds suggested here
https://stackoverflow.com/questions/59374010/flutter-googlemap-is-blank-after-resuming-from-background
?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/40284#issuecomment-781638599,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJTBA3VCZOQXFTYGUVGS3ULS7V7K3ANCNFSM4IVZAO3Q
.

@jbxbergdev Please check @maheshmnj's findings above. Can you check and confirm at your end if this is still replicable using latest plugin version ?

@darshankawar unfortunately, I'm currently not working on the app that had this problem. However, I advise that this is/was an intermittent problem which may require several attempts/possibly longer time in the background to reproduce. Other users replying to this have had the same behavior. Maybe someone else can check?

This is the workaround we are using right now.

  @override
  void didChangeAppLifecycleState(AppLifecycleState state) {
    if (state == AppLifecycleState.resumed) {
      _initMapStyle();
    }
  }

  Future<void> _initMapStyle() async {
    _mapStyle ??= await rootBundle.loadString(ThemeAssets.mapsStyle);
    await _controller?.setMapStyle(_mapStyle);
  }

Thanks you @vanlooverenkoen , i'ts work !!!!!! ❤

We tried to replicate this issue by keeping the app in background for ~20 mins and tried few times, but couldn't replicate it. We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.

It will never happen if you keep your app open. The issue appears when going to the background and back to the app a couple of times. Look at my example that is how we can fix it in dart. But we actually should override the lifecycle in android

Reopening it based on above comment but cannot replicate. Keeping it open for further investigation from team.

Hi everyone
First of all, thanks @vanlooverenkoen for commenting on the issue
I can reproduce the issue on the Android device after running the for almost 6 hours.
Steps to reproduce

Running a minimal code sample  for flutter_google_maps in release mode  and push the app  to the background.

minimal code sample
import 'dart:async';

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

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Google Maps Demo',
      home: MapSample(),
    );
  }
}

class MapSample extends StatefulWidget {
  @override
  State<MapSample> createState() => MapSampleState();
}

class MapSampleState extends State<MapSample> {
  Completer<GoogleMapController> _controller = Completer();

  static final CameraPosition _kGooglePlex = CameraPosition(
    target: LatLng(37.42796133580664, -122.085749655962),
    zoom: 14.4746,
  );

  static final CameraPosition _kLake = CameraPosition(
      bearing:<PHONE_NUMBER>395799,
      target: LatLng(37.43296265331129, -122.08832357078792),
      tilt: 59.440717697143555,
      zoom: 19.151926040649414);

  @override
  Widget build(BuildContext context) {
    return new Scaffold(
      body: GoogleMap(
        mapType: MapType.hybrid,
        initialCameraPosition: _kGooglePlex,
        onMapCreated: (GoogleMapController controller) {
          _controller.complete(controller);
        },
      ),
      floatingActionButton: FloatingActionButton.extended(
        onPressed: _goToTheLake,
        label: Text('To the lake!'),
        icon: Icon(Icons.directions_boat),
      ),
    );
  }

  Future<void> _goToTheLake() async {
    final GoogleMapController controller = await _controller.future;
    controller.animateCamera(CameraUpdate.newCameraPosition(_kLake));
  }
}

Open Play store, Youtube, Weather or any random apps, around 8-10 of the would be good enough and open and these apps to the background as well.
Keep the device busy with long Youtube videos running (played white noise videos in my testing) or playing games.
4/ Switch between maps app and other apps few times

After couple of hours, maps started to loading slowly whenever I switch, then after a few more switches, maps apps comes blank.

Preview

flutter doctor -v
[✓] Flutter (Channel stable, 2.2.2, on Microsoft Windows [Version 10.0.19043.1055], locale en-US)
    • Flutter version 2.2.2 at C:\Users\Taha\Code\flutter_stable
    • Framework revision d79295af24 (6 days ago), 2021-06-11 08:56:01 -0700
    • Engine revision 91c9fc8fe0
    • Dart version 2.13.3
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\Taha\Code\SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_SDK_ROOT = C:\Users\Taha\Code\SDK
    • Java binary at: C:\Users\Taha\Code\openjdk\bin\java.exe
    • Java version OpenJDK Runtime Environment (build 1.8.0-262-b10)
    • All Android licenses accepted.
[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.10.1)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.10.31402.337
    • Windows 10 SDK version 10.0.19041.0
[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
[✓] IntelliJ IDEA Community Edition (version 2021.1)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2021.1.1
    • Flutter plugin version 57.0.5
    • Dart plugin version 211.7233
[✓] VS Code (version 1.57.0)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.23.0
[✓] Connected device (4 available)
    • Redmi K20 Pro (mobile) • def0ad20 • android-arm64  • Android 10 (API 29)
    • Windows (desktop)      • windows  • windows-x64    • Microsoft Windows [Version 10.0.19043.1055]
    • Chrome (web)           • chrome   • web-javascript • Google Chrome 91.0.4472.101
    • Edge (web)             • edge     • web-javascript • Microsoft Edge 91.0.864.48
! Doctor found issues in 1 category.

Damn that is dedication 🎉
In our tests we had it after switching between apps in a timespan of 30 min. After that the map was always blank. As I already said. the fix in dart worked for us. But should be fixed by handling the android lifecycle

Hi @vanlooverenkoen , which is the import of ThemeAssets.mapsStyle ?

That is just a string assets/map_style/dark.json But that could be any mapstyle.

bug persists in some devices... but fixed used the workaround posted up.
also using  controller.setMapStyle("[]"); in my case.... because map doesnt have any style...

I can confirm that this bug still exists with the latest version of the google maps flutter package on my emulator (Android 7) and on my actual phone running Android 10.
When the app is being used, everything runs smoothly, but as soon as i switch to another app and go back to my app, the Google Maps widget turns blank.

I can approve, that this issue still exists even with the newest google maps version.

Same. Tested with Samsung S20 Android 11 the issue still exists.

Is there any solution? I can't post my app while this Big persist 😞

Is there any solution? I can't post my app while this Big persist 😞

You can use the workaround posted in this thread.... You can post your app.

Workaround here by modifying a fork: https://stackoverflow.com/a/59435683/1257326

Hi, I tried using the workaround.

Edited the fork and imported it into my project but I got this error.

My pubscpec.yaml:

Wondering if it's just me lol

Hey, I tried something & it seems to be working!
Step 01,
Implement WidgetsBindingObserver for related class's State class as follows,
i.e: class MainScreenState extends State<MainScreen> with WidgetsBindingObserver {....
Step 02,
Override didChangeAppLifecycleState method
i.e:
@override
  Future<void> didChangeAppLifecycleState(AppLifecycleState state) async {
    super.didChangeAppLifecycleState(state);
    switch (state) {
      case AppLifecycleState.inactive:
        print('appLifeCycleState inactive');
        break;
      case AppLifecycleState.resumed:
        print('appLifeCycleState resumed');
        break;
      case AppLifecycleState.paused:
        print('appLifeCycleState paused');
        break;
      case AppLifecycleState.detached:
        print('appLifeCycleState detached');
        break;
    }
  }

Step 03
add this for init state
WidgetsBinding.instance!.addObserver(this);
Step 04
Step 4 should be as follows
//onMapCreated method
  void onMapCreated(GoogleMapController controller) {
    controller.setMapStyle(Utils.mapStyles);
    _controller.complete(controller);
  }

// lifecycle
  @override
  Future<void> didChangeAppLifecycleState(AppLifecycleState state) async {
    super.didChangeAppLifecycleState(state);
    switch (state) {
      case AppLifecycleState.inactive:
        print('appLifeCycleState inactive');
        break;
      case AppLifecycleState.resumed:
        final GoogleMapController controller = await _controller.future;
        onMapCreated(controller);
        print('appLifeCycleState resumed');
        break;
      case AppLifecycleState.paused:
        print('appLifeCycleState paused');
        break;
      case AppLifecycleState.detached:
        print('appLifeCycleState detached');
        break;
    }
  }

seems to be working!
Step 01,
Implement WidgetsBindingObserver for related class's State class as follows,
i.e: class MainScreenState extends State<MainScreen> with WidgetsBindingObserver {....
Step 02,
Override didChangeAppLifecycleState method
i.e:
@override
  Future<void> didChangeAppLifecycleState(AppLifecycleState state) async {
    super.didChangeAppLifecycleState(state);
    switch (state) {
      case AppLifecycleState.inactive:
        print('appLifeCycleState inactive');
        break;
      case AppLifecycleState.resumed:
        print('appLifeCycleState resumed');
        break;
      case AppLifecycleState.paused:
        print('appLifeCycleState paused');
        break;
      case AppLifecycleState.detached:
        print('appLifeCycleState detached');
        break;
    }
  }

Step 03
add this for init state
WidgetsBinding.instance!.addObserver(this);
Step 04
Step 4 should be as follows
//onMapCreated method
  void onMapCreated(GoogleMapController controller) {
    controller.setMapStyle(Utils.mapStyles);
    _controller.complete(controller);
  }

// lifecycle
  @override
  Future<void> didChangeAppLifecycleState(AppLifecycleState state) async {
    super.didChangeAppLifecycleState(state);
    switch (state) {
      case AppLifecycleState.inactive:
        print('appLifeCycleState inactive');
        break;
      case AppLifecycleState.resumed:
        final GoogleMapController controller = await _controller.future;
        onMapCreated(controller);
        print('appLifeCycleState resumed');
        break;
      case AppLifecycleState.paused:
        print('appLifeCycleState paused');
        break;
      case AppLifecycleState.detached:
        print('appLifeCycleState detached');
        break;
    }
  }

following your solution I get
"The getter 'future' isn't defined for the type 'GoogleMapController'.
Try importing the library that defines 'future', correcting the name to the name of an existing getter, or defining a getter or field named 'future'."
could indicate what type is '_controller' or how to solve this, if I have errors in the language it is because I am not learning: c

code nhu lin, chay deo dau

Has anyone implemented this using flutter_hooks ?

Hey, I tried something & it seems to be working!
Step 01,
Implement WidgetsBindingObserver for related class's State class as follows,
i.e: class MainScreenState extends State<MainScreen> with WidgetsBindingObserver {....
Step 02,
Override didChangeAppLifecycleState method
i.e:
@override
  Future<void> didChangeAppLifecycleState(AppLifecycleState state) async {
    super.didChangeAppLifecycleState(state);
    switch (state) {
      case AppLifecycleState.inactive:
        print('appLifeCycleState inactive');
        break;
      case AppLifecycleState.resumed:
        print('appLifeCycleState resumed');
        break;
      case AppLifecycleState.paused:
        print('appLifeCycleState paused');
        break;
      case AppLifecycleState.detached:
        print('appLifeCycleState detached');
        break;
    }
  }

Step 03
add this for init state
WidgetsBinding.instance!.addObserver(this);
Step 04
Step 4 should be as follows
//onMapCreated method
  void onMapCreated(GoogleMapController controller) {
    controller.setMapStyle(Utils.mapStyles);
    _controller.complete(controller);
  }

// lifecycle
  @override
  Future<void> didChangeAppLifecycleState(AppLifecycleState state) async {
    super.didChangeAppLifecycleState(state);
    switch (state) {
      case AppLifecycleState.inactive:
        print('appLifeCycleState inactive');
        break;
      case AppLifecycleState.resumed:
        final GoogleMapController controller = await _controller.future;
        onMapCreated(controller);
        print('appLifeCycleState resumed');
        break;
      case AppLifecycleState.paused:
        print('appLifeCycleState paused');
        break;
      case AppLifecycleState.detached:
        print('appLifeCycleState detached');
        break;
    }
  }

after adding this to my code it throws bad state future already completed error when resuming the app, and for some reason my custom marker started to kind of "jump", can anybody help please?

I updated the code.  Add the following code for the onMapCreated method.
    if (!_controller.isCompleted) {
      _controller.complete(controller);
    }

Hey, I tried something & it seems to be working!
Step 01, Implement WidgetsBindingObserver for related class's State class as follows, i.e: class MainScreenState extends State<MainScreen> with WidgetsBindingObserver {....
Step 02, Override didChangeAppLifecycleState method i.e:
@override
  Future<void> didChangeAppLifecycleState(AppLifecycleState state) async {
    super.didChangeAppLifecycleState(state);
    switch (state) {
      case AppLifecycleState.inactive:
        print('appLifeCycleState inactive');
        break;
      case AppLifecycleState.resumed:
        print('appLifeCycleState resumed');
        break;
      case AppLifecycleState.paused:
        print('appLifeCycleState paused');
        break;
      case AppLifecycleState.detached:
        print('appLifeCycleState detached');
        break;
    }
  }

Step 03 add this for init state WidgetsBinding.instance!.addObserver(this);
Step 04 Step 4 should be as follows
//onMapCreated method
  void onMapCreated(GoogleMapController controller) {
    controller.setMapStyle(Utils.mapStyles);
   if (!_controller.isCompleted) {
      _controller.complete(controller);
    }
  }

// lifecycle
  @override
  Future<void> didChangeAppLifecycleState(AppLifecycleState state) async {
    super.didChangeAppLifecycleState(state);
    switch (state) {
      case AppLifecycleState.inactive:
        print('appLifeCycleState inactive');
        break;
      case AppLifecycleState.resumed:
        final GoogleMapController controller = await _controller.future;
        onMapCreated(controller);
        print('appLifeCycleState resumed');
        break;
      case AppLifecycleState.paused:
        print('appLifeCycleState paused');
        break;
      case AppLifecycleState.detached:
        print('appLifeCycleState detached');
        break;
    }
  }

working well. i recomment it

I also can approve, that this issue still exists with the newest google maps version.

It's unbelievable, that this issue is opened since 9/2019, has multiple confirmations of reproducing on many devices with minimal example, there are three different workarounds for this, and yet at the end of 2021 there is still no sign of progress or attention to this major issue, which will happen to almost 100% of the Android users, because each of them will eventually pause and resume the app.
Issue seen on Redmi 7, Android 10 QKQ1, on latest version 2.1.1.
It isn't always reproducible, sometimes when the app is rebuilt it doesn't happen, but that's rare.

@marianhlavac As far as I understand, google_maps_flutter is, at least for the most part, not developed by the Google Maps team, but by the community. I might be wrong on this, but it might explain the slow (or in this case nonexistent) progress.
How serious Google is about driving Flutter adoption, while unwilling to dedicate sufficient resources to such an important plugin like Google Maps, is another story.

This worked for me though
@override
    void didChangeAppLifecycleState(AppLifecycleState state) {
        if (state == AppLifecycleState.resumed) {
            controller.setMapStyle("[]");
        }
    }

https://stackoverflow.com/questions/59374010/flutter-googlemap-is-blank-after-resuming-from-background/59435683#59435683

I am also getting white screen some time when app comes in foreground with map on screen. Other widget on same screen are working fine. It is only happening with devices with android 12. None of the above are helpful in my case.

I've used the setMapStyle workaround reliably for about a year, but I'm getting a blank map again on Android 12 devices.
Anything prior to Android 12 still seems to be alright.
Might be a different bug that causes it but it result in the same blank screen on app resume.

I can confirm it with a Samsung Galaxy A10s.
When the app goes to background and it returns to foreground, the map doesn't load anymore.
I also got the same in another Samsung Galaxy Note GTN5110 with LineageOS 10.4 (Nougat). Implementing the @Daeon97 code, worked in that tab, so I'm testing now in the Galaxy A10s.

It still appears on the Poco phone with android 12.
And all work around above didn't work

Thanks to workaround by Tim-HNK from https://github.com/flutter/flutter/issues/98865#issuecomment-1113204746.
This is a workaround for device that run Android 12 and above (I think this work on Android version below 12 as well). This workaround remove Google Map for the first frame after AppLifecycleState resume.
Here is the full source code:
class WidgetWithGoogleMap extends StatefulWidget {
  const WidgetWithGoogleMap({super.key});

  @override
  State<WidgetWithGoogleMap> createState() => _WidgetWithGoogleMapState();
}

class _WidgetWithGoogleMapState extends State<WidgetWithGoogleMap>
    with WidgetsBindingObserver {
  bool _includeMap = true;

  @override
  void initState() {
    super.initState();
    WidgetsBinding.instance.addObserver(this);
  }

  @override
  void didChangeAppLifecycleState(AppLifecycleState state) {
    if (state == AppLifecycleState.resumed) {
      _resetMap();
    }
  }

  void _resetMap() {
    WidgetsBinding.instance.addPostFrameCallback((_) {
      if (mounted) {
        setState(() {
          _includeMap = true;
        });
      }
    });
    if (mounted) {
      setState(() {
        _includeMap = false;
      });
    }
  }

  @override
  Widget build(BuildContext context) {
    return _includeMap
        ? const GoogleMap(
            mapType: MapType.normal,
            initialCameraPosition: CameraPosition(
              target: LatLng(37.42796133580664, -122.085749655962),
            ),
          )
        : const SizedBox.shrink();
  }
}

Thanks to workaround by Tim-HNK from https://github.com/flutter/flutter/issues/98865#issuecomment-1113204746.
This is a workaround for device that run Android 12 and above (I think this work on Android version below 12 as well). This workaround remove Google Map for the first frame after AppLifecycleState resume.
Here is the full source code:
class WidgetWithGoogleMap extends StatefulWidget {
  const WidgetWithGoogleMap({super.key});

  @override
  State<WidgetWithGoogleMap> createState() => _WidgetWithGoogleMapState();
}

class _WidgetWithGoogleMapState extends State<WidgetWithGoogleMap>
    with WidgetsBindingObserver {
  bool _includeMap = true;

  @override
  void initState() {
    super.initState();
    WidgetsBinding.instance.addObserver(this);
  }

  @override
  void didChangeAppLifecycleState(AppLifecycleState state) {
    if (state == AppLifecycleState.resumed) {
      _resetMap();
    }
  }

  void _resetMap() {
    WidgetsBinding.instance.addPostFrameCallback((_) {
      if (mounted) {
        setState(() {
          _includeMap = true;
        });
      }
    });
    if (mounted) {
      setState(() {
        _includeMap = false;
      });
    }
  }

  @override
  Widget build(BuildContext context) {
    return _includeMap
        ? const GoogleMap(
            mapType: MapType.normal,
            initialCameraPosition: CameraPosition(
              target: LatLng(37.42796133580664, -122.085749655962),
            ),
          )
        : const SizedBox.shrink();
  }
}

I can't reproduce this issue at flutter head using version 2.5.3 of google_maps_flutter. Tested on a Pixel 7 Pro running Android 14.


Temporarily disabling test ApiTests.CalendarViewTests.VerifyVisualTree

This test was failing in some pipelines because the properties get dumped in an inconsistent order. Internal bug 33335709 is tracking this issue.

/azp run


Syntax highlighting problem, unreachable code or unbalanced brackets

Issue Type: Bug
I was working on a section of code, and when I went to the top to add a helper function, I found that as soon as I typed return in the new function's body, before I could type the rest of the return statement and the closing bracket for the function, much of the code disappeared (see screen shot).

As soon as I added the closing bracket the code appeared correctly again. The code seemed to disappear/reappear around the same time as the code highlighting changed.
I tried to get a smaller block of code to reproduce, but this was as small as I could get it
(function () {
  function no(i) { return
  function nu(i) { return i !== undefined };
  function Map() {
    this._kv = [];
    return this;
  };
  var mprot = Map.prototype;
  mprot.size = function () { return this._kv.length };
  mprot._findi = function (key) {
    for (var i = 0; i < this._kv.length; i++) {
      if (this._kv[i].key === key) return i;
    }
  };
  mprot.get = function (key) {
    var i = this._findi(key);
    if (nu(i)) return this._kv[i];
  };
  mprot.has = function (key) {
    return nu(this._findi(key));
  };
  mprot.set = function (key, value) {
    var obj = this.get(key);
    if (!obj) {
      obj = { key: key, value: undefined };
      this._kv.push(obj);
    }
    obj.value = value;
    return this;
  };
  mprot.delete = function (key) {
    var i = this._findi(key);
    if (nu(i)) {
      this._kv.splice(i, 1);
      return true;
    }
    return false;
  };
  if (!('Map' in window)) window.Map = Map;
  else window.Map2 = Map;
})();

VS Code version: Code 1.29.1 (bc24f98b5f70467bc689abf41cc5550ca637088e, 2018-11-15T19:07:43.495Z)
OS version: Linux x64 4.18.11-041811-generic

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz (8 x 2837)

GPU Status
2d_canvas: unavailable_softwarechecker_imaging: disabled_offflash_3d: unavailable_softwareflash_stage3d: unavailable_softwareflash_stage3d_baseline: unavailable_softwaregpu_compositing: unavailable_softwaremultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: unavailable_softwarevideo_decode: unavailable_softwarevideo_encode: unavailable_softwarewebgl: enabled_readbackwebgl2: unavailable_off

Load (avg)
1, 1, 1

Memory (System)
15.15GB (5.28GB free)

Process Argv
--unity-launch --disable-gpu

Screen Reader
no

VM
0%

Extensions: none

Please test this in the first VS Code 1.31 insiders build once it comes out at the end of this week. This looks like a potential electron issue and 1.31 includes a new version of electron

Changing the labels, electron-3.0.x-update should be used to signal new regressions we got by updating to Electron 3 :+1:

Yes, the problem appears to be fixed in VS Code 1.31 insiders build. Thanks!

Leaving open until we ship Electron 3.0.x to stable.


[SMALLFIX] Fix display of leader master in the output of deploy module.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/12905/
Test PASSed.

LGTM


Move generated docs{,-prerelease}.json to $GENERATED v2

Due to https://github.com/dlang/dlang.org/pull/1682

At least we know know the error - it's due to the rm at the end which I left in there, in case someone uses an old dlang.org build ...
Writing filtered docs...
rm .generated/.release-files.txt .generated/.release-dummy.html
rm: cannot remove '.generated/.release-dummy.html': No such file or directory
posix.mak:513: recipe for target '.generated/docs.json' failed
make: *** [.generated/docs.json] Error 1


Accept callables to AutoGuideList.add(-)

Resolves #1168
This creates a simple wrapper AutoCallable to allow callables to be .add()ed to an AutoGuideList.
Tested

smoke test with no return value
smoke test with dict return value
value test with optional median callable

the class is redundant

Users need never interact with the AutoCallable; callable guides will be wrapped automatically.


Use img2img to generate black and white photos

The use of txt2img is completely normal, but img2img will only produce black and white photos.
But when I delete the cache.json in the forge home directory, img2img can generate color images normally.
after turning it off and turning it on again, IC LIGHT img2img changes to black and white again.
No error message, how to fix this? Thanks
cache.json

Can you attach full console logs?

Can you attach full console logs?
thanks.
when I selected Restore Details,second image will colorful,first image still is black and white.

venv "S:\venvzluda\Scripts\Python.exe"
ROCm Toolkit was found.
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Version: f0.0.17v1.8.0rc-1.7.0
Commit hash:
Installing forge_legacy_preprocessor requirement: changing opencv-python version from <IP_ADDRESS> to 4.8.0
Installing sd-forge-controlnet requirement: changing opencv-python version from <IP_ADDRESS> to 4.8.0
Total VRAM 8176 MB, total RAM 32606 MB
Set vram state to: NORMAL_VRAM
Device: cuda:0 AMD Radeon RX 6600 [ZLUDA] : native
VAE dtype: torch.bfloat16
Launching Web UI with arguments: --theme dark --api --autolaunch
CUDA Stream Activated:  False
Using pytorch cross attention
ONNX: selected=CUDAExecutionProvider, available=['AzureExecutionProvider', 'CPUExecutionProvider']
ControlNet preprocessor location: S:\stable-diffusion-webui\models\ControlNetPreprocessor
watermark logo: S:\stable-diffusion-webui\extensions\sd-webui-facefusion-dev\watermark.png
[-] sd-webui-facefusion initialized. FaceFusion 2.1.2
2024-06-09 02:21:41,806 - AnimateDiff - INFO - AnimateDiff Hooking i2i_batch
Loading weights [15012c538f] from S:\stable-diffusion-webui\models\Stable-diffusion\realisticVisionV60B1_v51VAE.safetensors
model_type EPS
UNet ADM Dimension 0
Using pytorch attention in VAE
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
Using pytorch attention in VAE
extra {'cond_stage_model.clip_l.text_projection', 'cond_stage_model.clip_l.logit_scale'}
To load target model SD1ClipModel
Begin to load 1 model
[Memory Management] Current Free GPU Memory (MB) =  8008.3076171875
[Memory Management] Model Memory (MB) =<PHONE_NUMBER>280762
[Memory Management] Minimal Inference Memory (MB) =  1024.0
[Memory Management] Estimated Remaining GPU Memory (MB) =  6530.099994659424
Moving model(s) has taken 0.07 seconds
Model loaded in 1.5s (forge load real models: 0.9s, calculate empty prompt: 0.5s).
2024-06-09 02:21:43,472 - ControlNet - INFO - ControlNet UI callback registered.
Running on local URL:  http://<IP_ADDRESS>:7860
To create a public link, set share=True in launch().
Startup time: 17.5s (prepare environment: 10.3s, import torch: 0.3s, import gradio: 0.5s, setup paths: 0.8s, initialize shared: 0.8s, other imports: 0.1s, load scripts: 5.5s, create ui: 2.0s, gradio launch: 0.3s, add APIs: 0.4s).
S:\venvzluda\lib\site-packages\huggingface_hub\file_download.py:1132: FutureWarning: resume_download is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use force_download=True.
warnings.warn(
prompt:cinematic film still ,1 girl, standing under the cherry blossom tree, vignette, highly detailed, high budget, bokeh, cinemascope, moody, epic, gorgeous, film grain, grainy
negative prompt:anime, cartoon, graphic, text, painting, crayon, graphite, abstract, glitch, deformed, mutated, ugly, disfigured
ugly, disfigured, spend time:0.0
To load target model AutoencoderKL
Begin to load 1 model
[Memory Management] Current Free GPU Memory (MB) =  7660.10107421875
[Memory Management] Model Memory (MB) =<PHONE_NUMBER>2253418
[Memory Management] Minimal Inference Memory (MB) =  1024.0
[Memory Management] Estimated Remaining GPU Memory (MB) =  6476.543992996216
Moving model(s) has taken 0.05 seconds
To load target model AutoencoderKL
Begin to load 1 model
Reuse 1 loaded models
[Memory Management] Current Free GPU Memory (MB) =  5848.04541015625
[Memory Management] Model Memory (MB) =  0.0
[Memory Management] Minimal Inference Memory (MB) =  1024.0
[Memory Management] Estimated Remaining GPU Memory (MB) =  4824.04541015625
Moving model(s) has taken 0.01 seconds
To load target model BaseModel
Begin to load 1 model
[Memory Management] Current Free GPU Memory (MB) =  5851.42041015625
[Memory Management] Model Memory (MB) =  1639.4137649536133
[Memory Management] Minimal Inference Memory (MB) =  1024.0
[Memory Management] Estimated Remaining GPU Memory (MB) =  3188.0066452026367
Merged with diffusion_model.input_blocks.0.0.weight channel changed to [320, 8, 3, 3]
Moving model(s) has taken 0.58 seconds
100%|████████████████████████████████████████████████████████████████████████████████████| 8/8 [00:22<00:00,  2.85s/it]
To load target model AutoencoderKL███████████████████████████████████████████████████████| 8/8 [00:19<00:00,  2.66s/it]
Begin to load 1 model
Reuse 1 loaded models
[Memory Management] Current Free GPU Memory (MB) =  4140.59912109375
[Memory Management] Model Memory (MB) =  0.0
[Memory Management] Minimal Inference Memory (MB) =  1024.0
[Memory Management] Estimated Remaining GPU Memory (MB) =  3116.59912109375
Moving model(s) has taken 0.01 seconds
Total progress: 100%|████████████████████████████████████████████████████████████████████| 8/8 [00:25<00:00,  3.25s/it]
Total progress: 100%|████████████████████████████████████████████████████████████████████| 8/8 [00:25<00:00,  2.66s/it]███████████

Can img2img swap the loading positions of the input foreground img and light direction img? Otherwise, img2img cannot automatically grab the image size and image prompt from the settings.
Thank you very much

I found the reason. It's not code problem. I set the target location and start location of user-web.bat to be different.
Delete this problem
, please focus on the development of forge DEV2, thank you


2023/05/20 19:31:52.412018 server.go:1928: [Error] HERTZ: HTTP2: write response body error when serving <IP_ADDRESS>:20528: http: request method or response status code does not allow body

status 304 will return body error here. details here
https://github.com/cloudwego/hertz/issues/786
server.go file.
@welkeyever pls fix this. thx

There was already an issue, so much so that I closed it.


linked kitems appear to be removed when linked to another kitem

Due to any reason, the remaining neighbours of a target kitem are loosing their relations to the target item, when this target item if linked to a source item.
E.g.
source ---linked---> target ----linked---> neighbour.
This is likely a problem in the SDK and not in the backend, since this problem

Has been solved at v1.4.0rc15.


firefox: 101.0.1 -> 102.0; firefox-esr-102: init at 102.0; firefox-esr-91: 91.10.0esr -> 91.11.0esr, spidermonkey: 91.10.0 -> 91.11.0; and more

https://www.mozilla.org/en-US/firefox/102.0/releasenotes/
https://www.mozilla.org/en-US/firefox/91.11.0/releasenotes/
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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

[ ] 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/)
22.11 Release Notes (or backporting 22.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Run-tested on x86_64-linux (amdgpu/sway/pipewire)

[x] firefox-esr-102
[ ] firefox-esr-91
[ ] firefox

Build-tested:

[x] spidermonkey_91 (on aarch64-linux & x86_64-linux)

I haven't been able to get geolocation via geoclue to work. On dbus I see a permissions error from the portal.
$ dbus_monitor
method call time=1656338705.983319 sender=:1.2475 -> destination=org.freedesktop.DBus serial=17 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.portal.Desktop',interface='org.freedesktop.DBus.Properties',member='PropertiesChanged',path='/org/freedesktop/portal/desktop',arg0='org.freedesktop.portal.Location'"
method return time=1656338705.983368 sender=org.freedesktop.DBus -> destination=:1.2475 serial=13 reply_serial=17
method call time=1656338705.983444 sender=:1.2475 -> destination=org.freedesktop.DBus serial=18 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.portal.Desktop',interface='org.freedesktop.portal.Location',path='/org/freedesktop/portal/desktop'"
method return time=1656338705.983476 sender=org.freedesktop.DBus -> destination=:1.2475 serial=14 reply_serial=18
method call time=1656338705.984026 sender=:1.2475 -> destination=org.freedesktop.DBus serial=19 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=StartServiceByName
   string "org.freedesktop.portal.Desktop"
   uint32 0
method return time=1656338705.984105 sender=org.freedesktop.DBus -> destination=:1.2475 serial=15 reply_serial=19
   uint32 2
method call time=1656338705.984892 sender=:1.2475 -> destination=org.freedesktop.DBus serial=20 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.freedesktop.portal.Desktop"
method return time=1656338705.984953 sender=org.freedesktop.DBus -> destination=:1.2475 serial=16 reply_serial=20
   string ":1.4"
method call time=1656338705.986935 sender=:1.2475 -> destination=:1.4 serial=21 path=/org/freedesktop/portal/desktop; interface=org.freedesktop.DBus.Properties; member=GetAll
   string "org.freedesktop.portal.Location"
method return time=1656338705.987611 sender=:1.4 -> destination=:1.2475 serial=2283 reply_serial=21
   array [
      dict entry(
         string "version"
         variant             uint32 1
      )
   ]
method call time=1656338705.988838 sender=:1.2475 -> destination=:1.4 serial=22 path=/org/freedesktop/portal/desktop; interface=org.freedesktop.portal.Location; member=CreateSession
   array [
      dict entry(
         string "session_handle_token"
         variant             string "firefox"
      )
   ]
error time=1656338705.989789 sender=:1.4 -> destination=:1.2475 error_name=org.freedesktop.portal.Error.NotAllowed reply_serial=22
   string "Location services disabled"

🎉  video acceleration really started to work in my case (without disabling the sandbox).  Well not in a clean profile, but it's a definite improvement.


Is work being done on the studiomdl rewrite?

i wanna start improving the mdl format for my engine based on this but i pretty much cant untill the studiomdl rewrite so it can be opensourced since i want to raise like limits and stuff and features

Tjhe studiomdl rewrite is currently on hold due to the fact that I have higher priority issues at the moment, like extending the test levels, and also I am currently in the hospital due to liver disease, so everything is on hold at the moment.


Bug Report: Chatbot covering the content behind it

Reproduction steps
When you open the project, the chatbot div is covering the content behind it. Just opening the home page is causing this issue.
Expected behavior
A chatbot should have an icon present at the bottom right corner, which when pressed should open up a div and the bot div should also have a closing option which is not present as of now. The size of the current div is too big so it can be styled so as to meet the above requirements.
Actual Behavior
When you open the project, the chatbot div is covering the content behind it. Because of this, it is not possible to view the things written behind it, or navigate to other pages(as it covers the navbar as well) and the user misses a chance to view books, audiobooks and videos. It is hiding almost 33% of the content of this page that is it 1 out of 3 books in each row.

,
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Can you assign me this issue under Gssoc'23?

hey can I work on this?


Make planout_core_compatible actually core-compatible again

These changes address some code organizational issues preventing the compatibility distribution from being usable in deployments that depend on the compatibility working.
Highlights:

Namespace segment allocation is fixed (fixes #52)
Interpreted experiments are fixed
PlanOut.Core is no longer undefined (faulty import statement)
Windows unit tests pass and the unit tests are generally improved (fixes #38)

Notes:

The following item is added to the PlanOut object:

PlanOut.Ops.Base

I recommend at least a minor version bump, if not a major one so as not to break anyone using the 3.0.x planout_core_compatibility.js distribution.

@jcwilson these are some incredibly interesting finds and changes. I'm going to hold off on properly reviewing this since I want to pull this down and play around with it but I have a bunch of exams next week so I won't be able to look at this carefully until Thursday at the earliest. Thanks again for all this

No problem, thanks for taking a look. I can help with testing the windows side of things if we need to make any edits to the PR.

@jcwilson thank you for digging into this for us! 💯
I'm going to block off some time tomorrow to properly review these changes.

I conflate dependency injection with dependency inversion. I think what we were describing above was dependency inversion, which the latest commit now attempts to do.

@jcwilson this is looking great! Huge thank you for diving into this problem. 💯
I have no major objections from reading over these code changes, though I havn't yet pulled the branch down locally. Please give @rawls238 and myself a few days to play with these changes, discuss, and prep for a v4.0 release.

No problem. Glad I could help. :)

@jcwilson I pulled this branch down and everything looks good. I left a couple of small comments, but I think that this code is in a good state.
I'll wait for @rawls238 to chime in before making any moves here, and I'd also like to figure out whether there's opportunity to combine these changes with any changes made to fix https://github.com/HubSpot/PlanOut.js/issues/57 for a single v4.0 release. Any changes made to fix https://github.com/HubSpot/PlanOut.js/issues/57 should be pretty simple, so I don't think we'll be waiting too long on the front.

@jcwilson Here's the v4 branch with your changes included - https://github.com/HubSpot/PlanOut.js/pull/58
I'll plan to merge & publish v4.0 sometime this week after review.

Would you like me to go ahead and close this PR, as all the changes are in #58?

@jcwilson sure we can close this. Thanks again for pointing out the problem and helping us find a solution!

Can't wait to get the new release :)


perf(es/lexer): Use debug_unreachable!

Description:
This will result in a smaller binary and a minor performance gain.

Closing as it was wrong


Add option to skip "admin message"

Hi,
I upgraded from 2.7 to 2.7.3, and now each time I start the application, I do have the AdminMessage created in this commit
I do understand the purpose (defined in issue #4 ) and understand the non-admin limitation, but I won't be able to start W10Wheel in admin mode due to local restrictions.
As it's a bit frustrating to click on OK each time, would it be possible to skip this message?
That could either be a command-line flag (let's say --skip-adminmessage) or an option in the right-click menu?
Thanks for this great software 😍

Currently there is no option to disable it. However, I think it's easy to add that option.


updated attention mask value based on dtype.

What does this PR do?
Fixes NaN output of SelfAttention/MultiHeadDotProductAttention layer with dtype float16

Fixes # (issue)
https://github.com/google/flax/issues/982
Checklist

[x] This PR fixes a minor issue (e.g.: typo or small bug) or improves the docs (you can dismiss the other
checks if that's the case).
[ ] This change is discussed in a Github issue/
discussion (please add a
link).
[ ] The documentation and docstrings adhere to the
documentation guidelines.
[ ] This change includes necessary high-coverage tests.
(No quality testing = no merge!)

Codecov Report

Merging #1527 (7af18da) into main (4d7d458) will decrease coverage by 0.00%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##             main    #1527      +/-   ##
==========================================
- Coverage   82.61%   82.60%   -0.01%
==========================================
  Files          66       66
  Lines        5493     5496       +3
==========================================
+ Hits         4538     4540       +2
- Misses        955      956       +1

Impacted Files
Coverage Δ

flax/linen/attention.py
95.76% <66.66%> (-0.76%)
:arrow_down:

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 4d7d458...7af18da. Read the comment docs.

@kamalkraj - oof, please forgive us for some confusion:
After we looked at this correction we realized there was a much more comprehensive PR addressing mixed-precision training on WMT from several weeks ago that we'd forgotten to merge.  That PR is #1414 which further introduces dynamic loss scaling to improve training stability with float16.  Thank you so much for spotting this error and prodding us to get these GPU-compatibility changes in for this example.
Since this resolves the original issue as well, I'll close this PR for now but as always feel free to open new ones if we're still missing anything.  Thanks again.


Fix release listing failing to find old releases

Fix #377
Made swagger-api/swagger-ui releases listing looping through old releases as well to find correctly all releases

I added some tests and will rebase the changes. After the PR is merged I will do an release.


Parsing Errors in Acorn with v9 (not in v8)

scripts:browserify.bundle Unexpected token (8:60) SyntaxError: Unexpected token (8:60)
at Parser.pp$4.raise (/Users/paul/GitHub/books/node_modules/acorn/dist/acorn.js:2610:13)
at Parser.pp.unexpected (/Users/paul/GitHub/books/node_modules/acorn/dist/acorn.js:637:8)
at Parser.pp.semicolon (/Users/paul/GitHub/books/node_modules/acorn/dist/acorn.js:614:64)
at Parser.pp$1.parseExpressionStatement (/Users/paul/GitHub/books/node_modules/acorn/dist/acorn.js

I kept getting this error. When I didn't get this error, I got the message in the browser that I had no routes (there's only one /* route). Going back to v8 fixed this issue.
My repo is here: https://github.com/AutoSponge/books. Based on what was happening before on MacOSX, node v8.7.0, if you change bankai to latest, it will start getting flaky.

Running DEBUG=* npm run build on the books repository, I can see common-shakeify blowing up when trying to process utils.js:
exports.status = function (response) {
  if (response.status > 399) {
    throw new Error(`${response.status}: response from service.`)
  }
  return response
}

exports.json = response => response.json()
exports.handlError = error => console.error(error)

It looks like<EMAIL_ADDRESS>does not like fat arrow functions on exports definitions?
If I change it to plain old functions then it succeeds:
exports.status = function (response) {
  if (response.status > 399) {
    throw new Error(`${response.status}: response from service.`)
  }
  return response
}
exports.json = function (response) { response.json() }
exports.handlError = function (error) { console.error(error) }

Since<EMAIL_ADDRESS>is the latest version, I an issue may need to be opened with them (I didn't see one when I quickly checked).
Sorry you ran into this! Updating utils.js in the books repo would be the quick fix :)

yep, common-shakeify was generating incorrect output when using an arrow function in exports.xyz = () => {}. fixed in 0.4.3.

@goto-bus-stop nice!

When I didn't get this error, I got the message in the browser that I had no routes (there's only one /* route).

hmm, maybe the same issue as in #281?

Is this still an issue?

I think it can close. Thanks!
On Fri, Oct 20, 2017 at 12:00 PM Yoshua Wuyts<EMAIL_ADDRESS>wrote:

Is this still an issue?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/choojs/bankai/issues/287#issuecomment-338248301, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAn8wqGR1mSIxJyPQO_PV9-db2oYP9OUks5suMMogaJpZM4P58nV
.

Yay, happy it worked out alright! ☺
On Fri, Oct 20, 2017 at 7:46 PM Paul Grenier<EMAIL_ADDRESS>wrote:

Closed #287 https://github.com/choojs/bankai/issues/287.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/choojs/bankai/issues/287#event-1303460179, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACWleuvhS9adDvzLq5DE1fkeZKgXJMaDks5suNx1gaJpZM4P58nV
.


x/pkgsite: please remove incorrect package https://pkg.go.dev/github.com/TheWolfNL/random-string

What is the URL of the page with the issue?
https://pkg.go.dev/github.com/TheWolfNL/random-string
What did you do?
created a package and messed up
What did you expect to see?
just one version of the package
What did you see instead?
https://pkg.go.dev/github.com/TheWolfNL/random-string was an incorrect release where
https://pkg.go.dev/github.com/thewolfnl/random-string is the working version.

I'm curious — can you retract the erroneous versions?
(I think that ought to work despite the difference in module path, although I'm not sure we've tested that scenario.)
CC @jayconrod @matloob

I thought it was highly unlikely that this would work, since the versions I'd want to retract are not showing up when doing this either:
go list -m -versions
# nor if I specify the module path
go list -m -versions github.com/TheWolfNL/random-string

But i've added the retractions

Neato! That seems to have done the trick from the perspective of cmd/go, at least:
$ go get -d<EMAIL_ADDRESS>go: warning<EMAIL_ADDRESS>retracted by module author: figuring out releases
go: to switch to the latest unretracted version, run:
        go get github.com/TheWolfNL/random-string@latest
go get: added github.com/TheWolfNL/random-string v0.0.0-20210228113105-9c881b0f8282

Removed.


Feature: Splitting translation for background settings

I have a request to split these translations into two different ones, now when there will be an option to add an image, it would be good to name it as "background color", but this translation is also used to set it as background.
Requirements
"Background" => "Background color"

"Set as background" => "Set as desktop background"

Files Version
<IP_ADDRESS>
Windows Version
10.0.22631.3447
Comments
No response

Thanks for the feedback.

In my opinion it would be good to put 'System' or 'Auto' or similar instead of 'Default'
Theme "Default" => "System" / "Auto"

Can you confirm if your request is for us to rename "Background" to "Background" color?

Can you confirm if your request is for us to rename "Background" to "Background" color?

Yes, rename Background to Background color

"Set as background" => "Set as desktop background"

It wouldn't make sense to change this as the option is also for setting the lock screen background

"Set as background" => "Set as desktop background"

It wouldn't make sense to change this as the option is combined and also can set the lock screen background

It wouldn't hurt to add an option for "Set as app background".

"Set as background" => "Set as desktop background"

It wouldn't make sense to change this as the option is combined and also can set the lock screen background

This naming was from FE. Maybe we can think of another one.


Test results is not displayed on Bitrise Report

Describe the bug
I'm using Bluepill step with Bitrise but after the build succeeded I didn't find the report displayed and I don't know shall I pass a specific folder to Bitrise or what
Build information
TargetName: demoreport
Scheme: demoreport
Workspace: Demo:Report.xcworkspace
Derived Data Path: build
Bluepill Logs Path: bluepill-output
Test Results Output Environment Variable: TEST_RESULTS

Apologies for the delay in getting back to you - I haven't been able to reproduce this issue personally.
Is there any chance you could provide more details about what could have gone awry here? Screenshots/logs of config/build in action

Hi @reececomo, actually we have a different problem that when using bluepill our app is opened displayed the splash screen only without running the tests in the scheme, can you help me in that?

@moatazeldebsy Do you have bluepill installed locally?
I just saw from https://github.com/linkedin/bluepill/issues/377 you are running bluepill 5.1.1 (Xcode 11.1 + Swift 5.1).
I presume your UI/Unit Tests run normally otherwise.

How many parallel simulators are you launching?
Do you have any networking/expensive startup logic?
Do you have any deferred app-launch startup logic?

I tried with 6 devices and 1 device but the problem is the same, I asked the devs and they told me we have networking startup logic but not expensive, is there a problem from Bluepill with such these things.

@moatazeldebsy I can't make any guarantees, but please check that using the v0.3.0 release of the HealthEngineAU/bitrise-step-bluepill-build-test-for-ios step resolves your issue on Xcode 11.

I overlooked that before - the most recent version of Bluepill that ships with the Bitrise StepLib version of our step is Bluepill 4.1.1 (Xcode 10.2 compatible).
We have pushed an update for Bluepill 5.0.0 (Xcode 11 compatible) support but we are waiting on Bitrise to approve it.
Which you can use in your bitrise.yml file (in the Bitrise Workflow Editor menu) like this:
    -<EMAIL_ADDRESS>        title: iPhone SE @ 12.2
        inputs:
        - target_name: YourApp
        - scheme: YourApp
        - workspace: YourApp.xcworkspace
        - device_type: iPhone SE
        - test_result_env_var: IPHONE_SE_RESULTS
        - num_simulators: 3
        - retry_only_failed_tests: 'true'

We're looking at adding Bluepill 5.1.0 (Xcode 11.1) support as soon as it's available via Homebrew.


Changed Date to Graduation Date in export_csv.rb and export_csv_spec.rb

I changed date to graduation date in export_csv.rb and export_csv_spec.rb. There were some issues with the database but we had to destroy, create ,and migrate the database. After that I ran the tests and there were no errors.
closes #555

Fixed by #615


Make heapster use monitoring secret to connect with kubernetes master securely

Fixes #269

Ping @vmarmol

LGTM

i've been trying to deploy heapster on my coreos/kubernetes cluster. i can't get heapster to start using the deploy/influxdb resource files. I figured out i need to add a token-system-monitoring secret, but, i don't know what the format of that secret is.  without the secret the heapster pod hangs with a 'Waiting' status, it is waiting on the mount resource.  I added a blank one with:
{
  "apiVersion": "v1beta2",
  "kind": "Secret",
  "id": "token-system-monitoring",
  "data": {
  }
}

Although this got me past the hanging, now the heapster just restarts constantly,
2015-05-13T15:32:32.663447125Z + /usr/bin/heapster --sink influxdb:http://<IP_ADDRESS>:80 --source=kubernetes:http://<IP_ADDRESS>:80
2015-05-13T15:32:32.663454073Z I0513 15:32:32.662521       7 heapster.go:52] /usr/bin/heapster --sink influxdb:http://<IP_ADDRESS>:80 --source=kubernetes:http://<IP_ADDRESS>:80
2015-05-13T15:32:32.663459690Z I0513 15:32:32.662590       7 heapster.go:53] Heapster version 0.12.0
2015-05-13T15:32:32.663466175Z E0513 15:32:32.662661       7 heapster.go:59] The config file /etc/kubernetes/kubeconfig/kubeconfig does not exist

the mount path is declared here:
                    "volumeMounts": [
                        {
                            "name": "ssl-certs",
                            "mountPath": "/etc/ssl/certs",
                            "readOnly": true
                        },
                        {
                            "name": "monitoring-token",
                            "mountPath": "/etc/kubernetes/kubeconfig",
                            "readOnly": true
                        }
                    ]

so i am guessing that i have the configuration incorrect for the secret definition.  where can i look to see how that should be defined?  I posted a question about this on google containers as well.  I have been trying to get heapster started on and off for a couple of weeks now :-)

@lgfausak: Tokens are required for access to the kube api-server. Kubernetes exposes two default services to access the apiserver - one requires no auth and is read-only (kubernetes-ro); the other requires auth (kubernetes) and is read-write. Kubernetes is in the process of dropping support for kubernetes-ro service. Heapster used to use the kubernetes-ro service until recently.
For the short-term, until you figure out how to setup tokens for cluster services, I am making a change to heapster to make it possible to run heapster using kubernetes-ro service. I will get back to you with specific instructions once the required changes are in.

standing by, thank you.
On Wed, May 13, 2015 at 2:34 PM, Vish Kannan<EMAIL_ADDRESS>wrote:

@lgfausak https://github.com/lgfausak: Tokens are required for access
to the kube api-server. Kubernetes exposes two default services to access
the apiserver - one requires no auth and is read-only (kubernetes-ro);
the other requires auth (kubernetes) and is read-write. Kubernetes is in
the process of dropping support for kubernetes-ro service. Heapster used
to use the kubernetes-ro service until recently.
For the short-term, until you figure out how to setup tokens for cluster
services, I am making a change to heapster to make it possible to run
heapster using kubernetes-ro service. I will get back to you with
specific instructions once the required changes are in.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/heapster/pull/279#issuecomment-101787478
.

--
Greg Fausak
<EMAIL_ADDRESS>


(Feature request)  Custom template for autocomplete/select options

Bug, feature request, or proposal:
Feature request
What is the expected behavior?
Possibility to use autocomplete or select with custom templates to show styled options, like on Angular Material for AngularJS autocomplete here.
Example:

What is the current behavior?
All options are shown using a single line option template.
What are the steps to reproduce?
It can be seen on the docs here.
What is the use-case or motivation for changing an existing behavior?
Allowing the customization of the options for the autocomplete/select can help creating a better user experience.

We found that we can use a custom template. We managed to put in a mat-table, and it all worked compatibly with the auto complete by putting the actual data payload in a .  well, almost. It took a bit of overwriting CSS to make row highlighting work.

Are there any plans to implement this?

[custom template example for material autocomplete on stackblitz.com] (https://stackblitz.com/edit/angular-roxiwd?file=app%2Fautocomplete-overview-example.html)

@alialtun14, your example does not help for the issue here. Your example uses the default option height from Material. The issue here refers to an option template that has a height different than the default height.

I've faced the issue of implementation custom option.
The only solution now is override styles like:
.mat-select-panel {
  min-width: calc(100% + 21px) !important;
  border: 1px solid $light-grey;
  border-radius: 10px !important;
  box-shadow: none !important;
  max-height: 215px;

    .mat-option {
      padding: 9px 20px;
    }
  }

But next issue that appears is using keyboard navigation, it became broken.
The reason is that scroll method in angular mat-select uses constant value for option height.
_scrollActiveOptionIntoView uses this._getItemHeight() which is based on em constant height:
private _getItemHeight(): number {
   return this._triggerFontSize * SELECT_ITEM_HEIGHT_EM;
 }

also _scrollActiveOptionIntoView uses SELECT_PANEL_MAX_HEIGHT which is 256px (.mat-select-panel { max-height: 256px;})
line 1050 - https://github.com/angular/components/blob/49a1324acc05cec1c5ff28d729abfe590f6772dd/src/material/select/select.ts
To solve that I created directive that will override private method _scrollActiveOptionIntoView:
const SELECT_PANEL_MAX_HEIGHT = 215;

@Directive({
  selector: '[matSelectAccessor]',
})
export class MatSelectAccessor implements OnInit {
  constructor(@Host() @Self() @Optional() public _refSelect: MatSelect) {}

  public ngOnInit() {
    if (!this._refSelect) {
      return;
    }
    this._refSelect['_scrollOptionIntoView'] = this._scrollOptionIntoView.bind(this);
  }

  private _scrollOptionIntoView(index: number): void {
    const labelCount = _countGroupLabelsBeforeOption(index, this._refSelect.options, this._refSelect.optionGroups);
    // Get option height in case of option custom styles
    const optionRect = this._refSelect.options.first._getHostElement().getBoundingClientRect();
    const itemHeight = optionRect.height;
    if (index === 0 && labelCount === 1) {
      this._refSelect.panel.nativeElement.scrollTop = 0;
    } else {
      this._refSelect.panel.nativeElement.scrollTop = _getOptionScrollPosition(
        (index + labelCount) * itemHeight,
        itemHeight,
        this._refSelect.panel.nativeElement.scrollTop,
        SELECT_PANEL_MAX_HEIGHT,
      );
    }
  }
}

Here I've override _scrollOptionIntoView because I changed select-panel height also and updated both values.
But you also can override only _getItemHeight by  this._refSelect.options.first._getHostElement().getBoundingClientRect(); but is used for calculations for several methods so need to check side effects.
Using of directive:
   <mat-select
        matSelectAccessor
        panelClass="payment-form-select"
        formControlName="cardHolderCountryCode"
        (selectionChange)="onChangeCountry($event)"
        [disableOptionCentering]="true"
      >
        <mat-option *ngFor="let country of countryInfo" [value]="country.code"> {{ country.name }} </mat-option>
   </mat-select>


Add manifest feature

Signed-off-by: divyansh42<EMAIL_ADDRESS>
Description
Add support of building manifest when multiple arch or platform is passed.
This PR adds archs and  platforms input that accepts multiple archs and platforms respectively.

Related Issue(s)
Closes #61

Checklist

[ ] This PR includes a documentation change
[ ] This PR does not need a documentation change

[x] This PR includes test changes
[ ] This PR's changes are already tested

[ ] This change is not user-facing
[ ] This change is a patch change
[x] This change is a minor change
[ ] This change is a major (breaking) change

Changes made

needs a readme update


Switch to API version 8 (gateway and REST)

Pull Request Etiquette

[x] I have checked the PRs for upcoming features/bug fixes.
[x] I have read the contributing guidelines.

Changes

[x] Internal code
[ ] Library interface (affecting end-user code)
[ ] Documentation
[ ] Other: _____

Closes Issue: NaN
Description
This implements the changes for v8. See changelog.

Due to the breaking changes to PRESENCE_UPDATE, I plan to delay this until a deadline for v6 is known.

With v8 we can now also support schema errors. They look like this:
[ErrorResponseException] 50035: Invalid Form Body
embed.fields[0].name
    - BASE_TYPE_REQUIRED: This field is required
embed.fields[0].value
    - BASE_TYPE_REQUIRED: This field is required


keep translation keys up to date

it's difficult to keep an eye on untranslated strings since the translation files are not updated and only en one is updated.
can we have a command to add new strings to all locales? that way I know what should be translated and what's missing

Hi @hadifarnoud.
Regarding above ticket, can you explain more detail?
Thanks in advance.

the English translation files changes often as new features being added. However, other language files are not updated with new strings that need to be translated.
it's manual work to add those new ones. on top of that, I don't sometimes notice that there are new strings to translate.

Hey @hadifarnoud
Sorry for the late reply.
Your ideal is so great. I am about to build a small app to handle for missing keys between en.yml and another locales.
I hope it's will finish in the end of this month.
Best regards.

this time around I've done it manually for Persian translation


Fix PowerScale e2e alternate values tests in OCP cluster

Description
In OCP clusters, the master nodes have the taint - key: "node-role.kubernetes.io/master" and not - key: "node-role.kubernetes.io/control-plane" so the controller pods are looking for a taint that doesn't exist in the E2E test scenarios that uses existing alternate values file. The toleration - key: "node-role.kubernetes.io/master" should be added. More details in the ticket
GitHub Issues
List the GitHub issues impacted by this PR:

GitHub Issue #

KRV-30361

Checklist:

[x] I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
[x] I have verified that new and existing unit tests pass locally with my changes
[x] I have not allowed coverage numbers to degenerate
[x] I have maintained at least 90% code coverage
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have maintained backward compatibility

How Has This Been Tested?
Executed the E2E scenarios that uses updated values file in OCP cluster
Testing_KRV-30361.txt

Merged main into this branch and addressed merge conflict, which should bring UT coverage up unless code was added and not tested in this branch.


Refactor: Migrate LOI models to Kotlin

Migrates the LOI classes to Kotlin. We define temporary builders to
prevent breaking existing Java callers.
Furthermore, this commit renames PolygonOfInterest->AreaOfInterest and
updates names for fake test data.

/gcbrun

lol, I have yet to open a PR that didn't fail on the first run thanks to import order problems...should be fixed now

/gcbrun

Codecov Report

Merging #1169 (ced7a23) into master (7e4b652) will increase coverage by 0.73%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1169      +/-   ##
============================================
+ Coverage     28.04%   28.77%   +0.73%
- Complexity      807      829      +22
============================================
  Files           301      301
  Lines          8173     8292     +119
  Branches        347      360      +13
============================================
+ Hits           2292     2386      +94
- Misses         5767     5778      +11
- Partials        114      128      +14

Impacted Files
Coverage Δ

...d/model/locationofinterest/LocationOfInterest.java

...ound/model/locationofinterest/PointOfInterest.java

.../locationofinterest/GeoJsonLocationOfInterest.java

...nd/model/locationofinterest/PolygonOfInterest.java

...ground/model/locationofinterest/PointOfInterest.kt
81.81% <0.00%> (ø)

...und/model/locationofinterest/LocationOfInterest.kt
67.50% <0.00%> (ø)

...el/locationofinterest/GeoJsonLocationOfInterest.kt
80.00% <0.00%> (ø)

.../ground/model/locationofinterest/AreaOfInterest.kt
86.84% <0.00%> (ø)


login problem

With a wrong password on an existing database login didn't work
There also the password recovery link is not shown
With a manual recovered password the login still does not work
The widget toggles between connect and login

auth is wrong, behaviour is not a bug


Load other card when you reach the end of the list

Is your feature request related to a problem? Please describe.
I want to load my cards in lazy load, when I reach the end of the list (ex onEndReached in Flatlist) I want to load more cards, is this possible?
Describe the solution you'd like
like onEndReached in Flatlist native

yes, you can pass all FlatList props to your DraggableFlatList and they'll get spread onto the underlying flatlist.
Example with onEndReached: https://snack.expo.dev/@computerjazz/rndfl3-onendreached


Fix FS resolution sensitivity

The logic for fixing FS timestamp resolution sensitivity in PR #579 was wrong for the type of test performed.

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test


Python code prompt in vscode with docstring

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

VS Code Version: 1.71.2 (user setup)
OS Version: Windows_NT x64 10.0.19044

Steps to Reproduce:

Write some comments in Python function
VScode displays different from Pycharm

Below is the test code:
# -*- coding: utf-8 -*-

def test(param1, param2):
    """
    description:
    param {*} param1: first parameter
    param {*} param2: second paramter
    return {*}

    examples:
    .. code-block:: Python

        belief = [.05, .05, .05, .05, .55, .05, .05, .05, .05, .05]
        prior = predict(belief, offset=2, kernel=[.1, .8, .1])
    """

and this is what VSCode shows:

and this is what Pycharm shows:

The problem is that the return {*} part is in the same line as param2, and the examples code is not interpreted.

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.72.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

The problem remains the same in the latest release.

/extPython

It looks like this is caused by the Python extension. Please file the issue to the Python extension repository. Make sure to check their issue reporting template and provide them relevant information such as the extension version you're using. See also our issue reporting guidelines for more information.
Happy Coding!


new Provider() deprecated and removed in RC6

Since RC4 new Provider() has been deprecated and seems in RC6 it seems they have been removed.
From the changelog:
core: These forms of providers are no longer accepted:
bind(MyClass).toFactory(...)
new Provider(MyClass, toFactory: ...)

We now only accept:
{provider: MyClass, toFactory: ...}

Closed in 7c2177aecc8a021f4a413a425473e88e20e4d1ef


Remove version: NotroDev.SkEditor+ version 1.7.9

URL_404
Microsoft Reviewers: Open in CodeFlow

[Policy] Highest Version Removal

[Policy] Reset Feedback


slow time getting lists for files - also using checkers

hello,
listing directory should use content-length only for 0 files with manifest metadata (large objects)
For normal objects i don't understand why rclone use 8 default checkers to obtain files list.
using the python command line

swift list -l container_name/path

you can have an immediate list of all files with relative sizes. Only the reported sizes for large objects are wrong and should be grabbed checking the content-length metadata.
Am i wrong? thank you

rclone uses the checkers to read the modification time only.
So if you do rclone ls swift:container which doesn't need the mod time, it is much quicker than rclone lsl swift:container which does.
Likewise doing a sync with the --size-only flag will be much quicker.  You can use the --checksum flag to avoid the checkers too, but then you will incur the cost of an MD5SUM on the local filesystem.

Done with size-only, the time is the same. Tested onna folfer with 40k files.
Swift commandline return list in 3/4 seconds.
Rclone 45 minutes.
Can you please add or fix the option for readind metadata only for manifests?
Ps. The swift list -l return also the mod time, you don't have to check the metadata when using checkers.

Il giorno 09 nov 2015, alle ore 8:59 AM, Nick Craig-Wood<EMAIL_ADDRESS>ha scritto:
rclone uses the checkers to read the modification time only.
So if you do rclone ls swift:container which doesn't need the mod time, it is much quicker than rclone lsl swift:container which does.
Likewise doing a sync with the --size-only flag will be much quicker. You can use the --checksum flag to avoid the checkers too, but then you will incur the cost of an MD5SUM on the local filesystem.
—
Reply to this email directly or view it on GitHub.

Done with size-only, the time is the same. Tested onna folfer with 40k files.
Swift commandline return list in 3/4 seconds.
Rclone 45 minutes.

What exactly did you do? Please post the command lines.
Did you try rclone ls container:bucket ? That should be very quick.

Can you please add or fix the option for readind metadata only for manifests?

I don't understand what you mean here?

The swift list -l return also the mod time, you don't have to check the metadata when using checkers.

The time returned here is the time that the object was uploaded.  This is useless for syncing purposes as you can't set it.  rclone stores the mod time of the uploaded file in X-Object-Meta-Mtime the same way the swift program does.
So when you do rclone lsl it is showing you the value of X-Object-Meta-Mtime as the time, whereas swift list -l is showing you the Last-Modified.

What exactly did you do? Please post the command lines.

rclone.exe copy "local/path" "hubic:remote/path" -n -v --size-only
if i do swift list -l container/path i have an answer in seconds. I don't think rclone is comparing something because i can see only network activity in the firewall and nothing on harddriver

rclone ls container:bucket

done, and I need this list during size-only comparison. size are already reported minus manifests that are reported as zero and should be checked for content-length

So when you do rclone lsl it is showing you the value of X-Object-Meta-Mtime as the time, whereas swift list -l is showing you the Last-Modified

understood. so i'ts important to get metadata for all files to obtaing mtimes. But... for size-only it's useless and it should only grab file size from directory listing and do few http calls only to files with 0 bytes to see if the are normal files (no manifest e so 0 byte long) or long file (manifest present e so the length isn't that reported from directory listing but from content-length metadata)

One thing that occurs to me - is it possible that all, or a lot of your files have been segmented?  That would explain things...

No, for example on a folder there are 300k files, all normal but it takes age to build list. I will take some tests and post results on the --size-only discussion. Thanks

Il giorno 09 nov 2015, alle ore 10:17 PM, Nick Craig-Wood<EMAIL_ADDRESS>ha scritto:
One thing that occurs to me - is it possible that all, or a lot of your files have been segmented? That would explain things...
—
Reply to this email directly or view it on GitHub.

I think we've identified the problem in #208 so I'm going to close this ticket

yes,right


Review Product skill transfer section

Description
Definition of done

[ ]  Schedule meeting to review Product Skills Transfer section Mural
[ ]  Self-assess and update the Mural if need be
[ ]  Publish the Mural

Attachments
https://app.mural.co/t/gsa6/m/gsa6/1570571286978/24b8c16b07a044353a1ae5fc723716dbac0ae6f4

Lalitha and Bill to sync up

Bill and I spent some time kicking off the self assessment today. @blaughman will take a first pass at the assessment and circle back for review.