Error while "make nb"

I tried to install newsblur on a fresh debian (LXC in proxmox). While installing with the bash-script for outside-Domains wasn't successfull I tried to install the clean system without any customization.
But this also failed unfortunately.

After copying the first run of "make nb" ended with some issue after creating certificates:
sudo: /usr/bin/security: command not found make[1]: *** [Makefile:86: keys] Error 1 make[1]: Leaving directory '/root/NewsBlur' make: *** [Makefile:21: bounce] Error 2

I reentered the make nb. Therefore most of the created containers started as expected. Just the proxy-container had some issue.
! imageproxy The requested image's platform (linux/arm64) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested
Do I really have to switch to arm-architecture? This didn't terminate the process.
After running migrations and the output of
Applying recommendations.0001_initial... OK

I got this error massage:
Applying rss_feeds.0002_remove_mongo_types...Traceback (most recent call last):   File "/srv/newsblur/./manage.py", line 10, in <module>     execute_from_command_line(sys.argv)   File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line     utility.execute()   File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 395, in execute     self.fetch_command(subcommand).run_from_argv(self.argv)   File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 330, in run_from_argv     self.execute(*args, **cmd_options)   File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 371, in execute     output = self.handle(*args, **options)   File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 85, in wrapped     res = handle_func(*args, **kwargs)   File "/usr/local/lib/python3.9/site-packages/django/core/management/commands/migrate.py", line 243, in handle     post_migrate_state = executor.migrate(   File "/usr/local/lib/python3.9/site-packages/django/db/migrations/executor.py", line 117, in migrate     state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)   File "/usr/local/lib/python3.9/site-packages/django/db/migrations/executor.py", line 147, in _migrate_all_forwards     state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)   File "/usr/local/lib/python3.9/site-packages/django/db/migrations/executor.py", line 227, in apply_migration     state = migration.apply(state, schema_editor)   File "/usr/local/lib/python3.9/site-packages/django/db/migrations/migration.py", line 124, in apply     operation.database_forwards(self.app_label, schema_editor, old_state, project_state)   File "/usr/local/lib/python3.9/site-packages/django/db/migrations/operations/special.py", line 190, in database_forwards     self.code(from_state.apps, schema_editor)   File "/srv/newsblur/apps/rss_feeds/migrations/0002_remove_mongo_types.py", line 8, in remove_mongo_types     collections = db.collection_names()   File "/usr/local/lib/python3.9/site-packages/pymongo/database.py", line 1005, in collection_names     for result in self.list_collections(session=session, nameOnly=True, **kws)   File "/usr/local/lib/python3.9/site-packages/pymongo/database.py", line 943, in list_collections     return self.__client._retryable_read(_cmd, read_pref, session)   File "/usr/local/lib/python3.9/site-packages/pymongo/mongo_client.py", line 1606, in _retryable_read     server = self._select_server(read_pref, session, address=address)   File "/usr/local/lib/python3.9/site-packages/pymongo/mongo_client.py", line 1436, in _select_server     server = topology.select_server(server_selector)   File "/usr/local/lib/python3.9/site-packages/pymongo/topology.py", line 250, in select_server     return random.choice(self.select_servers(selector, server_selection_timeout, address))   File "/usr/local/lib/python3.9/site-packages/pymongo/topology.py", line 211, in select_servers     server_descriptions = self._select_servers_loop(selector, server_timeout, address)   File "/usr/local/lib/python3.9/site-packages/pymongo/topology.py", line 226, in _select_servers_loop     raise ServerSelectionTimeoutError( pymongo.errors.ServerSelectionTimeoutError: db_mongo:29019: [Errno -2] Name or service not known, Timeout: 30s, Topology Description: <TopologyDescription id: 6542adb146627c1e29b4da3a, topology_type: Single, servers: [<ServerDescription ('db_mongo', 29019) server_type: Unknown, rtt: None, error=AutoReconnect('db_mongo:29019: [Errno -2] Name or service not known')>]> Sentry is attempting to send 2 pending error messages Waiting up to 2 seconds Press Ctrl-C to quit make: *** [Makefile:38: migrate] Error 1
I tried reaching the host with a browser. After the warning of the self-signed certificate the following screen appeared:

Any suggestions how to fix this?

2. ! imageproxy The requested image's platform (linux/arm64) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested

https://github.com/samuelclay/NewsBlur/blob/1f74f1a09f4777fbd9e7b48b4b42c11c58d5b8ee/docker-compose.yml#L56-L57

I have a very similar problem and I tried on Debian 12 LXC, Debian 12 VM on proxmox and even on Ubuntu 22.04 LXC and in all scenarios I ended up with the following traces:
`[+] Running 12/12
✔ Network newsblur_default    Created                                                                                0.1s
✔ Container imageproxy        Started                                                                                25.3s
✔ Container db_elasticsearch  Started                                                                                25.3s
✔ Container db_postgres       Started                                                                                25.3s
✔ Container db_redis          Started                                                                                15.4s
✔ Container db_mongo          Started                                                                                25.3s
✔ Container dejavu            Started                                                                                25.3s
✔ Container task_celery       Started                                                                                25.3s
✔ Container newsblur_web      Started                                                                                0.5s
✔ Container node              Started                                                                                0.5s
✔ Container nginx             Started                                                                                0.1s
✔ Container haproxy           Started                                                                                0.1s
docker exec -it newsblur_web ./manage.py migrate
---> Starting NewsBlur development server...
Operations to perform:
Apply all migrations: admin, analyzer, auth, contenttypes, django_ses, feed_import, ipn, oauth2_provider, profile, push, reader, recommendations, rss_feeds, sessions, sites, social, zebra
Running migrations:
Applying contenttypes.0001_initial... OK
Applying auth.0001_initial... OK
Applying admin.0001_initial... OK
Applying admin.0002_logentry_remove_auto_add... OK
Applying admin.0003_logentry_add_action_flag_choices... OK
Applying rss_feeds.0001_initial... OK
Applying analyzer.0001_initial... OK
Applying contenttypes.0002_remove_content_type_name... OK
Applying auth.0002_alter_permission_name_max_length... OK
Applying auth.0003_alter_user_email_max_length... OK
Applying auth.0004_alter_user_username_opts... OK
Applying auth.0005_alter_user_last_login_null... OK
Applying auth.0006_require_contenttypes_0002... OK
Applying auth.0007_alter_validators_add_error_messages... OK
Applying auth.0008_alter_user_username_max_length... OK
Applying auth.0009_alter_user_last_name_max_length... OK
Applying auth.0010_alter_group_name_max_length... OK
Applying auth.0011_update_proxy_permissions... OK
Applying auth.0012_alter_user_first_name_max_length... OK
Applying django_ses.0001_initial... OK
Applying feed_import.0001_initial... OK
Applying ipn.0001_initial... OK
Applying ipn.0002_paypalipn_mp_id... OK
Applying ipn.0003_auto_20141117_1647... OK
Applying ipn.0004_auto_20150612_1826... OK
Applying ipn.0005_auto_20151217_0948... OK
Applying ipn.0006_auto_20160108_1112... OK
Applying ipn.0007_auto_20160219_1135... OK
Applying ipn.0008_auto_20181128_1032... OK
Applying oauth2_provider.0001_initial... OK
Applying oauth2_provider.0002_auto_20190406_1805... OK
Applying profile.0001_initial... OK
Applying profile.0002_auto_20200620_0803... OK
Applying profile.0003_auto_20201005_0932... OK
Applying profile.0004_auto_20220110_2106... OK
Applying profile.0005_profile_is_archive... OK
Applying profile.0006_profile_days_of_unread... OK
Applying profile.0007_auto_20220125_2108... OK
Applying profile.0008_profile_paypal_sub_id... OK
Applying profile.0009_paypalids... OK
Applying profile.0010_profile_active_provider... OK
Applying profile.0011_auto_20220408_1908... OK
Applying profile.0012_auto_20220511_1710... OK
Applying push.0001_initial... OK
Applying reader.0001_initial... OK
Applying recommendations.0001_initial... OK
Applying rss_feeds.0002_remove_mongo_types...Traceback (most recent call last):
File "/srv/newsblur/./manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.9/site-packages/django/core/management/init.py", line 401, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.9/site-packages/django/core/management/init.py", line 395, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 330, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 371, in execute
output = self.handle(*args, **options)
File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 85, in wrapped
res = handle_func(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/django/core/management/commands/migrate.py", line 243, in handle
post_migrate_state = executor.migrate(
File "/usr/local/lib/python3.9/site-packages/django/db/migrations/executor.py", line 117, in migrate
state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
File "/usr/local/lib/python3.9/site-packages/django/db/migrations/executor.py", line 147, in _migrate_all_forwards
state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
File "/usr/local/lib/python3.9/site-packages/django/db/migrations/executor.py", line 227, in apply_migration
state = migration.apply(state, schema_editor)
File "/usr/local/lib/python3.9/site-packages/django/db/migrations/migration.py", line 124, in apply
operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
File "/usr/local/lib/python3.9/site-packages/django/db/migrations/operations/special.py", line 190, in database_forwards
self.code(from_state.apps, schema_editor)
File "/srv/newsblur/apps/rss_feeds/migrations/0002_remove_mongo_types.py", line 8, in remove_mongo_types
collections = db.collection_names()
File "/usr/local/lib/python3.9/site-packages/pymongo/database.py", line 1005, in collection_names
for result in self.list_collections(session=session, nameOnly=True, **kws)
File "/usr/local/lib/python3.9/site-packages/pymongo/database.py", line 943, in list_collections
return self.__client._retryable_read(_cmd, read_pref, session)
File "/usr/local/lib/python3.9/site-packages/pymongo/mongo_client.py", line 1606, in _retryable_read
server = self._select_server(read_pref, session, address=address)
File "/usr/local/lib/python3.9/site-packages/pymongo/mongo_client.py", line 1436, in _select_server
server = topology.select_server(server_selector)
File "/usr/local/lib/python3.9/site-packages/pymongo/topology.py", line 250, in select_server
return random.choice(self.select_servers(selector, server_selection_timeout, address))
File "/usr/local/lib/python3.9/site-packages/pymongo/topology.py", line 211, in select_servers
server_descriptions = self._select_servers_loop(selector, server_timeout, address)
File "/usr/local/lib/python3.9/site-packages/pymongo/topology.py", line 226, in _select_servers_loop
raise ServerSelectionTimeoutError(
pymongo.errors.ServerSelectionTimeoutError: db_mongo:29019: [Errno 111] Connection refused, Timeout: 30s, Topology Description: <TopologyDescription id: 65a34a293a86d6c1ac51bc2e, topology_type: Single, servers: [<ServerDescription ('db_mongo', 29019) server_type: Unknown, rtt: None, error=AutoReconnect('db_mongo:29019: [Errno 111] Connection refused')>]>
Sentry is attempting to send 2 pending error messages
Waiting up to 2 seconds
Press Ctrl-C to quit
^Cmake: *** [Makefile:38: migrate] Error 130
root@nblur:/srv/newsblur# sudo make nb
/bin/bash: line 1: gtimeout: command not found
docker pull newsblur/newsblur_python3
Using default tag: latest
latest: Pulling from newsblur/newsblur_python3
Digest: sha256:e9c2164d83febaecd59dc26fd6326686a69be23ba2cb1ffe8fce796a6403439c
Status: Image is up to date for newsblur/newsblur_python3:latest
docker.io/newsblur/newsblur_python3:latest
docker pull newsblur/newsblur_node
Using default tag: latest
latest: Pulling from newsblur/newsblur_node
Digest: sha256:307471b66f895bb24ad924322b0c8cf0f6afa908fcee380aa5489615a2ad1859
Status: Image is up to date for newsblur/newsblur_node:latest
docker.io/newsblur/newsblur_node:latest
docker pull newsblur/newsblur_monitor
Using default tag: latest
latest: Pulling from newsblur/newsblur_monitor
Digest: sha256:a8378dd239c185d5180f45d7069e62b1d9898f5f20d80618303f4939443e7a4d
Status: Image is up to date for newsblur/newsblur_monitor:latest
docker.io/newsblur/newsblur_monitor:latest
RUNWITHMAKEBUILD=True CURRENT_UID=0 CURRENT_GID=0 docker compose down
[+] Running 12/12
✔ Container haproxy           Removed                                                                                10.0s
✔ Container dejavu            Removed                                                                                12.3s
✔ Container task_celery       Removed                                                                                12.1s
✔ Container nginx             Removed                                                                                2.5s
✔ Container imageproxy        Removed                                                                                2.2s
✔ Container node              Removed                                                                                14.7s
✔ Container newsblur_web      Removed                                                                                13.8s
✔ Container db_elasticsearch  Removed                                                                                0.9s
✔ Container db_postgres       Removed                                                                                29.3s
✔ Container db_redis          Removed                                                                                4.0s
✔ Container db_mongo          Removed                                                                                0.0s
✔ Network newsblur_default    Removed                                                                                0.5s
[[ -d config/certificates ]] && echo "keys exist" || make keys
keys exist
RUNWITHMAKEBUILD=True CURRENT_UID=0 CURRENT_GID=0 docker compose up -d --build --remove-orphans
[+] Running 12/12
✔ Network newsblur_default    Created                                                                                0.6s
✔ Container db_elasticsearch  Started                                                                                9.6s
✔ Container db_postgres       Started                                                                                9.7s
✔ Container db_redis          Started                                                                                9.7s
✔ Container imageproxy        Started                                                                                9.4s
✔ Container task_celery       Started                                                                                9.7s
✔ Container dejavu            Started                                                                                9.6s
✔ Container db_mongo          Started                                                                                9.7s
✔ Container newsblur_web      Started                                                                                0.1s
✔ Container node              Started                                                                                0.0s
✔ Container nginx             Started                                                                                0.1s
✔ Container haproxy           Started                                                                                0.1s
docker exec -it newsblur_web ./manage.py migrate
---> Starting NewsBlur development server...
Operations to perform:
Apply all migrations: admin, analyzer, auth, contenttypes, django_ses, feed_import, ipn, oauth2_provider, profile, push, reader, recommendations, rss_feeds, sessions, sites, social, zebra
Running migrations:
make: *** [Makefile:38: migrate] Error 137
root@nblur:/srv/newsblur# sudo make nb
/bin/bash: line 1: gtimeout: command not found
docker pull newsblur/newsblur_python3
Using default tag: latest
latest: Pulling from newsblur/newsblur_python3
Digest: sha256:e9c2164d83febaecd59dc26fd6326686a69be23ba2cb1ffe8fce796a6403439c
Status: Image is up to date for newsblur/newsblur_python3:latest
docker.io/newsblur/newsblur_python3:latest
docker pull newsblur/newsblur_node
Using default tag: latest
latest: Pulling from newsblur/newsblur_node
Digest: sha256:307471b66f895bb24ad924322b0c8cf0f6afa908fcee380aa5489615a2ad1859
Status: Image is up to date for newsblur/newsblur_node:latest
docker.io/newsblur/newsblur_node:latest
docker pull newsblur/newsblur_monitor
Using default tag: latest
latest: Pulling from newsblur/newsblur_monitor
Digest: sha256:a8378dd239c185d5180f45d7069e62b1d9898f5f20d80618303f4939443e7a4d
Status: Image is up to date for newsblur/newsblur_monitor:latest
docker.io/newsblur/newsblur_monitor:latest
RUNWITHMAKEBUILD=True CURRENT_UID=0 CURRENT_GID=0 docker compose down
[+] Running 12/12
✔ Container dejavu            Removed                                                                                14.5s
✔ Container task_celery       Removed                                                                                14.5s
✔ Container haproxy           Removed                                                                                11.4s
✔ Container imageproxy        Removed                                                                                3.0s
✔ Container nginx             Removed                                                                                3.3s
✔ Container newsblur_web      Removed                                                                                12.4s
✔ Container node              Removed                                                                                12.4s
✔ Container db_elasticsearch  Removed                                                                                1.0s
✔ Container db_postgres       Removed                                                                                3.0s
✔ Container db_mongo          Removed                                                                                0.0s
✔ Container db_redis          Removed                                                                                2.7s
✔ Network newsblur_default    Removed                                                                                0.5s
[[ -d config/certificates ]] && echo "keys exist" || make keys
keys exist
RUNWITHMAKEBUILD=True CURRENT_UID=0 CURRENT_GID=0 docker compose up -d --build --remove-orphans
[+] Running 12/12
✔ Network newsblur_default    Created                                                                                0.2s
✔ Container db_redis          Started                                                                                0.5s
✔ Container imageproxy        Started                                                                                0.4s
✔ Container dejavu            Started                                                                                0.4s
✔ Container db_postgres       Started                                                                                0.4s
✔ Container db_mongo          Started                                                                                0.5s
✔ Container task_celery       Started                                                                                0.6s
✔ Container db_elasticsearch  Started                                                                                0.4s
✔ Container newsblur_web      Started                                                                                0.1s
✔ Container node              Started                                                                                0.1s
✔ Container nginx             Started                                                                                0.2s
✔ Container haproxy           Started                                                                                0.1s
docker exec -it newsblur_web ./manage.py migrate
---> Starting NewsBlur development server...
Operations to perform:
Apply all migrations: admin, analyzer, auth, contenttypes, django_ses, feed_import, ipn, oauth2_provider, profile, push, reader, recommendations, rss_feeds, sessions, sites, social, zebra
Running migrations:
Applying rss_feeds.0002_remove_mongo_types...Traceback (most recent call last):
File "/srv/newsblur/./manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.9/site-packages/django/core/management/init.py", line 401, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.9/site-packages/django/core/management/init.py", line 395, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 330, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 371, in execute
output = self.handle(*args, **options)
File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 85, in wrapped
res = handle_func(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/django/core/management/commands/migrate.py", line 243, in handle
post_migrate_state = executor.migrate(
File "/usr/local/lib/python3.9/site-packages/django/db/migrations/executor.py", line 117, in migrate
state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
File "/usr/local/lib/python3.9/site-packages/django/db/migrations/executor.py", line 147, in _migrate_all_forwards
state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
File "/usr/local/lib/python3.9/site-packages/django/db/migrations/executor.py", line 227, in apply_migration
state = migration.apply(state, schema_editor)
File "/usr/local/lib/python3.9/site-packages/django/db/migrations/migration.py", line 124, in apply
operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
File "/usr/local/lib/python3.9/site-packages/django/db/migrations/operations/special.py", line 190, in database_forwards
self.code(from_state.apps, schema_editor)
File "/srv/newsblur/apps/rss_feeds/migrations/0002_remove_mongo_types.py", line 8, in remove_mongo_types
collections = db.collection_names()
File "/usr/local/lib/python3.9/site-packages/pymongo/database.py", line 1005, in collection_names
for result in self.list_collections(session=session, nameOnly=True, **kws)
File "/usr/local/lib/python3.9/site-packages/pymongo/database.py", line 943, in list_collections
return self.__client._retryable_read(_cmd, read_pref, session)
File "/usr/local/lib/python3.9/site-packages/pymongo/mongo_client.py", line 1606, in _retryable_read
server = self._select_server(read_pref, session, address=address)
File "/usr/local/lib/python3.9/site-packages/pymongo/mongo_client.py", line 1436, in _select_server
server = topology.select_server(server_selector)
File "/usr/local/lib/python3.9/site-packages/pymongo/topology.py", line 250, in select_server
return random.choice(self.select_servers(selector, server_selection_timeout, address))
File "/usr/local/lib/python3.9/site-packages/pymongo/topology.py", line 211, in select_servers
server_descriptions = self._select_servers_loop(selector, server_timeout, address)
File "/usr/local/lib/python3.9/site-packages/pymongo/topology.py", line 226, in _select_servers_loop
raise ServerSelectionTimeoutError(
pymongo.errors.ServerSelectionTimeoutError: db_mongo:29019: [Errno -2] Name or service not known, Timeout: 30s, Topology Description: <TopologyDescription id: 65a34baf691d0decbd4b8eac, topology_type: Single, servers: [<ServerDescription ('db_mongo', 29019) server_type: Unknown, rtt: None, error=AutoReconnect('db_mongo:29019: [Errno -2] Name or service not known')>]>
Sentry is attempting to send 2 pending error messages
Waiting up to 2 seconds
Press Ctrl-C to quit
make: *** [Makefile:38: migrate] Error 1`
The mongoDB container seems to keep restarting:
docker ps CONTAINER ID   IMAGE                                                  COMMAND                  CREATED         STATUS                           PORTS                                                                                NAMES 03a17958bf9c   haproxy:latest                                         "docker-entrypoint.s…"   4 minutes ago   Up 4 minutes                     <IP_ADDRESS>:80->80/tcp, :::80->80/tcp, <IP_ADDRESS>:443->443/tcp, :::443->443/tcp, <IP_ADDRESS>:1936->1936/tcp, :::1936->1936/tcp   haproxy aad7cb95dd5b   nginx:1.19.6                                           "/docker-entrypoint.…"   4 minutes ago   Up 4 minutes                     80/tcp, <IP_ADDRESS>:81->81/tcp, :::81->81/tcp                                                                             nginx fa84828919ea   newsblur/newsblur_python3:latest                       "/bin/sh -c newsblur…"   4 minutes ago   Up 4 minutes                     <IP_ADDRESS>:8000->8000/tcp, :::8000->8000/tcp                                                                             newsblur_web c348d570442a   newsblur/newsblur_node:latest                          "docker-entrypoint.s…"   4 minutes ago   Up 4 minutes                     <IP_ADDRESS>:8008->8008/tcp, :::8008->8008/tcp                                                                             node 2c843b7d6b1b   postgres:13.1                                          "docker-entrypoint.s…"   4 minutes ago   Up 4 minutes                     <IP_ADDRESS>:5434->5432/tcp, :::5434->5432/tcp                                                                             db_postgres f0833683fd5a   redis:latest                                           "docker-entrypoint.s…"   4 minutes ago   Up 4 minutes                     6379/tcp, <IP_ADDRESS>:6579->6579/tcp, :::6579->6579/tcp                                                                   db_redis 520cac07afc9   docker.elastic.co/elasticsearch/elasticsearch:7.16.3   "/bin/tini -- /usr/l…"   4 minutes ago   Up 39 seconds                    <IP_ADDRESS>:9200->9200/tcp, :::9200->9200/tcp, <IP_ADDRESS>:9300->9300/tcp, :::9300->9300/tcp                                  db_elasticsearch df635f804b3e   appbaseio/dejavu:3.6.0                                 "docker-entrypoint.s…"   4 minutes ago   Up 4 minutes                     <IP_ADDRESS>:1358->1358/tcp, :::1358->1358/tcp                                                                             dejavu 1b7db427b08f   newsblur/newsblur_python3                              "celery worker -A ne…"   4 minutes ago   Up 4 minutes                                                                                task_celery 83ece0546419   mongo:4.0                                              "docker-entrypoint.s…"   4 minutes ago   Restarting (100) 2 seconds ago                                                                                db_mongo 80eb826157dd   ghcr.io/willnorris/imageproxy:latest                   "/app/imageproxy -ad…"   4 minutes ago   Up 4 minutes                     8080/tcp, <IP_ADDRESS>:8088->8088/tcp, :::8088->8088/tcp
Then the logs for the mongoDB container does not show anything obvious enough:
docker compose logs -f db_mongo WARN[0000] The "CURRENT_UID" variable is not set. Defaulting to a blank string.  WARN[0000] The "CURRENT_GID" variable is not set. Defaulting to a blank string.  WARN[0000] The "CURRENT_UID" variable is not set. Defaulting to a blank string.  WARN[0000] The "CURRENT_GID" variable is not set. Defaulting to a blank string.  WARN[0000] The "CURRENT_UID" variable is not set. Defaulting to a blank string.  WARN[0000] The "CURRENT_GID" variable is not set. Defaulting to a blank string.  parsing /srv/newsblur/docker-compose.yml: error while interpolating services.newsblur_web.environment.[]: required variable RUNWITHMAKEBUILD is missing a value: Use the make command instead of docker CLI
Any idea?

I'm having the same issue

So the problem was the permissions on the db_mongo container data directory were too restrictive. The container was unable to create a lock file. After running docker logs db_mongo I was able to see it was a permission issue. After updating the permissions for ./docker/volume/db_mongo directory to something more permissive and running make nb everything worked.

This is still an issue, and I (suppose) is being tracked here: https://github.com/samuelclay/NewsBlur/issues/1792#issuecomment-1507854850


PSPNET SHAPE

Hello, I am new to Computer vision and almost everything else too:) I am trying to use PSPNET for training,
I was able to train UNET,and linkNet but i have a shape issue with PSP net. I read that the input shape should be multiple of 6, so I changed the values in augmentation to 360, it was originally 320. but I still have issues. Can anyone explain to me why I am having this issue? and How I can fix it? thanks so much,
here is the function I changed:
`def get_training_augmentation():
train_transform = [
    A.HorizontalFlip(p=0.5),

    A.ShiftScaleRotate(scale_limit=0.5, rotate_limit=0, shift_limit=0.1, p=1, border_mode=0),

    A.PadIfNeeded(min_height=320, min_width=320, always_apply=True, border_mode=0),
    A.RandomCrop(height=320, width=320, always_apply=True),

    A.IAAAdditiveGaussianNoise(p=0.2),
    A.IAAPerspective(p=0.5),

    A.OneOf(
        [
            A.CLAHE(p=1),
            A.RandomBrightness(p=1),
            A.RandomGamma(p=1),
        ],
        p=0.9,
    ),

    A.OneOf(
        [
            A.IAASharpen(p=1),
            A.Blur(blur_limit=3, p=1),
            A.MotionBlur(blur_limit=3, p=1),
        ],
        p=0.9,
    ),

    A.OneOf(
        [
            A.RandomContrast(p=1),
            A.HueSaturationValue(p=1),
        ],
        p=0.9,
    ),
    A.Lambda(mask=round_clip_0_1)
]
return A.Compose(train_transform)`

