API REST DB NOT WORK

2022-07-07T21:58:30.667346Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.

2022-07-07T21:58:31.812609Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.

mysqld: Table 'mysql.plugin' doesn't exist

2022-07-07T21:58:31.936225Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.

2022-07-07T21:58:31.936381Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables

2022-07-07T21:58:31.936525Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables

2022-07-07T21:58:31.936702Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables

2022-07-07T21:58:31.936910Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables

2022-07-07T21:58:31.937063Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables

2022-07-07T21:58:31.937209Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables

2022-07-07T21:58:31.937378Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables

2022-07-07T21:58:32.017924Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.

2022-07-07T21:58:32.157786Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.

2022-07-07T21:58:32.179671Z 0 [Warning] [MY-013595] [Server] Failed to initialize TLS for channel: mysql_main. See below for the description of exact issue.

2022-07-07T21:58:32.179706Z 0 [Warning] [MY-010069] [Server] Failed to set up SSL because of the following SSL library error: SSL context is not usable without certificate and private key

2022-07-07T21:58:32.182001Z 0 [Warning] [MY-010284] [Server] RSA public key file not found: /var/lib/mysql//public_key.pem. Some authentication plugins will not work.

2022-07-07T21:58:32.183274Z 0 [Warning] [MY-010284] [Server] RSA public key file not found: /var/lib/mysql//public_key.pem. Some authentication plugins will not work.

2022-07-07T21:58:32.198926Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.

2022-07-07T21:58:32.199261Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables

2022-07-07T21:58:32.199399Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist

2022-07-07T21:58:32.199434Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.

2022-07-07T21:58:32.199761Z 0 [ERROR] [MY-010326] [Server] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist

2022-07-07T21:58:32.199810Z 0 [ERROR] [MY-010952] [Server] The privilege system failed to initialize correctly. For complete instructions on how to upgrade MySQL to a new version please see the 'Upgrading MySQL' section from the MySQL manual.

2022-07-07T21:58:32.200141Z 0 [ERROR] [MY-010119] [Server] Aborting

2022-07-07T21:58:33.964604Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.29)  MySQL Community Server - GPL.

Hi @Oruxx ; Thanks for reporting this issue. There was a problem with the db that I resolved. Could you please try again?

Hello! unfortunately persist the error with the REST API and MYSQL
I attach evidence
Image update

mysql crash

