ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

kubernetes：1.14.4
mysql-operator：0.3.1
The root password cannot access:
[root@kubeone-cp-0 mysql-operator]# kubectl exec -it my-cluster-mysql-0 /bin/bash
Defaulting container name to mysql.
Use 'kubectl describe pod/my-cluster-mysql-0 -n presslabs' to see all of the containers in this pod.
bash-4.2$ mysql -uroot
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
bash-4.2$ mysql -uroot -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

Please show me the logs of the mysql init container: kubectl logs my-cluster-mysql-0 -c mysql-init-only
Did you used the root password set in the secret? Also a simple way to connect to mysql is to use the config file:
kubectl exec -it my-cluster-mysql-0 /bin/bash
bash-4.2$ mysql --defaults-file=/etc/mysql/client.conf

@AMecea Hi，i  set the root password  in the secret and base64。
[root@kubeone-cp-0 ~]# kubectl get pod
NAME                       READY   STATUS    RESTARTS   AGE
adminer-5985fd7659-f8vmz   1/1     Running   0          17h
my-cluster-mysql-0         4/4     Running   0          17h
my-cluster-mysql-1         4/4     Running   0          17h
mysql-operator-0           2/2     Running   2          21h
[root@kubeone-cp-0 ~]#
[root@kubeone-cp-0 ~]#
[root@kubeone-cp-0 ~]# kubectl  logs my-cluster-mysql-0 -c
init              metrics-exporter  mysql             mysql-init-only   pt-heartbeat      sidecar
[root@kubeone-cp-0 ~]# kubectl  logs my-cluster-mysql-0 -c
init              metrics-exporter  mysql             mysql-init-only   pt-heartbeat      sidecar
[root@kubeone-cp-0 ~]# kubectl  logs my-cluster-mysql-0 -c mysql-init-only
[root@kubeone-cp-0 ~]# kubectl  logs my-cluster-mysql-0 -c mysql-init-only
[root@kubeone-cp-0 ~]#
[root@kubeone-cp-0 ~]#
[root@kubeone-cp-0 ~]# kubectl  logs my-cluster-mysql-1 -c mysql-init-only
Initialization complete, now exiting!
[root@kubeone-cp-0 ~]#
[root@kubeone-cp-0 ~]#

I've got a similar issue here.
Kubernetes: 1.12.9
mysql-operator：0.3.1
I've created a secret with the key ROOT_PASSWORD and some base64 encoded value. Its name is then referenced in MysqlCluster spec under secretName key.
apiVersion: v1
kind: Secret
metadata:
  name: {{ .Release.Name }}-mysql-secret
  namespace: {{ .Values.namespace | default .Release.Namespace }}
type: Opaque
data:
  ROOT_PASSWORD: "base64encodedpwd"
  DATABASE: "base64encodedDBname"
  USER: "base64encodedInitialUser"
  PASSWORD: "base64encodedInitialUserPwd"

kubectl describe shows this secret's key is referenced by MYSQL_ROOT_PASSWORD env var in mysql-init-only container.
The logs for the init container:
Create rclone.conf file.
2019-07-25T15:43:33.115Z	INFO	sidecar	environment is not set	{"key": "INIT_BUCKET_URI"}
2019-07-25T15:43:33.115Z	INFO	sidecar	cloning command	{"host": "xxx-mysql-cluster-mysql-0"}
2019-07-25T15:43:33.116Z	INFO	sidecar	nothing to clone or init from
2019-07-25T15:43:33.116Z	INFO	sidecar	configuring server	{"host": "xxx-mysql-cluster-mysql-0"}
2019-07-25T15:43:33.116Z	INFO	sidecar	error while reading PURGE GTID from xtrabackup info file	{"error": "open /var/lib/mysql/xtrabackup_binlog_info: no such file or directory"}

The logs for mysql-init-only container:
Initialization complete, now exiting!

And a weird error is flagged up in the mysql container logs just a tiny second after the container starts:
2019-07-25T15:43:44.683586Z 0 [ERROR] mysqld: Table './mysql/user' is marked as crashed and should be repaired
2019-07-25T15:43:44.683713Z 0 [Warning] Checking table:   './mysql/user'
2019-07-25T15:43:44.683729Z 0 [ERROR] 1 client is using or hasn't closed the table properly
2019-07-25T15:43:44.683909Z 0 [ERROR] mysqld: Table './mysql/db' is marked as crashed and should be repaired
2019-07-25T15:43:44.684013Z 0 [Warning] Checking table:   './mysql/db'
2019-07-25T15:43:44.684023Z 0 [ERROR] 1 client is using or hasn't closed the table properly
2019-07-25T15:43:44.685959Z 0 [ERROR] mysqld: Table './mysql/tables_priv' is marked as crashed and should be repaired
2019-07-25T15:43:44.686052Z 0 [Warning] Checking table:   './mysql/tables_priv'
2019-07-25T15:43:44.686064Z 0 [ERROR] 1 client is using or hasn't closed the table properly

in mysql.user table, root password hash doesn't match with the one  I set. The extra user and DB are not created at all.
I am able to login however using the sys-operator user:
kubectl exec -it my-cluster-mysql-0 /bin/bash
bash-4.2$ mysql --defaults-file=/etc/mysql/client.conf