ERROR
InvalidArgumentError:  ConcatOp : Dimensions of inputs should match: shape[0] = [6,240,60,60] vs. shape[1] = [6,512,96,96]
[[node model_1/psp_concat/concat (defined at :8) ]] [Op:__inference_train_function_14028]
Errors may have originated from an input operation.
Input Source operations connected to node model_1/psp_concat/concat:
model_1/block4a_expand_activation/mul (defined at /usr/local/lib/python3.6/dist-packages/efficientnet/model.py:155)
Function call stack:
train_function

Looks like your masks and images are of different size? Is there any operation you're performing on masks but not images? Or cropping that may occur by random chance?

@JordanMakesMaps  Hi, sorry for the late response, for some reason I did not see any notifications. Well they shouldn't be different, because I used the same set for the training of other models. but how is it that i have an issue with PSPNet and not the others?

@JordanMakesMaps  Hi, sorry for the late response, for some reason I did not see any notifications. Well they shouldn't be different, because I used the same set for the training of other models. but how is it that i have an issue with PSPNet and not the others?

You code above shows that you're cropping to (320, 320) still. Is this what you're using in your script?
    A.RandomCrop(height=320, width=320, always_apply=True),

You code above shows that you're cropping to (320, 320) still. Is this what you're using in your script?
    A.RandomCrop(height=320, width=320, always_apply=True),