Anexo log completo
➜  reconmap git:(master) docker-compose -f docker-compose.yml up
Starting rmap-api        ... done
Starting rmap-mysql      ... done
Starting rmap-web-client ... done
Starting rmap-redis      ... done
Starting rmap-agent      ... done
Attaching to rmap-api, rmap-agent, rmap-mysql, rmap-web-client, rmap-redis
rmap-agent    | time="2022-07-12T22:19:59Z" level=info msg="Reconmap agent"
rmap-api      | Starting periodic command scheduler: cron.
rmap-mysql    | 2022-07-12 22:19:59+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.29-1.el8 started.
rmap-redis    | 1:C 12 Jul 2022 22:20:00.216 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
rmap-redis    | 1:C 12 Jul 2022 22:20:00.217 # Redis version=6.0.16, bits=64, commit=00000000, modified=0, pid=1, just started
rmap-redis    | 1:C 12 Jul 2022 22:20:00.217 # Configuration loaded
rmap-web-client | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
rmap-web-client | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
rmap-web-client | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
rmap-web-client | 10-listen-on-ipv6-by-default.sh: info: can not modify /etc/nginx/conf.d/default.conf (read-only file system?)
rmap-web-client | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
rmap-web-client | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
rmap-web-client | /docker-entrypoint.sh: Configuration complete; ready for start up
rmap-web-client | 2022/07/12 22:20:00 [warn] 1#1: the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:2
rmap-web-client | nginx: [warn] the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:2
rmap-redis    | 1:M 12 Jul 2022 22:20:00.217 * Running mode=standalone, port=6379.
rmap-redis    | 1:M 12 Jul 2022 22:20:00.217 # Server initialized
rmap-redis    | 1:M 12 Jul 2022 22:20:00.217 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
rmap-redis    | 1:M 12 Jul 2022 22:20:00.217 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo madvise > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled (set to 'madvise' or 'never').
rmap-web-client | 2022/07/12 22:20:00 [notice] 1#1: using the "epoll" event method
rmap-web-client | 2022/07/12 22:20:00 [notice] 1#1: nginx/1.22.0
rmap-web-client | 2022/07/12 22:20:00 [notice] 1#1: built by gcc 10.2.1 20210110 (Debian 10.2.1-6)
rmap-web-client | 2022/07/12 22:20:00 [notice] 1#1: OS: Linux <IP_ADDRESS>-microsoft-standard-WSL2
rmap-web-client | 2022/07/12 22:20:00 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
rmap-redis    | 1:M 12 Jul 2022 22:20:00.218 * Ready to accept connections
rmap-web-client | 2022/07/12 22:20:00 [notice] 1#1: start worker processes
rmap-web-client | 2022/07/12 22:20:00 [notice] 1#1: start worker process 23
rmap-web-client | 2022/07/12 22:20:00 [notice] 1#1: start worker process 24
rmap-web-client | 2022/07/12 22:20:00 [notice] 1#1: start worker process 25
rmap-web-client | 2022/07/12 22:20:00 [notice] 1#1: start worker process 26
rmap-web-client | 2022/07/12 22:20:00 [notice] 1#1: start worker process 27
rmap-web-client | 2022/07/12 22:20:00 [notice] 1#1: start worker process 28
rmap-web-client | 2022/07/12 22:20:00 [notice] 1#1: start worker process 29
rmap-web-client | 2022/07/12 22:20:00 [notice] 1#1: start worker process 30
rmap-web-client | 2022/07/12 22:20:00 [notice] 1#1: start worker process 31
rmap-web-client | 2022/07/12 22:20:00 [notice] 1#1: start worker process 32
rmap-web-client | 2022/07/12 22:20:00 [notice] 1#1: start worker process 33
rmap-web-client | 2022/07/12 22:20:00 [notice] 1#1: start worker process 34
rmap-mysql    | 2022-07-12 22:20:00+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
rmap-mysql    | 2022-07-12 22:20:00+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.29-1.el8 started.
rmap-mysql    | '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
rmap-mysql    | 2022-07-12T22:20:00.544405Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.29) starting as process 1
rmap-mysql    | 2022-07-12T22:20:00.547214Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for /var/lib/mysql/ is case insensitive
rmap-mysql    | 2022-07-12T22:20:00.576635Z 0 [Warning] [MY-000054] [Server] World-writable config file '/var/lib/mysql/auto.cnf' is ignored.
rmap-mysql    | 2022-07-12T22:20:00.577210Z 0 [Warning] [MY-010107] [Server] World-writable config file '/var/lib/mysql/auto.cnf' has been removed.
rmap-mysql    | 2022-07-12T22:20:00.577515Z 0 [Warning] [MY-010075] [Server] 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: c5098581-0230-11ed-baa3-0242ac120004.
rmap-mysql    | 2022-07-12T22:20:00.596639Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
rmap-agent    | time="2022-07-12T22:20:00Z" level=debug msg="searching for notifications..."
rmap-mysql    | 2022-07-12T22:20:01.421424Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
rmap-mysql    | mysqld: Table 'mysql.plugin' doesn't exist
rmap-mysql    | 2022-07-12T22:20:01.550914Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
rmap-mysql    | 2022-07-12T22:20:01.551029Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:01.551175Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:01.551303Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:01.551469Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:01.551613Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:01.551768Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:01.551908Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:01.611084Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
rmap-mysql    | 2022-07-12T22:20:01.742566Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
rmap-mysql    | 2022-07-12T22:20:01.763805Z 0 [Warning] [MY-013595] [Server] Failed to initialize TLS for channel: mysql_main. See below for the description of exact issue.
rmap-mysql    | 2022-07-12T22:20:01.763835Z 0 [Warning] [MY-010069] [Server] Failed to set up SSL because of the following SSL library error: SSL context is not usable without certificate and private key
rmap-mysql    | 2022-07-12T22:20:01.765794Z 0 [Warning] [MY-010284] [Server] RSA public key file not found: /var/lib/mysql//public_key.pem. Some authentication plugins will not work.
rmap-mysql    | 2022-07-12T22:20:01.766928Z 0 [Warning] [MY-010284] [Server] RSA public key file not found: /var/lib/mysql//public_key.pem. Some authentication plugins will not work.
rmap-mysql    | 2022-07-12T22:20:01.773547Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:01.773680Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
rmap-mysql    | 2022-07-12T22:20:01.773716Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
rmap-mysql    | 2022-07-12T22:20:01.774018Z 0 [ERROR] [MY-010326] [Server] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
rmap-mysql    | 2022-07-12T22:20:01.774064Z 0 [ERROR] [MY-010952] [Server] The privilege system failed to initialize correctly. For complete instructions on how to upgrade MySQL to a new version please see the 'Upgrading MySQL' section from the MySQL manual.
rmap-mysql    | 2022-07-12T22:20:01.774309Z 0 [ERROR] [MY-010119] [Server] Aborting
rmap-agent    | time="2022-07-12T22:20:02Z" level=debug msg="searching for notifications..."
rmap-mysql    | 2022-07-12T22:20:03.485320Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.29)  MySQL Community Server - GPL.
rmap-agent    | time="2022-07-12T22:20:04Z" level=debug msg="searching for notifications..."
rmap-mysql    | 2022-07-12 22:20:04+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
rmap-mysql    | 2022-07-12 22:20:04+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.29-1.el8 started.
rmap-mysql    | '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
rmap-mysql    | 2022-07-12T22:20:05.058589Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.29) starting as process 1
rmap-mysql    | 2022-07-12T22:20:05.061584Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for /var/lib/mysql/ is case insensitive
rmap-mysql    | 2022-07-12T22:20:05.090806Z 0 [Warning] [MY-000054] [Server] World-writable config file '/var/lib/mysql/auto.cnf' is ignored.
rmap-mysql    | 2022-07-12T22:20:05.091397Z 0 [Warning] [MY-010107] [Server] World-writable config file '/var/lib/mysql/auto.cnf' has been removed.
rmap-mysql    | 2022-07-12T22:20:05.091695Z 0 [Warning] [MY-010075] [Server] 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: c7ba54bf-0230-11ed-baba-0242ac120004.
rmap-mysql    | 2022-07-12T22:20:05.113748Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
rmap-mysql    | 2022-07-12T22:20:05.906303Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
rmap-mysql    | mysqld: Table 'mysql.plugin' doesn't exist
rmap-mysql    | 2022-07-12T22:20:06.017317Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
rmap-mysql    | 2022-07-12T22:20:06.017431Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:06.017590Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:06.017752Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:06.017929Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:06.018057Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:06.018207Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:06.018351Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:06.077866Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
rmap-mysql    | 2022-07-12T22:20:06.217430Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
rmap-mysql    | 2022-07-12T22:20:06.238410Z 0 [Warning] [MY-013595] [Server] Failed to initialize TLS for channel: mysql_main. See below for the description of exact issue.
rmap-mysql    | 2022-07-12T22:20:06.238438Z 0 [Warning] [MY-010069] [Server] Failed to set up SSL because of the following SSL library error: SSL context is not usable without certificate and private key
rmap-mysql    | 2022-07-12T22:20:06.240606Z 0 [Warning] [MY-010284] [Server] RSA public key file not found: /var/lib/mysql//public_key.pem. Some authentication plugins will not work.
rmap-mysql    | 2022-07-12T22:20:06.241952Z 0 [Warning] [MY-010284] [Server] RSA public key file not found: /var/lib/mysql//public_key.pem. Some authentication plugins will not work.
rmap-mysql    | 2022-07-12T22:20:06.250911Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:06.251056Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
rmap-mysql    | 2022-07-12T22:20:06.251099Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
rmap-mysql    | 2022-07-12T22:20:06.251447Z 0 [ERROR] [MY-010326] [Server] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
rmap-mysql    | 2022-07-12T22:20:06.251508Z 0 [ERROR] [MY-010952] [Server] The privilege system failed to initialize correctly. For complete instructions on how to upgrade MySQL to a new version please see the 'Upgrading MySQL' section from the MySQL manual.
rmap-mysql    | 2022-07-12T22:20:06.251859Z 0 [ERROR] [MY-010119] [Server] Aborting
rmap-agent    | time="2022-07-12T22:20:06Z" level=debug msg="searching for notifications..."
rmap-mysql    | 2022-07-12T22:20:07.978855Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.29)  MySQL Community Server - GPL.
rmap-mysql exited with code 1
rmap-agent    | time="2022-07-12T22:20:08Z" level=debug msg="searching for notifications..."
rmap-mysql    | 2022-07-12 22:20:09+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
rmap-mysql    | 2022-07-12 22:20:09+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.29-1.el8 started.
rmap-mysql    | '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
rmap-mysql    | 2022-07-12T22:20:09.486532Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.29) starting as process 1
rmap-mysql    | 2022-07-12T22:20:09.489417Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for /var/lib/mysql/ is case insensitive
rmap-mysql    | 2022-07-12T22:20:09.526229Z 0 [Warning] [MY-000054] [Server] World-writable config file '/var/lib/mysql/auto.cnf' is ignored.
rmap-mysql    | 2022-07-12T22:20:09.526850Z 0 [Warning] [MY-010107] [Server] World-writable config file '/var/lib/mysql/auto.cnf' has been removed.
rmap-mysql    | 2022-07-12T22:20:09.527187Z 0 [Warning] [MY-010075] [Server] 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: ca5f21e6-0230-11ed-ba62-0242ac120004.
rmap-mysql    | 2022-07-12T22:20:09.546013Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
rmap-mysql    | 2022-07-12T22:20:10.355098Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
rmap-mysql    | mysqld: Table 'mysql.plugin' doesn't exist
rmap-mysql    | 2022-07-12T22:20:10.483535Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
rmap-mysql    | 2022-07-12T22:20:10.483661Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:10.483845Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:10.483956Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:10.484127Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:10.484278Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:10.484431Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:10.484596Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:10.551387Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
rmap-agent    | time="2022-07-12T22:20:10Z" level=debug msg="searching for notifications..."
rmap-mysql    | 2022-07-12T22:20:10.674981Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
rmap-mysql    | 2022-07-12T22:20:10.696255Z 0 [Warning] [MY-013595] [Server] Failed to initialize TLS for channel: mysql_main. See below for the description of exact issue.
rmap-mysql    | 2022-07-12T22:20:10.696284Z 0 [Warning] [MY-010069] [Server] Failed to set up SSL because of the following SSL library error: SSL context is not usable without certificate and private key
rmap-mysql    | 2022-07-12T22:20:10.698738Z 0 [Warning] [MY-010284] [Server] RSA public key file not found: /var/lib/mysql//public_key.pem. Some authentication plugins will not work.
rmap-mysql    | 2022-07-12T22:20:10.699874Z 0 [Warning] [MY-010284] [Server] RSA public key file not found: /var/lib/mysql//public_key.pem. Some authentication plugins will not work.
rmap-mysql    | 2022-07-12T22:20:10.705018Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:10.705137Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
rmap-mysql    | 2022-07-12T22:20:10.705167Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
rmap-mysql    | 2022-07-12T22:20:10.705510Z 0 [ERROR] [MY-010326] [Server] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
rmap-mysql    | 2022-07-12T22:20:10.705557Z 0 [ERROR] [MY-010952] [Server] The privilege system failed to initialize correctly. For complete instructions on how to upgrade MySQL to a new version please see the 'Upgrading MySQL' section from the MySQL manual.
rmap-mysql    | 2022-07-12T22:20:10.705838Z 0 [ERROR] [MY-010119] [Server] Aborting
rmap-mysql    | 2022-07-12T22:20:12.414047Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.29)  MySQL Community Server - GPL.
rmap-agent    | time="2022-07-12T22:20:12Z" level=debug msg="searching for notifications..."
rmap-mysql exited with code 1
rmap-mysql    | 2022-07-12 22:20:13+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
rmap-mysql    | 2022-07-12 22:20:13+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.29-1.el8 started.
rmap-mysql    | '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
rmap-mysql    | 2022-07-12T22:20:14.089242Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.29) starting as process 1
rmap-mysql    | 2022-07-12T22:20:14.092788Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for /var/lib/mysql/ is case insensitive
rmap-mysql    | 2022-07-12T22:20:14.122365Z 0 [Warning] [MY-000054] [Server] World-writable config file '/var/lib/mysql/auto.cnf' is ignored.
rmap-mysql    | 2022-07-12T22:20:14.123258Z 0 [Warning] [MY-010107] [Server] World-writable config file '/var/lib/mysql/auto.cnf' has been removed.
rmap-mysql    | 2022-07-12T22:20:14.123818Z 0 [Warning] [MY-010075] [Server] 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: cd1c84b7-0230-11ed-ba9f-0242ac120004.
rmap-mysql    | 2022-07-12T22:20:14.146163Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
rmap-agent    | time="2022-07-12T22:20:14Z" level=debug msg="searching for notifications..."
rmap-mysql    | 2022-07-12T22:20:15.112084Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
rmap-mysql    | mysqld: Table 'mysql.plugin' doesn't exist
rmap-mysql    | 2022-07-12T22:20:15.240938Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
rmap-mysql    | 2022-07-12T22:20:15.241053Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:15.241179Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:15.241293Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:15.241426Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:15.241538Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:15.241681Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:15.241832Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:15.306412Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
rmap-mysql    | 2022-07-12T22:20:15.448988Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
rmap-mysql    | 2022-07-12T22:20:15.470239Z 0 [Warning] [MY-013595] [Server] Failed to initialize TLS for channel: mysql_main. See below for the description of exact issue.
rmap-mysql    | 2022-07-12T22:20:15.470275Z 0 [Warning] [MY-010069] [Server] Failed to set up SSL because of the following SSL library error: SSL context is not usable without certificate and private key
rmap-mysql    | 2022-07-12T22:20:15.472619Z 0 [Warning] [MY-010284] [Server] RSA public key file not found: /var/lib/mysql//public_key.pem. Some authentication plugins will not work.
rmap-mysql    | 2022-07-12T22:20:15.473965Z 0 [Warning] [MY-010284] [Server] RSA public key file not found: /var/lib/mysql//public_key.pem. Some authentication plugins will not work.
rmap-mysql    | 2022-07-12T22:20:15.486880Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:15.487002Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
rmap-mysql    | 2022-07-12T22:20:15.487030Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
rmap-mysql    | 2022-07-12T22:20:15.487310Z 0 [ERROR] [MY-010326] [Server] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
rmap-mysql    | 2022-07-12T22:20:15.487352Z 0 [ERROR] [MY-010952] [Server] The privilege system failed to initialize correctly. For complete instructions on how to upgrade MySQL to a new version please see the 'Upgrading MySQL' section from the MySQL manual.
rmap-mysql    | 2022-07-12T22:20:15.487588Z 0 [ERROR] [MY-010119] [Server] Aborting
rmap-agent    | time="2022-07-12T22:20:16Z" level=debug msg="searching for notifications..."
rmap-mysql    | 2022-07-12T22:20:17.174818Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.29)  MySQL Community Server - GPL.
rmap-mysql exited with code 1
rmap-agent    | time="2022-07-12T22:20:18Z" level=debug msg="searching for notifications..."
rmap-mysql    | 2022-07-12 22:20:18+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
rmap-mysql    | 2022-07-12 22:20:18+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.29-1.el8 started.
rmap-mysql    | '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
rmap-mysql    | 2022-07-12T22:20:19.101536Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.29) starting as process 1
rmap-mysql    | 2022-07-12T22:20:19.104645Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for /var/lib/mysql/ is case insensitive
rmap-mysql    | 2022-07-12T22:20:19.125020Z 0 [Warning] [MY-000054] [Server] World-writable config file '/var/lib/mysql/auto.cnf' is ignored.
rmap-mysql    | 2022-07-12T22:20:19.125732Z 0 [Warning] [MY-010107] [Server] World-writable config file '/var/lib/mysql/auto.cnf' has been removed.
rmap-mysql    | 2022-07-12T22:20:19.126229Z 0 [Warning] [MY-010075] [Server] 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: d017d4a2-0230-11ed-b991-0242ac120004.
rmap-mysql    | 2022-07-12T22:20:19.144703Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
rmap-mysql    | 2022-07-12T22:20:20.102556Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
rmap-mysql    | mysqld: Table 'mysql.plugin' doesn't exist
rmap-mysql    | 2022-07-12T22:20:20.207630Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
rmap-mysql    | 2022-07-12T22:20:20.207749Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:20.207954Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:20.208098Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:20.208270Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:20.208403Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:20.208591Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:20.208827Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:20.272726Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
rmap-mysql    | 2022-07-12T22:20:20.415700Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
rmap-mysql    | 2022-07-12T22:20:20.436970Z 0 [Warning] [MY-013595] [Server] Failed to initialize TLS for channel: mysql_main. See below for the description of exact issue.
rmap-mysql    | 2022-07-12T22:20:20.436998Z 0 [Warning] [MY-010069] [Server] Failed to set up SSL because of the following SSL library error: SSL context is not usable without certificate and private key
rmap-mysql    | 2022-07-12T22:20:20.439316Z 0 [Warning] [MY-010284] [Server] RSA public key file not found: /var/lib/mysql//public_key.pem. Some authentication plugins will not work.
rmap-mysql    | 2022-07-12T22:20:20.440552Z 0 [Warning] [MY-010284] [Server] RSA public key file not found: /var/lib/mysql//public_key.pem. Some authentication plugins will not work.
rmap-mysql    | 2022-07-12T22:20:20.445442Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
rmap-mysql    | 2022-07-12T22:20:20.445600Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
rmap-mysql    | 2022-07-12T22:20:20.445634Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
rmap-mysql    | 2022-07-12T22:20:20.446028Z 0 [ERROR] [MY-010326] [Server] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
rmap-mysql    | 2022-07-12T22:20:20.446071Z 0 [ERROR] [MY-010952] [Server] The privilege system failed to initialize correctly. For complete instructions on how to upgrade MySQL to a new version please see the 'Upgrading MySQL' section from the MySQL manual.
rmap-mysql    | 2022-07-12T22:20:20.446404Z 0 [ERROR] [MY-010119] [Server] Aborting
rmap-agent    | time="2022-07-12T22:20:20Z" level=debug msg="searching for notifications..."