Thanks, @Wnatat for your detailed report!
Can you reproduce this and capture the logs of the mysql-init-only container for the first time? (also a describe on the pod will be helpful)
Because the msg Initialization complete, now exiting! shows when the container is restarted and runs for the second time.
Also, do you have some limitrange set on the cluster namespace? An issue may be the resource limits, that are set too low and the initialization is killed by OMM Killer. The init container requires at least 1.5G of memory and 100m CPU. (this is fixed in #372, which will be included in a new release soon)

I didn't realize mysql-init-only container had a restart. I managed to capture the logs for the first run:
2019-07-26T08:41:49.115896Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2019-07-26T08:41:49.471831Z 0 [Warning] InnoDB: New log files created, LSN=45790
2019-07-26T08:41:49.552632Z 0 [Warning] InnoDB: Creating foreign key constraint system tables.
2019-07-26T08:41:49.612168Z 0 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 35952d0a-af81-11e9-b5e0-2e69f2ceb3eb.
2019-07-26T08:41:49.613942Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2019-07-26T08:41:49.890358Z 0 [Warning] CA certificate ca.pem is self signed.
2019-07-26T08:41:49.925028Z 1 [Warning] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
^[[ADatabase initialized
MySQL init process in progress...
2019-07-26T08:41:53.160927Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2019-07-26T08:41:53.162335Z 0 [Note] mysqld (mysqld 5.7.26-29-log) starting as process 52 ...
2019-07-26T08:41:53.167675Z 0 [Note] InnoDB: PUNCH HOLE support available
2019-07-26T08:41:53.167706Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2019-07-26T08:41:53.167710Z 0 [Note] InnoDB: Uses event mutexes
2019-07-26T08:41:53.167714Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2019-07-26T08:41:53.167717Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.7
2019-07-26T08:41:53.167722Z 0 [Note] InnoDB: Using Linux native AIO
2019-07-26T08:41:53.168258Z 0 [Note] InnoDB: Number of pools: 1
2019-07-26T08:41:53.168390Z 0 [Note] InnoDB: Using CPU crc32 instructions
2019-07-26T08:41:53.170985Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2019-07-26T08:41:53.175851Z 0 [Note] InnoDB: Completed initialization of buffer pool
2019-07-26T08:41:53.177950Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2019-07-26T08:41:53.193975Z 0 [Note] InnoDB: Crash recovery did not find the parallel doublewrite buffer at /var/lib/mysql/xb_doublewrite
2019-07-26T08:41:53.195089Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
2019-07-26T08:41:53.218089Z 0 [Note] InnoDB: Created parallel doublewrite buffer at /var/lib/mysql/xb_doublewrite, size 3932160 bytes
2019-07-26T08:41:53.276133Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-07-26T08:41:53.276207Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-07-26T08:41:53.322110Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2019-07-26T08:41:53.323025Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
2019-07-26T08:41:53.323044Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
2019-07-26T08:41:53.323812Z 0 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.7.26-29 started; log sequence number 2534511
2019-07-26T08:41:53.324001Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2019-07-26T08:41:53.324187Z 0 [Note] Plugin 'FEDERATED' is disabled.
2019-07-26T08:41:53.340062Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.
2019-07-26T08:41:53.340080Z 0 [Note] Skipping generation of SSL certificates as certificate files are present in data directory.
2019-07-26T08:41:53.340641Z 0 [Warning] CA certificate ca.pem is self signed.
2019-07-26T08:41:53.340681Z 0 [Note] Skipping generation of RSA key pair as key files are present in data directory.
2019-07-26T08:41:53.356392Z 0 [Note] InnoDB: Buffer pool(s) load completed at 190726  8:41:53
2019-07-26T08:41:53.372347Z 0 [Note] Event Scheduler: Loaded 0 events
2019-07-26T08:41:53.372576Z 0 [Note] Execution of init_file '/etc/mysql/conf.d/operator-init.sql' started.
2019-07-26T08:41:53.381679Z 0 [Note] Execution of init_file '/etc/mysql/conf.d/operator-init.sql' ended.
2019-07-26T08:41:53.381806Z 0 [Note] mysqld: ready for connections.
Version: '5.7.26-29-log'  socket: '/var/lib/mysql/mysql.sock'  port: 0  Percona Server (GPL), Release 29, Revision 11ad961
mysql: [Warning] Using a password on the command line interface can be insecure.
Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
Warning: Unable to load '/usr/share/zoneinfo/leapseconds' as time zone. Skipping it.
Warning: Unable to load '/usr/share/zoneinfo/tzdata.zi' as time zone. Skipping it.
Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.
Warning: Unable to load '/usr/share/zoneinfo/zone1970.tab' as time zone. Skipping it.
mysql: [Warning] Using a password on the command line interface can be insecure.
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1102 (42000) at line 1: Incorrect database name 'live_usom_1
'

As far as I can see it created a root user with an empty password. This never got updated to the one specified in the secret. That might be due to the very last error message 'incorrect database name ...' (notice the new line at the end).
There isn't amy limitrange in the namepace this is deployed to. There's a default one in the default namepace that isn't used at all here.

After a bit more investigation I realized this was due to the base64 encoded values for the secret keys. I was adding a new line at the end of the strings for some weird reason. The value for database name was causing mysql-init-only container to error out due to this maformated name,

the first run log：
[root@kubeone-cp-0 ~]#
[root@kubeone-cp-0 ~]# kubectl get pod
NAME                       READY   STATUS     RESTARTS   AGE
adminer-5985fd7659-f8vmz   1/1     Running    0          6d17h
my-cluster-mysql-0         0/4     Init:0/2   0          4s
mysql-operator-0           2/2     Running    3          6d21h
[root@kubeone-cp-0 ~]#
[root@kubeone-cp-0 ~]#
[root@kubeone-cp-0 ~]# kubectl logs my-cluster-mysql-0
Error from server (BadRequest): a container name must be specified for pod my-cluster-mysql-0, choose one of: [mysql sidecar metrics-exporter pt-heartbeat] or one of the init containers: [init mysql-init-only]
[root@kubeone-cp-0 ~]# kubectl logs my-cluster-mysql-0 -c mysql-init-only
Initializing database
2019-07-30T01:49:39.567029Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
 100
 100
2019-07-30T01:49:41.650086Z 0 [Warning] InnoDB: New log files created, LSN=45790
[root@kubeone-cp-0 ~]# kubectl logs my-cluster-mysql-0 -c mysql-init-only
Initializing database
2019-07-30T01:49:39.567029Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
 100
 100
2019-07-30T01:49:41.650086Z 0 [Warning] InnoDB: New log files created, LSN=45790
2019-07-30T01:49:41.973406Z 0 [Warning] InnoDB: Creating foreign key constraint system tables.
2019-07-30T01:49:42.070233Z 0 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 4c78b561-b26c-11e9-93c2-ca7fb8beaf3b.
2019-07-30T01:49:42.076664Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2019-07-30T01:49:43.375630Z 0 [Warning] CA certificate ca.pem is self signed.
2019-07-30T01:49:43.659096Z 1 [Warning] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
Database initialized
MySQL init process in progress...
2019-07-30T01:49:50.859832Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2019-07-30T01:49:50.864422Z 0 [Note] mysqld (mysqld 5.7.26-29-log) starting as process 51 ...
2019-07-30T01:49:50.875419Z 0 [Note] InnoDB: PUNCH HOLE support available
2019-07-30T01:49:50.875474Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2019-07-30T01:49:50.875486Z 0 [Note] InnoDB: Uses event mutexes
2019-07-30T01:49:50.875496Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2019-07-30T01:49:50.875502Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.7
2019-07-30T01:49:50.875508Z 0 [Note] InnoDB: Using Linux native AIO
2019-07-30T01:49:50.876882Z 0 [Note] InnoDB: Number of pools: 1
2019-07-30T01:49:50.877180Z 0 [Note] InnoDB: Using CPU crc32 instructions
2019-07-30T01:49:50.882915Z 0 [Note] InnoDB: Initializing buffer pool, total size = 512M, instances = 1, chunk size = 128M
2019-07-30T01:49:50.929420Z 0 [Note] InnoDB: Completed initialization of buffer pool
2019-07-30T01:49:50.943692Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2019-07-30T01:49:50.964301Z 0 [Note] InnoDB: Crash recovery did not find the parallel doublewrite buffer at /var/lib/mysql/xb_doublewrite
2019-07-30T01:49:50.966716Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
MySQL init process in progress...
2019-07-30T01:49:51.960136Z 0 [Note] InnoDB: Created parallel doublewrite buffer at /var/lib/mysql/xb_doublewrite, size 3932160 bytes
2019-07-30T01:49:51.996943Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-07-30T01:49:51.997037Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-07-30T01:49:52.256801Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2019-07-30T01:49:52.258907Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
2019-07-30T01:49:52.258952Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
2019-07-30T01:49:52.262907Z 0 [Note] InnoDB: Waiting for purge to start
2019-07-30T01:49:52.313401Z 0 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.7.26-29 started; log sequence number 2535154
2019-07-30T01:49:52.314212Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2019-07-30T01:49:52.314836Z 0 [Note] Plugin 'FEDERATED' is disabled.
2019-07-30T01:49:52.333907Z 0 [Note] InnoDB: Buffer pool(s) load completed at 190730  1:49:52
2019-07-30T01:49:52.342429Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.
2019-07-30T01:49:52.342468Z 0 [Note] Skipping generation of SSL certificates as certificate files are present in data directory.
2019-07-30T01:49:52.343331Z 0 [Warning] CA certificate ca.pem is self signed.
2019-07-30T01:49:52.343414Z 0 [Note] Skipping generation of RSA key pair as key files are present in data directory.
2019-07-30T01:49:52.371218Z 0 [Note] Event Scheduler: Loaded 0 events
2019-07-30T01:49:52.371474Z 0 [Note] Execution of init_file '/etc/mysql/conf.d/operator-init.sql' started.
2019-07-30T01:49:52.389908Z 0 [Note] Execution of init_file '/etc/mysql/conf.d/operator-init.sql' ended.
2019-07-30T01:49:52.390171Z 0 [Note] mysqld: ready for connections.
Version: '5.7.26-29-log'  socket: '/var/lib/mysql/mysql.sock'  port: 0  Percona Server (GPL), Release 29, Revision 11ad961
mysql: [Warning] Using a password on the command line interface can be insecure.
Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
Warning: Unable to load '/usr/share/zoneinfo/leapseconds' as time zone. Skipping it.
[root@kubeone-cp-0 ~]# kubectl logs my-cluster-mysql-0 -c mysql-init-only
Initialization complete, now exiting!
[root@kubeone-cp-0 ~]#

@pennpeng what kubectl describe pod my-cluster-mysql-0 outputs?

@AMecea hi：
[root@kubeone-cp-0 ~]# kubectl describe pod my-cluster-mysql-0
Name:               my-cluster-mysql-0
Namespace:          presslabs
Priority:           0
PriorityClassName:  <none>
Node:               kubeone-pool1-5fc7948779-rgc9f/<IP_ADDRESS>
Start Time:         Tue, 30 Jul 2019 10:16:30 +0800
Labels:             app.kubernetes.io/component=database
                    app.kubernetes.io/instance=my-cluster
                    app.kubernetes.io/managed-by=mysql.presslabs.org
                    app.kubernetes.io/name=mysql
                    app.kubernetes.io/version=5.7.26
                    controller-revision-hash=my-cluster-mysql-6f56bc84c8
                    healthy=yes
                    mysql.presslabs.org/cluster=my-cluster
                    role=master
                    statefulset.kubernetes.io/pod-name=my-cluster-mysql-0
Annotations:        cni.projectcalico.org/podIP: <IP_ADDRESS>/32
                    config_rev: 2452390
                    prometheus.io/port: 9125
                    prometheus.io/scrape: true
                    secret_rev: 2452394
Status:             Running
IP:                 <IP_ADDRESS>
Controlled By:      StatefulSet/my-cluster-mysql
Init Containers:
  init:
    Container ID:  docker://02e5b87d4a1294495ce6c832e1cac77f3fbd77fd27a834512b2ffedf1875d666
    Image:         quay.io/presslabs/mysql-operator-sidecar:0.3.1
    Image ID:      docker-pullable://quay.io/presslabs/mysql-operator-sidecar@sha256:05b8cd17c6d3cb85e8b3af02fc497493fdbe7cb12174dab72ffa9b3f52ed20aa
    Port:          <none>
    Host Port:     <none>
    Args:
      clone-and-init
    State:          Terminated
      Reason:       Completed
      Exit Code:    0
      Started:      Tue, 30 Jul 2019 10:16:42 +0800
      Finished:     Tue, 30 Jul 2019 10:16:42 +0800
    Ready:          True
    Restart Count:  0
    Environment Variables from:
      my-cluster-mysql-operated  Secret  Optional: false
    Environment:
      MY_NAMESPACE:     presslabs (v1:metadata.namespace)
      MY_POD_NAME:      my-cluster-mysql-0 (v1:metadata.name)
      MY_POD_IP:         (v1:status.podIP)
      MY_SERVICE_NAME:  mysql
      MY_CLUSTER_NAME:  my-cluster
      MY_FQDN:          $(MY_POD_NAME).$(MY_SERVICE_NAME).$(MY_NAMESPACE)
      BACKUP_USER:      <set to the key 'BACKUP_USER' in secret 'my-cluster-mysql-operated'>      Optional: true
      BACKUP_PASSWORD:  <set to the key 'BACKUP_PASSWORD' in secret 'my-cluster-mysql-operated'>  Optional: true
    Mounts:
      /etc/mysql from conf (rw)
      /mnt/conf from config-map (rw)
      /var/lib/mysql from data (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-pt78m (ro)
  mysql-init-only:
    Container ID:   docker://34899b54fe8b833ed002b570dab0f070cd381c96378b7f6b584a02195f08b939
    Image:          percona@sha256:713c1817615b333b17d0fbd252b0ccc53c48a665d4cfcb42178167435a957322
    Image ID:       docker-pullable://docker.io/percona@sha256:713c1817615b333b17d0fbd252b0ccc53c48a665d4cfcb42178167435a957322
    Port:           <none>
    Host Port:      <none>
    State:          Terminated
      Reason:       Completed
      Exit Code:    0
      Started:      Tue, 30 Jul 2019 10:16:43 +0800
      Finished:     Tue, 30 Jul 2019 10:17:06 +0800
    Ready:          True
    Restart Count:  0
    Environment:
      MY_NAMESPACE:         presslabs (v1:metadata.namespace)
      MY_POD_NAME:          my-cluster-mysql-0 (v1:metadata.name)
      MY_POD_IP:             (v1:status.podIP)
      MY_SERVICE_NAME:      mysql
      MY_CLUSTER_NAME:      my-cluster
      MY_FQDN:              $(MY_POD_NAME).$(MY_SERVICE_NAME).$(MY_NAMESPACE)
      MYSQL_INIT_ONLY:      1
      MYSQL_ROOT_PASSWORD:  <set to the key 'ROOT_PASSWORD' in secret 'my-secret'>  Optional: false
      MYSQL_USER:           <set to the key 'USER' in secret 'my-secret'>           Optional: true
      MYSQL_PASSWORD:       <set to the key 'PASSWORD' in secret 'my-secret'>       Optional: true
      MYSQL_DATABASE:       <set to the key 'DATABASE' in secret 'my-secret'>       Optional: true
    Mounts:
      /etc/mysql from conf (rw)
      /var/lib/mysql from data (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-pt78m (ro)
Containers:
  mysql:
    Container ID:   docker://234f364265ea55295a240faefc95fb23e9f274403baac26fcd7302bf7c890f68
    Image:          percona@sha256:713c1817615b333b17d0fbd252b0ccc53c48a665d4cfcb42178167435a957322
    Image ID:       docker-pullable://docker.io/percona@sha256:713c1817615b333b17d0fbd252b0ccc53c48a665d4cfcb42178167435a957322
    Port:           3306/TCP
    Host Port:      0/TCP
    State:          Running
      Started:      Tue, 30 Jul 2019 10:17:10 +0800
    Ready:          True
    Restart Count:  0
    Requests:
      cpu:      200m
      memory:   1Gi
    Liveness:   exec [mysqladmin --defaults-file=/etc/mysql/client.conf ping] delay=60s timeout=5s period=5s #success=1 #failure=3
    Readiness:  exec [/bin/sh -c test $(mysql --defaults-file=/etc/mysql/client.conf -NB -e 'SELECT COUNT(*) FROM sys_operator.status WHERE name="configured" AND value="1"') -eq 1] delay=5s timeout=5s period=2s #success=1 #failure=3
    Environment:
      MY_NAMESPACE:     presslabs (v1:metadata.namespace)
      MY_POD_NAME:      my-cluster-mysql-0 (v1:metadata.name)
      MY_POD_IP:         (v1:status.podIP)
      MY_SERVICE_NAME:  mysql
      MY_CLUSTER_NAME:  my-cluster
      MY_FQDN:          $(MY_POD_NAME).$(MY_SERVICE_NAME).$(MY_NAMESPACE)
    Mounts:
      /etc/mysql from conf (rw)
      /var/lib/mysql from data (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-pt78m (ro)
  sidecar:
    Container ID:  docker://b9fdcc15c9b2e1494b19b809b67e123bfe7dfd23ef96470d61be0834f323d430
    Image:         quay.io/presslabs/mysql-operator-sidecar:0.3.1
    Image ID:      docker-pullable://quay.io/presslabs/mysql-operator-sidecar@sha256:05b8cd17c6d3cb85e8b3af02fc497493fdbe7cb12174dab72ffa9b3f52ed20aa
    Port:          8080/TCP
    Host Port:     0/TCP
    Args:
      config-and-serve
    State:          Running
      Started:      Tue, 30 Jul 2019 10:17:13 +0800
    Ready:          True
    Restart Count:  0
    Limits:
      cpu:  50m
    Requests:
      cpu:      10m
    Readiness:  http-get http://:8080/health delay=30s timeout=5s period=5s #success=1 #failure=3
    Environment Variables from:
      my-cluster-mysql-operated  Secret  Optional: false
    Environment:
      MY_NAMESPACE:     presslabs (v1:metadata.namespace)
      MY_POD_NAME:      my-cluster-mysql-0 (v1:metadata.name)
      MY_POD_IP:         (v1:status.podIP)
      MY_SERVICE_NAME:  mysql
      MY_CLUSTER_NAME:  my-cluster
      MY_FQDN:          $(MY_POD_NAME).$(MY_SERVICE_NAME).$(MY_NAMESPACE)
    Mounts:
      /etc/mysql from conf (rw)
      /var/lib/mysql from data (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-pt78m (ro)
  metrics-exporter:
    Container ID:  docker://dc3b37ee8147b353cf7d5bd058f1091a8446bea472970f5b91df8dad57c9e96b
    Image:         prom/mysqld-exporter:v0.11.0
    Image ID:      docker-pullable://docker.io/prom/mysqld-exporter@sha256:9f4fb61cca309cb4a8c1b9ed9fb4aa75af0f7a21f36d3954667db37c062a0172
    Port:          9125/TCP
    Host Port:     0/TCP
    Args:
      --web.listen-address=<IP_ADDRESS>:9125
      --web.telemetry-path=/metrics
      --collect.heartbeat
      --collect.heartbeat.database=sys_operator
    State:          Running
      Started:      Tue, 30 Jul 2019 10:17:14 +0800
    Ready:          True
    Restart Count:  0
    Limits:
      cpu:  100m
    Requests:
      cpu:     10m
    Liveness:  http-get http://:9125/metrics delay=30s timeout=30s period=30s #success=1 #failure=3
    Environment:
      MY_NAMESPACE:      presslabs (v1:metadata.namespace)
      MY_POD_NAME:       my-cluster-mysql-0 (v1:metadata.name)
      MY_POD_IP:          (v1:status.podIP)
      MY_SERVICE_NAME:   mysql
      MY_CLUSTER_NAME:   my-cluster
      MY_FQDN:           $(MY_POD_NAME).$(MY_SERVICE_NAME).$(MY_NAMESPACE)
      USER:              <set to the key 'METRICS_EXPORTER_USER' in secret 'my-cluster-mysql-operated'>      Optional: false
      PASSWORD:          <set to the key 'METRICS_EXPORTER_PASSWORD' in secret 'my-cluster-mysql-operated'>  Optional: false
      DATA_SOURCE_NAME:  $(USER):$(PASSWORD)@(<IP_ADDRESS>:3306)/
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-pt78m (ro)
  pt-heartbeat:
    Container ID:  docker://4f6db5285f7f8466b5e931eb12cdb338dc9db10655422c2c567ca68ab2b7ce64
    Image:         quay.io/presslabs/mysql-operator-sidecar:0.3.1
    Image ID:      docker-pullable://quay.io/presslabs/mysql-operator-sidecar@sha256:05b8cd17c6d3cb85e8b3af02fc497493fdbe7cb12174dab72ffa9b3f52ed20aa
    Port:          <none>
    Host Port:     <none>
    Args:
      pt-heartbeat
      --update
      --replace
      --check-read-only
      --create-table
      --database
      sys_operator
      --table
      heartbeat
      --defaults-file
      /etc/mysql/heartbeat.conf
      --fail-successive-errors=20
    State:          Running
      Started:      Tue, 30 Jul 2019 10:17:15 +0800
    Ready:          True
    Restart Count:  0
    Limits:
      cpu:  50m
    Requests:
      cpu:  10m
    Environment:
      MY_NAMESPACE:     presslabs (v1:metadata.namespace)
      MY_POD_NAME:      my-cluster-mysql-0 (v1:metadata.name)
      MY_POD_IP:         (v1:status.podIP)
      MY_SERVICE_NAME:  mysql
      MY_CLUSTER_NAME:  my-cluster
      MY_FQDN:          $(MY_POD_NAME).$(MY_SERVICE_NAME).$(MY_NAMESPACE)
    Mounts:
      /etc/mysql from conf (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-pt78m (ro)
Conditions:
  Type                                  Status
  mysql.presslabs.org/NodeInitialized   True
  Initialized                           True
  Ready                                 True
  ContainersReady                       True
  PodScheduled                          True
Volumes:
  data:
    Type:       PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
    ClaimName:  data-my-cluster-mysql-0
    ReadOnly:   false
  conf:
    Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
    Medium:
    SizeLimit:  <unset>
  init-scripts:
    Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
    Medium:
    SizeLimit:  <unset>
  config-map:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      my-cluster-mysql
    Optional:  false
  default-token-pt78m:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  default-token-pt78m
    Optional:    false
QoS Class:       Burstable
Node-Selectors:  <none>
Tolerations:     node.kubernetes.io/not-ready:NoExecute for 300s
                 node.kubernetes.io/unreachable:NoExecute for 300s
Events:          <none>

@AMecea  help me please!

Hi @pennpeng, sorry for the delay,
What values are set into my-secret secret? From those logs there is noting suspect, everything seems to be ok.
Only the ROOT_PASSWORD is required to be specified into that secret.

@AMecea my secret：
# cat example-cluster-secret.yaml
apiVersion: v1
kind: Secret
metadata:
  name: my-secret
type: Opaque
data:
  # root password is required to be specified
  ROOT_PASSWORD: MTIzNDU2Cg==
  ## application credentials that will be created at cluster bootstrap
  # DATABASE:
  # USER:
  # PASSWORD:

As I can see your root password has a new line in it.
MTIzNDU2Cg== is decoded as 123456\n
The right encoding should be MTIzNDU2 for 123456.
Please let me know if this is the case.

@AMecea  what's wrong with me？
[root@kubeone-cp-0 ~]# echo MTIzNDU2Cg==|base64 -d
123456
[root@kubeone-cp-0 ~]# echo MTIzNDU2Cg|base64 -d
123456
base64: invalid input
[root@kubeone-cp-0 ~]# echo 123456|base64
MTIzNDU2Cg==
[root@kubeone-cp-0 ~]# echo '123456'|base64
MTIzNDU2Cg==
[root@kubeone-cp-0 ~]# echo '123456' | base64
MTIzNDU2Cg==
[root@kubeone-cp-0 ~]#

@pennpeng use echo -n 123456 | base64

@teluka thank you very much，that's help me。


Accuracy is lost after save/load

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): See below.
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10, 1909
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: -
TensorFlow installed from (source or binary): pip
TensorFlow version (use command below): v2.3.0-rc2-23-gb36436b087 2.3.0
Python version: 3.7.7
Bazel version (if compiling from source): -
GCC/Compiler version (if compiling from source): -
CUDA/cuDNN version: -
GPU model and memory: Not relevant.

Describe the current behavior
When saving a pre-trained model and loading it again, the accuracy drops to its default value. Minimal example:
import tensorflow as tf

model = tf.keras.models.Sequential()
model.add(tf.keras.layers.Dense(units=2, activation='softmax', name='output'))
model.compile(optimizer=tf.keras.optimizers.Adam(lr=10),
              loss='sparse_categorical_crossentropy',
              metrics=['accuracy'])
dummy_data_x = [[0, 0],
                [1, 0],
                [0, 1],
                [1, 1]]
dummy_data_y = [0, 1, 0, 1]
print(model.evaluate(x=dummy_data_x, y=dummy_data_y))
model.fit(x=dummy_data_x, y=dummy_data_y, epochs=10)
print(model.evaluate(x=dummy_data_x, y=dummy_data_y))
model.save('test_model')
model = tf.keras.models.load_model('test_model')
print(model.evaluate(x=dummy_data_x, y=dummy_data_y))

The model is extremely simple (read: bad/useless) for comparison's sake. Before training it, the evaluation results in:
1/1 [==============================] - 0s 0s/step - loss: 0.9013 - accuracy: 0.5000
[0.9013183116912842, 0.5]

The loss is obviously random at first, but crucially the accuracy is 50% because it guesses 0 every time. After training, it evaluates to:
1/1 [==============================] - 0s 0s/step - loss: 0.0000e+00 - accuracy: 1.0000
[0.0, 1.0]

The loss dropped to zero and the model can perfectly interpret the data. Now I save the model to the disk and immediately load it from the same location. When I now evaluate it, I get:
1/1 [==============================] - 0s 1000us/step - loss: 0.0000e+00 - accuracy: 0.5000
[0.0, 0.5]

Even though the model has the same structure, weights, and loss, and all four example inputs are evaluated correctly, TensorFlow says the accuracy is 50%, which is not true.
Describe the expected behavior
The accuracy should remain the same when loading a previously trained and saved model.
Standalone code to reproduce the issue
See above.
Other info / logs
See above.

I have tried in colab with TF version 2.3, nightly version(2.4.0-dev20200818) and was able to reproduce the issue.Please, find the gist here. Thanks!

@ThatDockerUser This is a known issue. Team is working on correcting it.
Please check the response from @k-w-w

This is a bug with using the sparse categorical accuracy. For now, please compile the model with metrics='sparse_categorical_accuracy' instead of just 'accuracy'.

With the above change (workaround), the results are same before saving and after loading the model back. Please check the gist here.
We will follow the progress with that previous issue. Thanks!

This issue has been fixed in commit 9d8947. Please try the latest tf-nightly if you need the fix immediately, otherwise the next official TF release will have the fix. Marking this as closed.

As on 20th Oct 2020.
if anyone is still looking around, using python 3.610.
Model.save and load_model not working for keras 2.3.1 and tensor flow 2.2.0
using model.to_json and models.model_from_json also doesn't work.
The loaded model has definitely something missing and gives way lesser accuracy as the saved model in a different session/spyder consoles.
upgrade the packages to keras 2.4.3 and tensorflow 2.3.0. together.

@akbaramed As mentioned above, the bug was corrected and we can no longer face the issue when you use tf-nightly. If you have Tensorflow 2.3, then please follow the workaround  `metrics='sparse_categorical_accuracy' instead of just 'accuracy'.
In the near future, stable TF2.4 will be released. Thanks!
If this is still an issue with tf-nightly, please provide a standalone code to reproduce the issue. Thanks!


Add SecurityAdvisories check to promote best practices

Anthony Ferrara suggested https://github.com/Roave/SecurityAdvisories should be added to all application composer.json files, and it makes a lot of sense to me. This project processes a security advisory database and produces a composer.json file that specifies package conflicts with insecure packages. As a result it will break composer update and composer require operations that include the insecure packages.
This doesn't really get us much for the tools we are proposing be used, as they are unlikely to have a problematic security issue, but since we are suggesting our composer.json file be a starting place, it seems like a really good practice to recommend.

Per the source of this package's vulnerability information, "This database must not serve as the primary source of information for security issues." Also, the scope of packages this entity seems to be tracking is narrow. So we should recognize that there's value but it is limited.
That said, I tested this by adding a package that SecurityAdvisories notes is vulnerable, and got an error during composer:install that blocked the grunt task as expected. So, I'll merge this addition to the example composer.json.


Able to create themed component like MUI

Description
I want to create component in theme, and treat it like built-in component like MUI. You can checkout this link.
https://mui.com/material-ui/guides/creating-themed-components/
Problem Statement
I want to create component like a base component, not just override the base Input. ex: FloatLabelInput.
Proposed Solution or API
You can check out the link above of MUI.
Alternatives
No response
Additional Information
No response

Thanks for reporting this. We'll update you soon.

Hello @ducpt-bili, you can definitely develop your own component similar to MUI.
I've created a Card component resembling MUI. Take a look at https://snack.expo.dev/uI8Ue74bA and feel free to ask if you have any questions or need further clarification.

Thank you @makkarMeenu, your solution look good to me.
I will try it. Thanks


Stuck on loading screen

So i logged out and logged back in. I click on the start server button and it goes in but its stuck on the loading, please wait... Ive been stuck on that for a long time now it won't go in.

can you log in to pokemon go with the account you are trying to use for the map?if so, have you verified the account via the email, accepted the terms of service in the game, and caught a starter pokemon? Finally, make sure your Google Maps key is set up correctly.
Those are the common resolutions to this very frequently posted issue.

hello yes i did all those things i thought since maybe because i had like 7-8 accounts so i deleted all and left one. I also got a new google map key and tried it again. its still stuck on that same loading please wait. I tried deleting the app and re-installing and same problem


You can go thru Ped's, Buildings and Vehicles

This is a weird bug that I found. Somehow I was able to drive and walk thru Ped's, Buildings and Vehicles.
This one is vehicle and vehicle.

This one is a building while on foot.

And this one is on foot under the map.

kubridge v0.1
No fd_fix (rePatch reDux0 v3.0)
libshacccg.suprx from PSM 2.01
CTW .so and .obb from v1.04
GTACTW.vpk v1.1

Don't pirate the game?

That's weird, as I actually bought it on the Play Store just to install this on the Vita.

So you got from Play Store a modded apk with noclip and money cheat enabled? Cool

I just skipped the apk from the Play Store and only transferred the obb. I got the so from the money cheat but didn't mentioned the noclip thing.
Anyway, sorry for bothering you guys. I guess ill have to use the og apk from the Play Store.


create-release github action is deprecated - replace in azuresdkdrop.yml

See https://github.com/actions/create-release
create-release@v1 is no longer maintained and uses a version of node with known vulnerabilities.
Switch to a maintained node 20.x+ version of the action.

Other github actions that used to be maintained by GH are similarly abandoned and should be replaced.
e.g. actions/upload-release-asset


This just stopped working for me

A few weeks ago it stopped working, it loads the interface, but it doesn't do anything, I change a model but it stays loading without finishing. I have tried everything, using the latest and previous versions with no results.

Using colab?

Thanks for your answers, for now I fixed it by opening the interface in a new tab every time this happens. I'll try using a new sd folder.


Bug 333113:Failed to start DTAAgentExecutionService on Azure VM

If machine group is configured with a local user, DtaExecutiohost is launched with user machinename/username.
In the deploy task user can pass either ./username or username for username field. (As there will be multiple machines in the environment, user cannot pass machinename\username here)
In our task we check if the username passed in the task and user with which process configured matches. If not we configure again. Because of this machine goes to loop of restart.
Fix : match username appropriately

allen accept or close

stale PR. fix is in master


Error while using ImageAI with Flask if not Loading the model in the same method

Hello,
i am trying to make a simple API to detect images using ImageAI, and I ran into a very weird problem that I cannot explain.
when I init the Model globally and try to just run the object detection function from inside the method, it gives me a lot of errors mostly
"Ensure you specified correct input image, input type, output type and/or output image path ")
ValueError: Ensure you specified correct input image, input type, output type and/or output image path

'Cannot interpret feed_dict key as Tensor: ' + e.args[0])
TypeError: Cannot interpret feed_dict key as Tensor: Tensor Tensor("keras_learning_phase:0", shape=(), dtype=bool) is not an element of this graph.

and thinks like that all , but when I do the same code, but just put those
yolo = Detection.ObjectDetection()
yolo.setModelTypeAsYOLOv3()
yolo.setModelPath(modelpath)
yolo.loadModel()

inside the method , the code works just fine.
i tried disabling the Threads in flask, but no hope.

same question, I guess it's because they are in different threads?


fix: Glob negation in outputs

Fixes glob negation in outputs, basically patterns that exclude directories like !.next/cache/**.
Involves changes to protobuf types for OutputWatcher.
Existing tests from turbo_json_test.go and globby_test.go should cover the cases.

Marked "on hold" so it can ship w/ global cache key update


Unable to install swaggo@latest

Hello
Since a few hours installing swaggo@latest fails:
$ go install -x github.com/swaggo/swag/cmd/swag@latest
# get https://proxy.golang.org/github.com/@v/list
# get https://proxy.golang.org/github.com/swaggo/swag/@v/list
# get https://proxy.golang.org/github.com/swaggo/swag/cmd/swag/@v/list
# get https://proxy.golang.org/github.com/swaggo/swag/cmd/@v/list
# get https://proxy.golang.org/github.com/swaggo/@v/list
# get https://proxy.golang.org/github.com/@v/list: 404 Not Found (0.063s)
# get https://proxy.golang.org/github.com/swaggo/swag/cmd/swag/@v/list: 404 Not Found (0.074s)
# get https://proxy.golang.org/github.com/swaggo/@v/list: 404 Not Found (0.094s)
# get https://proxy.golang.org/github.com/swaggo/swag/cmd/@v/list: 404 Not Found (0.098s)
# get https://proxy.golang.org/github.com/swaggo/swag/@v/list: 200 OK (0.099s)
go: github.com/swaggo/swag/cmd/swag@latest: <EMAIL_ADDRESS>parsing go.mod:
        module declares its path as: github.com/Nerzal/swag
                but was required as: github.com/swaggo/swag

It looks like Nerzal/swag has been published as swaggo/swag:
$ curl https://proxy.golang.org/github.com/swaggo/swag/@v/list
v1.9.0
v1.7.0
v1.8.8
v1.8.12
v1.7.9
v1.8.9-rc1
v1.6.8
v1.5.1
v1.8.0
v1.6.4
v1.6.5
v1.7.8
v1.6.0
v1.0.0
v1.8.10
v1.6.9
v1.8.3
v1.8.11
v1.8.5
v1.8.7
v1.8.9
v1.8.2
v1.8.9-rc2
v1.1.1
v1.8.6
v1.5.0
v1.7.2
v1.7.1
v1.4.1
v1.6.3
v1.7.3
v1.8.9-rc3
v1.7.5
v1.3.2
v1.4.0
v1.6.1
v1.7.7
v1.7.9-p1
v1.6.6
v1.8.1
v1.6.2
v1.7.4
v1.16.0
v1.0.1
v1.1.0
v1.8.4
v1.6.7
v1.7.6

I can assert that it was working fine 20h ago.

Woops, sorry.

The wrongfully pushed tags are now deleted.
I guess the proxy (proxy.golang.org) has some sort of cache, that leads to it still serving the tags?

Looks like removing the tags is not enough, and a retract statement needs to be added

I have same issue

Until the retract directive is merged, you could use:
For stable version:

go install -x<EMAIL_ADDRESS>
For new release candidate:

go install -x<EMAIL_ADDRESS>

Another workarround, until the retract directive is merged is to ignore the proxy.
Example:

GOPROXY=direct go install -x github.com/swaggo/swag/cmd/swag@latest

Problem solved by publishing a new tag, that points to current master branch commit.
The linked PR is going to cleanup the cached tag in the proxy


Fix the backdating code not to cause invalid SXGs.

Subtract one hour from the SEVEN_DAYS constant so that expires-date is never

7d, even when date is backdated by an hour. Fixes a bug caused by e605b3c5.

/cc @banaag @caoboxiao I'm going to merge this without review, but please review after the fact and clean up if necessary. e.g. Add tests, and tweak the code structure to prevent errors like this in the future (e.g. maybe signature_duration should be changed to take a now param and return a start/end time pair instead of a duration; or maybe clipping expires to 7 days after date should occur in signature/mod.rs).

The change LGTM as well. @antiphoton are you working on a follow-on PR with @twifkak's suggestions above?

No, I haven't started that.

Added more tests in #85 and in particular #88 should catch this regression. Now I'm going to tweak the code structure as described above.


[tooling] Add the release task

What does this PR do?
Provides an invoke task to group and automate the common operations needed to release a single check:

update the version in about.py
update the changelog
commit the above changes
tag the repo with a tag in the form check-name_0_0_1

Motivation
This is intended to be run in preparation of a publish task that would build and upload the wheel on the repo.

@zippolyte the update changelog task could be removed indeed, I left it there in case you want to do the release process manually (let's say you've a messed up git repo and the release task is not working). But if we think it adds more confusion than usefulness we can kill it.

OK I see how it could be useful then. I think we can keep it, but maybe we can add a comment to the docstring stating that we should only use it if doing a manual release. That way there is no confusion.


checkOnSave.overrideCommand fails after updating vscode

This was working fine yesterday, but is now failing (only known change is updating vscode this morning -- after which it started failing).
The pop-up message: cargo check failed: No such file or directory (os error 2)
and Rust-Analyzer Language Server output: [ERROR flycheck] Flycheck failed to run the following command: "cargo" "clippy" "--message-format=json" "--" "--allow=dead-code".
RA version
rust-analyzer version: 2c0f433fd 2021-11-08 stable

vscode version (I am using WSL 2.0)
Version: 1.62.1 (user setup)
Commit: f4af3cbf5a99787542e2a30fe1fd37cd644cc31f
Date: 2021-11-05T10:57:55.946Z
Electron: 13.5.2
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.22000

My command:
    "rust-analyzer.checkOnSave.overrideCommand": [
        "cargo",
        "clippy",
        "--message-format=json",
        "--",
        "--allow=dead-code"
    ]

Does it work of you run cargo clippy --message-format=json -- --allow=dead-code yourself?

Yes, it dumps a json artifacts:
{"reason":"compiler-artifact","package_id":"thiserror 1.0.29 (registry+https://github.com/rust-lang/crates.io-index)","manifest_path":"/home/mirko/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-1.0.29/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"thiserror","src_path":"/home/mirko/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-1.0.29/src/lib.rs","edition":"2018","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/mirko/projects/starknet/target/debug/deps/libthiserror-d6f1b9e767a3a0c5.rlib","/home/mirko/projects/starknet/target/debug/deps/libthiserror-d6f1b9e767a3a0c5.rmeta"],"executable":null,"fresh":true}
...
...
{"reason":"build-finished","success":true}

Is that using the Remote WSL extension? You might need to configure the PATH variable on the remote side.

Is that using the Remote WSL extension? You might need to configure the PATH variable on the remote side.

Yes, using WSL extension. What needs configuring? (and why did it work before?).

Maybe remoteEnv / PATH as described in https://code.visualstudio.com/remote/advancedcontainers/environment-variables, making sure that $HOME/.cargo/bin is included in PATH.
But I don't know, I've never tried it.

I am happy to report that the latest VSCode update (1.62.2) has resolved this issue.
From the list of fixes, I would guess that its this issue that was the culprit.


feature request: make global install / executable

would be great to install gateway-proxy globally and make it easy to run

npm install --global @ethersphere/gateway-proxy

POSTAGE_AMOUNT=5000000000 POSTAGE_DEPTH=22 bee-gateway-proxy


Redirect and toasts for withdrawn collections and datasets (CXG) were regressed

Context
See the original design:

Curators may delete a published collection
feat(withdraw): Add withdrawn collection toasts
feat(withdraw): Add withdrawn dataset toast

Refinements
A withdrawn collection should now redirect the consumer to the collections tab. The related message:
      "This collection was withdrawn. You’ve been redirected to the cellxgene Data Portal homepage.",

needs to be updated:
      "This collection was withdrawn. You’ve been redirected to Collections.",

See Slack.
What I did:

Deleted a collection
Viewed the deleted collection in the DP

What happened:

I was redirected to the DP home page

What I expected:

Redirected to the collections tab
Toast popped with the updated text (as per ticket)


Fix magit-log-arguments working directory

Here's a small fix to the new magit-log feature. We need to set the default-directory around magit-log-arguments in addition to magit-log-setup-buffer.

Ah ok! I pushed the recursive edit out of default-directory's scope and left a note.

No problem, thanks for the reviews!


[DON'T Review] Test with service version

Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

/azp run java - textanalytics - tests

/azp run java - textanalytics - tests

/azp run java - textanalytics - tests

API change check
API changes are not detected in this pull request.


lightbulb in the gutter bug

In VS Code newer version lightbulb conflict with other gutter icons. Editor position is jumping.
Here is a video:
https://github.com/user-attachments/assets/2541a223-78a3-4d42-b6b5-ee237f800b6e
Does this issue occur when all extensions are disabled?: No

VS Code Version: 1.92.1
OS Version: Windows 11

Steps to Reproduce:

lightbulb should overlap over other getters icon
Alternatively, an option could be included in the settings to control the displayed position of the lightbulb.

duplicate https://github.com/microsoft/vscode/issues/225681


'Select' element triggering model

Select html element is triggering the model to be shown on Firefox
Scenario:

Add a select element to your page
Open it in Firefox
Click on the select element

Firefox Version: 60.0.2 (64-bit)
Operating System: OSX 10.13.3

Hi, I have the same issue. Exit intent is triggered when we mouve the cursor over select options. On Firefox only (FF 71, linux & mac). Screencast

Same issue here


Update CLI extensions available doc

Update CLI extensions available doc.
Triggered by Azure/azure-cli-extensions - TRAVIS_BUILD_ID=472143550
https://github.com/Azure/azure-cli-extensions/commit/3bcb0df1477e27762f6756fd1cdd3da0ef2a93bf

OPS Build status updates of commit 7b9bb9f:
:clock10: Preparing: average preparing time is 57 sec(s)

OPS Build status updates of commit 7b9bb9f:
:clock10: Incremental building: average incremental building time is 12 min(s) 18 sec(s)


Upgrading to video in Call Visualizer does not work

MOB 3504
Jira issue:
https://glia.atlassian.net/browse/MOB-3504
What was solved?
Removed the finish DialogHolderActivity call inside DismissDialog.
Release notes:

[ ] Feature
[x] Ignore
[ ] Release notes (Is it clear from the description here?)
[ ] Migration guide (If changes are needed for integrator already using the SDK - what needs to be communicated? Add underneath please)

Additional info:

[x] Is the feature sufficiently tested? All tests fixed? Necessary unit, acceptance, snapshots added? Check that at least new public classes & methods are covered with unit tests
[ ] Did you add logging beneficial for troubleshooting of customer issues?
[ ] Did you add new logging? We would like the logging between platforms to be similar. Refer to Logging from Android SDKs → Things to consider for newly added logs in Confluence for more information.

Screenshots:

Issue found:

As an Operator, request the engagement with the Visitor Code,
As a Visitor, open some link in the confirmation dialog,
Wait while the engagement request is timed out,
As a Visitor, close the browser screen,
Issue: the holder activity prevents a user interaction.

Issue found:

As an Operator, request the engagement with the Visitor Code,
As a Visitor, open some link in the confirmation dialog,
Wait while the engagement request is timed out,
As a Visitor, close the browser screen,
Issue: the holder activity prevents a user interaction.

@AndriiHorishniiMOC Do you mean that this is the issue found with the fix or this is the issue that the fix is solving?

@andrews-moc This PR added the issue.

@AndriiHorishniiMOC fixed - f657f35

!squash


Cannot consume package from VSTS private Nuget feeds

Paket fails to get nuget packages from private feeds created in Visual Studio Team Service Package Management
Error in paket.dependencies line 1
  couldnt load resources from https://<MyVstsProject>.visualstudio.com/DefaultCollection/_packaging/<MyPrivateFeed>/nuget/v3/index.json

It reproes using both v2 and v3 versions of the nuget feed.

Can you mail me a dependencies file with credentials that reproduces this?
Sforkmann at gmail
On Mar 4, 2016 3:45 AM, "William Blum"<EMAIL_ADDRESS>wrote:

Paket fails to get nuget packages from private feeds created in Visual
Studio Team Service Package Management
https://www.visualstudio.com/en-us/get-started/package/overview
Error in paket.dependencies line 1
couldnt load resources from https://.visualstudio.com/DefaultCollection/_packaging//nuget/v3/index.json
—
Reply to this email directly or view it on GitHub
https://github.com/fsprojects/Paket/issues/1496.

@blumu Don't know if this'll help. But I'm using a VSTS private feed and am able to get packages by including credentials like this
Paket.Dependencies.Install """     source https://mysubdomain.pkgs.visualstudio.com/DefaultCollection/_packaging/MyFeedName/nuget/v2 username: "myusername" password: "mypassword"     nuget MyPrivatePackage """;;

@forki I can't share the credentials to this project/feed unfortunately. The source is configured as follows in the paket dependency file:
source https://MYPROJECT.pkgs.visualstudio.com/DefaultCollection/_packaging/MYFEED/nuget/v3/index.json username: "***" password: "***"

I tried with both v2 and v3 and got the same error after running the command:
..paket\paket.exe convert-from-nuget

Correction: the actual error message I get when running paket convert-from-nugget is:
Paket version <IP_ADDRESS>
Dependencies files saved to sources/paket.dependencies
Resolving packages for group Main:
 - MyPackage is pinned to 2<IP_ADDRESS>
Paket failed with:
		Couldn't get package details for package MyPackage 2<IP_ADDRESS> on any of ["https://www.nuget.org/api/v2";
 "https://MyProject.pkgs.visualstudio.com/DefaultCollection/_packaging/MyVstsFeed/nuget/v3/index.json"].

Ok this is a really weird error. It finds the package versions, but not the
concrete package. Will be nearly impossible for me to debug without access
On Mar 4, 2016 9:31 PM, "William Blum"<EMAIL_ADDRESS>wrote:

Correction: the actual error message I get when running paket
convert-from-nugget is:
Paket version <IP_ADDRESS>
Dependencies files saved to sources/paket.dependencies
Resolving packages for group Main:

MyPackage is pinned to 2<IP_ADDRESS>
Paket failed with:
Couldn't get package details for package MyPackage 2<IP_ADDRESS> on any of ["https://www.nuget.org/api/v2";
"https://MyProject.pkgs.visualstudio.com/DefaultCollection/_packaging/MyVstsFeed/nuget/v3/index.json"].

—
Reply to this email directly or view it on GitHub
https://github.com/fsprojects/Paket/issues/1496#issuecomment-192455925.

pretty sure it depends on the url in https://MyProject.pkgs.visualstudio.com/DefaultCollection/_packaging/MyVstsFeed/nuget/v3/index.json
but I'd need access to solve that.

Is there any switch I could use when running paket.exe to collect additional diagnostics for you to debug?

@forki I can share with you the content of the index.json file if this helps. Let me know.

no idnex.json doesn't really help.
I need access to a similar visualstudio.com server. Can you set up one for testing where this reproduces and give me access?

I created an account and it looks like I can reproduce

Awesome. Looking forward to next release with the fix!

it's already released

lol

I confirm that the fix works for me. Thanks for implementing this quick workaround!

I have the same issue. Has this error been fixed? Is there a work around?


runtime: remove envoy.reloadable_features.http1_lazy_read_disable

Commit Message: runtime: remove envoy.reloadable_features.http1_lazy_read_disable
Additional Description:
Risk Level: Low.
Testing: n/a.
Docs Changes: n/a.
Release Notes: added.
Platform Specific Features: n/a.

/retest

/assign @alyssawilk

/retest


popHealth 4.0.2 Production environment - unable to import patients

I have set up an Ubuntu 14.04 VM with popHealth 4.0.2 with a production setup as given in: https://github.com/OSEHRA/popHealth/wiki/Installation-v4.0
I am unable to load any patients. Even after selecting the zip file and pressing upload, I am not getting any patients loaded.
This is what I get in the production.log:
Started PUT "/admin/upload_patients" for <IP_ADDRESS> at 2016-04-06 00:13:45 -0400
Processing by AdminController#upload_patients as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"MTxfOxl/1kWjST+SV7c1C3hju8xD5t+xjWPcxUbdV2I=", "file"=>#<ActionDispatch::Http::UploadedFile:0x0000000483a528 @tempfile=#Tempfile:/tmp/RackMultipart20160406-12650-u65cq3, @original_filename="patient_qrda_pophealth.zip", @content_type="application/zip", @headers="Content-Disposition: form-data; name="file"; filename="patient_qrda_pophealth.zip"\r\nContent-Type: application/zip\r\n">, "commit"=>"Upload"}
Redirected to http://<IP_ADDRESS>/admin/patients
Completed 302 Found in 37ms
Started GET "/admin/patients" for <IP_ADDRESS> at 2016-04-06 00:13:45 -0400
Processing by AdminController#patients as HTML
Rendered admin/patients.html.erb within layouts/application (2.5ms)
Rendered shared/_header.html.erb (2.0ms)
Completed 200 OK in 17ms (Views: 6.7ms)
Started GET "/api/admin/patients/count" for <IP_ADDRESS> at 2016-04-06 00:13:50 -0400
Processing by Api::Admin::PatientsController#count as JSON
Completed 200 OK in 15ms (Views: 0.4ms)
Any ideas on where to look for debugging this.
Thanks,
Sachin

Sachin - is your background processor running (rake jobs:work)?  Given that the PUT message here is successful, that to me seems the first place to look.

Thanks, Luke. The backgroudn processor was not working. Oversight  on my part :(


Public methods vs MetricsLogger instantiation

Not sure if this belongs in this issue, but what is the advantage of dvclive.init() over logger = dvclive.MetricsLogger() as the canonical workflow? Explicitly calling MetricsLogger seems more transparent, removes an extra layer of abstraction, and makes it easier to manage multiple loggers.
Originally posted by @dberenbaum in https://github.com/iterative/dvclive/issues/156#issuecomment-916874901

Public functions require us to handle logger object instantiation. If we move this responsibility to users we effectively remove the need to handle multi-threaded use cases like #36.


[engine-1.21] Don't run release CI when tagging on engine branch

We'd like to be able to tag on the engine-1.21 (and potential other future engine branches) without having Drone create a release. This will allow us to use logical tags in the go.mod of downstream projects, while not having our release list cluttered with dummy releases.

Closing this issue as we validate this in the scope of issues created per branch


Can the tool not use docker under the hood to scan docker images?

Hi,
We are trying to use this tool to scan docker images from within a docker container. However, it seems that the tool spins up a docker container under the hood itself as part of its image scanning process. This currently cannot work for our scenario in AzureML since the environment in which we're invoking the tool is inside a docker container already. Is there a way for the tool to scan packages in a docker image without using docker (ie, spinning up a docker container) under the hood? This is currently blocking our integration in AzureML.
Thanks!

The SBOM-Tool uses Component Detection https://github.com/microsoft/component-detection, and Component Detection currently uses Syft for docker containers. https://github.com/anchore/syft


Allow config to restrict service plans to an exact org set, excluding protected orgs

Is your feature request related to a problem? Please describe.
For security reasons, we want to restrict a custom service broker to a set of specific orgs, but using "limited_access_plans" means that protected orgs will also be granted access, which we don't necessarily want.
"Protected" orgs is a dual-use setting: protect from deletion and protect from service-access restrictions. So, whilst I enjoy the comfort of knowing that cf-mgmt won't delete my org, for my use case exposing my custom service to these orgs is a highly undesirable side-effect.
Describe the solution you'd like
Would it be feasible to add a new field to the configuration to exactly specify the orgs? Something like this:
service-access:
- broker: custom-but-secure-broker
  services:
  - service: a.secure.service
    restricted_access_plans: # a.secure.plan is only available to the foo-org
    - plan: a.secure.plan
      orgs:
      - foo-org

If a plan is specified as both "limited_access" and "restricted_access", then I would suggest the result is either undefined (caveat emptor) or an error would be raised.
Describe alternatives you've considered
We can work around this by globally disabling access in config, then having a further pipeline step to enable access just for the org(s) desired. It does leave a window where service instances cannot be created, which is slightly inconvenient :)
Additional context
Is including protected orgs in service plan access controls the best behaviour? The original feature request #84 and its feedback #160 do not define the use case that prompted it.

Hi there @jblackman, the team has put this into our tracker and will be reviewing the feature request


Doc: Fix usage of Use for middleware example

This fixes #49

It should be fuego.Use(s, xxx) you forgot the s

It should be fuego.Use(s, xxx) you forgot the s. Thanks for the quick PR!

Thanks, fixed :D


Add azerbaijani translation maintainers

Me and one my colleague from our company would like to translate ReactJS docs to Azerbaijani language. I have been writing in Azerbaijani (http://medium.com/frontend-azerbaijan) about React. I have also written some in the previous Crowdin project (I stopped due to not understanding how to translate huge portions of text that was not translatable).
@azizaismayilova also writes professionally in Azerbaijani and English (not necessarily about React but she has extensive knowledge of computer/software related terminology in Azerbaijani).
Additionally, we have also started translating documentation locally; so, if our PR gets accepted and a repo is created, we can immediately start to push translation updates.

@GasimGasimzada  I've created a repo for you! You should have received an invite to join the react organization. Happy translating :)

Thank you! :)


Created te.js

Created Telugu language translation.
This pull request is Translation only.
The following changes were made

Created Telugu Messages.

This pull request includes a

[ ] Bug fix
[ ] New feature
[x] Translation

The following changes were made

If this is related to an existing ticket, include a link to it as well.

Thanks a bunch for your work and continued effort in getting this pull request right!


Infinite loop after upgrading to Nuxt 3.12.4 (callbackUrl)

Environment

Operating System: Darwin
Node Version:     v20.11.1
Nuxt Version:     3.12.4
CLI Version:      3.12.0
Nitro Version:    2.9.7
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      modules, extends, future, css, runtimeConfig, auth, compatibilityDate
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
How can I put a reproduction for real-life implementation e.g. with a real provider?
Describe the bug
I'm using nuxt auth via azure-ad and after I upgraded nuxt to 3.12.4 it started an infinite loop with vue-router.
It keeps giving following warning with adding more urls to end of it. (see the logs section)

import { decode } from 'jsonwebtoken'
import AzureAdProvider from 'next-auth/providers/azure-ad'
import { NuxtAuthHandler } from '#auth'

async function refreshAccessToken(accessToken: any) {
  try {
      const url = `https://login.microsoftonline.com/${process.env.AZURE_AD_TENANT_ID}/oauth2/v2.0/token`;
      const req = await fetch(url, {
          method: 'POST',
          headers: {
              'Content-Type': 'application/x-www-form-urlencoded',
          },
          body:
              `grant_type=refresh_token` +
              `&client_secret=${process.env.AZURE_AD_CLIENT_SECRET}` +
              `&refresh_token=${accessToken.refreshToken}` +
              `&client_id=${process.env.AZURE_AD_CLIENT_ID}`,
      });
      const res = await req.json();
      return {
          ...accessToken,
          accessToken: res.access_token,
          accessTokenExpires: Date.now() + res.expires_in * 1000,
          refreshToken: res.refresh_token ?? accessToken.refreshToken, // Fall back to old refresh token
      };
  } catch (error) {
      console.log(error);
      return {
          ...accessToken,
          error: 'RefreshAccessTokenError',
      };
  }
}

export default NuxtAuthHandler({
  // A secret string you define, to ensure correct encryption
  secret: process.env.AUTH_APP_SECRET,
  pages: {
    signIn: '/auth/signIn',
    signOut: '/auth/signOut',
    error: '/auth/error',
    verifyRequest: '/auth/verifyRequest',
    newUser: '/auth/new-user'
  },
  callbacks: {
    async jwt({ token, account, profile }) {
      // Persist the access_token in the encrypted JWT.
      if (account && profile) {
        if (account.access_token) {
          const decoded = decode(account.access_token)
          token.accessToken = account.access_token;
          if (decoded && typeof decoded !== 'string')
            token.roles = decoded.roles;
        }
        if (account.expires_at)
          token.accessTokenExpires = account.expires_at * 1000;

        token.refreshToken = account.refresh_token;
      }

      if (token.accessTokenExpires && Date.now() < token.accessTokenExpires) {
        return token;
      }

      return refreshAccessToken(token);
    },
    async session({ session, token }) {
      // Make access token available on the client.
      session.roles = token.roles;

      return session;
    },
  },
  providers: [
    // @ts-expect-error You need to use .default here for it to work during SSR. May be fixed via Vite at some point
    AzureAdProvider.default({
      clientId: process.env.AZURE_AD_CLIENT_ID,
      clientSecret: process.env.AZURE_AD_CLIENT_SECRET,
      tenantId: process.env.AZURE_AD_TENANT_ID,
      authorization: {
        params: {
          scope: `openid profile {{myScope}}`,
        },
      },
    })

  ]
})

nuxt.config.ts
  auth: {
    isEnabled: true,
    provider: {
      type: "authjs",
      defaultProvider: "azure-ad"
    },
    globalAppMiddleware: {
      isEnabled: true,
      addDefaultCallbackUrl: '/'
    },
    sessionRefresh: {
        enablePeriodically: 30000,
        enableOnWindowFocus: true,
    }
 },

callbackUrl is not working in my case also. I'm not sure why, I couldn't find the time to investigate either but It looks like after upgrade this callback logic causes this problem.
Let me know if you need more info, sorry for the reproduce, I can't do that with azure-ad
Additional context
I did a clean upgrade, nothing got changed, when I rollback it to 3.12.3 it works.
Logs
WARN  [Vue Router warn]: No match found for location with path "/api/auth/session?callbackUrl=http:%2F%2Flocalhost%2Fapi%2Fauth%2Fsession?callbackUrl=http:%25252F%25252Flocalhost%25252Fapi%25252Fauth%25252Fsession?callbackUrl=http:%252525252F%252525252Flocalhost%252525252Fapi%252525252Fauth%252525252Fsession?callbackUrl=http:%2525252525252F%2525252525252Flocalhost%2525252525252Fapi%2525252525252Fauth%2525252525252Fsession?callbackUrl=http:%25252525252525252F%25252525252525252Flocalhost%25252525252525252Fapi%25252525252525252Fauth%25252525252525252Fsession?callbackUrl=http:%252525252525252525252F%252525252525252525252Flocalhost%252525252525252525252Fapi%252525252525252525252Fauth%252525252525252525252Fsession?callbackUrl=http:%2525252525252525252525252F%2525252525252525252525252Flocalhost%2525252525252525252525252Fapi%2525252525252525252525252Fauth%2525252525252525252525252Fsession?callbackUrl=http:%25252525252525252525252525252F%25252525252525252525252525252Flocalhost%25252525252525252525252525252Fapi%25252525252525252525252525252Fauth%25252525252525252525252525252Fsession?callbackUrl=http:%252525252525252525252525252525252F%252525252525252525252525252525252Flocalhost%252525252525252525252525252525252Fapi%252525252525252525252525252525252Fauth%252525252525252525252525252525252Fsession?callbackUrl=http:%2525252525252525252525252525252525252F%2525252525252525252525252525252525252Flocalhost%2525252525252525252525252525252525252Fapi%2525252525252525252525252525252525252Fauth%2525252525252525252525252525252525252Fsession?callbackUrl=http:%25252525252525252525252525252525252525252F%25252525252525252525252525252525252525252Flocalhost%25252525252525252525252525252525252525252Fapi%25252525252525252525252525252525252525252Fauth%25252525252525252525252525252525252525252Fsession?callbackUrl=http:%252525252525252525252525252525252525252525252F%252525252525252525252525252525252525252525252Flocalhost%252525252525252525252525252525252525252525252Fapi%252525252525252525252525252525252525252525252Fauth%252525252525252525252525252525252525252525252Fsession?callbackUrl=http:%2525252525252525252525252525252525252525252525252F%2525252525252525252525252525252525252525252525252Flocalhost%2525252525252525252525252525252525252525252525252Fapi%2525252525252525252525252525252525252525252525252Fauth%2525252525252525252525252525252525252525252525252Fsession?callbackUrl=http:%25252525252525252525252525252525252525252525252525252F%25252525252525252525252525252525252525252525252525252Flocalhost%25252525252525252525252525252525252525252525252525252Fapi%25252525252525252525252525252525252525252525252525252Fauth%25252525252525252525252525252525252525252525252525252Fsession?callbackUrl=http:%252525252525252525252525252525252525252525252525252525252F%252525252525252525252525252525252525252525252525252525252Flocalhost%252525252525252525252525252525252525252525252525252525252Fapi%252525252525252525252525252525252525252525252525252525252Fauth%252525252525252525252525252525252525252525252525252525252Fsession?callbackUrl=http:%2525252525252525252525252525252525252525252525252525252525252F%2525252525252525252525252525252525252525252525252525252525252Flocalhost%2525252525252525252525252525252525252525252525252525252525252Fapi%2525252525252525252525252525252525252525252525252525252525252Fauth%2525252525252525252525252525252525252525252525252525252525252Fsession?callbackUrl=http:%25252525252525252525252525252525252525252525252525252525252525252F%25252525252525252525252525252525252525252525252525252525252525252Flocalhost%25252525252525252525252525252525252525252525252525252525252525252Fapi%25252525252525252525252525252525252525252525252525252525252525252Fauth%25252525252525252525252525252525252525252525252525252525252525252Fsession?callbackUrl=http:%252525252525252525252525252525252525252525252525252525252525252525252F%252525252525252525252525252525252525252525252525252525252525252525252Flocalhost:3000%252525252525252525252525252525252525252525252525252525252525252525252F"

I've got the same issue using the azure-ad-b2c provider.
Downgrading to the previous nuxt version (3.12.3) did not resolve this issue for me,
import AzureB2CProfile from 'next-auth/providers/azure-ad-b2c'
import { NuxtAuthHandler } from '#auth'

export default NuxtAuthHandler({
  secret: useRuntimeConfig().auth.secret,
  providers: [
    AzureB2CProfile({
      authorization: { params: { scope: 'openid offline_access' } },
      checks: ['pkce'],
      clientId: useRuntimeConfig().auth.clientId,
      clientSecret: useRuntimeConfig().auth.clientSecret, // unused
      client: { response_types: ['code'] },
      primaryUserFlow: useRuntimeConfig().auth.primaryUserFlow,
      tenantId: useRuntimeConfig().auth.tenantName,
    }),
  ],
  callbacks: {
    jwt({ token, account }) {
      if (account)
        token.accessToken = account.access_token

      return token
    },
  },
})

Logs
I receive the same warning from Vue Router
 WARN  [Vue Router warn]: No match found for location with path "/auth/signin/azure-ad-b2c"

I also receive a stack trace from what seems to be h3
 ERROR  [nuxt] [request error] [unhandled] [500] The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received an instance of URLSearchParams
  at Function.from (node:buffer:319:9)
  at /D:/sidebase-test/node_modules/.pnpm/h3@1.12.0/node_modules/h3/dist/index.mjs:410:21
  at async readBody (/D:/sidebase-test/node_modules/.pnpm/h3@1.12.0/node_modules/h3/dist/index.mjs:438:16)
  at readBodyForNext (D:\sidebase-test\node_modules\.pnpm\@sidebase+nuxt-auth@0.8.1_encoding@0.1.13_magicast@0.3.4_next-auth@4.21.1_next@13.5.6_@babel+_znrr33m56h2fg2wfir25brkt2i\node_modules\@sidebase\nuxt-auth\dist\runtime\server\services\authjs\nuxtAuthHandler.mjs:18:12)
  at getInternalNextAuthRequestData (D:\sidebase-test\node_modules\.pnpm\@sidebase+nuxt-auth@0.8.1_encoding@0.1.13_magicast@0.3.4_next-auth@4.21.1_next@13.5.6_@babel+_znrr33m56h2fg2wfir25brkt2i\node_modules\@sidebase\nuxt-auth\dist\runtime\server\services\authjs\nuxtAuthHandler.mjs:75:18)
  at Object.handler (D:\sidebase-test\node_modules\.pnpm\@sidebase+nuxt-auth@0.8.1_encoding@0.1.13_magicast@0.3.4_next-auth@4.21.1_next@13.5.6_@babel+_znrr33m56h2fg2wfir25brkt2i\node_modules\@sidebase\nuxt-auth\dist\runtime\server\services\authjs\nuxtAuthHandler.mjs:87:25)
  at async /D:/sidebase-test/node_modules/.pnpm/h3@1.12.0/node_modules/h3/dist/index.mjs:1975:19
  at async Object.callAsync (/D:/sidebase-test/node_modules/.pnpm/unctx@2.3.1/node_modules/unctx/dist/index.mjs:72:16)
  at async toNodeHandle (/D:/sidebase-test/node_modules/.pnpm/h3@1.12.0/node_modules/h3/dist/index.mjs:2266:7)
  at async ufetch (/D:/sidebase-test/node_modules/.pnpm/unenv@1.10.0/node_modules/unenv/runtime/fetch/index.mjs:9:17)

Resolution/Workarounds
I dug and created a patch where I changed the call to $fetch to use fetch for this line:
https://github.com/sidebase/nuxt-auth/blob/9295d1fe4f27d42c879862a48202f5b215fc0048/src/runtime/utils/fetch.ts#L12
The errors are now gone and it seems to redirect me correctly

Thank you very much for reporting this issue! I bumped into the same one when trying to migrate to a new Authjs (which is not ready yet) and spent quite some time trying to pinpoint the culprit - in my case it was pages and I was getting the exact same error.
I was blaming @auth/core for the issue, but judging by your experience, it might be caused by Nuxt 3.12.4
@n-rowe I am yet not sure if you experience the same issue as you seem to not be getting an insanely long error message as the OP?

@n-rowe I am yet not sure if you experience the same issue as you seem not to be getting an insanely long error message as the OP?

I'm unsure if it's the same issue, I have the same WARN the OP gets, and I'm experiencing the infinite loop from vue-router. Though our resolutions are slightly different - I may have just downgraded Nuxt incorrectly.

I happened to copy the Vue Router warn at the very beginning but I am experiencing the same sort of error with it just continuously appending onto itself.

Thank you for clarifying, it may actually be related to $fetch implementation being changed in 3.12.4, I will check their commits

Thank you for clarifying, it may actually be related to $fetch implementation being changed in 3.12.4, I will check their commits

Changing $fetch didn't completely resolve my issue as I was still experiencing problems on the server side.
I changed it back to $fetch and noticed that the URL didn't include the host on the server.
I patched these lines of code
https://github.com/sidebase/nuxt-auth/blob/3da2724d5bfe8af3aaecdb1671db091bcb29cd91/src/runtime/utils/url.ts#L13-L17
Into
return joinURL(authStateInternal.baseURL, path)

and now I'm experiencing no errors, and everything is working as I expected.
Either way, I think it is an issue around the fetching/URL.

I'm not sure if it is related or not but with my configurations above, callbackUrl does not work at all, it always redirects back to addDefaultCallbackUrl (with working version nuxt v3.12.3)
(note, if I don't set addDefaultCallbackUrl, It just redirects to http://localhost:3000/auth/signIn)
http://localhost:3000/auth/signIn?callbackUrl=http://localhost:3000/dashboard&error=undefined

Maybe I will raise another issue for this once the infinite loop is fixed.

Thank you very much for reporting this issue! I bumped into the same one when trying to migrate to a new Authjs (which is not ready yet) and spent quite some time trying to pinpoint the culprit - in my case it was pages and I was getting the exact same error. I was blaming @auth/core for the issue, but judging by your experience, it might be caused by Nuxt 3.12.4
@alimozdemir What version of next-auth do you have? You can check via pnpm why next-auth
@n-rowe I am yet not sure if you experience the same issue as you seem to not be getting an insanely long error message as the OP?

Hi @phoenix-ru , sorry, I just saw your message.
"next-auth": "4.21.1"
dependencies:
next-auth 4.21.1

devDependencies:
@sidebase/nuxt-auth 0.8.1
└── next-auth 4.21.1 peer

@zoey-kaiser Are you able to reproduce it by updating to Nuxt 3.12.4 on an internal project?

I have not been able to reproduce the issue with the infinite call loops inside my test application. However, I have been able tp reproduce the issue of the defaultCallbackURL not working correctly.  I opened a new issue for this here to ensure that we can investigate both errors separately: #857

Hi again,
I just did another test with a clean install and upgraded the nuxt + nuxt-auth, but the issue still persists.
Is there any workaround for it?
@n-rowe did you figure out a workaround without patching the package locally?

I found the issue. It is related to server folder of nuxt. I think it is also related to https://github.com/nuxt/nuxt/issues/27780.
Here is an example
https://stackblitz.com/edit/github-cu5cxv?file=app%2Fapp.vue,package.json
You can see both endpoints are working.
When I upgrade it to 3.12.4, the first endpoint does not work anymore.
https://stackblitz.com/edit/github-cu5cxv-bqkc23?file=package.json
When I moved my server folder to the up of app folder, the problem was fixed. Hence closing the issue!
Thank you for your help!


Enhance gather-crds so it can also be used downstream

This PR enhances the gather-crds.sh script so it can be used downstream as well as upstream.  I've also added some error checking and other fit-and-finish to make it more robust for use in builds.
I've tested this in a ubi8/ubi and ubi8/ubi-minimal containers.  In both cases, some extra stuff has to be installed in the container to run this as noted in comments:  the git package, and if using ubi8-minimal, the findutils package.
I've NOT tested on Mac (don't have one) so I might be introducing some Mac incompatibilities since I do not naturally code Bash around the ancient Bash in Mac's limitations.
Once this is merged, I will take the next step of having downstream use this script from the hub-operator repo vs. having similar logic in downstream-specific parts.

Sorry Joe, I didn't get a chance to look at this today. I pull the branch and hit an error running make update-crds
make update-crds
bash cicd-scripts/gather-crds.sh https://github.com/open-cluster-management/hub-crds.git main ./crds
mktemp: illegal option -- p
usage: mktemp [-d] [-q] [-t prefix] [-u] template ...
       mktemp [-d] [-q] [-u] -t prefix
Cloning CRD repo.
fatal: could not create work tree dir '': No such file or directory
ERROR: Could not clone upstream Hub CRDs repo.
make: *** [update-crds] Error 3

I'll look more into it a little later

/hold

Ugh.  Seems like a Mac-compatibility problem.  Its not that I hate Macs, but I hate that the ancient shell-and-utilities of a Mac is constraining how we can do build stuff which is otherwise RHEL or UBI based.  If you can suggest a quick fix that works for Mac and RHEL too, I guess we can go with that.  Otherwise, I may need you to  approve anyway and we'll work out Mac problems later.  This is critical path to getting alignment between downstream and upstream CI processes that we should have as we go into Prow.

@joeg-pro You mentioned that the script would need to install some things first if run with a ubi8/ubi-minimal image. Could you list those prereqs here?

I've changed the new gather-crds to use a Mac-compatible invocation of mktemp.  Also, as Jake and I discussed, I've reverted the Makefile change and have it back to using the original gather-crds script for dev use cases.  So in net, this PR now just drops in a new gather-crds into cicd-scripts.

/lgtm


threadpool_multiple_event_loops fails on Linux/ppc musl

On a Linux computer with a PowerPC CPU using the musl libc, the threadpool_multiple_event_loops test fails.  This does not happen on an x86_64 Linux using the musl libc, nor does it happen on a PowerPC Linux using glibc.
awilcox on elaine ~/aports/main/libuv/src/libuv-v1.12.0/test $ ./run-tests threadpool_multiple_event_loops
not ok 1 - threadpool_multiple_event_loops
# exit code 6
# Output from process `threadpool_multiple_event_loops`:
# Assertion failed in test/test-thread.c on line 79: status == 0

I am not sure if this is a bug in libuv or if it is a bug in musl libc.

Version: 1.12.0
Platform: Linux elaine 4.5.0 #1 SMP Sat Feb 6 18:32:12 AEDT 2016 ppc Linux

That assertion means a uv_getaddrinfo() call for localhost failed for some reason.  Hope that points you in the right direction because I'm afraid I can't investigate myself.  Maybe try printing the status code.

Yeah, that did help.  status == -3001, or UV_EAI_AGAIN.  I ended up finding out that this is actually a really weird "perfect storm" of conditions:

My ISP intercepts DNS requests (to attempt to show ads when domains can't be found).
During network maintenance their interception engine was corrupting some of the responses.
When musl found the corrupted responses it considered it the same as SERVFAIL (even though it wasn't SERVFAIL, the length didn't match the actual bytes on the wire); which it then returns as EAI_AGAIN.
uv_getaddrinfo was then returning UV_EAI_AGAIN.

Running the test on a PowerPC machine on a different network fixed this.  Apologies for the noise!


Support client use_layer_wise setting

Type of Change
feature
Description
client layerwise usage:
None # default value, Autodetect (client is True)
--use_layer_wise # True
--use_layer_wise False # False

Case-insensitive
    True values are 'y', 'yes', 't', 'true', 'on', and '1'; false values
    are 'n', 'no', 'f', 'false', 'off', and '0'.

Expected Behavior & Potential Risk
the expected behavior that triggered by this PR
How has this PR been tested?
how to reproduce the test (including hardware information)
Dependency Change?
any library dependency introduced or removed

/azp run Code-Scan Model-Test UT-3x-TensorFlow UT-3x-Torch UT-Basic


Implement -layoutAttributesForItemAtIndexPath:

Implementing -layoutAttributesForItemAtIndexPath: is needed for when self-sizing cells is being used, since in that case collection view asks for layout attributes individually for each index path.
The most efficient way for doing this would be caching all the positions and invalidate them when the invalidation context has invalidateEverything, invalidateFlowLayoutDelegateMetrics or invalidateFlowLayoutAttributes to true, but this quick fix still does the job.
Thank you for your time and layout.

Thanks for the pull, @galrito. I will check it out ASAP

Moving this over to https://github.com/keighl/KTCenterFlowLayout/pull/19


Fine tune markdown editor toolbar

Remove unnecessary btn-link muted classes

Link is link, button is button, I can't see a real requirement to make a button like a link.
If anyone prefers it, please help to show some real examples from modern frameworks / websites, how and why they do so.
No need to duplicate a lot of class names on similar elements
Declare styles clearly, for example, markdown-toolbar itself should have display: flex, but not use gt-df to overwrite the display: block.

Remove unnecessary role attribute

https://github.com/github/markdown-toolbar-element/issues/70
The markdown-toolbar-element does want to add role=button, but there is a bug.
So we do the similar thing as upstream does (add the role by JS), until they fix their bugs.

Indent markdown-switch-easymde (before it doesn't have a proper indent)

Screenshot:

The JS approach is the same as upstream, it doesn't cause any problem , no performance problem.
It's easier to maintain, if upstream fixes the bug, just delete these 2 line JS code
It makes the template code clearer, no more duplicate code
Does "works even when JS is disabled and is instantly correct on page load" make sense? Without JS, does any button work?

Keep in mind there is still a minority of users who run Gitea with JS disabled. We don't really support them, but I wouldn't make their life harder knowingly by moving stuff to JS.

I suppose custom elements don't work at all with JS disabled and I don't think it's worth the effort trying to render some placeholder for such cases

So you see, I do not think " wouldn't make their life harder knowingly by moving stuff to JS." makes sense either.


Nuget Package v1.0.6 is not working

Installing the latest package does not install the correct Newtonsoft.Json version.
Nuget Package Install output:
PM> Install-Package SparkPost
Attempting to resolve dependency 'Newtonsoft.Json (> 6.0.0)'.
Installing 'Newtonsoft.Json 6.0.1'.
Successfully installed 'Newtonsoft.Json 6.0.1'.
Installing 'SparkPost 1.0.6'.
Successfully installed 'SparkPost 1.0.6'.
Adding 'Newtonsoft.Json 6.0.1' to sparky.
Successfully added 'Newtonsoft.Json 6.0.1' to sparky.
Adding 'SparkPost 1.0.6' to sparky.
Successfully added 'SparkPost 1.0.6' to sparky.

Error if you try to send a Transmission:
An unhandled exception of type 'System.IO.FileLoadException' occurred in mscorlib.dll
Additional information: Could not load file or assembly 'Newtonsoft.Json, Version=<IP_ADDRESS>,
Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located
assembly's manifest definition does not match the assembly reference. (Exception from HRESULT:
0x80131040)

I'll take a look soon, thanks!

I had this issue previously, but it is resolved after I update NewtonSoft.Json to 8.0, once try to update newtonsoft.Json everywhere in the solution. It could resolve the issue.

I don't know the reference got set to 8.0, I must have updated it inadvertently.

I just uploaded 1.0.7... I'll be trying @martinbc 's list soon to see if it resolves the issue.

@martinbc Just to double-check... are you firing this from an existing .Net project?  Which version of json.net are you using?

It is a command line app built from scratch using VS 2013 Community.
Using the nuget package 1.0.7 the issue was solved.
Thanks!

Glad it helped, you are welcome!


Regarding the number of clips and train/test split

Hi @Chiaraplizz ,
Great work!
I've noticed that the 30 CSV files I found contain a total of 8,674,566 clips, whereas the paper mentions that the dataset should have 1 million videos. I feel like I might be missing something here and was hoping you could assist me. I understand that you applied scenario-based filtering, as outlined in the paper. Can you please help me here?

Hello!
That's because the training set of the different splits have overlapping clips. In fact, each split has been obtained through leave-one-out of a certain (scenario, location) combination. You should not consider the duplicates across the different training sets when considering the total number of samples.
Let me know if everything is clear now!

Hi, thanks for your prompt reply.
I checked the Arts_and_craft_ITA_train.csv. I think it has greater than 700k samples alone. That is where I am getting confused.
How do I exactly obtain the train, val, and test split for fair comparisons?

Okay. I got it. If I read all csvs and store them in a single data frame df, then len(concatenated_df.drop_duplicates()) gives the unique clips which I am getting 1050371 close to what mentioned in the paper 1050396.
Thanks!


4.7 Fix library bug.

@rultor release tag is 4.7

@rultor release tag is 4.7

@portlek OK, I will release it now. Please check the progress here

@rultor release tag is 4.7

@portlek Done! FYI, the full log is here (took me 8min)


Tabs invisible by default when not in AppBar

Tabs. If they're in an AppBar, it all works great. If they're not, then the background is white and the default color is white and they disappear. Seems like we should somehow be making the AppBar set the theme for the TabBar to use? ...and then default the TabBar theme to work when it's on a Material?
Consider:
import 'package:flutter/material.dart';

void main() {
  runApp(TabBarDemo());
}

class TabBarDemo extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: DefaultTabController(
        length: 2,
        child: Scaffold(
          body: Center(
            child: TabBar(
              tabs: [
                Tab(text: 'Hello'), // not visible
                Tab(child: Text('World', style: TextStyle(color: Colors.green))),
              ],
            ),
          ),
        ),
      ),
    );
  }
}

Reproducible on latest master channel.

flutter doctor -v
[✓] Flutter (Channel master, 1.24.0-2.0.pre.86, on Mac OS X 10.15.7 19H2 darwin-x64, locale en)
    • Flutter version 1.24.0-2.0.pre.86 at /Users/pedromassango/dev/SDKs/flutter_master
    • Framework revision dde20448f7 (6 hours ago), 2020-10-20 00:59:56 -0400
    • Engine revision ea2aea1c61
    • Dart version 2.11.0 (build 2.11.0-234.0.dev)

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

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

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

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] IntelliJ IDEA Community Edition (version 2020.2.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 50.0
    • Dart plugin version 202.7319.5

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

[✓] Connected device (4 available)
    • iPhone 11 Pro Max (mobile) • 913ADC1E-400E-4AA0-8302-D955869FF1C9 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-13-5 (simulator)
    • macOS (desktop)            • macos                                • darwin-x64     • Mac
      OS X 10.15.7 19H2 darwin-x64
    • Web Server (web)           • web-server                           • web-javascript •
      Flutter Tools
    • Chrome (web)               • chrome                               • web-javascript •
      Google Chrome 86.0.4240.80

• No issues found!

It is there but in same color as the background. If you change the color of text widget then it will be visible.
Tab(child: Text('Hello', style: TextStyle(color: Colors.green),)),

I guess the real issue is because it camouflage itself because of the same color, but it still exists there. if you change the theme color or the color of the AppBar it should be visible.
See for the theme in main.dart
theme: ThemeData(primarySwatch: Colors.blue),

I guess the real issue is because it camouflage itself because of the same color, but it still exists there. if you change the theme color or the color of the AppBar it should be visible.
See for the theme in main.dart
theme: ThemeData(primarySwatch: Colors.blue),

Reproduces on stable 3.3 and master 3.7

flutter doctor -v (mac)
[✓] Flutter (Channel master, 3.7.0-3.0.pre.33, on macOS 12.6 21G115 darwin-arm64, locale en-IN)
    • Flutter version 3.7.0-3.0.pre.33 on channel master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision<PHONE_NUMBER> (38 minutes ago), 2022-12-05 18:27:21 -0800
    • Engine revision a309d239c4
    • Dart version 2.19.0 (build 2.19.0-463.0.dev)
    • DevTools version 2.20.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly
      to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

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

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

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

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

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • 026D5789-9E78-4AD5-B1B2-3F8D4E7F65E4 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.6 21G115 darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 108.0.5359.94

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[✓] Flutter (Channel stable, 3.3.9, on macOS 12.6 21G115 darwin-arm, locale en-IN)
    • Flutter version 3.3.9 on channel stable at /Users/mahesh/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b8f7f1f986 (24 hours ago), 2022-11-23 06:43:51 +0900
    • Engine revision 8f2221fbef
    • Dart version 2.18.5
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

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

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

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

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

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • 026D5789-9E78-4AD5-B1B2-3F8D4E7F65E4 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.6 21G115 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 107.0.5304.110

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!


Zone control commands

Hi, I'd like to interface with the my system's UTY-RVNYN controller, which allows for toggling zones provided a zone control interface is attached (see page 8 of the attached pdf). Do you have any recommendations for figuring out the commands needed? If use this as a secondary controller and set debugPrint to true, will it be enough to capture the required data?
DR_OP002EF_06-UTY-RVNYN_UTY-CDPXZC-D_UTY-TFNXZ3_FGLair-1.pdf

Hi @bezmi
That sounds like a good start, and it should provide all the information. As far as i know the frames are only ever 8 bytes long. Be aware that many of the bytes are bitfields, so it may be useful to change the debug print function to also output the bytes in binary so you can see which bits are flipped.

Thanks!

@bezmi did you end up figuring out the commands for zone control?

@bezmi did you end up figuring out the commands for zone control?

Unfortunately not, we moved and the new place has a different system.