@JordanMakesMaps oh wow, thank you for pointing this out, so I removed the random crop and just left the padding,  and I was able to run the code. But now my question is that how necessary is that cropping. because that was part of the data augmentation for training images. sorry if the questions are too simple, I am a structural engineer don't know much about these stuff :D
here is the augmentation function
`def get_training_augmentation():
train_transform = [
    A.HorizontalFlip(p=0.5),

    A.ShiftScaleRotate(scale_limit=0.5, rotate_limit=0, shift_limit=0.1, p=1, border_mode=0),

    A.PadIfNeeded(min_height=320, min_width=320, always_apply=True, border_mode=0),
    A.RandomCrop(height=320, width=320, always_apply=True),

    A.IAAAdditiveGaussianNoise(p=0.2),
    A.IAAPerspective(p=0.5),

    A.OneOf(
        [
            A.CLAHE(p=1),
            A.RandomBrightness(p=1),
            A.RandomGamma(p=1),
        ],
        p=0.9,
    ),

    A.OneOf(
        [
            A.IAASharpen(p=1),
            A.Blur(blur_limit=3, p=1),
            A.MotionBlur(blur_limit=3, p=1),
        ],
        p=0.9,
    ),

    A.OneOf(
        [
            A.RandomContrast(p=1),
            A.HueSaturationValue(p=1),
        ],
        p=0.9,
    ),
    A.Lambda(mask=round_clip_0_1)
]
return A.Compose(train_transform)

def get_validation_augmentation():
"""Add paddings to make image shape divisible by 32"""
test_transform = [
A.PadIfNeeded(384, 480)
#A.PadIfNeeded(min_height=384, min_width=480, always_apply=True, border_mode=0)
]
return A.Compose(test_transform)
def get_preprocessing(preprocessing_fn):
"""Construct preprocessing transform
Args:
    preprocessing_fn (callbale): data normalization function
        (can be specific for each pretrained neural network)
Return:
    transform: albumentations.Compose

"""

_transform = [
    A.Lambda(image=preprocessing_fn),
]
return A.Compose(_transform)`

@JordanMakesMaps oh wow, thank you for pointing this out, so I removed the random crop and just left the padding,  and I was able to run the code. But now my question is that how necessary is that cropping. because that was part of the data augmentation for training images. sorry if the questions are too simple, I am a structural engineer don't know much about these stuff :D
here is the augmentation function
`def get_training_augmentation():
train_transform = [
    A.HorizontalFlip(p=0.5),

    A.ShiftScaleRotate(scale_limit=0.5, rotate_limit=0, shift_limit=0.1, p=1, border_mode=0),

    A.PadIfNeeded(min_height=320, min_width=320, always_apply=True, border_mode=0),
    A.RandomCrop(height=320, width=320, always_apply=True),

    A.IAAAdditiveGaussianNoise(p=0.2),
    A.IAAPerspective(p=0.5),

    A.OneOf(
        [
            A.CLAHE(p=1),
            A.RandomBrightness(p=1),
            A.RandomGamma(p=1),
        ],
        p=0.9,
    ),

    A.OneOf(
        [
            A.IAASharpen(p=1),
            A.Blur(blur_limit=3, p=1),
            A.MotionBlur(blur_limit=3, p=1),
        ],
        p=0.9,
    ),

    A.OneOf(
        [
            A.RandomContrast(p=1),
            A.HueSaturationValue(p=1),
        ],
        p=0.9,
    ),
    A.Lambda(mask=round_clip_0_1)
]
return A.Compose(train_transform)

def get_validation_augmentation():
"""Add paddings to make image shape divisible by 32"""
test_transform = [
A.PadIfNeeded(384, 480)
#A.PadIfNeeded(min_height=384, min_width=480, always_apply=True, border_mode=0)
]
return A.Compose(test_transform)
def get_preprocessing(preprocessing_fn):
"""Construct preprocessing transform
Args:
    preprocessing_fn (callbale): data normalization function
        (can be specific for each pretrained neural network)
Return:
    transform: albumentations.Compose

"""

_transform = [
    A.Lambda(image=preprocessing_fn),
]
return A.Compose(_transform)`

Sorry, I'm not quite clear what your question is, but if you're wondering if it is a bad idea to remove the cropping (or other augmentation methods) from your validation/testing preprocessing functions because they are in your training preprocessing pipeline, I would say don't worry it's fine. In fact, your validation and testing samples should resemble very close to what you would expect to see in the wild, and therefore you don't need to apply any augmentations (other than padding or cropping when needed to fit the required input shape).

Sorry, I'm not quite clear what your question is, but if you're wondering if it is a bad idea to remove the cropping (or other augmentation methods) from your validation/testing preprocessing functions because they are in your training preprocessing pipeline, I would say don't worry it's fine. In fact, your validation and testing samples should resemble very close to what you would expect to see in the wild, and therefore you don't need to apply any augmentations (other than padding or cropping when needed to fit the required input shape).

Use
), A.Resize(image_size, image_size, interpolation=2, always_apply=True), A.Lambda(mask=round_clip_0_1)
for training and validation


Vaughnlive plugin response length validation

There seems to be an issue with the Vaughnlive plugin
Similar problem was described at #897 / #904 , but the recommended fix no longer works.
$ livestreamer http://vaughnlive.tv/stream best
[cli][info] Found matching plugin vaughnlive for URL http://vaughnlive.tv/stream
error: Unable to validate response text: Minimum length is 2 but value is 1
$
Unfortunately I am not very adept with python at this stage.. :( Pls help! :)

Ok some progress:
DOMAIN_MAP = {     "breakers": "btv",     "vapers": "vtv",     "vaughnlive": "mvn", }
-"vaughnlive": "mvn",
+"vaughnlive": "mvn-live",