Unable to delete file with storage.delete() using authorization header

I am trying to delete file using storage.delete() from nhost-js package. I am noticing that i couldn't delete file with fileId i wanted to delete, with error 403 "you are not authorized", even with Authorization header with access token in it. So i am trying DELETE method with http client with the url "http://localhost:1337/v1/storage/files/fileId", and im still getting 403 error. But then i tried using x-hasura-admin-secret header and i succesfully deleted the file.
GET file with authorization header:

DELETE file using authorization header:

DELETE with x-hasura-admin-secret header:

Permission on files table, this access token has administrator role:

Nhost CLI im using : latest v0.6.10

Works for me:
curl -v -X DELETE http://localhost:8000/v1/storage/files/55af1e60-0f28-454e-885e-ea6aab2bb288 -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NTMyODY4NDMsImh0dHBzOi8vaGFzdXJhLmlvL2p3dC9jbGFpbXMiOnsieC1oYXN1cmEtYWxsb3dlZC1yb2xlcyI6WyJhZG1pbiJdLCJ4LWhhc3VyYS1kZWZhdWx0LXJvbGUiOiJhZG1pbiIsIngtaGFzdXJhLXVzZXItaWQiOiJhYjViYTU4ZS05MzJhLTQwZGMtODdlOC03MzM5OTg3OTRlYzIiLCJ4LWhhc3VyYS11c2VyLWlzQW5vbnltb3VzIjoiZmFsc2UifSwiaWF0IjoxNjUzMjg1OTQzLCJpc3MiOiJoYXN1cmEtYXV0aCIsInN1YiI6ImFiNWJhNThlLTkzMmEtNDBkYy04N2U4LTczMzk5ODc5NGVjMiJ9.TtzjqVYT0pWoi8BiZRRY_6z-W9lZ7u8j2s4stpI3l4s'
*   Trying <IP_ADDRESS>:8000...
* Connected to localhost (<IP_ADDRESS>) port 8000 (#0)
> DELETE /v1/storage/files/55af1e60-0f28-454e-885e-ea6aab2bb288 HTTP/1.1
> Host: localhost:8000
> User-Agent: curl/7.79.1
> Accept: */*
> Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NTMyODY4NDMsImh0dHBzOi8vaGFzdXJhLmlvL2p3dC9jbGFpbXMiOnsieC1oYXN1cmEtYWxsb3dlZC1yb2xlcyI6WyJhZG1pbiJdLCJ4LWhhc3VyYS1kZWZhdWx0LXJvbGUiOiJhZG1pbiIsIngtaGFzdXJhLXVzZXItaWQiOiJhYjViYTU4ZS05MzJhLTQwZGMtODdlOC03MzM5OTg3OTRlYzIiLCJ4LWhhc3VyYS11c2VyLWlzQW5vbnltb3VzIjoiZmFsc2UifSwiaWF0IjoxNjUzMjg1OTQzLCJpc3MiOiJoYXN1cmEtYXV0aCIsInN1YiI6ImFiNWJhNThlLTkzMmEtNDBkYy04N2U4LTczMzk5ODc5NGVjMiJ9.TtzjqVYT0pWoi8BiZRRY_6z-W9lZ7u8j2s4stpI3l4s
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 204 No Content
< Content-Type: application/json; charset=utf-8
< Date: Mon, 23 May 2022 06:05:47 GMT
<
* Connection #0 to host localhost left intact

I suspect your token may not be correct, most likely your token isn't granting you the role you think it is granting you. Could you:

Decode the token and share the payload? You can use this website to decode it: https://www.jstoolset.com/jwt
Share the logs for hasura? (docker logs nhost-hasura)

Thanks


Jade renamed to Pug

Since Jade is being renamed to Pug, will this repo change names as well?
https://github.com/pugjs/pug/issues/2184

Thanks for the issue report, but just a duplicate of https://github.com/gruntjs/grunt-contrib-jade/issues/156.
Recently @vladikoff thoughtlessly closed all opened issues.


Support caching of timestamped snapshot artefacts

As per https://github.com/jenkins-infra/docker-repo-proxy/pull/5#discussion_r788792179

Probably could be cached, at least timestamped versions (since we are not caching maven-metadata.xml), but fine—rarely used. Artifacts from the incrementals repository definitely can be cached, and it is important to verify that: while they are used similarly to snapshots, from a technical standpoint they are releases (for our purposes: once uploaded to a particular URL, will never be overwritten with different content).

It means:

updating the doc
finding th correct pattern to identify such artefacts
add it to nginx

To be clear, I do not care much about actual snapshot versions; fine to not cache them. It is more important to verify that artifacts from incrementals are cached.


Turbine is unable to aggregate the response from clusters and write it back to response stream.

Hello,
I am planning to leverage hystrix dashboard and turbine which is very useful for us.
I am trying to configure turbine  to aggregate metrics from clustered hystrix service apps. For some reason, it's not working. I am not sure whether my config is wrong or is it a bug. As cluster config is failing, i tried to configure single node config. Even that is also failing.  I hope i have provided required configuration for you review, hope you can guide me on how to address this. Logs are captured from catalina.out.
CONFIGURATION

Platform: RHEL 6.3
Tomcat version: 6.0.28
Turbine version: turbine-web-1.0.0.war (downloaded from hystrix wiki)
Cluster config:
#config.properties
turbine.aggregator.clusterConfig=dev-lsds
turbine.FileBasedInstanceDiscovery.filePath=/opt/usr/apps/tomcat-6.0.28/webapps/turbine/WEB-INF/classes/hosts.csv
turbine.instanceUrlSuffix=:1776/hystrix.stream
InstanceDiscovery.impl=com.netflix.turbine.discovery.FileBasedInstanceDiscovery
hosts.csv:
dev-lsds-1.tnt13-zone1.aus1,dev-lsds,up
Single node config:
#config.properties
turbine.ConfigPropertyBasedDiscovery.default.instances=dev-lsds-1.tnt13-zone1.aus1
turbine.instanceUrlSuffix=:1776/hystrix.stream
OBSERVATIONS

Hystrix node (SUCCESS):
URL: http://dev-lsds-1.tnt13-zone1.aus1:1776/hystrix.stream
Response: It is returning successful json response
Turbine node  (FAILS)
******************** SINGLE NODE CONFIG *********************
URL: http://localhost:8080/turbine/turbine.stream
Response :
curl -v http://localhost:8080/turbine/turbine.stream

About to connect() to localhost port 8080 (#0)
Trying ::1... connected
Connected to localhost (::1) port 8080 (#0)

GET /turbine/turbine.stream HTTP/1.1
User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/<IP_ADDRESS> zlib/1.2.3 libidn/1.18 libssh2/1.4.2
Host: localhost:8080
Accept: /

< HTTP/1.1 200 OK
< Server: Apache-Coyote/1.*< Cache-Control: no-cache, no-store, max-age=0, must-revalidate
< Pragma: no-cache
< Content-Type: text/event-stream;charset=UTF-8
< Transfer-Encoding: chunked
< Date: Thu, 12 Dec 2013 19:27:56 GMT
<
: ping
: ping
: ping
: ping
: ping
: ping
..
..
...
.............

Here is the log output for this request.
Log: http://pastebin.com/ywUjHCz9

******************** CLUSTER NODE CONFIG *********************
URL: http://localhost:8080/turbine/turbine.stream?cluster=dev-lsds
RESPONSE: curl -v http://localhost:8080/turbine/turbine.stream?cluster=dev-lsds

About to connect() to localhost port 8080 (#0)
Trying ::1... connected
Connected to localhost (::1) port 8080 (#0)

GET /turbine/turbine.stream?cluster=dev-lsds HTTP/1.1
User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/<IP_ADDRESS> zlib/1.2.3 libidn/1.18 libssh2/1.4.2
Host: localhost:8080
Accept: /

< HTTP/1.1 200 OK
< Server: Apache-Coyote/1.1
< Cache-Control: no-cache, no-store, max-age=0, must-revalidate
< Pragma: no-cache
< Content-Type: text/event-stream;charset=UTF-8
< Transfer-Encoding: chunked
< Date: Thu, 12 Dec 2013 19:36:04 GMT
<
: ping
: ping
: ping
: ping
: ping
LOG1: (Same log out put as single node confg )
http://pastebin.com/ywUjHCz9
LOG2: (After couple of attempts, reached 503 max connection requests)
http://pastebin.com/PmUWH52v
Please let me know if you need more information.

@scott-seo  I am trying to build turbine-web .war but i cant find the turbine-web sources. i can see only turbine repo, confused on to how build this web app.

@scott-seo  I too am unable to make the war. Could you please help


workload storage no buttondropdown

#500
I'm having some issues with ButtonDropdown but they don't seem specific to this page, so I put a regular v-selectin for now while I investigate the problem.

I fixed an issue where ButtonDropdown wouldn't show anything when toggled if another instance of the component was rendered on a different tab, but then I started having some weird issues with the popover flickering so I made a separate ticket about that button/dropdown component here #1059


Adding automated dependency audits

Addresses https://github.com/omisego/elixir-omg/issues/1173
Overview
Adding mix_audit to dependencies and to the CI workflow.
Changes

mix.exs (root directory) and mix.lock adding mix_audit
Additions to .circleci/config.yml to add to CI workflow.

Testing
/

Updated mix_audit to version 0.1.3 in order to remove warning about our earlier Elixir version.
They fixed this issue after I requested: https://github.com/mirego/mix_audit/issues/3

Does this PR include Review all current dependencies?

Coverage remained the same at ?% when pulling a8fe319474af2bc87b1b78b61047e7e72147ba4f on mix-audit into a29902ce760165fbc6cc6489e259d6a814285262 on master.

Hi @thec00n. This PR does not remove unnecessary dependencies, but mix_audit reviews all dependencies in mix.lock

Wondering if audit_deps becomes once this branch is merged to master? It isn't currently, but nothing in the.circle file that I see missing.

Approving, let's wait for Ino's review before merging tho.

The output of the audit is: “No vulnerabilities found.“
Seems a bit... simplistic. Can you give us an overview what it does? Maybe provide an example where and how it would yield ‘a hacker’!

Hi @Ino. Sorry I realized I linked the wrong URL above. See here for details on the dependency.
How does it work?

MixAudit builds two lists when it’s executed in a project:

- A list of security advisories fetched from the community-maintained elixir-security-advisories repository
- A list of Mix dependencies from the various mix.lock files in the project

Then, it loops through each project dependency and tries to find security advisories that apply to it (through its package name) and that match its version specification (through the advisory patched and unaffected version policies).

If one is found, a vulnerability (the combination of a security advisory and a project dependency) is then added to the report.

The task will exit with a 0 status only if the report passes (ie. it reports no vulnerabilities). Otherwise, it will exit with a 1 status.

They show examples of what it looks like if a vulnerability is found. Not sure how we can "test" that though.

Cool @okalouti nice work. The security repo is here: https://github.com/dependabot/elixir-security-advisories/tree/master/packages
it's rather thin, hopefully that doesn't give us a false assumption our dependencies are all safe. It's a start of a process!


✏ Fix typo in dependencies with yield source examples

✏ Fix typo in dependencies with yield source examples

Hello @tiangolo,
It's great that you fixed this! 🎉
However, there was a PR that already proposed the fix.

#10835

Why I'm pointing this out 🤔
I see that FastAPI, as an open-source project, sadly experiences a deep lack of maintenance. It has a great community that actively submitting, reviewing, and discussing PRs and ~reporting issues~ starting discussions (since there is no way to submit an issue with no privilege to do so). Meanwhile, there is no one else but you with write access to handle them. And this project obviously requires more time to invest that you alone can at the moment.
It would be great if you consider looking among the community for an additional maintainer.
Thanks for your attention! 🙇🏻♂

Thanks @Jamim! Yep, I have a lot of PRs to review, but there were several features I had to handle myself first, like the refactor of the dependencies, and then the upgrades to Starlette (that was blocked by that). I noticed the typo in a comment somewhere else and fixed it quickly, but wasn't able to go through the PRs to see that someone had already proposed a fix.
Of course, I would love all the maintainer help I can have! Would you like to help? There are several things to do, mainly answering questions in discussions and reviewing PRs (BTW, the count of PRs should exclude translations, I can't merge those unless there are 2 reviews from native speakers.). That takes a lot of work and bandwidth, and if it's not me alone, then I would have much more time to review the things that were already reviewed, merge PRs that are actually ready, and answer questions or fix bugs that have no other answer... for example, lots and lots of questions are actually errors from the user side, not problems in FastAPI, or the lack of reading the docs, the same for many PRs. Or there are many incomplete PRs, without tests, or that no one else pulled the changes and checked them locally.
Most of the big chunk of the "maintainer" work can be done by anyone that wants to help, all the instructions are in the docs:
https://fastapi.tiangolo.com/help-fastapi/#help-maintain-fastapi

Thank you for being so open on this topic! I really appreciate it! ❤

Would you like to help?

Sure, I'm happy to be helpful, so I'll try to do it the way you suggested.


call /sbin/mkmntdirs in localmount OpenRC service

[Ariadne: proposed for inclusion upstream per IRC discussion with WilliamH.]

there's no explanation as to what "mkmntdirs" is, and it's not POSIX or OpenRC or anything else standard that i can see.

Oh, oops.  I think that’s specific to Alpine.  Let me check.

Yes, mkmntdirs is an Alpine specific utility.  Closing.


Add CI/CD workflow

Follow the template that we use in other repositories.

Added Docker Hub credentials as GH Secrets
Created https://hub.docker.com/repository/docker/nlpsandbox/phi-deidentifier-app


Borg energy saving mode

Description
If you eject module from borg its power consumption will turn off. After this some actions can turn consumption on, but i dont't know which.
Reproduction
https://github.com/space-wizards/space-station-14/assets/70820551/7d0aef26-63da-4777-beec-20265755db95
https://github.com/space-wizards/space-station-14/assets/70820551/595df60e-0174-4888-b722-f422045ab4cd
Additional context
At my opinion this is because PowerCellDrawCompoonent subscribed onto event, that handling removing entities from container (e.g. if entity removed from container, then powerDraw turns off). This part of code: https://github.com/space-wizards/space-station-14/blob/7ef1002101c64a7785e9bff131bd9a46b3200662/Content.Shared/UserInterface/ActivatableUISystem.Power.cs#L19

Not related, because borgs not consumpting energy by just existing now so there is no way to turn consumption off


For loop with indexing does not work anymore

Steps to reproduce:
Compile the following
#let elements = lorem(5).split()
#for i, el in elements [
  #i #el \
]

Expected output
0 Lorem
1 ipsum
2 dolor
3 sit
4 amet.

Logs
error: expected keyword `in`. did you mean to use a destructuring pattern?
  ┌─ test.typ:2:6
  │
2 │ #for i, el in elements [
  │       ^

error: expected keyword `in`
  ┌─ test.typ:2:6
  │
2 │ #for i, el in elements [
  │       ^

Version
typst 0.1.0 (94e052b8)
compiled on a Mac M1 ARM64 (Could that be why? It'd be nice if someone could reproduce on another machine)
It works with the online version:
Deployed on 2023-04-06T11:25:05.540Z
Typst compiler version: 4f4af02acea0022a5c1966d9b7b4150b35749edd

Destructuring was merged to main (see https://github.com/typst/typst/pull/532), so you will need to either #for (i, el) in elements.enumerate() [ ... ], or use the latest released (non-main) version.

Thanks! It works now!


initial migration to create new column

Jira ticket for this change
Summary
Is there anything you would like reviewers to give additional scrutiny?
this article explains more about the approach used.
Setup to Run Your Code

💻 You will need to use three separate terminals to test this locally.
Terminal 1
Start the Storybook locally.
make storybook

Terminal 2
Start the UI locally.
make client_run

Terminal 3
Start the Go server locally.
make server_run

Additional steps

Access the
Login as a

Verification Steps for Author
These are to be checked by the author.

[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

Verification Steps for Reviewers
These are to be checked by a reviewer.

Frontend

[ ] User facing changes have been reviewed by design.
[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] There are no new console errors in the browser devtools
[ ] There are no new console errors in the test output
[ ] If this PR adds a new component to Storybook, it ensures the component is fully responsive, OR if it is intentionally not, a wrapping div using the officeApp class or custom min-width styling is used to hide any states the would not be visible to the user.

Backend

[ ] Code follows the guidelines for Logging
[ ] The requirements listed in Querying the Database Safely have been satisfied.

Database
Any new migrations/schema changes:

[ ] Follows our guidelines for Zero-Downtime Deploys
[ ] Have been communicated to #g-database
[ ] Secure migrations have been tested following the instructions in our docs

Screenshots

Warnings

:warning:
Please add the JIRA issue key to the PR title (e.g. MB-123)

  Generated by :no_entry_sign: dangerJS against 50b340a2641e7a281bb34b680ab16081d52ba114

I was confirming the number of False and True values matched the spreadsheet and saw that Base Ketchikan and Beale AFB were true in the spreadsheet but false in my DB.  Looks like it was just a missing comma and then the number of trues went from 206 to 208.


Model REST endpoints tab

We have to create a model REST endpoints tab to allow a user to send HTTP requests.
https://github.com/swagger-api/swagger-js

Already implemented by #70


onRequestPermissionsResult() not being called after requestAccess() when permissions are being asked for the first time

Android version - 7.0

Same here so I just request the permission from the JS code with PermissionAndroid. The native call is not necessary.


iter: fix non-deterministic example

The example just failed in main due to ordering - this changes the example to be deterministic, and also work as an example of mutating the input.

That's was a silly mistake

my mistake 😆


operator-sdk generate bundle: trim quotes

Feature Request
Describe the problem you need a feature to resolve.
When creating a bundle (make bundle), you are prompted for a few fields, including Comma-separated list of maintainers and their emails (e.g. 'name1:email1, name2:email2') (required): - this makes it look like you need to add single quotes, e.g. 'Brendan<EMAIL_ADDRESS>though, if you add these quotes, they are not trimmed and end up in the resulting YAML:
  maintainers:
  - email<EMAIL_ADDRESS>    name: '''Brendan Bergen'

Describe the solution you'd like.
Either a clearer description (without quotes), or automated trimming of leading/trailing quotes of the user's raw input.

@SudoBrendan Thanks for bringing this up. Seems reasonable, would you want to create a PR to fix this issue?
Thanks!

Hi, could I try creating a PR to fix this issue if it's hasn't been done?

For Ansible/Helm and the customizations on top made via SDK, the changes need b done here.
However, it also must be done in the Kubebuilder. : https://github.com/kubernetes-sigs/kubebuilder/issues/2335

It seems the issue reported here is happening when generating ClusterServiceVersion base manifest, which is handled in Operator SDK: https://github.com/operator-framework/operator-sdk/blob/master/internal/generate/clusterserviceversion/bases/clusterserviceversion.go#L79-L84

Hi @ima1mai,

It seems the issue reported here is happening when generating ClusterServiceVersion base manifest, which is handled in Operator SDK: https://github.com/operator-framework/operator-sdk/blob/master/internal/generate/clusterserviceversion/bases/clusterserviceversion.go#L79-L84

For this case, the changes must be done in SDK.


Update dead links with new ones.

I have made changes in these files and updated old https://github.com/libgdx/libgdx/wiki/ and http://blog.xoppa.com links to their counterparts on libgdx.com and xoppa.github.io.

.github/CONTRIBUTING.md
.github/ISSUE_TEMPLATE.md
extensions/gdx-setup/src/com/badlogic/gdx/setup/GdxSetupUI.java
extensions/gdx-setup/src/com/badlogic/gdx/setup/SettingsDialog.java
gdx/src/com/badlogic/gdx/graphics/g2d/DistanceFieldFont.java
gdx/src/com/badlogic/gdx/scenes/scene2d/ui/Skin.java
gdx/src/com/badlogic/gdx/utils/Json.java
tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/ShaderTest.java

I haven't tested it in any other way than making sure the links I've copied work.

Thanks!


Fix grid cutoff on mobile explore pages

Before
After

Thanks for this @synthtech! Shoot me an email if you'd like to be added to our Slack dev chat<EMAIL_ADDRESS>


[Feature Request] Choose random from list of strings/combos/etc.

Requesting feature to be able to have Beeftext automatically choose from a list of strings or combos. This would help make expansions more dynamic/human. Something similar to https://espanso.org/docs/matches/#random-extension
Example:
Instead of:
Have an awesome #{dateTime:dddd}!

Have:
#{rcombo} #{dateTime:dddd}!

[Have an awesome, Have a wonderful, Wishing you a pleasant]

Interesting idea. Note that you can already assign the same keyword to several combos. Beeftext will pick randomly.

Interesting idea. Note that you can already assign the same keyword to several combos. Beeftext will pick randomly.

Oh, that’s good to know! I’m looking for the same feature as @bknickelbine or from a dropdown list, but I would prefer it randomised :)

If #{combo:} would pick randomly that could be ace while waiting for a better stuctural approach.


Language

As per https://community.jitsi.org/t/default-language/114671/20 the highest prioritized language is that set as a query parameter.
I cannot find any way to do this using this library, but a wild guess would be that it should be implemented the same way as the release query parameter here?

You can pass the defaultLanguage to the configOverwrite prop, I think it was added after that community thread.

You can pass the defaultLanguage to the configOverwrite prop

Made some tests and noticed it can't be overridden, can you please confirm? Based on the code I've referenced above I'd say the query param and config are equivalent.

🗒 As per everything I can find documented, you are correct that defaultLanguage cannot be overridden, at least based on a default installation with this whitelist.
Also this comment stating

// Default language for the user interface. Cannot be overwritten.

❗ ... still, at least on my localhost, I just tried (maybe for the first time?) setting configOverwrite={{defaultLanguage: "en"}}, and it just worked.

I'm a bit confused, but temporarily relieved. Maybe this ought to be documented somehow?

After further investigation I think the fact that it works might be a bug that needs to be fixed in jitsi-meet, as the current implementation takes the defaultLanguage from the url directly, without taking into account the whitelist filtering. I'm going to implement lang as a prop for JitsiMeeting, as you've suggested, until we clear that up.

Released v1.4.0 that supports lang. We'll mark defaultLanguage as deprecated, but keep it around for backwards compatibility. Thanks for pointing this out!

@mihhu I just got around to testing the new lang prop, and unfortunately I think it doesn't work?
Specifically, it seems that browser language detection takes precedence over the lang prop (unlike the defaultLang prop!), so as long as the language detector finds something that matches a language known to the Jitsi server, the lang prop has 0 impact.
This behavior could be acceptable for a prop called defaultLanguage, but when I explicitly set lang: xx, I expect it to be honored over other more implicit ways of setting the language.

Closing since it is fixed and confirmed. Thanks a lot for the quick solution!


FileExpired exception when reading parquet from a Minio bucket using Dask

Describe the issue:
I have a list of dataframes in a Minio bucket that are updated every 15 minutes. My script runs inside a Docker container in a loop and every 15 minutes a list of futures is created to read and preprocess every dataframe in the bucket. When computing the result it happens sometimes that the following exception is triggered:
s3fs.utils.FileExpired: [Errno 16] The remote file corresponding to filename filename.part.0.parquet and Etag "76b9a0ed3044b29e8a326d6f4ade2036" no longer exists

and triggers TypeError: __init__() missing 1 required positional argument: 'e_tag'. Even catching the exception does not solve the problem since during the next iteration it is triggered again. I checked on Minio and the Etag effectively does not correspond to that in the exception but I do not know how to solve this problem. The code to read data is this
df = dd.read_parquet('s3://{}/{}/{}'.format(bucket, path, filename),
                         storage_options={
                             "key": key,
                             "secret": secret,
                             "client_kwargs": {'endpoint_url': 'http://{}'.format(minio_endpoint)}
                         })

Minimal Complete Verifiable Example:
Providing a verifiable example is difficult since it runs on Docker and it is the result of various interacting scripts. I tried to replicate it running a simple script outside of docker but the problem does not appear. This is the script I used that is similar to what the original script does.
def load_user(bucket, path, file, minio_endpoint, key, secret):
    print(f'Reading {file}...')
    df = dd.read_parquet('s3://{}/{}/{}'.format(bucket, path, hash_filename(file)),
                         storage_options={
                             "key": key,
                             "secret": secret,
                             "client_kwargs": {'endpoint_url': 'http://{}'.format(minio_endpoint)}
                         },
                         ignore_metadata_file=True)

    return df

if __name__ == "__main__":
    bucket = bucket name
    path = path
    filenames = list of filenames

    cluster = LocalCluster(silence_logs=logging.CRITICAL)
    dask_client = Client(cluster)
    minio_client = Minio(endpoint, key, secret, secure=False)

    minio_endpoint = minio_client._base_url.host
    key = minio_client._provider._credentials.access_key
    secret = minio_client._provider._credentials.secret_key

    while True:
        futures = []
        for file in filenames:
            future = dask_client.submit(load_user,
                                        bucket,
                                        path,
                                        file,
                                        minio_endpoint,
                                        key,
                                        secret)
            futures.append(future)

        for user, future in zip(filenames, futures):
            df = future.result()

Anything else we need to know?:
I have tried to use the function invalidate_cache() of s3fs and using ignore_metadata_file=True when reading data but it didn't worked. Catching the exception works but the problem is not solved during the following iteration.
Here is the complete traceback if you find it useful
Traceback (most recent call last):  File "/usr/local/lib/python3.9/site-packages/s3fs/core.py", line 113, in _error_wrapper    return await func(*args, **kwargs)  File "/usr/local/lib/python3.9/site-packages/aiobotocore/client.py", line 408, in _make_api_call    raise error_class(parsed_response, operation_name)botocore.exceptions.ClientError: An error occurred (PreconditionFailed) when calling the GetObject operation: At least one of the pre-conditions you specified did not holdThe above exception was the direct cause of the following exception:Traceback (most recent call last):  File "/usr/local/lib/python3.9/site-packages/s3fs/core.py", line 2300, in _fetch_range    return _fetch_range(  File "/usr/local/lib/python3.9/site-packages/s3fs/core.py", line 2462, in _fetch_range    return sync(fs.loop, _inner_fetch, fs, bucket, key, version_id, start, end, req_kw)  File "/usr/local/lib/python3.9/site-packages/fsspec/asyn.py", line 103, in sync    raise return_result  File "/usr/local/lib/python3.9/site-packages/fsspec/asyn.py", line 56, in _runner    result[0] = await coro  File "/usr/local/lib/python3.9/site-packages/s3fs/core.py", line 2480, in _inner_fetch    return await _error_wrapper(_call_and_read, retries=fs.retries)  File "/usr/local/lib/python3.9/site-packages/s3fs/core.py", line 142, in _error_wrapper    raise err  File "/usr/local/lib/python3.9/site-packages/s3fs/core.py", line 113, in _error_wrapper    return await func(*args, **kwargs)  File "/usr/local/lib/python3.9/site-packages/s3fs/core.py", line 2467, in _call_and_read    resp = await fs._call_s3(  File "/usr/local/lib/python3.9/site-packages/s3fs/core.py", line 362, in _call_s3    return await _error_wrapper(  File "/usr/local/lib/python3.9/site-packages/s3fs/core.py", line 142, in _error_wrapper    raise errOSError: [Errno 22] At least one of the pre-conditions you specified did not holdThe above exception was the direct cause of the following exception:Traceback (most recent call last):  File "/usr/local/lib/python3.9/site-packages/dask/backends.py", line 141, in wrapper    return func(*args, **kwargs)  File "/usr/local/lib/python3.9/site-packages/dask/dataframe/io/parquet/core.py", line 529, in read_parquet    read_metadata_result = engine.read_metadata(  File "/usr/local/lib/python3.9/site-packages/dask/dataframe/io/parquet/arrow.py", line 546, in read_metadata    dataset_info = cls._collect_dataset_info(  File "/usr/local/lib/python3.9/site-packages/dask/dataframe/io/parquet/arrow.py", line 1061, in _collect_dataset_info    ds = pa_ds.dataset(  File "/usr/local/lib/python3.9/site-packages/pyarrow/dataset.py", line 785, in dataset    return _filesystem_dataset(source, **kwargs)  File "/usr/local/lib/python3.9/site-packages/pyarrow/dataset.py", line 475, in _filesystem_dataset    return factory.finish(schema)  File "pyarrow/_dataset.pyx", line 3025, in pyarrow._dataset.DatasetFactory.finish  File "pyarrow/error.pxi", line 154, in pyarrow.lib.pyarrow_internal_check_status  File "pyarrow/error.pxi", line 88, in pyarrow.lib.check_status  File "/usr/local/lib/python3.9/site-packages/fsspec/spec.py", line 1846, in read    out = self.cache._fetch(self.loc, self.loc + length)  File "/usr/local/lib/python3.9/site-packages/fsspec/caching.py", line 189, in _fetch    self.cache = self.fetcher(start, end)  # new block replaces old  File "/usr/local/lib/python3.9/site-packages/s3fs/core.py", line 2312, in _fetch_range    raise FileExpired(s3fs.utils.FileExpired: [Errno 16] The remote file corresponding to filename 16 and Etag The remote file corresponding to filename filename.part.0.parquet and Etag "76b9a0ed3044b29e8a326d6f4ade2036" no longer exists. no longer exists.During handling of the above exception, another exception occurred:Traceback (most recent call last):  File "/python-docker/run.py", line 19, in     service.start()  File "/python-docker/chimera_ml_app/services.py", line 130, in start    self.channel.start_consuming()  File "/usr/local/lib/python3.9/site-packages/pika/adapters/blocking_connection.py", line 1883, in start_consuming    self._process_data_events(time_limit=None)  File "/usr/local/lib/python3.9/site-packages/pika/adapters/blocking_connection.py", line 2044, in _process_data_events    self.connection.process_data_events(time_limit=time_limit)  File "/usr/local/lib/python3.9/site-packages/pika/adapters/blocking_connection.py", line 851, in process_data_events    self._dispatch_channel_events()  File "/usr/local/lib/python3.9/site-packages/pika/adapters/blocking_connection.py", line 567, in _dispatch_channel_events    impl_channel._get_cookie()._dispatch_events()  File "/usr/local/lib/python3.9/site-packages/pika/adapters/blocking_connection.py", line 1510, in _dispatch_events    consumer_info.on_message_callback(self, evt.method,  File "/python-docker/chimera_ml_app/services.py", line 157, in on_request    response = chimera.ml.predict(body=request)  File "src/dependency_injector/_cwiring.pyx", line 28, in dependency_injector._cwiring._get_sync_patched._patched  File "/python-docker/chimera_ml_app/ml.py", line 20, in predict    predictions = predictor.predict()  File "/usr/local/lib/python3.9/site-packages/hijacking_detection/pipelines/PipelinePredictorKATANA.py", line 125, in predict    preprocessing.preprocess(path, save_path)  File "/usr/local/lib/python3.9/site-packages/hijacking_detection/preprocessing/PreprocessingTestResample.py", line 55, in preprocess    dataframe = future.result()  File "/usr/local/lib/python3.9/site-packages/distributed/client.py", line 323, in result    return self.client.sync(self._result, callback_timeout=timeout)  File "/usr/local/lib/python3.9/site-packages/hijacking_detection/preprocessing/PreprocessingTestResample.py", line 91, in load_user    df = dd.read_parquet('s3://{}/{}'.format(bucket, path),  File "/usr/local/lib/python3.9/site-packages/dask/backends.py", line 143, in wrapper    raise type(e)(TypeError: __init__() missing 1 required positional argument: 'e_tag'

Environment:

Dask version: 2024.2.1
Python version: 3.9.13
Operating System: Docker running python:3.9.17-slim-buster

Install method (conda, pip, source): pip

Thanks for your bug report. Without a reproducer, we'll likely have a hard time helping out.
I noticed that the Traceback you are posting is incomplete. Can you please verify if there is something missing? Maybe this points to the problem. Particularly the and triggers TypeError: __init__() missing 1 required positional argument: 'e_tag' part at the very end looks like there is something missing.

Yes, I know it is difficult without a working example to reproduce this error, this is also my main problem when trying to fix it. I posted the complete traceback at the end and I only modified sensitive information such as the filename. The TypeError is the last exception called and it terminates  exactly like this TypeError: __init__() missing 1 required positional argument: 'e_tag'. I can try to give you more info if needed.

I was able to reproduce the error using the following script
def load_file(bucket, path, filename, minio_endpoint, key, secret):
    print(f'Reading {filename}...')
    df = dd.read_parquet('s3://{}/{}/{}'.format(bucket, path, hash_name(filename)),
                         storage_options={
                             "key": key,
                             "secret": secret,
                             "client_kwargs": {'endpoint_url': 'http://{}'.format(minio_endpoint)}
                         },
                         ignore_metadata_file=True)

    return df

if __name__ == "__main__":
    bucket = bucket name
    path = path
    files = list of filenames

    cluster = LocalCluster(silence_logs=logging.CRITICAL)
    dask_client = Client(cluster)
    minio_client = Minio(minio endpoint, key, secret, secure=False)

    minio_endpoint = minio_client._base_url.host
    key = minio_client._provider._credentials.access_key
    secret = minio_client._provider._credentials.secret_key

    while True:
        futures = []
        for filename in files:
            future = dask_client.submit(load_file,
                                        bucket,
                                        path,
                                        filename,
                                        minio_endpoint,
                                        key,
                                        secret)
            futures.append(future)

        for filename, future in zip(files, futures):
            df = future.result()

        dask_client.cancel(futures)

        print('Sleeping...')
        time.sleep(3)

and after about a hour the exception was triggered. I was able also to retrieve the complete traceback:
Traceback (most recent call last):
  File "C:\Users\Pietro\PycharmProjects\hijacking_detection\venv\lib\site-packages\s3fs\core.py", line 113, in _error_wrapper
    return await func(*args, **kwargs)
  File "C:\Users\Pietro\PycharmProjects\hijacking_detection\venv\lib\site-packages\aiobotocore\client.py", line 408, in _make_api_call
    raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (PreconditionFailed) when calling the GetObject operation: At least one of the pre-conditions you specified did not hold

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\Users\Pietro\PycharmProjects\hijacking_detection\venv\lib\site-packages\s3fs\core.py", line 2300, in _fetch_range
    return _fetch_range(
  File "C:\Users\Pietro\PycharmProjects\hijacking_detection\venv\lib\site-packages\s3fs\core.py", line 2462, in _fetch_range
    return sync(fs.loop, _inner_fetch, fs, bucket, key, version_id, start, end, req_kw)
  File "C:\Users\Pietro\PycharmProjects\hijacking_detection\venv\lib\site-packages\fsspec\asyn.py", line 103, in sync
    raise return_result
  File "C:\Users\Pietro\PycharmProjects\hijacking_detection\venv\lib\site-packages\fsspec\asyn.py", line 56, in _runner
    result[0] = await coro
  File "C:\Users\Pietro\PycharmProjects\hijacking_detection\venv\lib\site-packages\s3fs\core.py", line 2480, in _inner_fetch
    return await _error_wrapper(_call_and_read, retries=fs.retries)
  File "C:\Users\Pietro\PycharmProjects\hijacking_detection\venv\lib\site-packages\s3fs\core.py", line 142, in _error_wrapper
    raise err
  File "C:\Users\Pietro\PycharmProjects\hijacking_detection\venv\lib\site-packages\s3fs\core.py", line 113, in _error_wrapper
    return await func(*args, **kwargs)
  File "C:\Users\Pietro\PycharmProjects\hijacking_detection\venv\lib\site-packages\s3fs\core.py", line 2467, in _call_and_read
    resp = await fs._call_s3(
  File "C:\Users\Pietro\PycharmProjects\hijacking_detection\venv\lib\site-packages\s3fs\core.py", line 362, in _call_s3
    return await _error_wrapper(
  File "C:\Users\Pietro\PycharmProjects\hijacking_detection\venv\lib\site-packages\s3fs\core.py", line 142, in _error_wrapper
    raise err
OSError: [Errno 22] At least one of the pre-conditions you specified did not hold

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\Users\Pietro\PycharmProjects\hijacking_detection\venv\lib\site-packages\dask\backends.py", line 141, in wrapper
    return func(*args, **kwargs)
  File "C:\Users\Pietro\PycharmProjects\hijacking_detection\venv\lib\site-packages\dask\dataframe\io\parquet\core.py", line 529, in read_parquet
    read_metadata_result = engine.read_metadata(
  File "C:\Users\Pietro\PycharmProjects\hijacking_detection\venv\lib\site-packages\dask\dataframe\io\parquet\arrow.py", line 546, in read_metadata
    dataset_info = cls._collect_dataset_info(
  File "C:\Users\Pietro\PycharmProjects\hijacking_detection\venv\lib\site-packages\dask\dataframe\io\parquet\arrow.py", line 1061, in _collect_dataset_info
    ds = pa_ds.dataset(
  File "C:\Users\Pietro\PycharmProjects\hijacking_detection\venv\lib\site-packages\pyarrow\dataset.py", line 785, in dataset
    return _filesystem_dataset(source, **kwargs)
  File "C:\Users\Pietro\PycharmProjects\hijacking_detection\venv\lib\site-packages\pyarrow\dataset.py", line 475, in _filesystem_dataset
    return factory.finish(schema)
  File "pyarrow\_dataset.pyx", line 3025, in pyarrow._dataset.DatasetFactory.finish
  File "pyarrow\error.pxi", line 154, in pyarrow.lib.pyarrow_internal_check_status
  File "pyarrow\error.pxi", line 88, in pyarrow.lib.check_status
  File "C:\Users\Pietro\PycharmProjects\hijacking_detection\venv\lib\site-packages\fsspec\spec.py", line 1846, in read
    out = self.cache._fetch(self.loc, self.loc + length)
  File "C:\Users\Pietro\PycharmProjects\hijacking_detection\venv\lib\site-packages\fsspec\caching.py", line 189, in _fetch
    self.cache = self.fetcher(start, end)  # new block replaces old
  File "C:\Users\Pietro\PycharmProjects\hijacking_detection\venv\lib\site-packages\s3fs\core.py", line 2312, in _fetch_range
    raise FileExpired(
s3fs.utils.FileExpired: [Errno 16] The remote file corresponding to filename 16 and Etag The remote file corresponding to filename filename and Etag "981e2d1ced3426d4dda10e9e81da6647" no longer exists. no longer exists.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\Pietro\PycharmProjects\hijacking_detection\dask_test\example_etag.py", line 54, in <module>
    df = future.result()
  File "C:\Users\Pietro\PycharmProjects\hijacking_detection\venv\lib\site-packages\distributed\client.py", line 323, in result
    return self.client.sync(self._result, callback_timeout=timeout)
  File "C:\Users\Pietro\PycharmProjects\hijacking_detection\dask_test\example_etag.py", line 14, in load_file
    df = dd.read_parquet('s3://{}/{}/{}'.format(bucket, path, hash_name(filename)),
  File "C:\Users\Pietro\PycharmProjects\hijacking_detection\venv\lib\site-packages\dask\backends.py", line 143, in wrapper
    raise type(e)(
TypeError: __init__() missing 1 required positional argument: 'e_tag'

Process finished with exit code 1

For this example I used Windows. If there is there any other information that can be useful let me now.

@martindurant are you familiar with this kind of error?

This means that the entry for the file contained in the directory listings and help in the file-like instance no longer matches the remote store, because the file has been overwritten. This is intentional, an open file should become invalid if it changed while reading.
I'm not sure of any specifics of minio, but since this appears to be a time related effect, you may wish to add listings_expiry_time=... to your storage options (value in seconds). It might have something to do with files being migrated between storage classes on some bucket lifecycle policy.

Thank you for you answer and sorry for the delay.
I cannot understand why this happens only sometimes. Files are overwritten every 15 minutes but not all of them raise this exception. I will try with listings_expiry_time in storage options when reading my files. For now I solved by saving the updated files in a different folder each time to avoid overwriting them.


Move test files

Thank you for nice gem :star:
BTW, I think test files should be placed in test dir.
How do you think :question:

Thank you for requesting.
But I don't think We should move testing files to test dir.
Because I think current file organization is a challenge to diversity in the Ruby world.
Could you describe why we should move testing files?

Could you describe why we should move testing files?

I think it is messy to put test files in require_paths.
No one wants to require test files.

That make sense!
I didn't know that.
Thank you for telling me.


Include links to verible-linter-action in documentation.

Signed-off-by: Henner Zeller<EMAIL_ADDRESS>

@tgorochowik yes - will do that next.

Codecov Report

Merging #1096 (0bf6512) into master (83b86f7) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1096   +/-   ##
=======================================
  Coverage   92.91%   92.91%
=======================================
  Files         335      335
  Lines       22192    22192
=======================================
  Hits        20620    20620
  Misses       1572     1572

Continue to review full report at Codecov.

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

@tgorochowik done.


Generate distribution specific Dockerfile

Signed-off-by: Sally O'Malley<EMAIL_ADDRESS>Docker-DCO-1.1-Signed-off-by: Regan McCooey<EMAIL_ADDRESS>(github: rhatdan)

Looks like we would not be able to merge this PR because of merge conflicts. Please rebase, fix conflicts, and force push to your branch.


Max neuron limits are not properly handled

FEAGI returns a 400 error when exceeding threshold. that should be passed on to user which is not happening at this time

is able to repo currently:

set neuron limit to 14k (slightly below default genome)
create a 10x10x1 cortical area to get right under the limit
set the neuron density to 2. This goes over the limit and feagi returns a 400. BV logs the error but does not inform the user


Backport features from forks

Just a list of forks which implemented some features which were not backported (but check this carefully. I had a rough look only.)
Create issues/PR out of the commits from the following forks and close this ticket then.
https://github.com/mbluemer/terraform-aws-gitlab-runner

[x] https://github.com/libri-gmbh/terraform-aws-gitlab-runner
[x] https://github.com/illagrenan/terraform-aws-gitlab-runner
[x] https://github.com/erback/terraform-aws-gitlab-runner
[x] https://github.com/DNXLabs/terraform-aws-gitlab-runner

engine-registry-mirror
shared cache
mount /builds

Checked all forks on Oct 15, 2021


MSID: 98384 Version: 1 DOI: 10.1101/2<IP_ADDRESS>6832

MSID: 98384
Version: 1
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>6832
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=98384
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>6832

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/98384v1
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>6832
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/98384/v1/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

error: [journal-ref-article-title] This journal reference (id c10) has no article-title element.
error: [journal-ref-article-title] This journal reference (id c25) has no article-title element.
error: [journal-ref-article-title] This journal reference (id c47) has no article-title element.
error: [journal-ref-article-title] This journal reference (id c84) has no article-title element.
error: [journal-ref-article-title] This journal reference (id c106) has no article-title element.
error: [journal-ref-article-title] This journal reference (id c108) has no article-title element.
warn: [mixed-citation-other-publication-flag] mixed-citation in reference (id=c53) has a publication-type='other'. Is that correct?


Recoil issue

Hello! i am trying to set recoil from bp, but it's not working ;(
i see in instructions '3. 在合适的时候为玩家的后座力组件设置后座力模板  | Set the recoil template for the player's recoil component at the right time'
But i can't set recoil template, i just don't have node 'set recoil pattern'
how to fix that?... how to work with recoil from BP?...
help please ;D

Hi! I've read your issue, and hope these information can help you.
Q1. There's a translate problem with the “后坐力模板”, actually it should be “Recoil Pattern” rather than "recoil template", this is my oversight, feel sorry about that, i will correct that in next commit!
Q2. This plugin's logic part is designed for c++ first(and was used mostly in c++), i guess i forgot to add 'BlueprintCallable' meta to 'SetRecoilPattern' method and this will be add to postion in next commit, i think now you can call it from blueprint!
@see commit#9f749270

thank u!


App is not working

Hi guys, the app is not working, either locally or from the extension store. Can someone help me fix it? It's simply not reacting on anything

@pantech48 Hi, can you give more context pls?


Modernize build

i wanted to fix a bug and got carried away.
this guy:

adds a .prettierrc for consistent formatting
removes some old files
updates everything
ditches some old deprecated modules
phantomjs died 3 years ago, so tests use headless chrome now
remove babel
clean up the webpack builds a bit
some other stuff probably...

🤞

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

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


UI usability: topology->Cachegroup->Parameters - table gets extended beyond the page.

topology->Cachegroup->view Parameters
List of parameters associated with cachegroup gets displayed. The table gets extended beyond the page when the value field is too long. It's annoying from usability perspective.

@lbathina - this was fixed by PR #3919 - can you confirm and close this issue if fixed?

fixed.


Laravel 5 Compatibility?

The README shows no Laravel 5 compatibility? Are there any structural changes required?

Yes it is compatible. Follow the documentation in the wiki on how to set it up.

I would suggest adding to the README. Thanks! :+1:

@activatedgeek It is in there. The repository title is PHP OAuth 2.0 Server for Laravel. It also shows Laravel 5 under https://github.com/lucadegasperi/oauth2-server-laravel#version-compability


Inconsistent performances between my inference and the paper metrics

Hi,
Thank you very much for your work !
I used the code provided in app.py to run inferences on VTONHD and DressCode. I obtained the following metrics on the test dresses from DressCode (paired), using the virtual_tryon_dc.pth weights file and your eval script :
Here's the markdown code for the table:
| PyTorch-FID | Clean-FID | Clean-KID | PSNR    | SSIM   | LPIPS  |
|------------|-----------|-----------|----------|---------|---------|
| 20.8264    | 20.6455   | 11.8604   | 17.9070 | 0.8561  | 0.0799 |

As you may see the FID seems very high.
For VTONHD, the difference is less important but still exists, I get the following metrics running your eval script :
| PyTorch-FID | Clean-FID | Clean-KID | PSNR    | SSIM   | LPIPS  |
|------------|-----------|-----------|----------|---------|---------|
| 5.3188     | 5.2426    | 0.1054    | 20.1114 | 0.8564  | 0.0647 |

Is there anything specific that should be modified in the eval script or with the leffa_predict function?

Thank you for your interest.
The models released are just demos. Both the mask generator and densepose generator adopt other solutions from the community, rather than the internal models used during training and testing. Therefore, there may be some performance differences.
Regarding the issue with DressCode, we have taken note of it and are currently investigating the cause. We appreciate you pointing it out.

@fuzzy-raccoon
For VITON-HD, please use the official agnostic mask provided by VITON-HD for testing.
For DressCode, please use the agnostic mask obtained from https://github.com/yisol/IDM-VTON/blob/main/inference_dc.py#L231 provided here for testing.


I wish threads could be customized more specificly in spark

Spark.threads(N) is provided for the newbie, while  the following should be provided for expert use cases
Spark.acceptors(1)  // accept connection threads
      .selectors(2)  // read write connection threads
      .workers(10)  // handle http request threads

for lack of this in spark, I wrote a mini framework for this https://github.com/pyloque/miniso

Creating an issue for promoting your own framework seems a bit sketchy 😁
Maybe you could add some of the functionality you want with a PR ?

well, thanks for your replying, I'm not promoting my framework, you see, it has no stars.I have many other ways to promote it, but I'm just so lazy to do so, it's not ready for people to use it.I link it just for explaination.
well, sorry my behavior inevitably causes your miss understandings.
I raise this problem, because I want fully control the threads we are creating.In my own laptop, a small number for thread variable is ok, while in server side, there are many cores, a small number would cause the system cannot be started.
For small applications, just a single thread is ok for some use cases.but you just need a large number for the theads variable in spark.There is a formula in your code,I just cannot fully control it.

This can be done by customizing the socket connector factory, as shown here: https://github.com/toyg/spark-custom-jetty/
Unfortunately that factory is accessed so down the stack, you'll also have to carry the stuff above (i.e. an EmbeddedServerFactory custom implementation).


Unable to upload custom device JSON

Type of issue

[x] Bug
[ ] New feature
[ ] Enhancement

Description
Unable to create a new device definition in advanced mode. After selecting the JSON file, the app crashes and a whitescreen is displayed. In de console log the following errors appears:
react-dom.production.min.js:3833 Invariant Violation: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=TypeError%3A Invalid attempt to spread non-iterable instance&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at https://-t4x4z.azurewebsites.net/static/js/1.29a0246d.chunk.js:1:1111720
at s (https://-t4x4z.azurewebsites.net/static/js/1.29a0246d.chunk.js:1:1111823)
at Fi (https://-t4x4z.azurewebsites.net/static/js/1.29a0246d.chunk.js:1:1161411)
at d (https://-t4x4z.azurewebsites.net/static/js/1.29a0246d.chunk.js:1:1163049)
at m (https://-t4x4z.azurewebsites.net/static/js/1.29a0246d.chunk.js:1:1164157)
at https://-t4x4z.azurewebsites.net/static/js/1.29a0246d.chunk.js:1:1166138
at eo (https://-t4x4z.azurewebsites.net/static/js/1.29a0246d.chunk.js:1:1167392)
at ho (https://-t4x4z.azurewebsites.net/static/js/1.29a0246d.chunk.js:1:1175424)
at Vo (https://-t4x4z.azurewebsites.net/static/js/1.29a0246d.chunk.js:1:1189979)
at Uo (https://-t4x4z.azurewebsites.net/static/js/1.29a0246d.chunk.js:1:1190356)
Steps to reproduce

Open devicemodels pane
Click "Add Device Model"
Select Advanced
Upload JSON (From https://github.com/Azure/device-simulation-dotnet/wiki/Device-Models)
After uploading, the app crashes

Expected behavior
A new model is displayed, or an error message is displayed if the JSON is incorrect
Current behavior
White screen
Known workarounds
...
Possible solution
...
Context and Environment

GitHub branch:
Deployed from https://www.azureiotsolutions.com/Accelerators#description/device-simulation

There were some bugs in the JSON that caused the UX to misbehave upon validation. I have updated the wiki so the JSON file is correct.


Error when using D5 firmware

I installed and set firmware to d%, however I get this error:
2023-09-13 17:49:13.317477500 *** starting dbus-enphase-envoy ***
2023-09-13 17:49:16.397291500 ERROR:root:D5 firmware selected
2023-09-13 17:49:16.420323500 Exception in thread Thread-TokenManager:
2023-09-13 17:49:16.420332500 Traceback (most recent call last):
2023-09-13 17:49:16.420334500   File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
2023-09-13 17:49:16.420337500     self.run()
2023-09-13 17:49:16.420338500   File "/usr/lib/python3.8/threading.py", line 870, in run
2023-09-13 17:49:16.420341500     self._target(*self._args, **self._kwargs)
2023-09-13 17:49:16.420344500   File "/data/etc/dbus-enphase-envoy/dbus-enphase-envoy.py", line 292, in tokenManager
2023-09-13 17:49:16.420578500     token = getToken(envoy_enlighten_user, envoy_enlighten_password, envoy_serial)
2023-09-13 17:49:16.420584500 NameError: name 'envoy_enlighten_user' is not defined
2023-09-13 17:50:16.484154500 WARNING:root:token still empty
2023-09-13 17:51:16.556522500 WARNING:root:token still empty

Thanks for reporting the error. I will take a look at it at saturday.

Please install release v0.2.0-beta3.

Thank you for the quick response. I installed this release and now it loads. But I get a timeout here:
023-09-18 17:15:16.174535500 *** starting dbus-enphase-envoy ***
2023-09-18 17:15:19.376984500 ERROR:root:D5 firmware selected
2023-09-18 17:16:19.468577500 WARNING:root:--> data_production_historic not yet ready after 60 seconds.
2023-09-18 17:16:19.468586500 Try accessing http://<IP_ADDRESS>/production.json?details=1 from your PC and see,
2023-09-18 17:16:19.468590500 if it downloads a file with JSON content.
2023-09-18 17:17:19.538566500 WARNING:root:--> data_production_historic not yet ready after 120 seconds.
2023-09-18 17:17:19.538578500 Try accessing http://<IP_ADDRESS>/production.json?details=1 from your PC and see,
2023-09-18 17:17:19.538582500 if it downloads a file with JSON content.
2023-09-18 17:18:19.612555500 WARNING:root:--> data_production_historic not yet ready after 180 seconds.
2023-09-18 17:18:19.612563500 Try accessing http://<IP_ADDRESS>/production.json?details=1 from your PC and see,
2023-09-18 17:18:19.612567500 if it downloads a file with JSON content.
2023-09-18 17:19:19.683101500 WARNING:root:--> data_production_historic not yet ready after 240 seconds.
2023-09-18 17:19:19.683110500 Try accessing http://<IP_ADDRESS>/production.json?details=1 from your PC and see,
2023-09-18 17:19:19.683114500 if it downloads a file with JSON content.
2023-09-18 17:20:19.753838500 WARNING:root:--> data_production_historic not yet ready after 300 seconds.
2023-09-18 17:20:19.753848500 Try accessing http://<IP_ADDRESS>/production.json?details=1 from your PC and see,
2023-09-18 17:20:19.753851500 if it downloads a file with JSON content.
2023-09-18 17:20:20.755969500 ERROR:root:Maximum of 300 seconds wait time reached. Restarting the driver.

Can you increase the logging level in the config file to DEBUG and post the logs again?

Yes of course:
2023-09-18 17:48:30.500194500 *** starting dbus-enphase-envoy ***
2023-09-18 17:48:33.579571500 ERROR:root:D5 firmware selected
2023-09-18 17:48:33.594543500 INFO:root:step: fetch_handler
2023-09-18 17:48:33.596151500 INFO:root:--> data_production_historic not yet ready
2023-09-18 17:48:33.596554500 INFO:root:step: fetch_production_historic
2023-09-18 17:48:33.615175500 DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): <IP_ADDRESS>:80
2023-09-18 17:48:34.094929500 DEBUG:urllib3.connectionpool:http://<IP_ADDRESS>:80 "GET /production.json?details=1 HTTP/1.1" 200 None
2023-09-18 17:48:34.102451500 INFO:root:--> fetch_handler() --> fetch_production_historic(): JSON data feched. Wait 3600 seconds for next run
2023-09-18 17:48:34.103175500 INFO:root:step: fetch_devices
2023-09-18 17:48:34.117847500 DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): <IP_ADDRESS>:80
2023-09-18 17:48:34.598382500 INFO:root:--> data_production_historic not yet ready
2023-09-18 17:48:35.600488500 INFO:root:--> data_production_historic not yet ready
2023-09-18 17:48:36.283800500 DEBUG:urllib3.connectionpool:http://<IP_ADDRESS>:80 "GET /inventory.json HTTP/1.1" 200 None
2023-09-18 17:48:36.310433500 INFO:root:--> fetch_handler() --> fetch_devices(): JSON data feched. Wait 3600 seconds for next run
2023-09-18 17:48:36.311363500 INFO:root:step: fetch_inverters
2023-09-18 17:48:36.323890500 DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): <IP_ADDRESS>:80
2023-09-18 17:48:36.343763500 DEBUG:urllib3.connectionpool:http://<IP_ADDRESS>:80 "GET /api/v1/production/inverters HTTP/1.1" 401 90
2023-09-18 17:48:36.355639500 DEBUG:urllib3.connectionpool:Resetting dropped connection: <IP_ADDRESS>
2023-09-18 17:48:36.468970500 DEBUG:urllib3.connectionpool:http://<IP_ADDRESS>:80 "GET /api/v1/production/inverters HTTP/1.1" 200 2674
2023-09-18 17:48:36.477124500 INFO:root:--> fetch_handler() --> fetch_inverters(): JSON data feched. Wait 300 seconds for next run
2023-09-18 17:48:36.477992500 INFO:root:step: fetch_events
2023-09-18 17:48:36.490921500 DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): <IP_ADDRESS>:80
2023-09-18 17:48:36.602646500 INFO:root:--> data_production_historic not yet ready
2023-09-18 17:48:37.604751500 INFO:root:--> data_production_historic not yet ready
2023-09-18 17:48:38.606863500 INFO:root:--> data_production_historic not yet ready
2023-09-18 17:48:39.608969500 INFO:root:--> data_production_historic not yet ready
This is my JSON:
{
"production": [
{
"type": "inverters",
"activeCount": 17,
"readingTime":<PHONE_NUMBER>,
"wNow": 1,
"whLifetime": 18347663
}
],
"storage": [
{
"type": "acb",
"activeCount": 0,
"readingTime": 0,
"wNow": 0,
"whNow": 0,
"state": "idle"
}
]
}

Very strange. Can you write me on Discord tomorrow?

I do not have those CT's installed.
I have an Envoy S
SW version: D5.0.62 (5e57a9)
SW builddate: 02 Jun, 2021 6:38 PM

Therefore it does not work. What do you get when you open http://<IP_ADDRESS>/stream/meter? It should start download a file, then you have to stop it manually. Open it with a text editor and post the content.

I followed your readme. What did I miss?
I opened the url but there is no download. It opens a blank page with nothing in it.

Can you post a picture of your Gateway?
You missed nothing. I was convinced that every installation has at least one CT installed. It should be possible to retrofit them. https://enphase.com/store/communication/consumption-ct

Yes of course.

Is your system maybe in the Netherlands? I heard from a few people that have teir system in the Netherlands that the installers never install the CT's.
I updated the README with a requirement section.

Yes and it is an Envoy standard, so no CT's as I read now. Does this mean it will never work? In the app I can perfectly see what the panels are producing, so it should be possible to read that value.

For monitoring maybe, but for real application surely not. The data is refreshed maybe all 5-15 minutes.

Monitoring is fine. I need to tell Cerbo the production of my solar panels. Would that still be possible and how?

For this I have to rewrite a great part of the driver. This is not planned since it would take more time and costs for me than installing the CT's for you.
Fell free to fork this repo and do the change on your own :-)

Thank you for looking into it. Btw CT's are not possible with Envoy S Standard. I hope someone with more expertise than me can make such a fork.

You could check Enphase-API, get the data with Node-RED (which is included in Venus OS Large) and then send the data via MQTT to dbus-mqtt-pv.
You may use this endpints:

/production.json?details=1
/api/v1/production/inverters

If you have no expertise and you Google a bit you will take about a day to achieve this. Eventually check the issues of the dbus-mqtt-pv driver. There are some examples.


Create mapping endpoint to visualise the network

Create new /tools/maps endpoint.
Show map data from: zero point position, center of self, center of other, center of concept.

Results should include:

Location of concepts.
things and actions.
distance to benchmark point.

Closing as this doesn't seem a pressing issue. Feel free to reopen once this becomes relevant again.


Document api.cursor's return_pages kwarg

Fixes #464

Coverage remained the same at 57.588% when pulling db40a1c56c57e711937171e1072a7f965354440c on clayadavis:docs into 1dcd9cc26e0d8e3c8f0094b163627807162dcbf9 on ryanmcgrath:master.


fix: add check to conditionally skip testAuditDNotPresent if building Mari…

…ner 1.0
What type of PR is this?
/kind test
/kind failing-test
/kind regression

What this PR does / why we need it:
This PR adds conditional logic to bypass the testAuditDNotPresent test if building Mariner 1.0. This is needed because Mariner 1.0 ships with audit installed and will reliably fail this test.
If we have good justification to remove request audit be removed 1.0, it can be done; however, the Mariner team prefers to not alter the package list of 1.0 at this point in the releases' lifecycle.
Another option:
disable auditd.service on Mariner 1.0 during build
Which issue(s) this PR fixes:

N/A
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
This was uncovered after adding #3058
Release note:
none

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 61.687%

Totals

Change from base Build<PHONE_NUMBER>:
0%

Covered Lines:
2486

Relevant Lines:
4030

💛  - Coveralls

Electing to remove 1.0 testing. Going forward we're focusing on testing 2.0, and don't want to add workarounds within
the tests to make them support 1.0