Change "mvn" back to "live" and change INFO_URL to:
INFO_URL = "http://mvn.vaughnsoft.net/video/edge/mvn-{domain}_{channel}"

That worked. Brilliant, thanks!

I apologize, but i'm not following how to apply this particular solution to a different channel on vaughnlive.
I receive the same "error: Unable to validate response text: Minimum length is 2 but value is 1"
originally "livestreamer https://vaughnlive.tv/newzviewz best" was correct, but I now receive the error message above.  Could someone provide me with some guidance?

Yes, sure. Until it gets patched ( dont know how to commit ) , here's a pastebin: http://pastebin.com/jpRuaqEv
File to edit is vaughnlive.py -- in my case this was at /usr/local/lib/python2.7/dist-packages/livestreamer/plugins/vaughnlive.py

i try the script on pastebin but the error dont change! :(

For the record, I'm also using it to watch the newzviewz channel, and it works great for me since making the changes. Make sure you patch all instances of "vaughnlive.py" found on your system, there might be another copy of the file hiding in your local user libs or something. You can also try delete the vaughnlive.pyc and vaughnlive.pyo so that it recompiles them from the source file

Update: looks like they changed the "mvn" to "mnv", causing it to stop working again. Seems like a cat and mouse chase going on?

i'm confused , please you cold put the full script? or update the script on pastebin? thank you :)

@cloud90 https://raw.githubusercontent.com/intact/livestreamer/fix-vaughn/src/livestreamer/plugins/vaughnlive.py

ok work perfectly! :)  thank you intact! :D


Add vice county assignment to output files

The service has been modified to assign records to vice counties during validation.
Update the UI so that the assignment is present in the output files.

Fixed in dev.


proc: Bug loading maps

Past the maximum recursion depth maps shouldn't be loaded at all,
adding map children and not loading them breaks assumptions in
the prettyprinter.
Fixes #406

Merged.


add .editorconfig to this repo

This is a proposal.
I think editorconfig would be useful in this situation.

Ah sorry, I mixed up the PR and the issue. So to have it here again: I agree we should not be arguing about indentation, but I’d prefer a .jscsrc file with an appropriate Grunt task as a solution.

@prayerslayer I agree with your idea.

Fixed with #5


New 7TV V3 extension conflict

7TV has a new V3 extension which actually unloads the official Twitch webchat and replaces it entirely. This causes a conflict at the moment, where this extension reads the unloaded chat as a ban and starts up, but then the 7TV chat also starts and they overlap.
I think there may need to be an additional element detection added to this extension to actually wait for the text "You've been banned from chat" or something similar to prevent loading on top of the 7TV chat.

Can you provide a link to V3 extension? I've tested latest one from Chrome store and it works as expected

Yeah, the extension is currently in Beta and hasn't fully replaced the current stable 7TV addon yet. It is located here: https://chrome.google.com/webstore/detail/7tv-beta/fphegifdehlodcepfkgofelcenelpedj
Active development here: https://github.com/SevenTV/ExtensionV3

For what it's worth, the V3 extension has exited beta and is now in RC stage. It's set to replace the standard 7TV extension I think within a few weeks. The original extension repository (located here: https://github.com/SevenTV/Extension) has now swapped over to the V3 extension.

Done in https://github.com/tmarenko/twitch_chat_antiban/commit/cb75e3379819579973b00bdb02efc13cb0083fd3
Tested on the 7TV both V2 and V3, seems to be working just fine
Regarding jChat I left comment https://github.com/tmarenko/twitch_chat_antiban/issues/8#issuecomment-1474876355

Well that's unfortunate

Since 1.5 release there were no bug reports so will consider this fixed


Memory leak

Node Version: Node v6.9.1
Package version: v0.1.1
Platform: SMP Debian 3.2.81-1 x86_64 GNU/Linux
When I required this package, the memory began to grow slowly
const dashboard = require("nodejs-dashboard");
Memory schedule

Comparison of 2 heap shapshots

Thanks for filing this issue @forz13. Can you provide a little more detail? From the graph above it appears that memory is decreasing over time. Each telemetry event will create a new string to hold the data. I might be able to optimize this by writing to a reusable buffer instead.

Yes, the amount of free memory decreases slowly over time, and I agree with you about the use of buffers in place of strings

To clarify is this 1) overall system memory or 2) utilization by a specific process, say: node or dashboard?

1 - It's available RAM at OS.  I have't  now memory schedule for node process, but I am sure that the RAM is reduced due  increasing memory usage by node process

@forz13, do you know about how much data is going out to stdout or stderr? It would have to be almost 2k/sec to be the sole issue here (looks like about a 200mb drop in 27hrs). Currently, the app is buffering all the stdout and stderr so they can be viewed in the windows. We probably need to cap this.

@forz13 can you try rerunning with 0.2.1? We published some changes that should address these issues.

@jasonwilson thank you, i will try it and give the graphics in the next few days

Closing for now. Feel free to reopen if the issue isn't resolved.


oneview_server_profile_facts returning all profiles instead of single named profile

Scenario/Intent
Retrieve the facts for a single server profile designated by "name"
Environment Details

Module Version: 5.3.1
Ansible Version: 2.7.12
OneView Appliance Version: <IP_ADDRESS>-0385523
OneView Client API Version: 800
Python Version: 3.7.3
python-hpOneView SDK Version: 4.8.0
Platform: Fedora 29

Steps to Reproduce
- name: Gather facts about a Server Profile by name
  oneview_server_profile_facts:
    hostname: "{{ oneview_config_hostname }}"
    username: "{{ oneview_config_username }}"
    password: "{{ oneview_config_password }}"
    api_version: "{{ oneview_config_api_version }}"
    **name: "{{ inventory_hostname }}"**
   delegate_to: localhost

Expected Result
Return facts for the named server profile
Actual Result
Facts for ALL server profiles are returned

@daveolker,
Thanks for reporting this issue, there was a bug in the server profile and profile template module.
We will be opening a PR for this, meanwhile please clone the development branch with the fix,
https://github.com/HewlettPackard/oneview-ansible/tree/bug_fix/profile_and_template

Hi Sijeesh.  I see you are referencing issue #441 to address this defect but it looks like that code has not been merged yet.  Does this mean this problem still exists in the current code?

@daveolker , PR is not merged yet, will be doing it soon.


Feedback for ocm-spec restructuring

Hi @Jens, hear a first version of feedback. And yes, I didn't find time to really come to the meat of the changes...I'll hop onto that after the vacation period...

overview: the part that differentiates ocm and its SBOD/xBOM/dBOM character from an SBOM has been removed. Should we bring this back?
section "Model"

only sources and resources are mentioned, should we mention labels with regards to offering a beneficial possibility to store any kind of metadata on all layers of an OCM component?
sources are mentioned as artifacts same as resources. Are they really artifacts or would it make more sense to just call the sources, specifying the origin (code source) of the resources? Hmmm...just reading on and artifact here in this sense are more the artifacts of an OCM version (and indeed whatever is put into an ocm version is persisted as blob). But at least reading "artifact" I don't relate this more with a resource specified in an ocm version, but...

Regarding this overview I removed this, because it should not be part of the spec. It should however preserved. I suggest to move this to the website. I also would recommend to review this section and rewrite it partially.
The definition of sources as artifacts is the same as in the current version of the spec (at least I did not intend to change this).


EXIF option to rename images with random names

Filenames can sometimes reveal the date and time a photo was taken, which can be a privacy concern. It would be great to have an option to rename all shared images with a random filename.
This could be similar to how Scrambled Exif renames files using the hash of each individual file.

You can enable random filenames in settings

That could work, but since that feature is applied globally, including for image editing, it might be more convenient to have the option scoped. This way, we wouldn’t have to keep toggling it on and off while editing to maintain the original file name, or when clearing the EXIF, where we’d want to randomize the name.

Not globally thing is not possible :(


[0.10] Introduce working groups feature (Access Management)

[ ] Translate "hardcoded" strings
[ ] Update Changelog

Postponed to 0.10.x or 0.11


FIX Enable CUDA 11.2 CentOS 7 builds

Upstream nvidia/cuda now has CUDA 11.2 CentOS 7 builds, so we can remove the exclusions to build them now

[x] Merge of rapidsai/gpuci-build-environment#173
[ ] Builds of gpuci CUDA 11.2 CentOS 7 images deployed

Wait on merge until gpuci images are updated and built

Builds starting on gpuCI images will merge this PR when done


Make "rawVBusDataOnly" configurable for connection type "Serial to LAN-Gateway"

There are two different types of "Serial to LAN-Gateways":

Standard, for example ser2net on Linux or IoT devices running for example Tasmota
Proprietary, for example Resol VBus/LAN interface adapter or serial-to-tcp example from @danielwippermann

The main difference seems to be the handshake which is required for the proprietary gateways. This handshake can be disabled in resol-vbus library by setting "rawVBusDataOnly" to "true" in "vbus.TcpConnection". However, the corresponding option seems to be hardcoded in ioBroker.resol and cannot be changed in the settings. I am using ser2net on a Raspberry Pi and ioBroker.resol works fine after changing the setting to "true" directly in "main.js". Please note that no password is required in this case, i.e. not setting a password should not cause an error being reported by ioBroker.resol.

Sounds to mw like it should get implemented. I'll take a look into it soon.

It looks already implemented, but I cannot find any possibility in the settings of the adapter to change "this.config.vbusDataOnly" to true except by directly editing the source code. Maybe I have overlooked something, but even the full text search for "vbusDataOnly" only reveals two locations - the one you have cited above and the initialization of the variable in "io-package.json" to "false".

Ah. Okay. Now I understand. All we need is a meaninful config option to edit this rawVBusDataOnly since the link was forgotton or got lost.
What do you thing would be a good name for this checkbox and what about a short description/tooltipp? Sorry for asking, but you are much deeper into this than me, since I own a KM2. I have no experience with those serial gateways.

Yes, the missing config option is the main issue. The second (smaller) issue is the password field which has to be filled as the adapter won't startup without a password (log message "Password is missing!"). The password won't be used if "rawVBusDataOnly" is set, i.e. any password can be entered. However, not checking for a not required password would be better.
Regarding the name and the description of the option: after checking the code again, I am not sure, whether the "Serial to LAN-Gateway" option wasn't meant initially exactly for that purpose. The differences between "VBus / LAN" (i.e. "lan") and "Serial to LAN-Gateway" (i.e. "langw") seem to be just the "password" and the "rawVBusDataOnly" member:
case 'lan':
    ctx.connection = new vbus.TcpConnection({
        host: this.config.connectionIdentifier,
        port: this.config.connectionPort,
        password: this.config.vbusPassword
    });
    this.log.info('TCP Connection via LAN to [' + this.config.connectionIdentifier + ':' + this.config.connectionPort + '] selected');
    break;

case 'langw':
    ctx.connection = new vbus.TcpConnection({
        host: this.config.connectionIdentifier,
        port: this.config.connectionPort,
        rawVBusDataOnly: this.config.vbusDataOnly
    });
    this.log.info('TCP Connection via LAN-gw to [' + this.config.connectionIdentifier + ':' + this.config.connectionPort + '] selected');
    break;

I don't see any use case for "langw" if "rawVBusDataOnly" is set to "false" as this option is already covered by "lan". Adding the "new" option might be as easy as doing the following change:
case 'langw':
    ctx.connection = new vbus.TcpConnection({
        host: this.config.connectionIdentifier,
        port: this.config.connectionPort,
        rawVBusDataOnly: true
    });
    this.log.info('TCP Connection via LAN-gw to [' + this.config.connectionIdentifier + ':' + this.config.connectionPort + '] selected');
    break;

function testPassword(config) {
    if (config.connectionDevice === 'lan' && (!config.vbusPassword || '' === config.vbusPassword)) {
        reject('Password is missing!');
    }
}

Yes, the missing config option is the main issue. The second (smaller) issue is the password field which has to be filled as the adapter won't startup without a password (log message "Password is missing!"). The password won't be used if "rawVBusDataOnly" is set, i.e. any password can be entered. However, not checking for a not required password would be better.

I totally understand that point and I'm planning to implement it that way - but to boil the LAN / LANGW discussion down:
You wrote in your first post:

There are two different types of "Serial to LAN-Gateways":

Standard, for example ser2net on Linux or IoT devices running for example Tasmota
Proprietary, for example Resol VBus/LAN interface adapter or serial-to-tcp example from @danielwippermann

from that statement I got that we need to differentiate two types of lan-gateways:

Types that need the rawVBusDataOnly option set to true and
Types that need the rawVBusDataOnly option set to false

If that is true we need an configuable option in the admin interface and a change of the password check.
If that is false and your first statements differentiated between LAN-Gateways like KM2 and Serial-to-LAN-Gateways - wich are already differentiated in the Config - you are right and we don't need a new config checkbox for rawVBusDataOnly but only the true hardcoded and the password check disabled in case that option is checked.
So this is the point we need to clarify and if we need a new checkbox - a good name and description for it that anybody who uses such a gateway will understand what to do.

If that is false and your first statements differentiated between LAN-Gateways like KM2 and Serial-to-LAN-Gateways - wich are already differentiated in the Config - you are right and we don't need a new config checkbox for rawVBusDataOnly but only the true hardcoded and the password check disabled in case that option is checked.

This should be correct. A gateway requiring a handshake with authentication can be used with the VBus/LAN option (or KM2/DL2 option). A gateway not requiring a handshake, but directly converting serial to LAN can be used with the Serial-to-LAN Gateway option.

Done as requested. rawvBusDataOnly=true is hardcoded and config test ignores missing password.

I have updated the adapter today and it seems to work fine.


more than 1 matching path causing request forwarding causing issues

 cxp-customerAuthenticateMethods-Path:
      path: //customer/authentication
      serviceId: my-service-1
      stripPrefix: false
 cxp-customer-path:
      path: /customer/**
      stripPrefix: false
      url: myotherservces.com

for my request http://api-gateway-host.com**/customer/authentication, I  expected this request to be forwarded to first matching entry  but its getting forwarded to customer/**  (i.e 2nd match) what I can do to fix this issue
Note: first math is having a Eureka registered service ID and 2nd match customer/** is forwarding it to url

Are you using spring-cloud for that routing config?


Read config from file

Decided for implementing it without replacing the cli library.
This resolves what I need in https://github.com/genuinetools/reg/issues/126 but replacing the cli lib might be a better option.
Fixes: https://github.com/genuinetools/reg/issues/126

i just made a docker for reg server ... only, and had to partially verify some settings using env vars, passing a config file is going to be really helpful

@jessfraz if your time permits, can you take a look and agree with the general direction? I'll fix up the merge conflict then.

lgtm, can we make the flag --config thanks :)

@jessfraz thanks for the feedback. Applied it and switched to go module vendoring.

Rebased on master, tests don't fail anymore

@jessfraz can I bother you to take another look? Thanks :)

friendly ping


Adding continuous integration tool like CircleCI

Add continuous integration to the project will help for unit testing and staging builds.

@ani4aniket if it is up for grabs, can I take it?

I prefer Travis CI.
The question is we don't have test cases yet. So I don't know why we setup CI now.


simplify and add some hash

Hello,
Do you know why bytes.rs and mod.rs look the same ?
Test the PR
time cargo run 7c13517e2bd3f4d4dc4c44be73f56c4a7f15caf3776cd68c33f7d6054f2ee919 -b

the -b is important for exact match

Do you know why bytes.rs and mod.rs look the same ?

Because both are essentially same, only difference being one uses regex::bytes::Regex and later using regex::Regex ( and other fn signature changes )
as regex also has them un different modules, I decided to put bytes related implementation in separate module


Regression in 1.12 causing interpreter to exit

I have some shell scripts that are duplicating output to both stdout and a file that seem to crash now with ssh 1.12 when logging is enabled.
With sh 1.11 the following example script wouldn't prematurely exit the interpreter. In 1.12 it never reaches the logger.info('sh didn't crashed python') line and instead exits immediately after the sh call with an exit code of 1.
LOGFILE="$(mktemp)"
STDOUT="$(mktemp)"

exec >  >(tee -a "${STDOUT}")
exec 2> >(tee -a "${LOGFILE}" >&2)

python -c "
from sh import echo
import sys,os,logging
from sys import stderr
logging.basicConfig(level=logging.INFO,stream=stderr)
logger = logging.getLogger(os.path.basename('sh_crashed'))

print echo('sh is printing stuff',_err=stderr)
logger.info('sh didn't crashed python')
"

echo "exit code =$?"

rm $LOGFILE $STDOUT

Output run as above:
INFO:sh.command:<Command u'/bin/echo sh is printing stuff'>: starting process
INFO:sh.command:<Command u'/bin/echo sh is printing stuff', pid 43241>: process started
exit code =1
Output without fd duplication:
INFO:sh.command:<Command u'/bin/echo sh is printing stuff'>: starting process
INFO:sh.command:<Command u'/bin/echo sh is printing stuff', pid 48484>: process started
INFO:sh.command:<Command u'/bin/echo sh is printing stuff', pid 48484>: process completed
sh is printing stuff
INFO:sh_crashed:sh did not crashed python
exit code =0
Output without logging enabled:
sh is printing stuff
exit code =0

Ok I just pushed a new version up on pip that fixes this bug.  It's version 1.12.1
Explanation below.  Please close the issue if things look good for you now

After some investigation, what I've determined to be the cause is how sh is handling pipes on process termination.  Basically the issue stems from this PR  https://github.com/amoffat/sh/pull/252/files
Previously, in 1.11.0, pipes attached to a process's stdout/stderr were not closed when the process terminated.  Which caused @omribahumi's bug if not seeing the stdout.  The fix was included in 1.12.0 to close those pipes, causing them to flush the pending output to the reader end of the pipe.
Now your issue is because your logger is writing to stderr, and the process is writing to stderr, and stderr is now a pipe (created through tee).  So sh says "oh it's a pipe, let me close it so the reader end can get its output."  Unfortunately, the logger is still using it to write its log messages to, causing an io error.
I have rolled back the fix from 252.


it went wrong when adding header value because of okhttp

when I try to test harbor an error occurred.The The error message is：
02:55:44.446 [main] ERROR io.resttestgen.boot.cli.App - An error occurred during the execution of RestTestGen. Please report it on GitHub.
java.lang.IllegalArgumentException: Unexpected char 0xe0 at 9 in X-Request-Id value: jV02VKE6Rà
at okhttp3.Headers$Companion.checkValue(Headers.kt:450)
at okhttp3.Headers$Companion.access$checkValue(Headers.kt:362)
at okhttp3.Headers$Builder.set(Headers.kt:344)
at okhttp3.Request$Builder.header(Request.kt:199)
at io.resttestgen.core.helper.RequestManager.lambda$requestBuilder$3(RequestManager.java:168)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at io.resttestgen.core.helper.RequestManager.requestBuilder(RequestManager.java:167)
at io.resttestgen.core.helper.RequestManager.buildRequest(RequestManager.java:51)
at io.resttestgen.core.testing.TestRunner.executeTestInteraction(TestRunner.java:185)
at io.resttestgen.core.testing.TestRunner.tryTestInteractionExecution(TestRunner.java:141)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at io.resttestgen.core.testing.TestRunner.run(TestRunner.java:106)
at io.resttestgen.implementation.strategy.NominalAndErrorStrategy.start(NominalAndErrorStrategy.java:42)
at io.resttestgen.boot.Starter.launchStrategyByClass(Starter.java:153)
at io.resttestgen.boot.Starter.launchStrategyByClassName(Starter.java:138)
at io.resttestgen.boot.Starter.start(Starter.java:30)
at io.resttestgen.boot.cli.App.main(App.java:56)

Task :run FAILED

FAILURE: Build failed with an exception.

Hello, could you please provide more context? When does the error occur? Can you attach the OpenAPI specification you are using as input? Thank you!

Here is the oas file:
harbor.json
And I use docker to run rtg，the error value "jV02VKE6Rà" from the error massage seems to be randomly generated by rtg, not from oas or other response as I know.
And I went to check the bug , found some useful information from https://stackoverflow.com/questions/60945415/okhttp-illegalargumentexception-unexpected-char-0xea. Hope it will be useful for you too.
But I can't change the code in RequestManager, so I can't validate whether the method from stackoverflow can solve the problem.
Thank you for your reply !

Thank you for your report.
Apparently, the cause is that RTG generates an unsupported value for headers. I will try to fix this for the next release. It might take a few days/weeks tho.
I believe that if you run it again it might work without issues as it will probably not generate that random value again.
I will reply to this thread as soon as I fixed it!
Thanks


feat(SU): add summeruniversity module

In #188 I also added JSON files for Grafana, but I did not test those so I did not include them in this PR. I think it's good to look at all Grafana metrics seperately

Superseded by #385


hiding progress view from super view to allow user interactions

This change removes the progress view from its superview after its final animation has completed. This is needed so that users can interact with views that are underneath the progress view.

Coverage increased (+0.04%) to 91.24% when pulling bea35e1000df76b8d690d6588316c52732152284 on ryanfitz:remove-from-superview into 3ba7e2d3c96889726ba78124ceb32e5df9064847 on kishikawakatsumi:master.

Not to remove the view when animation is completed is by design. I assume the use cases that want to start the animation again.
But your suggestion also seems reasonable. So could you please be able to use either by conditions? For example, add removeOnCompletion property.

I didn't realize leaving the view was by design. I changed the implementation to now hide the progress view instead of removing it. The progress view will now reappear if the progress is reset.
It seemed like hiding both the view as well as its background view was redundant. I removed the backgroundView hide calls and switched to hiding the main view. Let me know if the background view should hide calls should still exist.

Coverage remained the same at 91.2% when pulling bd42073f8fefeac446dc9574d700bc55d579b3b1 on ryanfitz:remove-from-superview into 3ba7e2d3c96889726ba78124ceb32e5df9064847 on kishikawakatsumi:master.

It looks nice. Thank you very much for your contribution. :pray:

Released v1.0.1. https://github.com/kishikawakatsumi/UCZProgressView/blob/master/CHANGELOG.md
Thanks again.


SIDD: fix incorrect IDLVL and IALVL in NITF metadata

This is correct for SICD products, but has an off-by-one error for SIDD products.

Thanks for pointing this out. I believe this was addressed in #507 which is unfortunately still relegated to an integration branch (integration/1.3.59-rc).

@pressler-vsc oops, thanks! I'll close this.

Is there any timeline to when that will make it into the mainline release?

Unfortunately not at this time although the integration branch has certainly gotten much longer than we would like. There are some challenges to overcome before it can become a formal release.


[feature]jad -o -r -d src -s java src1/**/*.class

jad -o -r -d src -s java src1/**/*.class

I am sorry but this is not a feature description. Please provide at a sentence that describes what feature  from your point of view should be added to Jadx and why.

@jpstotz scene

I need to decompile the patch file of Weblogic's zip file

There will be many jars after unzipping

I use the following script to decompress automatically, and finally I need to decompile in batch

$ cat doGetWeblogicJava.sh
unzip $1
find . -name "*.jar"|xargs -I % bash -c 'unzip %;rm -rf %'
find . -name "*.jar"|xargs -I % bash -c 'unzip %;rm -rf %'
jad -o -r -d src -s java ./**/*.class


Update all Flutter repo "example" apps to use the new project structure

Update all Flutter repo "example" apps to use the new project structure.
This should be done after the "flutter create -t project" and "flutter make-host-app-editable" commands are working on master.

As a way of testing the new default application testing, I created a new hello_world, and moved over the existing .dart files, and verified that it still ran. Sent a PR for that: https://github.com/flutter/flutter/pull/22716
@gspencergoog will you be looking at the others?

Topic raised in https://github.com/flutter/flutter/pull/22716: For apps that need custom hosts (for platform channels, icons, etc.), we would need to make the hosts editable.

Closing as done.


Docs on "Upgrading your Micronaut Application" point to outdated content

Issue description
Reported from @timtebeek:

I found that the docs on upgrading here: https://docs.micronaut.io/4.0.2/guide/index.html#upgrading
link to https://micronaut-projects.github.io/micronaut-upgrade/snapshot/
which only goes back to 3.9.0, as https://github.com/micronaut-projects/micronaut-upgrade has not been upgraded for some weeks

@wetted give priority to this. I think the issue is the build fails https://github.com/micronaut-projects/micronaut-upgrade/actions but I think I added the links to 4


[FLOC-2220] Add info about creating user.crt and user.key for flocker-deploy

I think removing the parts about usernames and alice is going too far. The explanation to rename the certs to "user" afterwards is fine. Also - that explanation doesn't make sense without the usernames/alice parts.

This is going to have a gigantic merge conflict with move-securitytopics-FLOC-2221.

Cracking thanks.

Please resolve the merge conflicts and then merge.


[Bug] Module 'BrazeUI' not found when importing SPM package in .m file

What happened?
When adding Braze and several other Segment dependencies to my project, I can import then in a .swift file with no issue, but when attempting to import them in an .m file, I see an error: Module 'BrazeUI' not found

I see this same issue for SegmentBraze and SegmentBrazeUI as well.
I tinkered around with the .xcconfig and found that by adding the following lines to OTHER_CFLAGS I am able to successfully import those modules in Objective-C files as well (although I need to do this manually):

-fmodule-map-file="${GENERATED_MODULEMAP_DIR}/BrazeUI.modulemap"
-fmodule-map-file="${GENERATED_MODULEMAP_DIR}/SegmentBraze.modulemap"
-fmodule-map-file="${GENERATED_MODULEMAP_DIR}/SegmentBrazeUI.modulemap"

I've been able to reproduce this behavior in the example project on my fork: https://github.com/kalub92/cocoapods-spm/tree/kalub92%2Fbraze-modulemap-issue

⚠ There is a separate issue involving a .o file being imported for a SamplePackageA dependency when it shouldn't be, so I will raise a new issue for that specifically.

CocoaPods environment
Stack
   CocoaPods : 1.14.3
        Ruby : ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [arm64-darwin21]
    RubyGems : 3.3.3
        Host : macOS 14.5 (23F79)
       Xcode : 15.4 (15F31d)
         Git : git version 2.44.0
Ruby lib dir : /Users/cstultz/.rvm/rubies/ruby-3.1.0/lib
Repositories : trunk - CDN - https://cdn.cocoapods.org/

Installation Source
Executable Path: /Users/cstultz/.rvm/gems/ruby-3.1.0/bin/pod

Plugins
cocoapods-compact-spec   : 0.0.3
cocoapods-deintegrate    : 1.0.5
cocoapods-plugins        : 1.0.0
cocoapods-search         : 1.0.1
cocoapods-spm            : 0.1.5
cocoapods-trunk          : 1.6.0
cocoapods-try            : 1.2.0
cocoapods-xcconfig-hooks : 0.0.1

Podfile
platform :ios, "16.0"
linkage = (ENV["LINKAGE"] || :static).to_sym
use_frameworks! :linkage => linkage
puts "Using linkage: #{linkage}"

@checksum = "dummy-checksum-to-prevent-merge-conflicts"

plugin "cocoapods-spm"
plugin "cocoapods-xcconfig-hooks"

def dont_use_macros?
  ENV["NO_MACROS"] == "true"
end

config_compact_spec(
  extra: ->(s) { s.ios.deployment_target = "16.0" }
)

config_cocoapods_spm(
  dont_prebuild_macros: true,
  default_macro_config: "debug"
)

def spm_pods
  spm_pkg "SamplePackageA",
          :git => "https://github.com/kalub92/SamplePackageA.git",
          :branch => "withHyphenatedDependency"
end

abstract_target 'Example' do

  spm_pods

  target "EX" do
    pod "Logger", :path => "LocalPods/Logger"
    # pod "Services", :path => "LocalPods/Services"

    spm_pkg "SnapKit",
            :url => "https://github.com/SnapKit/SnapKit.git",
            :version => "5.7.1",
            :products => ["SnapKit-Dynamic"]
    spm_pkg "SwiftUIX", :git => "https://github.com/SwiftUIX/SwiftUIX.git", :tag => "0.1.9"
    spm_pkg "SwiftyBeaver", :git => "https://github.com/SwiftyBeaver/SwiftyBeaver.git", :tag => "2.0.0"
    spm_pkg "opentelemetry-swift",
            :git => "https://github.com/open-telemetry/opentelemetry-swift.git",
            :branch => "main",
            :products => ["OpenTelemetrySdk"]
    spm_pkg "GoogleMaps",
            :git => "https://github.com/googlemaps/ios-maps-sdk.git",
            :version => "8.4.0",
            :products => ["GoogleMaps", "GoogleMapsBase", "GoogleMapsCore"]
    spm_pkg "DebugKit", :path => "LocalPackages/debug-kit"

    spm_pkg "braze-segment-swift",
        :url => "https://github.com/braze-inc/analytics-swift-braze.git",
        :version => "2.2.0",
        :products => [
          "SegmentBraze",
          "SegmentBrazeUI"
        ]

    spm_pkg "Segment",
        :url => "https://github.com/segmentio/analytics-swift.git",
        :version => "1.5.11"

    spm_pkg "SegmentFirebase",
        :url => "https://github.com/segment-integrations/analytics-swift-firebase.git",
        :version => "1.1.3"

  end

  target "EXTests" do
    pod "NetworkTestKit", :path => "LocalPods/NetworkTestKit"
    pod "AppTestKit", :path => "LocalPods/AppTestKit"
  end

end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings.delete "IPHONEOS_DEPLOYMENT_TARGET"
    end
  end

  if dont_use_macros?
    path = Pathname.new(".xcconfigs/__base__.xcconfig")
    path.parent.mkpath
    path.write("SWIFT_ACTIVE_COMPILATION_CONDITIONS = $(inherited) NO_MACROS")
  end
end

Anything else?
No response

@kalub92 So everything works fine when using import BrazeUI in Swift code, I assume.
Just that it doesn't work when using a Swift pkg module in Objective-C code, rite?
Actually, you were right about the modulemap in OTHER_CFLAGS.
I think I need more time to make the fix this way because in some cases, Xcode does not dump the modulemap in GENERATED_MODULEMAP_DIR.
In the meantime, may I suggest adding ${GENERATED_MODULEMAP_DIR} to header search path so that those "<module>-Swift.h" are recognized. Then you can import the module with #import "<module>-Swift.h".

Hi @trinhngocthuyen, yes that's right that it works for Swift but not Obj-C. I was able to make a workaround for my use case, but any update on this on a plug-in level?


intel Q6600 don't work

Hi,
I try to create a timelord's server with a cpu intel q6600. What is options in compil to work, please ?

Closing


Fake commit to test coverage

Proposed changes in this pull request
DO NOT MERGE
Checklist

[ ] New tests have been added
[ ] npm test passes successfully
[ ] Documentation has been updated

@amir20 to review

Codecov Report

Merging #642 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #642   +/-   ##
=======================================
  Coverage   93.81%   93.81%
=======================================
  Files           4        4
  Lines         194      194
=======================================
  Hits          182      182
  Misses         12       12

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 790e67b...01e9b9a. Read the comment docs.


TypeError: templateInstance.collection.findOne is not a function( with FS collection )

Hello,
I want to use Sortable on images with a FS collection. For now, drag and drop works only once and I have an error in the console: TypeError: templateInstance.collection.findOne is not a function ( rubaxa_sortable.js:1333:20)
How can I fix it?
I have a FS collection:
Images = new FS.Collection("images", {
  stores: [
    new FS.Store.FileSystem("images"),
    new FS.Store.FileSystem("thumbs", { transformWrite: createThumb }),
  ],
  filter: {
    allow: {
      contentTypes: ['image/*'] //allow only images in this FS.Collection
    }
  }
});

In sortable-collection.js (server side)
'use strict';
Sortable.collections = ['images'];
//I also tried  Sortable.collections = ['cfs.images.filerecord'];

In the template portfolio.html:
 {{#sortable items= imagesCursor sortField="metadata.order"}}
             <img src="{{this.url  store='thumbs'}}" alt="caption for {{this.name}}" target="{{this}}" />
  {{/sortable}}

And in the portfolio.js helper  imagesCursor function
      var result = Images.find({  'metadata.gallery':currentGallery});  // Images is an FS.Collection instance
      return result;

Dear all! Meteor is moved to the separate repository. If this issue is still actual, please create it there once again.
For your info: this project needs a maintainer.


Create baseprofiles in CI

What type of PR is this?
/kind feature
What this PR does / why we need it:
Creating the baseprofiles in the CI.
Which issue(s) this PR fixes:

None
Does this PR have test?
None

Special notes for your reviewer:
None
Does this PR introduce a user-facing change?

None

Interestingly, the two syscalls sched_yield and rt_sigreturn see to flake in the test. :thinking: It may be related to application teardown…

/retest

/retest

/test pull-security-profiles-operator-test-e2e

Happy tests!
@kubernetes-sigs/security-profiles-operator-maintainers PTAL

@kubernetes-sigs/security-profiles-operator-maintainers  PTAL


can't access meta data

Hello, thank you for sharing wonderful player.
But I'm having issue not showing meta data at all (now playing and previous ones). I can hear my stream so url setting should be fine. How to solve this?
I'm using shoutcast v2.  I don't get both api keys yet. My stream url is http://freebird.ddns.net:8050
AAC+ 64k
player url : http://www.freebirdradio.net/64kplayer/
Thank you.

The same issue
Music play, meta data is empty

the streaming link has to be with HTTPS, google is blocking: http://freebird.ddns.net:8050.
see mine is working all normal: https://fabiotech.github.io/radio/

Hi @hiro-rocks and @jose2016
It seems your api.php file has something wrong on line 42. Try to clone again and see if it resolve.
Any questions, as soon as possible I will help. 😃

Thanks for reply. My website and stream url are both http not https. Is this a matter?
I refreshed all files. Now I got "error on communicate to server" error message.

see mine is working all normal: https://fabiotech.github.io/radio/

Your site no longer works:
https://s7.gifyu.com/images/no_work1.png

@gsavio
I am not getting any meta data and song names. Here: http://bharatiysangeet.com/listen1/
I have AzuraCast installed. Any help is much appreciated.
Thank You


Update to Python 3.9.4 (hotfix)

https://blog.python.org/2021/04/python-394-hotfix-is-now-available.html

Thanks!

@tianon 3.10.0a6-windowsservercore-ltsc2016 seems to be stuck on b147198

Good catch; I've killed/restarted it now (although for getting the builds out, it doesn't actually matter -- that's what https://github.com/docker-library/official-images/pull/9925 is :+1:)


chore: add husky pre-commit tasks

What does this PR do?
Adds husky dependency and basic pre-commit tasks with commitlint and lint-staged similar to Podman Desktop.
Screenshot / video of UI
N/A
What issues does this PR fix or reference?
Fixes #768.
How to test this PR?
Stage a file and do git commit -m "test".

Rebased to pick up dependabot changes.


Implement ADR 009

Closes: #2192
Description
I chose not to implement tendermint_proto::Protobuf on the new domain types, as we never need to encode/decode the request itself. We either

(gRPC) convert it to the "raw type" and pass that to tonic, or
(tendermint rpc) call abci_query using fields inside the request

PR author checklist:

[x] Added changelog entry, using unclog.
[x] Added tests: integration (for Hermes) or unit/mock tests (for modules).
[x] Linked to GitHub issue.
[x] Updated code comments and documentation (e.g., docs/).

Reviewer checklist:

[ ] Reviewed Files changed in the GitHub PR explorer.
[ ] Manually tested (in case integration/unit/mock tests are absent).

There are only 2 "proto types" left in query reponses: MerkleProof and PacketState. Should we create a domain type for those too? If so, I'm not sure what they should look like.

There are only 2 "proto types" left in query reponses: MerkleProof and PacketState. Should we create a domain type for those too? If so, I'm not sure what they should look like.

We already have one for MerkleProof which we should use: https://github.com/informalsystems/ibc-rs/blob/39606d28908134a6be940f65830e464a6e44d567/modules/src/core/ics23_commitment/merkle.rs#L39
Let's introduce one for PacketState as well!

I just noticed that the ChainEndpoint::proven_*() methods each have an analogous query_*() method which performs the same query except that they don't return a proof.
I suggest we remove the proven_*() methods from ChainEndpoint and ChainHandle, and change the provable query_*() functions as follows:
// previous
fn query_channel(&self, request: QueryChannelRequest) -> Result<ChannelEnd, Error>;
fn proven_channel(&self, request: QueryChannelRequest) -> Result<(ChannelEnd, MerkleProof), Error>;

// new
fn query_channel(&self, request: QueryChannelRequest, include_proof: PerformQuery) -> Result<(ChannelEnd, Option<MerkleProof>), Error>;

enum PerformQuery {
    WithProof,
    WithoutProof,
};

I introduced PerformQuery to avoid boolean blindness.
Example calls:
chain.query_channel(request, PerformQuery::WithProof);
chain.query_channel(request, PerformQuery::WithoutProof);

An alternative name for PerformQuery I thought of:
enum IncludeProof {
    Yes,
    No,
};
chain.query_channel(request, IncludeProof::Yes);
chain.query_channel(request, IncludeProof::No);

I personally prefer this interface, as there are less methods exposed while preserving the same functionality.

I suggest we remove the proven_*() methods from ChainEndpoint and ChainHandle, and change the provable query_*() functions as follows:

I think it makes sense. A note though that the simple query_ APIs are generally (*) gRPC, the proven_ perform abci_query (RPC to tendermint who does app abci_query). When we first implemented the proven_ APIs there was no support for proofs in gRPC. But now there is. Maybe we should then:

(*) change all query_.. for application state to use gRPC (we also have query_.. methods that retrieve blockchain info, i.e. they will stay RPCs to tendermint)
change all proven_... to use the gRPC

wrt to query height, if you look at the gRPC request proto defs they do not contain the height at which the query should be done. This is "hidden" in the gRPC metadata. For and example on how this is done with gRPC you can take a look at https://github.com/informalsystems/ibc-rs/blob/c5c89dc82b1466101066e69d1228cda439da1d4b/relayer/src/chain/cosmos.rs#L931-L937
Also I don't know if there is a way to make a gRPC request and specify that there shouldn't be any proof included. If that's the case, we should look at performance differences between abci queries without proof and gRCP (with proof always??), especially if the APIs used by the packet relaying are affected.


refactor SDS sample server code to library

@wenchenglu: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
2f1ac15026e976c89e1e5a6c2dae17b08594cd38
link
/test e2e-simple

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Unit test for callback generator and javadoc.

So we can incorporate your pull request, please share the following:

What issue are you addressing with this pull request? https://project.marklogic.com/jira/browse/JAVA-63
Are you modifying the correct branch? develop
Have you run unit tests? yes
Version of MarkLogic Java Client API (see Readme.txt)
Version of MarkLogic Server (see admin gui on port 8001)
Java version (java -version)
OS and version
What Changed: What happened before this change? What happens without this change?

I might have missed to convert back BuilderImpl from public to package level. Added the changes just now.


Deletion of client with special characters in the name

Expected Behavior
To be able to delete client which was accidentally created with name "{{ ansible_fqdn }}".
Current Behavior
API does not consume path when API endpoint consist of .../clients/{{ ansible_fqdn }}
I tried to do several escape methods + HTML encoding but I always get 400 Bad request or 404 not found.
Possible Solution
If anyone has a hint...
Steps to Reproduce (for bugs)

Set client configuration with name as reported above
2.Try to delete

Context
This client was created accidentally when using ansible template directly as sensu client configuration.
I am not able to delete it via API.
Last option I guess is to delete it directly in Redis but I am not sure if it is so simple do delete what I see related to that client or it has some special requirement how to proceed to not corrupt the database.
Your Environment

Sensu version used: 0.29
Active Sensu extensions (e.g. WizardVan 0.1.0):
Operating System and version (e.g. Ubuntu 14.04): RHEL 7
Transport and runtime versions (e.g. RabbitMQ 3.6.2 on Erlang 18.2): RabbitMQ

Hi,
at the end I managed that by simply removing all keys associated with given client.
Hopefully it was that simple.


rbenv install bash script fails on bash 4.4.19

Problem raised in #323 seems to be happening again: rbenv install --list gives
rbenv-install: line 73: parse_options: command not found
I'm using ruby-build v20190615 with GNU bash, version 4.4.19(1)-release (x86_64-pc-linux-gnu)
I ran rbenv-doctor and it confirms:

Checking `rbenv install' support: ~/.rbenv/plugins/ruby-build/bin/rbenv-install/usr/bin/env: ‘bash\r’: No such file or directory
~/.rbenv/plugins/ruby-build/bin/rbenv-install: line 73: parse_options: command not found

I ran rbenv-doctor and it confirms:
Checking rbenv install' support: /home/passmore/.rbenv/plugins/ruby-build/bin/rbenv-install/usr/bin/env: ‘bash\r’: No such file or directory
/home/passmore/.rbenv/plugins/ruby-build/bin/rbenv-install: line 73: parse_options: command not found`

‘bash\r’: No such file or directory: maybe the problem isn't the version of bash, but the fact the files that you've checked out seem to have CR-LF line endings (\r\n), whereas they should only ever have LF? Please check your git settings.

Thanks very much Mislav, that was the problem. Git was configured with auto crlf, when I deleted this and reinstalled ruby-build it all worked as before.


example of parameters

Hello everyone!
How can i use the parameters in the config.py file, for example ip, latitude and longitude, country. Can you help me ?

The config.py is only used to store API keys, enable/disable search providers and set thread count.
Once these have been setup and you run the program the first time with the command python main.py it will generate an output.csv file.
The output.csv file will contain a list of all ips, lat, long, country, etc.

Thank you very much for the quick response, just one more question.
Is there any way to configure it so that when I run the script it filters by country or IP?

Currently there are no filters, I can look at adding some


Removed inactive projects, their tasks and subtasks from dashboard

Dashboard does no longer display disabled projects and their respective tasks and subtasks.

Thanks it's merged, I also added the method getActiveMemberProjects() to be able to filter events from the dashboard.


Updated code review checklist for Terraform

This resolves #118

Updated with style guide, Linters, build validation and code review checklist.

Closes #183


Document tweak for custom page routing

If the custom page route is added at the bottom of getPages() then it is likely that the standard view route will match but give a 404 message

[Y] Changes have been thoroughly tested to not break existing functionality.
[Y] New functionality has been documented or existing documentation has been updated to reflect changes.
[Y] Visual changes are explained in the PR description using a screenshot/recording of before and after.

Thanks for the PR, @adamlast!
I'm not sure if we should add this to our docs though, as it's just a Laravel thing.
What do you think, @danharrin?

Thanks for the PR, @adamlast! I'm not sure if we should add this to our docs though, as it's just a Laravel thing. What do you think, @danharrin?

I thought it would be useful as putting the new route at the bottom of the array returned by getPages() is default behaviour for many people, it caught me out today, and it has caught others out before: https://github.com/filamentphp/filament/discussions/6197


Hide packages by License

Provide a detailed description of the proposed feature
Filter arch Linux packages  Hide packages by License
Arch linux and manjaro official software repositories  have begun to promote closed source software and Dependencies. Such as Opera Browser. This is a very dangerous behaviour that does not open source.
What is the motivation for the feature?
software repositories  have begun to promote closed source software and Dependencies. Such as Opera Browser. This is a very dangerous behaviour that does not open source.
How will the feature be relevant to at least 90% of Homebrew users?
yes
What alternatives to the feature have been considered?
no

We do not permit closed source software to exist in homebrew-core.
But if there's even open source licenses you'd like to block, you can do that too: https://docs.brew.sh/License-Guidelines#specifying-forbidden-licenses


Use java 1.7

Compilation with java 1.6 fails, only 1.7 and above can compile.
See here for a failed attempt to build 0.8.6 with java 1.6.
This PR fixes jitpack compilability.
Also, if you merge this PR into master, can you merge master into httpclient-android? it would be cool if that branch could be compiled with jitpack as well.

@est31: Thank you. Another developer just proposed another pull request for this issue, see #28 which restores 1.6 compatibility (this is useful for Mac OS X users which are using the IntelliJ plugin). I will merge that pull request and publish a new version. Let's hope that fixes jitpack compatibility as well.

Restoring 1.6 compilability is fine as well.

@est31: I have merged master into 'httpclient-android'.


GridView columns shortcut declarations: allow value function as value

It would be nice if the columns could be defined this way:
<?= GridView::widget([
    'dataProvider' => $dataProvider,
    'filterModel'  => $searchModel,
    'columns'      => [
        // ---- current style ----
        [
            'attribute' => 'full_name',
            'label'     => 'Name',
            'format'    => 'html',
            'value'     => function (Order $model) {
                return Html::tag('span', $model->first_name . '
' . $model->last_name);
            },
        ],
        // ---- new alternative style ----
        'full_name:html:Name' => function(Order $model) {
            return Html::tag('span', $model->first_name . '
' . $model->last_name);
        },
        ...
        ['class' => 'yii\grid\ActionColumn'],
    ],
]); ?>

Would that be possible? Because of formatting I need to declare columns explicitly quite often. This would reduce the lines of code a bit.

The builder sounds like an overkill to me. And a developer can already produce his own helpers, tailored for his needs easily anyway.
I really love the original proposal of @robsch regarding the short syntax, that I find more "Yii".
It's clear, minimalistic and simple.
You can do either one of the following.

provide a simple value that will be parsed:

'columns' => [
  'contents:html:Post content',
]

provide a key => callback

In this case, it's pretty straight forward that callback will return the value (in a key => value context)
'columns' => [
  'contents:html:Post content' => function (Post $post) {
      return '
' . $post->contents . '
';
  },
]

provide a key => array

The old way, that enabled to handle the visible prop on a DetailView.
We could do a minor enhancement and infer the attribute from the key, instead of requiring it in the array.
'columns' => [
  'contents' => [
    // 'attribute' => 'contents',
    // attribute is not required as we know it from the key.
    // If attribute is present, then it overrides the key.
    'format' => 'html',
    'value' => function (Post $post) {
        return '
' . $post->contents . '
';
    },
   'visible' => function (...) {
   },
]

That is already in since columns are defined as an array of ColumnInterface.


RegisterFromAssembly extension not registering health checks

Hi There,
I've noticed that referencing health checks from a library project in an application which has it's own health checks but does not explicitly reference App Metrics nuget package, won't register applications' health checks.
Example project:
https://github.com/ignas-sakalauskas/AppMetricsHealthCheckMissing
Run the WebApi project and hit the health endpoint http://localhost:5000/_system/health
Actual result:
{
    "healthy": {
        "HealthCheckLib": "OK"
    },
    "status": "Healthy"
}

However, the expected result is:
{
    "healthy": {
        "HealthCheckLib": "OK",
        "HealthCheckWebApi": "OK"
    },
    "status": "Healthy"
}

Setting dependency context doesn't solve the issue, and a simple solution (workaround?) is to explicitly reference App Metrics nuget package in WebApi.csproj -- see a comment in the WebApi.csproj in my repo.
Since the project successfully builds, however silently fails to register all the health checks, this looks like a bug to me. Could you please shed more light on this?
Thanks,
Ignas

Planning to remove the health check related implementation due to there being a Microsoft equivalent


How to decode an X509 PUBKEY structure in an (external) provider?

When implementing an (OpenSSL-external) provider, it seems to be straightforward to encode into X509 (QSC/PQC) public key material using X509_PUBKEY_set0_param. However, I'd like to ask which API to use to decode an already encoded X509 structure passed into the provider decoder as const unsigned char **pp, long length?
In other words, how can one create within the provider an X509_PUBKEY from such data (without recursing into the provider decoder code)? APIs then exist to extract the key material to an OQS/EVP key structure.
A workable solution would be to call ossl_d2i_X509_PUBKEY_INTERNAL (as is done by all OpenSSL internal providers) but this function is not part of the public APIs... For reference, this work is part of https://github.com/open-quantum-safe/oqs-provider/issues/2.
Thanks in advance for any suggestions (maybe for an entirely different approach to decode such SPKI structure) and apologies in advance for a possible lack of understanding of the existing and available X509/ASN.1 APIs.

Your provider should provide a decoder implementation for the SubjectPublicKeyInfo structure of your key type. This decoder implementation will be called when an X509 ASN.1 data is being decoded. At least this is the intention how that should work.

That's precisely what I did and it works perfectly when the provider calls ossl_d2i_X509_PUBKEY_INTERNAL to create an X509_PUBKEY from the data passed to the provider decoder:
OQSX_KEY *oqsx_d2i_PUBKEY(OQSX_KEY **a, const unsigned char **pp, long length)
{
    OQSX_KEY *key = NULL;
    X509_PUBKEY *xpk;

    // only way to re-create/decode X509 object?? TBD
    xpk = oqsx_d2i_X509_PUBKEY_INTERNAL(pp, length, NULL);

    key = oqsx_key_from_x509pubkey(xpk, NULL, NULL);
...

Unfortunately, that API is not public... Thus, would it be an option to change this (or at least open it to providers)? This would be to avoid re-inventing the wheel (and/or duplicating code and/or creating unintended library dependencies).
If not desirable (?) could you point at good documentation as to how to easily decode SPKI structures (generated by X509_PUBKEY_set0_param)? Or would you suggest I also do "my own" SPKI encoding? If the latter, what APIs should be used for that? Would it really be necessary to create all this "new" code even though in principle that logic already exists within OpenSSL (cryptolib)? You can tell that a) I'm lazy :) and b) think that new code only has new bugs (that existing code hopefully doesn't).

I do not think we want to make ossl_d2i_X509_PUBKEY_INTERNAL() function public. At least not in 3.0.x releases since they are bugfix only.
I would just copy the ossl_d2i_X509_PUBKEY_INTERNAL implementation. It is not that big chunk of code so I do not see any real code duplication issue here.

I would just copy the ossl_d2i_X509_PUBKEY_INTERNAL implementation.

That's what I did (to break the library dependency). Unfortunate "side effect": ASN1_SEQUENCE also needed to be copied in consequence and that required struct X509_pubkey_st to be copied over, which creates a possibly dangerous dependency of this "provider" code and OpenSSL's core implementation (of X509_PUBKEY).
If you don't consider this "risky" too I'm fine with that solution.

Side note: it's a bit confusing to say X509 when you really mean X509_PUBKEY...

This issue is really not about the ASN.1 structure, but rather with the fact that we insist on including the decoded EVP_PKEY in it, thereby making it rather impossible to just decode the DER into suitable data chunks with no further interpretation and process it further.
While that was a suitable optimization, it turned out to be an unfortunate locking into the specific methodology we have before providers came along...
I would actually rather have had X509_PUBKEY be the uninterpreted contents (i.e. what we have in X509_PUBKEY_INTERNAL), and have something else for the interpretted contents, so our users (including provider authors) would have a choice.  The overall X509 structure would of course still use the interpretted structure, which I believe is possible to do.
But here we are today...  in vue of this issue, I actually think it would be useful to make X509_PUBKEY_INTERNAL publically available, possibly under another name.

@levitte given the fact that this is now 3 years old, do you still think its worth exposing the proposed funtion, or shall we close this issue?


Can't compile on Fedora 33

Hi! I have tried to compile on Fedora but I get this error:
[bkdwt@localhost LACT]$ ./deploy.sh RUST_BACKTRACE=1
   Compiling http-body v0.4.0
   Compiling num_cpus v1.13.0
   Compiling mio v0.7.9
   Compiling atty v0.2.14
   Compiling socket2 v0.3.19
   Compiling getrandom v0.2.2
   Compiling parking_lot_core v0.8.3
   Compiling shared_library v0.1.9
   Compiling signal-hook-registry v1.3.0
   Compiling nix v0.20.0
   Compiling openssl-sys v0.9.60
   Compiling idna v0.2.2
   Compiling serde_derive v1.0.124
   Compiling thiserror-impl v1.0.24
   Compiling strum_macros v0.18.0
   Compiling futures-macro v0.3.13
   Compiling proc-macro-error v1.0.4
   Compiling pin-project-internal v1.0.5
error: failed to run custom build command for `openssl-sys v0.9.60`

Caused by:
  process didn't exit successfully: `/home/bkdwt/LACT/target/release/build/openssl-sys-fa6f37e6caea33c2/build-script-main` (exit code: 101)
  --- stdout
  cargo:rustc-cfg=const_fn
  cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_NO_VENDOR
  X86_64_UNKNOWN_LINUX_GNU_OPENSSL_NO_VENDOR unset
  cargo:rerun-if-env-changed=OPENSSL_NO_VENDOR
  OPENSSL_NO_VENDOR unset
  CC_x86_64-unknown-linux-gnu = None
  CC_x86_64_unknown_linux_gnu = None
  HOST_CC = None
  CC = None
  CFLAGS_x86_64-unknown-linux-gnu = None
  CFLAGS_x86_64_unknown_linux_gnu = None
  HOST_CFLAGS = None
  CFLAGS = None
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some("false")
  CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
  running "perl" "./Configure" "--prefix=/home/bkdwt/LACT/target/release/build/openssl-sys-643a7e0b16bc3989/out/openssl-build/install" "no-dso" "no-shared" "no-ssl3" "no-unit-test" "no-comp" "no-zlib" "no-zlib-dynamic" "no-md2" "no-rc5" "no-weak-ssl-ciphers" "no-camellia" "no-idea" "no-seed" "linux-x86_64" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64"

  --- stderr
  Can't locate FindBin.pm in @INC (you may need to install the FindBin module) (@INC contains: /usr/local/lib64/perl5/5.32 /usr/local/share/perl5/5.32 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at ./Configure line 15.
  BEGIN failed--compilation aborted at ./Configure line 15.
  thread 'main' panicked at '

  Error configuring OpenSSL build:
      Command: "perl" "./Configure" "--prefix=/home/bkdwt/LACT/target/release/build/openssl-sys-643a7e0b16bc3989/out/openssl-build/install" "no-dso" "no-shared" "no-ssl3" "no-unit-test" "no-comp" "no-zlib" "no-zlib-dynamic" "no-md2" "no-rc5" "no-weak-ssl-ciphers" "no-camellia" "no-idea" "no-seed" "linux-x86_64" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64"
      Exit status: exit code: 2

      ', /home/bkdwt/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-src-111.14.0+1.1.1j/src/lib.rs:415:13
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed
Failed to enable unit: Unit file lactd.service does not exist.

Any idea what is happening? Thanks in advance! :D
Linux localhost.localdomain 5.10.19-200.fc33.x86_64 #1 SMP Fri Feb 26 16:21:30 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

You need to install the packages perl-FindBin and perl-File-Compare. I've added them to the build dependencies in README.

You need to install the packages perl-FindBin and perl-File-Compare. I've added them to the build dependencies in README.

Many thanks! Now works. :D