Docker image fails to start

Hi, thanks for the project, it looks very interesting. Unfortunately I ran into some issues when trying to install it. I followed the instructions, but I am on a windows 10 computer. My googling did not help me solve this issue, I apologize if I'm doing something wrong with docker, I'm a docker novice.
I get the following error log when running the docker up command:
docker-compose --profile fullstack -f local.yml up
[+] Running 7/7
✔ Container chat_all_the_docs_local_redis         Created                                                                                0.0s
✔ Container chat_all_the_docs_local_postgres      Recreated                                                                                0.2s
✔ Container chat_all_the_docs_local_celeryworker  Recreated                                                                                0.2s
✔ Container delphic_local_django                  Recreated                                                                                0.2s
✔ Container chat_all_the_docs_local_celerybeat    Recreated                                                                                0.2s
✔ Container chat_all_the_docs_local_flower        Recreated                                                                                0.2s
✔ Container delphic_local_frontend                Recreated                                                                                0.1s
Attaching to chat_all_the_docs_local_celerybeat, chat_all_the_docs_local_celeryworker, chat_all_the_docs_local_flower, chat_all_the_docs_local_postgres, chat_all_the_docs_local_redis, delphic_local_django, delphic_local_frontend
chat_all_the_docs_local_postgres      |
chat_all_the_docs_local_postgres      | PostgreSQL Database directory appears to contain a database; Skipping initialization
chat_all_the_docs_local_postgres      |
chat_all_the_docs_local_postgres      | 2023-04-22 19:41:13.462 UTC [1] LOG:  starting PostgreSQL 14.7 (Debian 14.7-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
chat_all_the_docs_local_postgres      | 2023-04-22 19:41:13.479 UTC [1] LOG:  listening on IPv4 address "<IP_ADDRESS>", port 5432
chat_all_the_docs_local_postgres      | 2023-04-22 19:41:13.479 UTC [1] LOG:  listening on IPv6 address "::", port 5432
chat_all_the_docs_local_postgres      | 2023-04-22 19:41:13.483 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
chat_all_the_docs_local_postgres      | 2023-04-22 19:41:13.493 UTC [27] LOG:  database system was shut down at 2023-04-22 19:40:57 UTC
chat_all_the_docs_local_postgres      | 2023-04-22 19:41:13.498 UTC [1] LOG:  database system is ready to accept connections
chat_all_the_docs_local_redis         | 1:C 22 Apr 2023 19:41:13.539 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
chat_all_the_docs_local_redis         | 1:C 22 Apr 2023 19:41:13.539 # Redis version=6.2.12, bits=64, commit=00000000, modified=0, pid=1, just started
chat_all_the_docs_local_redis         | 1:C 22 Apr 2023 19:41:13.539 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
chat_all_the_docs_local_redis         | 1:M 22 Apr 2023 19:41:13.540 * monotonic clock: POSIX clock_gettime
chat_all_the_docs_local_redis         | 1:M 22 Apr 2023 19:41:13.540 * Running mode=standalone, port=6379.
chat_all_the_docs_local_redis         | 1:M 22 Apr 2023 19:41:13.540 # Server initialized
chat_all_the_docs_local_redis         | 1:M 22 Apr 2023 19:41:13.540 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
chat_all_the_docs_local_redis         | 1:M 22 Apr 2023 19:41:13.541 * Loading RDB produced by version 6.2.12
chat_all_the_docs_local_redis         | 1:M 22 Apr 2023 19:41:13.541 * RDB age 16 seconds
chat_all_the_docs_local_redis         | 1:M 22 Apr 2023 19:41:13.541 * RDB memory usage when created 0.77 Mb
chat_all_the_docs_local_redis         | 1:M 22 Apr 2023 19:41:13.541 # Done loading RDB, keys loaded: 0, keys expired: 0.
chat_all_the_docs_local_redis         | 1:M 22 Apr 2023 19:41:13.541 * DB loaded from disk: 0.000 seconds
chat_all_the_docs_local_redis         | 1:M 22 Apr 2023 19:41:13.541 * Ready to accept connections
chat_all_the_docs_local_celerybeat    | PostgreSQL is available
chat_all_the_docs_local_celeryworker  | PostgreSQL is available
chat_all_the_docs_local_flower        | PostgreSQL is available
chat_all_the_docs_local_celerybeat    | [19:41:14] watchfiles v0.19.0 👀  path="/app" target="celery.main.main" (function) filter=DefaultFilter...
delphic_local_django                  | PostgreSQL is available
delphic_local_frontend                | /bin/sh: /usr/share/nginx/html/env.sh: not found
chat_all_the_docs_local_flower        | [19:41:15] watchfiles v0.19.0 👀  path="/app" target="celery.main.main" (function) filter=DefaultFilter...
delphic_local_frontend exited with code 127
chat_all_the_docs_local_celeryworker  | Traceback (most recent call last):
chat_all_the_docs_local_celeryworker  |   File "/usr/local/bin/celery", line 8, in
chat_all_the_docs_local_celeryworker  |     sys.exit(main())
chat_all_the_docs_local_celeryworker  |   File "/usr/local/lib/python3.10/site-packages/celery/main.py", line 15, in main
chat_all_the_docs_local_celeryworker  |     sys.exit(_main())
chat_all_the_docs_local_celeryworker  |   File "/usr/local/lib/python3.10/site-packages/celery/bin/celery.py", line 217, in main
chat_all_the_docs_local_celeryworker  |     return celery(auto_envvar_prefix="CELERY")
chat_all_the_docs_local_celeryworker  |   File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1130, in call
chat_all_the_docs_local_celeryworker  |     return self.main(*args, **kwargs)
chat_all_the_docs_local_celeryworker  |   File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1055, in main
chat_all_the_docs_local_celeryworker  |     rv = self.invoke(ctx)
chat_all_the_docs_local_celeryworker  |   File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1655, in invoke
chat_all_the_docs_local_celeryworker  |     sub_ctx = cmd.make_context(cmd_name, args, parent=ctx)
chat_all_the_docs_local_celeryworker  |   File "/usr/local/lib/python3.10/site-packages/click/core.py", line 920, in make_context
chat_all_the_docs_local_celeryworker  |     self.parse_args(ctx, args)
chat_all_the_docs_local_celeryworker  |   File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1378, in parse_args
chat_all_the_docs_local_celeryworker  |     value, args = param.handle_parse_result(ctx, opts, args)
chat_all_the_docs_local_celeryworker  |   File "/usr/local/lib/python3.10/site-packages/click/core.py", line 2360, in handle_parse_result
chat_all_the_docs_local_celeryworker  |     value = self.process_value(ctx, value)
chat_all_the_docs_local_celeryworker  |   File "/usr/local/lib/python3.10/site-packages/click/core.py", line 2322, in process_value
chat_all_the_docs_local_celeryworker  |     value = self.callback(ctx, self, value)
chat_all_the_docs_local_celeryworker  |   File "/usr/local/lib/python3.10/site-packages/celery/bin/worker.py", line 160, in
chat_all_the_docs_local_celeryworker  |     value: value or ctx.obj.app.conf.worker_state_db,
chat_all_the_docs_local_celeryworker  |   File "/usr/local/lib/python3.10/site-packages/celery/utils/collections.py", line 112, in getattr
chat_all_the_docs_local_celeryworker  |     return self[k]
chat_all_the_docs_local_celeryworker  |   File "/usr/local/lib/python3.10/site-packages/celery/utils/collections.py", line 392, in getitem
chat_all_the_docs_local_celeryworker  |     return getitem(k)
chat_all_the_docs_local_celeryworker  |   File "/usr/local/lib/python3.10/site-packages/celery/utils/collections.py", line 250, in getitem
chat_all_the_docs_local_celeryworker  |     return mapping[_key]
chat_all_the_docs_local_celeryworker  |   File "/usr/local/lib/python3.10/collections/init.py", line 1102, in getitem
chat_all_the_docs_local_celeryworker  |     if key in self.data:
chat_all_the_docs_local_celeryworker  |   File "/usr/local/lib/python3.10/site-packages/kombu/utils/objects.py", line 30, in get
chat_all_the_docs_local_celeryworker  |     return super().get(instance, owner)
chat_all_the_docs_local_celeryworker  |   File "/usr/local/lib/python3.10/functools.py", line 981, in get
chat_all_the_docs_local_celeryworker  |     val = self.func(instance)
chat_all_the_docs_local_celeryworker  |   File "/usr/local/lib/python3.10/site-packages/celery/app/base.py", line 138, in data
chat_all_the_docs_local_celeryworker  |     return self.callback()
chat_all_the_docs_local_celeryworker  |   File "/usr/local/lib/python3.10/site-packages/celery/app/base.py", line 967, in _finalize_pending_conf
chat_all_the_docs_local_celeryworker  |     conf = self._conf = self._load_config()
chat_all_the_docs_local_celeryworker  |   File "/usr/local/lib/python3.10/site-packages/celery/app/base.py", line 977, in _load_config
chat_all_the_docs_local_celeryworker  |     self.loader.config_from_object(self._config_source)
chat_all_the_docs_local_celeryworker  |   File "/usr/local/lib/python3.10/site-packages/celery/loaders/base.py", line 128, in config_from_object
chat_all_the_docs_local_celeryworker  |     self._conf = force_mapping(obj)
chat_all_the_docs_local_celeryworker  |   File "/usr/local/lib/python3.10/site-packages/celery/utils/collections.py", line 43, in force_mapping
chat_all_the_docs_local_celeryworker  |     if isinstance(m, (LazyObject, LazySettings)):
chat_all_the_docs_local_celeryworker  |   File "/usr/local/lib/python3.10/site-packages/django/utils/functional.py", line 295, in getattribute
chat_all_the_docs_local_celeryworker  |     value = super().getattribute(name)
chat_all_the_docs_local_celeryworker  |   File "/usr/local/lib/python3.10/site-packages/django/utils/functional.py", line 266, in inner
chat_all_the_docs_local_celeryworker  |     self._setup()
chat_all_the_docs_local_celeryworker  |   File "/usr/local/lib/python3.10/site-packages/django/conf/init.py", line 79, in _setup
chat_all_the_docs_local_celeryworker  |     self._wrapped = Settings(settings_module)
chat_all_the_docs_local_celeryworker  |   File "/usr/local/lib/python3.10/site-packages/django/conf/init.py", line 190, in init
chat_all_the_docs_local_celeryworker  |     mod = importlib.import_module(self.SETTINGS_MODULE)
chat_all_the_docs_local_celeryworker  |   File "/usr/local/lib/python3.10/importlib/init.py", line 126, in import_module
chat_all_the_docs_local_celeryworker  |     return _bootstrap._gcd_import(name[level:], package, level)
chat_all_the_docs_local_celeryworker  |   File "", line 1050, in _gcd_import
chat_all_the_docs_local_celeryworker  |   File "", line 1027, in _find_and_load
chat_all_the_docs_local_celeryworker  |   File "", line 1006, in _find_and_load_unlocked
chat_all_the_docs_local_celeryworker  |   File "", line 688, in _load_unlocked
chat_all_the_docs_local_celeryworker  |   File "", line 883, in exec_module
chat_all_the_docs_local_celeryworker  |   File "", line 241, in _call_with_frames_removed
chat_all_the_docs_local_celeryworker  |   File "/app/config/settings/local.py", line 1, in
chat_all_the_docs_local_celeryworker  |     from .base import *  # noqa
chat_all_the_docs_local_celeryworker  |   File "/app/config/settings/base.py", line 43, in
chat_all_the_docs_local_celeryworker  |     DATABASES = {"default": env.db("DATABASE_URL")}
chat_all_the_docs_local_celeryworker  |   File "/usr/local/lib/python3.10/site-packages/environ/environ.py", line 294, in db_url
chat_all_the_docs_local_celeryworker  |     return self.db_url_config(
chat_all_the_docs_local_celeryworker  |   File "/usr/local/lib/python3.10/site-packages/environ/environ.py", line 552, in db_url_config
chat_all_the_docs_local_celeryworker  |     port = url.port
chat_all_the_docs_local_celeryworker  |   File "/usr/local/lib/python3.10/urllib/parse.py", line 177, in port
chat_all_the_docs_local_celeryworker  |     raise ValueError(f"Port could not be cast to integer value as {port!r}")
chat_all_the_docs_local_celeryworker  | ValueError: Port could not be cast to integer value as '7Ff9A5JvzgJ9'
delphic_local_django                  | Traceback (most recent call last):
delphic_local_django                  |   File "/app/manage.py", line 31, in
delphic_local_django                  |     execute_from_command_line(sys.argv)
delphic_local_django                  |   File "/usr/local/lib/python3.10/site-packages/django/core/management/init.py", line 446, in execute_from_command_line
delphic_local_django                  |     utility.execute()
delphic_local_django                  |   File "/usr/local/lib/python3.10/site-packages/django/core/management/init.py", line 386, in execute
delphic_local_django                  |     settings.INSTALLED_APPS
delphic_local_django                  |   File "/usr/local/lib/python3.10/site-packages/django/conf/init.py", line 92, in getattr
delphic_local_django                  |     self._setup(name)
delphic_local_django                  |   File "/usr/local/lib/python3.10/site-packages/django/conf/init.py", line 79, in _setup
delphic_local_django                  |     self._wrapped = Settings(settings_module)
delphic_local_django                  |   File "/usr/local/lib/python3.10/site-packages/django/conf/init.py", line 190, in init
delphic_local_django                  |     mod = importlib.import_module(self.SETTINGS_MODULE)
delphic_local_django                  |   File "/usr/local/lib/python3.10/importlib/init.py", line 126, in import_module
delphic_local_django                  |     return _bootstrap._gcd_import(name[level:], package, level)
delphic_local_django                  |   File "", line 1050, in _gcd_import
delphic_local_django                  |   File "", line 1027, in _find_and_load
delphic_local_django                  |   File "", line 1006, in _find_and_load_unlocked
delphic_local_django                  |   File "", line 688, in _load_unlocked
delphic_local_django                  |   File "", line 883, in exec_module
delphic_local_django                  |   File "", line 241, in _call_with_frames_removed
delphic_local_django                  |   File "/app/config/settings/local.py", line 1, in
delphic_local_django                  |     from .base import *  # noqa
delphic_local_django                  |   File "/app/config/settings/base.py", line 43, in
delphic_local_django                  |     DATABASES = {"default": env.db("DATABASE_URL")}
delphic_local_django                  |   File "/usr/local/lib/python3.10/site-packages/environ/environ.py", line 294, in db_url
delphic_local_django                  |     return self.db_url_config(
delphic_local_django                  |   File "/usr/local/lib/python3.10/site-packages/environ/environ.py", line 552, in db_url_config
delphic_local_django                  |     port = url.port
delphic_local_django                  |   File "/usr/local/lib/python3.10/urllib/parse.py", line 177, in port
delphic_local_django                  |     raise ValueError(f"Port could not be cast to integer value as {port!r}")
delphic_local_django                  | ValueError: Port could not be cast to integer value as '7Ff9A5JvzgJ9'
chat_all_the_docs_local_celeryworker exited with code 1
chat_all_the_docs_local_celerybeat    | Process SpawnProcess-1:
chat_all_the_docs_local_celerybeat    | Traceback (most recent call last):
chat_all_the_docs_local_celerybeat    |   File "/usr/local/lib/python3.10/site-packages/watchfiles/run.py", line 394, in set_tty
chat_all_the_docs_local_celerybeat    |     with open(tty_path) as tty:  # pragma: no cover
chat_all_the_docs_local_celerybeat    | OSError: [Errno 6] No such device or address: '/dev/tty'
chat_all_the_docs_local_celerybeat    |
chat_all_the_docs_local_celerybeat    | During handling of the above exception, another exception occurred:
chat_all_the_docs_local_celerybeat    |
chat_all_the_docs_local_celerybeat    | Traceback (most recent call last):
chat_all_the_docs_local_celerybeat    |   File "/usr/local/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
chat_all_the_docs_local_celerybeat    |     self.run()
chat_all_the_docs_local_celerybeat    |   File "/usr/local/lib/python3.10/multiprocessing/process.py", line 108, in run
chat_all_the_docs_local_celerybeat    |     self._target(*self._args, **self._kwargs)
chat_all_the_docs_local_celerybeat    |   File "/usr/local/lib/python3.10/site-packages/watchfiles/run.py", line 354, in run_function
chat_all_the_docs_local_celerybeat    |     func(*args, **kwargs)
chat_all_the_docs_local_celerybeat    |   File "/usr/local/lib/python3.10/site-packages/celery/main.py", line 15, in main
chat_all_the_docs_local_celerybeat    |     sys.exit(_main())
chat_all_the_docs_local_celerybeat    |   File "/usr/local/lib/python3.10/site-packages/celery/bin/celery.py", line 217, in main
chat_all_the_docs_local_celerybeat    |     return celery(auto_envvar_prefix="CELERY")
chat_all_the_docs_local_celerybeat    |   File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1130, in call
chat_all_the_docs_local_celerybeat    |     return self.main(*args, **kwargs)
chat_all_the_docs_local_celerybeat    |   File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1055, in main
chat_all_the_docs_local_celerybeat    |     rv = self.invoke(ctx)
chat_all_the_docs_local_celerybeat    |   File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1655, in invoke
chat_all_the_docs_local_celerybeat    |     sub_ctx = cmd.make_context(cmd_name, args, parent=ctx)
chat_all_the_docs_local_celerybeat    |   File "/usr/local/lib/python3.10/site-packages/click/core.py", line 920, in make_context
chat_all_the_docs_local_celerybeat    |     self.parse_args(ctx, args)
chat_all_the_docs_local_celerybeat    |   File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1378, in parse_args
chat_all_the_docs_local_celerybeat    |     value, args = param.handle_parse_result(ctx, opts, args)
chat_all_the_docs_local_celerybeat    |   File "/usr/local/lib/python3.10/site-packages/click/core.py", line 2360, in handle_parse_result
chat_all_the_docs_local_celerybeat    |     value = self.process_value(ctx, value)
chat_all_the_docs_local_celerybeat    |   File "/usr/local/lib/python3.10/site-packages/click/core.py", line 2322, in process_value
chat_all_the_docs_local_celerybeat    |     value = self.callback(ctx, self, value)
chat_all_the_docs_local_celerybeat    |   File "/usr/local/lib/python3.10/site-packages/celery/bin/beat.py", line 23, in
chat_all_the_docs_local_celerybeat    |     callback=lambda ctx, _, value: value or ctx.obj.app.conf.beat_schedule_filename,
chat_all_the_docs_local_celerybeat    |   File "/usr/local/lib/python3.10/site-packages/celery/utils/collections.py", line 112, in getattr
chat_all_the_docs_local_celerybeat    |     return self[k]
chat_all_the_docs_local_celerybeat    |   File "/usr/local/lib/python3.10/site-packages/celery/utils/collections.py", line 392, in getitem
chat_all_the_docs_local_celerybeat    |     return getitem(k)
chat_all_the_docs_local_celerybeat    |   File "/usr/local/lib/python3.10/site-packages/celery/utils/collections.py", line 250, in getitem
chat_all_the_docs_local_celerybeat    |     return mapping[_key]
chat_all_the_docs_local_celerybeat    |   File "/usr/local/lib/python3.10/collections/init.py", line 1102, in getitem
chat_all_the_docs_local_celerybeat    |     if key in self.data:
chat_all_the_docs_local_celerybeat    |   File "/usr/local/lib/python3.10/site-packages/kombu/utils/objects.py", line 30, in get
chat_all_the_docs_local_celerybeat    |     return super().get(instance, owner)
chat_all_the_docs_local_celerybeat    |   File "/usr/local/lib/python3.10/functools.py", line 981, in get
chat_all_the_docs_local_celerybeat    |     val = self.func(instance)
chat_all_the_docs_local_celerybeat    |   File "/usr/local/lib/python3.10/site-packages/celery/app/base.py", line 138, in data
chat_all_the_docs_local_celerybeat    |     return self.callback()
chat_all_the_docs_local_celerybeat    |   File "/usr/local/lib/python3.10/site-packages/celery/app/base.py", line 967, in _finalize_pending_conf
chat_all_the_docs_local_celerybeat    |     conf = self._conf = self._load_config()
chat_all_the_docs_local_celerybeat    |   File "/usr/local/lib/python3.10/site-packages/celery/app/base.py", line 977, in _load_config
chat_all_the_docs_local_celerybeat    |     self.loader.config_from_object(self._config_source)
chat_all_the_docs_local_celerybeat    |   File "/usr/local/lib/python3.10/site-packages/celery/loaders/base.py", line 128, in config_from_object
chat_all_the_docs_local_celerybeat    |     self._conf = force_mapping(obj)
chat_all_the_docs_local_celerybeat    |   File "/usr/local/lib/python3.10/site-packages/celery/utils/collections.py", line 43, in force_mapping
chat_all_the_docs_local_celerybeat    |     if isinstance(m, (LazyObject, LazySettings)):
chat_all_the_docs_local_celerybeat    |   File "/usr/local/lib/python3.10/site-packages/django/utils/functional.py", line 295, in getattribute
chat_all_the_docs_local_celerybeat    |     value = super().getattribute(name)
chat_all_the_docs_local_celerybeat    |   File "/usr/local/lib/python3.10/site-packages/django/utils/functional.py", line 266, in inner
chat_all_the_docs_local_celerybeat    |     self._setup()
chat_all_the_docs_local_celerybeat    |   File "/usr/local/lib/python3.10/site-packages/django/conf/init.py", line 79, in _setup
chat_all_the_docs_local_celerybeat    |     self._wrapped = Settings(settings_module)
chat_all_the_docs_local_celerybeat    |   File "/usr/local/lib/python3.10/site-packages/django/conf/init.py", line 190, in init
chat_all_the_docs_local_celerybeat    |     mod = importlib.import_module(self.SETTINGS_MODULE)
chat_all_the_docs_local_celerybeat    |   File "/usr/local/lib/python3.10/importlib/init.py", line 126, in import_module
chat_all_the_docs_local_celerybeat    |     return _bootstrap._gcd_import(name[level:], package, level)
chat_all_the_docs_local_celerybeat    |   File "", line 1050, in _gcd_import
chat_all_the_docs_local_celerybeat    |   File "", line 1027, in _find_and_load
chat_all_the_docs_local_celerybeat    |   File "", line 1006, in _find_and_load_unlocked
chat_all_the_docs_local_celerybeat    |   File "", line 688, in _load_unlocked
chat_all_the_docs_local_celerybeat    |   File "", line 883, in exec_module
chat_all_the_docs_local_celerybeat    |   File "", line 241, in _call_with_frames_removed
chat_all_the_docs_local_celerybeat    |   File "/app/config/settings/local.py", line 1, in
chat_all_the_docs_local_celerybeat    |     from .base import *  # noqa
chat_all_the_docs_local_celerybeat    |   File "/app/config/settings/base.py", line 43, in
chat_all_the_docs_local_celerybeat    |     DATABASES = {"default": env.db("DATABASE_URL")}
chat_all_the_docs_local_celerybeat    |   File "/usr/local/lib/python3.10/site-packages/environ/environ.py", line 294, in db_url
chat_all_the_docs_local_celerybeat    |     return self.db_url_config(
chat_all_the_docs_local_celerybeat    |   File "/usr/local/lib/python3.10/site-packages/environ/environ.py", line 552, in db_url_config
chat_all_the_docs_local_celerybeat    |     port = url.port
chat_all_the_docs_local_celerybeat    |   File "/usr/local/lib/python3.10/urllib/parse.py", line 177, in port
chat_all_the_docs_local_celerybeat    |     raise ValueError(f"Port could not be cast to integer value as {port!r}")
chat_all_the_docs_local_celerybeat    | ValueError: Port could not be cast to integer value as '7Ff9A5JvzgJ9'
delphic_local_django exited with code 1
chat_all_the_docs_local_flower        | [E 230422 19:41:17 signal:280] Signal handler <bound method DjangoFixup.on_import_modules of <celery.fixups.django.DjangoFixup object at 0x7f544c176b60>> raised: ValueError("Port could not be cast to integer value as '7Ff9A5JvzgJ9'")
chat_all_the_docs_local_flower        |     Traceback (most recent call last):
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/site-packages/celery/utils/dispatch/signal.py", line 276, in send
chat_all_the_docs_local_flower        |         response = receiver(signal=self, sender=sender, **named)
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/site-packages/celery/fixups/django.py", line 82, in on_import_modules
chat_all_the_docs_local_flower        |         self.worker_fixup.validate_models()
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/site-packages/celery/fixups/django.py", line 73, in worker_fixup
chat_all_the_docs_local_flower        |         self._worker_fixup = DjangoWorkerFixup(self.app)
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/site-packages/celery/fixups/django.py", line 104, in init
chat_all_the_docs_local_flower        |         self.db_reuse_max = self.app.conf.get('CELERY_DB_REUSE_MAX', None)
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/site-packages/celery/utils/collections.py", line 415, in get
chat_all_the_docs_local_flower        |         return self[key]
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/site-packages/celery/utils/collections.py", line 392, in getitem
chat_all_the_docs_local_flower        |         return getitem(k)
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/site-packages/celery/utils/collections.py", line 250, in getitem
chat_all_the_docs_local_flower        |         return mapping[_key]
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/collections/init.py", line 1102, in getitem
chat_all_the_docs_local_flower        |         if key in self.data:
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/site-packages/kombu/utils/objects.py", line 30, in get
chat_all_the_docs_local_flower        |         return super().get(instance, owner)
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/functools.py", line 981, in get
chat_all_the_docs_local_flower        |         val = self.func(instance)
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/site-packages/celery/app/base.py", line 138, in data
chat_all_the_docs_local_flower        |         return self.callback()
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/site-packages/celery/app/base.py", line 967, in _finalize_pending_conf
chat_all_the_docs_local_flower        |         conf = self._conf = self._load_config()
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/site-packages/celery/app/base.py", line 977, in _load_config
chat_all_the_docs_local_flower        |         self.loader.config_from_object(self._config_source)
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/site-packages/celery/loaders/base.py", line 128, in config_from_object
chat_all_the_docs_local_flower        |         self._conf = force_mapping(obj)
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/site-packages/celery/utils/collections.py", line 43, in force_mapping
chat_all_the_docs_local_flower        |         if isinstance(m, (LazyObject, LazySettings)):
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/site-packages/django/utils/functional.py", line 295, in getattribute
chat_all_the_docs_local_flower        |         value = super().getattribute(name)
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/site-packages/django/utils/functional.py", line 266, in inner
chat_all_the_docs_local_flower        |         self._setup()
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/site-packages/django/conf/init.py", line 79, in _setup
chat_all_the_docs_local_flower        |         self._wrapped = Settings(settings_module)
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/site-packages/django/conf/init.py", line 190, in init
chat_all_the_docs_local_flower        |         mod = importlib.import_module(self.SETTINGS_MODULE)
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/importlib/init.py", line 126, in import_module
chat_all_the_docs_local_flower        |         return _bootstrap._gcd_import(name[level:], package, level)
chat_all_the_docs_local_flower        |       File "", line 1050, in _gcd_import
chat_all_the_docs_local_flower        |       File "", line 1027, in _find_and_load
chat_all_the_docs_local_flower        |       File "", line 1006, in _find_and_load_unlocked
chat_all_the_docs_local_flower        |       File "", line 688, in _load_unlocked
chat_all_the_docs_local_flower        |       File "", line 883, in exec_module
chat_all_the_docs_local_flower        |       File "", line 241, in _call_with_frames_removed
chat_all_the_docs_local_flower        |       File "/app/config/settings/local.py", line 1, in
chat_all_the_docs_local_flower        |         from .base import *  # noqa
chat_all_the_docs_local_flower        |       File "/app/config/settings/base.py", line 43, in
chat_all_the_docs_local_flower        |         DATABASES = {"default": env.db("DATABASE_URL")}
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/site-packages/environ/environ.py", line 294, in db_url
chat_all_the_docs_local_flower        |         return self.db_url_config(
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/site-packages/environ/environ.py", line 552, in db_url_config
chat_all_the_docs_local_flower        |         port = url.port
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/urllib/parse.py", line 177, in port
chat_all_the_docs_local_flower        |         raise ValueError(f"Port could not be cast to integer value as {port!r}")
chat_all_the_docs_local_flower        |     ValueError: Port could not be cast to integer value as '7Ff9A5JvzgJ9'
chat_all_the_docs_local_flower        | [E 230422 19:41:17 signal:280] Signal handler <promise@0x7f544c09c160 --> <bound method Celery._autodiscover_tasks of <Celery delphic at 0x7f544c176950>>> raised: ValueError("Port could not be cast to integer value as '7Ff9A5JvzgJ9'")
chat_all_the_docs_local_flower        |     Traceback (most recent call last):
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/site-packages/celery/utils/dispatch/signal.py", line 276, in send
chat_all_the_docs_local_flower        |         response = receiver(signal=self, sender=sender, **named)
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/site-packages/vine/promises.py", line 160, in call
chat_all_the_docs_local_flower        |         return self.throw()
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/site-packages/vine/promises.py", line 157, in call
chat_all_the_docs_local_flower        |         retval = fun(*final_args, **final_kwargs)
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/site-packages/celery/app/base.py", line 689, in _autodiscover_tasks
chat_all_the_docs_local_flower        |         return self._autodiscover_tasks_from_fixups(related_name)
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/site-packages/celery/app/base.py", line 698, in _autodiscover_tasks_from_fixups
chat_all_the_docs_local_flower        |         return self._autodiscover_tasks_from_names([
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/site-packages/celery/app/base.py", line 701, in
chat_all_the_docs_local_flower        |         for pkg in fixup.autodiscover_tasks()
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/site-packages/celery/fixups/django.py", line 92, in autodiscover_tasks
chat_all_the_docs_local_flower        |         return [config.name for config in apps.get_app_configs()]
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/site-packages/django/apps/registry.py", line 147, in get_app_configs
chat_all_the_docs_local_flower        |         self.check_apps_ready()
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/site-packages/django/apps/registry.py", line 137, in check_apps_ready
chat_all_the_docs_local_flower        |         settings.INSTALLED_APPS
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/site-packages/django/conf/init.py", line 92, in getattr
chat_all_the_docs_local_flower        |         self._setup(name)
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/site-packages/django/conf/init.py", line 79, in _setup
chat_all_the_docs_local_flower        |         self._wrapped = Settings(settings_module)
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/site-packages/django/conf/init.py", line 190, in init
chat_all_the_docs_local_flower        |         mod = importlib.import_module(self.SETTINGS_MODULE)
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/importlib/init.py", line 126, in import_module
chat_all_the_docs_local_flower        |         return _bootstrap._gcd_import(name[level:], package, level)
chat_all_the_docs_local_flower        |       File "", line 1050, in _gcd_import
chat_all_the_docs_local_flower        |       File "", line 1027, in _find_and_load
chat_all_the_docs_local_flower        |       File "", line 1006, in _find_and_load_unlocked
chat_all_the_docs_local_flower        |       File "", line 688, in _load_unlocked
chat_all_the_docs_local_flower        |       File "", line 883, in exec_module
chat_all_the_docs_local_flower        |       File "", line 241, in _call_with_frames_removed
chat_all_the_docs_local_flower        |       File "/app/config/settings/local.py", line 1, in
chat_all_the_docs_local_flower        |         from .base import *  # noqa
chat_all_the_docs_local_flower        |       File "/app/config/settings/base.py", line 43, in
chat_all_the_docs_local_flower        |         DATABASES = {"default": env.db("DATABASE_URL")}
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/site-packages/environ/environ.py", line 294, in db_url
chat_all_the_docs_local_flower        |         return self.db_url_config(
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/site-packages/environ/environ.py", line 552, in db_url_config
chat_all_the_docs_local_flower        |         port = url.port
chat_all_the_docs_local_flower        |       File "/usr/local/lib/python3.10/urllib/parse.py", line 177, in port
chat_all_the_docs_local_flower        |         raise ValueError(f"Port could not be cast to integer value as {port!r}")
chat_all_the_docs_local_flower        |     ValueError: Port could not be cast to integer value as '7Ff9A5JvzgJ9'
chat_all_the_docs_local_flower        | Process SpawnProcess-1:
chat_all_the_docs_local_flower        | Traceback (most recent call last):
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/site-packages/watchfiles/run.py", line 394, in set_tty
chat_all_the_docs_local_flower        |     with open(tty_path) as tty:  # pragma: no cover
chat_all_the_docs_local_flower        | OSError: [Errno 6] No such device or address: '/dev/tty'
chat_all_the_docs_local_flower        |
chat_all_the_docs_local_flower        | During handling of the above exception, another exception occurred:
chat_all_the_docs_local_flower        |
chat_all_the_docs_local_flower        | Traceback (most recent call last):
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
chat_all_the_docs_local_flower        |     self.run()
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/multiprocessing/process.py", line 108, in run
chat_all_the_docs_local_flower        |     self._target(*self._args, **self._kwargs)
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/site-packages/watchfiles/run.py", line 354, in run_function
chat_all_the_docs_local_flower        |     func(*args, **kwargs)
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/site-packages/celery/main.py", line 15, in main
chat_all_the_docs_local_flower        |     sys.exit(_main())
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/site-packages/celery/bin/celery.py", line 217, in main
chat_all_the_docs_local_flower        |     return celery(auto_envvar_prefix="CELERY")
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1130, in call
chat_all_the_docs_local_flower        |     return self.main(*args, **kwargs)
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1055, in main
chat_all_the_docs_local_flower        |     rv = self.invoke(ctx)
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
chat_all_the_docs_local_flower        |     return _process_result(sub_ctx.command.invoke(sub_ctx))
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
chat_all_the_docs_local_flower        |     return ctx.invoke(self.callback, **ctx.params)
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/site-packages/click/core.py", line 760, in invoke
chat_all_the_docs_local_flower        |     return __callback(*args, **kwargs)
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/site-packages/click/decorators.py", line 26, in new_func
chat_all_the_docs_local_flower        |     return f(get_current_context(), *args, **kwargs)
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/site-packages/flower/command.py", line 43, in flower
chat_all_the_docs_local_flower        |     flower = Flower(capp=app, options=options, **settings)
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/site-packages/flower/app.py", line 55, in init
chat_all_the_docs_local_flower        |     self.capp.loader.import_default_modules()
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/site-packages/celery/loaders/base.py", line 105, in import_default_modules
chat_all_the_docs_local_flower        |     raise response
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/site-packages/celery/utils/dispatch/signal.py", line 276, in send
chat_all_the_docs_local_flower        |     response = receiver(signal=self, sender=sender, **named)
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/site-packages/celery/fixups/django.py", line 82, in on_import_modules
chat_all_the_docs_local_flower        |     self.worker_fixup.validate_models()
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/site-packages/celery/fixups/django.py", line 73, in worker_fixup
chat_all_the_docs_local_flower        |     self._worker_fixup = DjangoWorkerFixup(self.app)
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/site-packages/celery/fixups/django.py", line 104, in init
chat_all_the_docs_local_flower        |     self.db_reuse_max = self.app.conf.get('CELERY_DB_REUSE_MAX', None)
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/site-packages/celery/utils/collections.py", line 415, in get
chat_all_the_docs_local_flower        |     return self[key]
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/site-packages/celery/utils/collections.py", line 392, in getitem
chat_all_the_docs_local_flower        |     return getitem(k)
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/site-packages/celery/utils/collections.py", line 250, in getitem
chat_all_the_docs_local_flower        |     return mapping[_key]
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/collections/init.py", line 1102, in getitem
chat_all_the_docs_local_flower        |     if key in self.data:
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/site-packages/kombu/utils/objects.py", line 30, in get
chat_all_the_docs_local_flower        |     return super().get(instance, owner)
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/functools.py", line 981, in get
chat_all_the_docs_local_flower        |     val = self.func(instance)
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/site-packages/celery/app/base.py", line 138, in data
chat_all_the_docs_local_flower        |     return self.callback()
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/site-packages/celery/app/base.py", line 967, in _finalize_pending_conf
chat_all_the_docs_local_flower        |     conf = self._conf = self._load_config()
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/site-packages/celery/app/base.py", line 977, in _load_config
chat_all_the_docs_local_flower        |     self.loader.config_from_object(self._config_source)
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/site-packages/celery/loaders/base.py", line 128, in config_from_object
chat_all_the_docs_local_flower        |     self._conf = force_mapping(obj)
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/site-packages/celery/utils/collections.py", line 43, in force_mapping
chat_all_the_docs_local_flower        |     if isinstance(m, (LazyObject, LazySettings)):
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/site-packages/django/utils/functional.py", line 295, in getattribute
chat_all_the_docs_local_flower        |     value = super().getattribute(name)
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/site-packages/django/utils/functional.py", line 266, in inner
chat_all_the_docs_local_flower        |     self._setup()
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/site-packages/django/conf/init.py", line 79, in _setup
chat_all_the_docs_local_flower        |     self._wrapped = Settings(settings_module)
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/site-packages/django/conf/init.py", line 190, in init
chat_all_the_docs_local_flower        |     mod = importlib.import_module(self.SETTINGS_MODULE)
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/importlib/init.py", line 126, in import_module
chat_all_the_docs_local_flower        |     return _bootstrap._gcd_import(name[level:], package, level)
chat_all_the_docs_local_flower        |   File "", line 1050, in _gcd_import
chat_all_the_docs_local_flower        |   File "", line 1027, in _find_and_load
chat_all_the_docs_local_flower        |   File "", line 1006, in _find_and_load_unlocked
chat_all_the_docs_local_flower        |   File "", line 688, in _load_unlocked
chat_all_the_docs_local_flower        |   File "", line 883, in exec_module
chat_all_the_docs_local_flower        |   File "", line 241, in _call_with_frames_removed
chat_all_the_docs_local_flower        |   File "/app/config/settings/local.py", line 1, in
chat_all_the_docs_local_flower        |     from .base import *  # noqa
chat_all_the_docs_local_flower        |   File "/app/config/settings/base.py", line 43, in
chat_all_the_docs_local_flower        |     DATABASES = {"default": env.db("DATABASE_URL")}
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/site-packages/environ/environ.py", line 294, in db_url
chat_all_the_docs_local_flower        |     return self.db_url_config(
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/site-packages/environ/environ.py", line 552, in db_url_config
chat_all_the_docs_local_flower        |     port = url.port
chat_all_the_docs_local_flower        |   File "/usr/local/lib/python3.10/urllib/parse.py", line 177, in port
chat_all_the_docs_local_flower        |     raise ValueError(f"Port could not be cast to integer value as {port!r}")
chat_all_the_docs_local_flower        | ValueError: Port could not be cast to integer value as '7Ff9A5JvzgJ9'
I've placed the .drango and .postgress files in .envs/.local:

and input my openai api key (censored):

and the .frontend in /frontend

Thanks in advance for any help / suggestions

Hey @nahojjjen, glad you like the project and thanks for giving it a shot. I noticed that the error message appears to be related to the container attempting to start with a port of "7Ff9A5JvzgJ9". Possibly something in your docker compose file or Dockerfiles got changed?
Have you modified any of the docker-compose or docker files? Can you share those?

I have not knowingly changed any of the docker-compose or docker files. My git status shows only changes in .envs/.local/ and frontend/.frontend :

I'm not sure which docker files are relevant, so here's a copy of the entire project (minus the .git folder & removed my openai key):
delphic_copy.zip

Having issues installing as well - followed the instructions to a T.

Hey @adhd, I suspect this is also a docker configuration issue or perhaps a VPN or firewall. What is your system env? Is this a work machine (with VPN, endpoint protection, etc,)?
Check out some tips on troubleshooting your Docker setup here: https://stackoverflow.com/questions/66912085/why-is-docker-compose-failing-with-error-internal-load-metadata-suddenly
If that fails, it seems it could be related to your docker settings - see here: https://github.com/docker/buildx/issues/426
Let me know if any of these work for you.

@JSv4 appreciate the quick reply on this! I ended up trying again on a personal machine (macOS, up to date, fresh install of Docker). Pulled all the required image, and attempted to run sudo docker-compose -f local.yml run django python manage.py createsuperuser to attempt making a superuser. It successfully prompts me for a username, but when I hit enter, I get the following error message. I've tried a little soft troubleshooting on my end, to no avail. Any suggestions for a fix (re: settings.DATABASES)
~/Documents/delphic ⇢  main !
❯ sudo docker-compose -f local.yml run django python manage.py createsuperuser                                                                                130 ↵
[+] Running 2/2
✔ Container delphic_local_redis     Created                                                                                0.0s
✔ Container delphic_local_postgres  Recreated                                                                                0.1s
[+] Running 2/2
✔ Container delphic_local_redis     Started                                                                                0.3s
✔ Container delphic_local_postgres  Started                                                                                0.3s
PostgreSQL is available
APPS DIR: /app/delphic
INFO 2023-04-24 21:43:32,858 utils 1<PHONE_NUMBER>55904 NumExpr defaulting to 4 threads.
Username: admin
Traceback (most recent call last):
File "/app/manage.py", line 31, in
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.10/site-packages/django/core/management/init.py", line 446, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.10/site-packages/django/core/management/init.py", line 440, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python3.10/site-packages/django/core/management/base.py", line 402, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/local/lib/python3.10/site-packages/django/contrib/auth/management/commands/createsuperuser.py", line 88, in execute
return super().execute(*args, **options)
File "/usr/local/lib/python3.10/site-packages/django/core/management/base.py", line 448, in execute
output = self.handle(*args, options)
File "/usr/local/lib/python3.10/site-packages/django/contrib/auth/management/commands/createsuperuser.py", line 130, in handle
error_msg = self._validate_username(
File "/usr/local/lib/python3.10/site-packages/django/contrib/auth/management/commands/createsuperuser.py", line 297, in _validate_username
self.UserModel._default_manager.db_manager(database).get_by_natural_key(
File "/usr/local/lib/python3.10/site-packages/django/contrib/auth/base_user.py", line 47, in get_by_natural_key
return self.get({self.model.USERNAME_FIELD: username})
File "/usr/local/lib/python3.10/site-packages/django/db/models/manager.py", line 85, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/django/db/models/query.py", line 646, in get
num = len(clone)
File "/usr/local/lib/python3.10/site-packages/django/db/models/query.py", line 376, in len
self._fetch_all()
File "/usr/local/lib/python3.10/site-packages/django/db/models/query.py", line 1867, in _fetch_all
self._result_cache = list(self._iterable_class(self))
File "/usr/local/lib/python3.10/site-packages/django/db/models/query.py", line 87, in iter
results = compiler.execute_sql(
File "/usr/local/lib/python3.10/site-packages/django/db/models/sql/compiler.py", line 1396, in execute_sql
cursor = self.connection.cursor()
File "/usr/local/lib/python3.10/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/django/db/backends/base/base.py", line 323, in cursor
return self._cursor()
File "/usr/local/lib/python3.10/site-packages/django/db/backends/base/base.py", line 299, in _cursor
self.ensure_connection()
File "/usr/local/lib/python3.10/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/django/db/backends/base/base.py", line 282, in ensure_connection
self.connect()
File "/usr/local/lib/python3.10/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/django/db/backends/base/base.py", line 262, in connect
conn_params = self.get_connection_params()
File "/usr/local/lib/python3.10/site-packages/django/db/backends/postgresql/base.py", line 174, in get_connection_params
raise ImproperlyConfigured(
django.core.exceptions.ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the NAME or OPTIONS['service'] value.

Thanks. What system environment are you in (Ubuntu?) Also, can you share the .postgres file in your .envs/.local/ directory?

I had same issue and found a solution. If you're on Windows, you need to change the line ending format of frontend/env.sh from CRLF to LF. Github will keep auto reformatting it into CRLF so you may need to change your Github settings or disconnect your project from git.

Thanks, @MatthewKbaum. Really appreciate that. @adhd, are you running in WSL or somehow in a Windows env?

macOS @JSv4

Thanks @adhd. I am on Ubuntu, so a bit hard to fully troubleshoot on my end, but I have some thoughts. Can you also share your ./config/settings/base.py and ./config/settings/local.py files?

./config/settings/base.py
"""
Base settings to build other settings files upon.
"""
from pathlib import Path
import environ
BASE_DIR = Path(file).resolve(strict=True).parent.parent.parent
delphic/
APPS_DIR = BASE_DIR / "delphic"
env = environ.Env()
READ_DOT_ENV_FILE = env.bool("DJANGO_READ_DOT_ENV_FILE", default=False)
if READ_DOT_ENV_FILE:
# OS environment variables take precedence over variables from .env
env.read_env(str(BASE_DIR / ".env"))
GENERAL
------------------------------------------------------------------------------
USE_AWS = env.bool("USE_AWS", False)
https://docs.djangoproject.com/en/dev/ref/settings/#debug
DEBUG = env.bool("DJANGO_DEBUG", False)
Local time zone. Choices are
http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
though not all of them may be available with every OS.
In Windows, this must be set to your system time zone.
TIME_ZONE = "UTC"
https://docs.djangoproject.com/en/dev/ref/settings/#language-code
LANGUAGE_CODE = "en-us"
https://docs.djangoproject.com/en/dev/ref/settings/#site-id
SITE_ID = 1
https://docs.djangoproject.com/en/dev/ref/settings/#use-i18n
USE_I18N = True
https://docs.djangoproject.com/en/dev/ref/settings/#use-tz
USE_TZ = True
https://docs.djangoproject.com/en/dev/ref/settings/#locale-paths
LOCALE_PATHS = [str(BASE_DIR / "locale")]
DATABASES
------------------------------------------------------------------------------
https://docs.djangoproject.com/en/dev/ref/settings/#databases
DATABASES = {"default": env.db("DATABASE_URL")}
https://docs.djangoproject.com/en/stable/ref/settings/#std:setting-DEFAULT_AUTO_FIELD
DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"
URLS
------------------------------------------------------------------------------
https://docs.djangoproject.com/en/dev/ref/settings/#root-urlconf
ROOT_URLCONF = "config.urls"
https://docs.djangoproject.com/en/dev/ref/settings/#wsgi-application
WSGI_APPLICATION = "config.wsgi.application"
APPS
------------------------------------------------------------------------------
DJANGO_APPS = [
"django.contrib.auth",
"django.contrib.contenttypes",
"django.contrib.sessions",
"django.contrib.sites",
"django.contrib.messages",
"django.contrib.staticfiles",
# "django.contrib.humanize", # Handy template tags
"django.contrib.admin",
"django.forms",
]
THIRD_PARTY_APPS = [
"channels",
"ninja",
"ninja_extra",
"corsheaders",
"django_celery_beat",
"rest_framework",
"rest_framework_api_key",
]
LOCAL_APPS = [
"delphic.indexes",
"delphic.users",
]
https://docs.djangoproject.com/en/dev/ref/settings/#installed-apps
INSTALLED_APPS = DJANGO_APPS + THIRD_PARTY_APPS + LOCAL_APPS
MIGRATIONS
------------------------------------------------------------------------------
https://docs.djangoproject.com/en/dev/ref/settings/#migration-modules
MIGRATION_MODULES = {"sites": "delphic.contrib.sites.migrations"}
AUTHENTICATION
------------------------------------------------------------------------------
https://docs.djangoproject.com/en/dev/ref/settings/#authentication-backends
AUTHENTICATION_BACKENDS = [
"django.contrib.auth.backends.ModelBackend",
]
https://docs.djangoproject.com/en/dev/ref/settings/#auth-user-model
AUTH_USER_MODEL = "users.User"
https://docs.djangoproject.com/en/dev/ref/settings/#login-redirect-url
LOGIN_REDIRECT_URL = "users:redirect"
https://docs.djangoproject.com/en/dev/ref/settings/#login-url
LOGIN_URL = "account_login"
PASSWORDS
------------------------------------------------------------------------------
https://docs.djangoproject.com/en/dev/ref/settings/#password-hashers
PASSWORD_HASHERS = [
# https://docs.djangoproject.com/en/dev/topics/auth/passwords/#using-argon2-with-django
"django.contrib.auth.hashers.Argon2PasswordHasher",
"django.contrib.auth.hashers.PBKDF2PasswordHasher",
"django.contrib.auth.hashers.PBKDF2SHA1PasswordHasher",
"django.contrib.auth.hashers.BCryptSHA256PasswordHasher",
]
https://docs.djangoproject.com/en/dev/ref/settings/#auth-password-validators
AUTH_PASSWORD_VALIDATORS = [
{
"NAME": "django.contrib.auth.password_validation.UserAttributeSimilarityValidator"
},
{"NAME": "django.contrib.auth.password_validation.MinimumLengthValidator"},
{"NAME": "django.contrib.auth.password_validation.CommonPasswordValidator"},
{"NAME": "django.contrib.auth.password_validation.NumericPasswordValidator"},
]
MIDDLEWARE
------------------------------------------------------------------------------
https://docs.djangoproject.com/en/dev/ref/settings/#middleware
MIDDLEWARE = [
"corsheaders.middleware.CorsMiddleware",
"django.middleware.security.SecurityMiddleware",
"django.contrib.sessions.middleware.SessionMiddleware",
"django.middleware.locale.LocaleMiddleware",
"django.middleware.common.CommonMiddleware",
"django.middleware.csrf.CsrfViewMiddleware",
"django.contrib.auth.middleware.AuthenticationMiddleware",
"django.contrib.messages.middleware.MessageMiddleware",
"django.middleware.clickjacking.XFrameOptionsMiddleware",
]
STATIC
------------------------------------------------------------------------------
https://docs.djangoproject.com/en/dev/ref/settings/#static-root
STATIC_ROOT = str(BASE_DIR / "staticfiles")
https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/#std:setting-STATICFILES_DIRS
STATICFILES_DIRS = [str(APPS_DIR / "static")]
https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/#staticfiles-finders
STATICFILES_FINDERS = [
"django.contrib.staticfiles.finders.FileSystemFinder",
"django.contrib.staticfiles.finders.AppDirectoriesFinder",
]
./config/settings/local.py
from .base import *  # noqa
from .base import env
GENERAL
------------------------------------------------------------------------------
https://docs.djangoproject.com/en/dev/ref/settings/#debug
DEBUG = True
https://docs.djangoproject.com/en/dev/ref/settings/#secret-key
SECRET_KEY = env(
"DJANGO_SECRET_KEY",
default="pWahScrbZQLSKugZCroNzqo9MxfR0X1VFnykITFJmz6wjuoWcZXk176xr6rQLSsg",
)
https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts
ALLOWED_HOSTS = ["localhost", "localhost:8000", "<IP_ADDRESS>", "<IP_ADDRESS>"]
CACHES
------------------------------------------------------------------------------
https://docs.djangoproject.com/en/dev/ref/settings/#caches
CACHES = {
"default": {
"BACKEND": "django.core.cache.backends.locmem.LocMemCache",
"LOCATION": "",
}
}
EMAIL
------------------------------------------------------------------------------
https://docs.djangoproject.com/en/dev/ref/settings/#email-backend
EMAIL_BACKEND = env(
"DJANGO_EMAIL_BACKEND", default="django.core.mail.backends.console.EmailBackend"
)
django-debug-toolbar
------------------------------------------------------------------------------
https://django-debug-toolbar.readthedocs.io/en/latest/installation.html#prerequisites
INSTALLED_APPS += ["debug_toolbar"]  # noqa: F405
https://django-debug-toolbar.readthedocs.io/en/latest/installation.html#middleware
MIDDLEWARE += ["debug_toolbar.middleware.DebugToolbarMiddleware"]  # noqa: F405
https://django-debug-toolbar.readthedocs.io/en/latest/configuration.html#debug-toolbar-config
DEBUG_TOOLBAR_CONFIG = {
"DISABLE_PANELS": ["debug_toolbar.panels.redirects.RedirectsPanel"],
"SHOW_TEMPLATE_CONTEXT": True,
}
https://django-debug-toolbar.readthedocs.io/en/latest/installation.html#internal-ips
INTERNAL_IPS = ["<IP_ADDRESS>", "<IP_ADDRESS>"]
if env("USE_DOCKER") == "yes":
import socket
hostname, _, ips = socket.gethostbyname_ex(socket.gethostname())
INTERNAL_IPS += [".".join(ip.split(".")[:-1] + ["1"]) for ip in ips]

django-extensions
------------------------------------------------------------------------------
https://django-extensions.readthedocs.io/en/latest/installation_instructions.html#configuration
INSTALLED_APPS += ["django_extensions"]  # noqa: F405
Celery
------------------------------------------------------------------------------
https://docs.celeryq.dev/en/stable/userguide/configuration.html#task-eager-propagates
CELERY_TASK_EAGER_PROPAGATES = True
CORS (Dev Only)
------------------------------------------------------------------------------
CORS_ALLOW_ALL_ORIGINS = True
@JSv4

Did you change the postgres settings before or after you set up the application the first time? If it was after, then the database password and user are set to the old password. Try deleting and then rebuilding the stack (This will clear your database entirely):
sudo docker-compose -f local.yml down --volumes
sudo docker-compose -f local.yml build
sudo docker-compose -f local.yml up

If that's not it, really not sure what's up here.


optimization/converters/integer_to_binary.py: OverflowError: cannot convert float infinity to integer

Information

Qiskit Aqua version: 0.7.3
Python version: 3.8.2
Operating system: macOS Catalina

What is the current behavior?
I get the following error when converting a MIP to QUBO:
  File "xxx/.pyenv/versions/3.8.2/lib/python3.8/site-packages/qiskit/optimization/converters/integer_to_binary.py", line 114, in _encode_var
    power = int(np.log2(var_range))

OverflowError: cannot convert float infinity to integer

Steps to reproduce the problem
The InequalityToEquality() converter creates slack variables with same upperbund and lowerbound (both zero). This results in     _encode_var() function crashing at following line as var_range equals zero.
power = int(np.log2(var_range))
This can be reproduced by trying to encode a least or equal constraint with all positive coefficients in LHS and zero in RHS, e.g. x[1] + x[2] <= 0, which can naturally happen in automatically converting large problems. This can be safely encoded as x[1] + x[2] = 0 without slack variables.
What is the expected behavior?
The expected behaviour is not to create such slack variables at first place.
Suggested solutions
This should be fixed at two places.

The InequalityToEquality() converter should not create slack variables if both upperbound and lowerbound are same.
The IntegerToBinary() converter should check the var_range before trying to implement binary encoding.

Thank you for reporting the error. We will add a check of var_range.


opentofu: plugins not found due to missing registry override

Describe the bug
opentofu.withPlugins still fails to override registry.terraform.io to registry.opentofu.org.
as a result of this, it will fail to find used plugins, searching in a nix store path containing registry.terraform.io rather than registry.opentofu.org.
Steps To Reproduce
Steps to reproduce the behavior:

use opentofu.withPlugins

use a plugin in a .tf, e.g.:
terraform {
  required_providers {
    nomad = {
      source = "hashicorp/nomad"
    }
  }
}

provider "nomad" {
  address = "http://<IP_ADDRESS>:4646"
}

run tofu init

find error not unlike:
│ Error: Failed to query available provider packages
│
│ Could not retrieve the list of available versions for provider hashicorp/nomad: provider registry.opentofu.org/hashicorp/nomad was not found in any of
│ the search locations
│
│   - /nix/store/gaybr4b1wqlkfyppd0bnb0qwszki3az5-opentofu-1.6.0-rc1/libexec/terraform-providers

Expected behavior
plugins work using opentofu as well
Screenshots

Additional context

note this technically applies to both withPlugins as well as its derivatives like full and passthru.
while a workaround might be patching this to straight-up override the plugin domains, it would be nice to get a proper solution here i.e. that would not break the plugins for terraform.

Notify maintainers
@gmemstr
@nickcao
@zowoq
Metadata
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.7.0-zen2, NixOS, 24.05 (Uakari), 24.05.20240114.dd5621d`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(kiara): `"home-manager"`
 - channels(root): `""`
 - nixpkgs: `/nix/store/sl31dgnpwinzvzhh7ak2rx3h6w7kbb30-source`

A workaround is to specify the full path of the plugin, e.g. source = "registry.terraform.io/hashicorp/nomad".

Do you know about the current status of the opentofu registry? Is is a mirror of the terraform registry or something else?

They have a separate submission process, so it must not be just a mirror: https://github.com/opentofu/registry/tree/main#adding-providers-modules-or-gpg-keys-to-the-opentofu-registry

A workaround is to specify the full path of the plugin, e.g. source = "registry.terraform.io/hashicorp/nomad".

Then I would propose this as a solution (instead of just a workaround).

hm, long-term that would seem a bit like making opentofu a second-class citizen in nixpkgs, whereas it would seem more likely given its license and broad backing it will outlive terraform

opentofu seems to use its own registry by default rather than terraform's

Unfortunately, it seems like OpenTofu doesn't have a choice - the Terraform Registry's ToS doesn't allow OpenTofu to use it (source).
It doesn't look like we're downloading providers from the registry, so we shouldn't be running afoul of that clause. We just need to use a different folder name for Terraform (registry.terraform.io) and OpenTofu (registry.opentofu.org). I don't think that's impossible to implement (at least, after a brief glance at the terraform-providers implementation).

https://github.com/NixOS/nixpkgs/pull/269106
I've got a draft PR that will drop the terraform registry in favour of just using the provider github repos directly, it'll be simple to include an option to use either registry.terraform.io or registry.opentofu.org in that PR.
I plan to finish the PR sometime in the next few weeks.

A workaround I found for now, which implies rebuilding the providers:
{
  lib,
  opentofu,
}: let
  # HACK https://github.com/NixOS/nixpkgs/issues/283015
  tofuProvider = provider:
    provider.override (oldArgs: {
      provider-source-address =
        lib.replaceStrings
        ["https://registry.terraform.io/providers"]
        ["registry.opentofu.org"]
        oldArgs.homepage;
    });
in
  opentofu.withPlugins (ps:
    builtins.map tofuProvider [
      ps.aws
      ps.hcloud
    ])

A workaround is to specify the full path of the plugin, e.g. source = "registry.terraform.io/hashicorp/nomad".

Does not seem to work anymore. Due to the aforementioned T&Cs, OpenTofu seem to be forcing the providers to their own registry. https://github.com/opentofu/opentofu/issues/1478

Guess we have to package the opentofu registry now.

i opened a pr to fix this, maybe someone here can help review :)


Alps 310 playback rate

Add playbackrate accessors for VideoHTML5 and VideoDash + onRateChange event

 All committers have signed the CLA.


Added source/standard selection when adding criteria

Added source/standard tags to criteria as appropriate and rearranged criteria configs to fix overall criteria ordering.

Changes lgtm. Can you make the same config changes to the vumc underlay too, just so they stay in sync?

Done. Thanks for the reminder.


Error displaying widget <function main.update(z=0)>

In the cell of the Reading_images.ipynb notebook:
The cell does not display image, instead, error is thrown as below. Repeated on Mac M1 locally as well as on Linux provided machine from the course.  cc @jburel
import matplotlib.pyplot as plt
%matplotlib inline
from ipywidgets import *

def update(z=0):
    c = 1
    fig = plt.figure(figsize=(10, 10))
    plt.imshow(image_local[z, c, :, :])
    plt.tight_layout()
    fig.canvas.flush_events()

interact(update, z= widgets.IntSlider(value=1, min=0, max=image_local.shape[0]-1, step=1, description="Select Z", continuous_update=False))

Response
Error displaying widget <function main.update(z=0)>
[Open Browser Console for more detailed log - Double click to close this message]
Failed to load model class 'GridBoxModel' from module '@jupyter-widgets/controls'
loadClass@http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/134.fe2572ece3b7955c89bb.js?v=fe2572ece3b7955c89bb:1:75054
loadModelClass@http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/336.0a90bd910629a565bb7e.js?v=0a90bd910629a565bb7e:1:10728
_make_model@http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/336.0a90bd910629a565bb7e.js?v=0a90bd910629a565bb7e:1:7516
new_model@http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/336.0a90bd910629a565bb7e.js?v=0a90bd910629a565bb7e:1:5136
handle_comm_open@http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/336.0a90bd910629a565bb7e.js?v=0a90bd910629a565bb7e:1:3893
134/v/this._handleCommOpen@http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/134.fe2572ece3b7955c89bb.js?v=fe2572ece3b7955c89bb:1:73470
_handleCommOpen@http://localhost:8888/static/notebook/3676.bundle.js:1:30934

I would suggest 2 points:

Clearly state on the Public_Resources.ipynb, in an extra well visible cell, from which env it is supposed to be run (I think it is environment.yml but it is very easy to be mistaken).
Check all the cells in Public_Resources.ipynb which attempt to display an image and have the word "widget" in them - does not wfm, these display errors

Note: PublicResources.ipynb are working fine on Google Colab.

See https://github.com/ome/EMBL-EBI-imaging-course-04-2024/pull/10


Numeric enrollment option

For some activities, mostly merchandise and such, a numeric input for enrollment is required. This is now often achieved by having checkboxes for multiple amounts, usually 1, 2 and 4, so one can select any value from 0 to 7 or similar. It would be useful to have numeric input fields as enrollment option, where one can set a valid range.
Not the most important thing ever, but a nice quality of life thing that usually occurs multiple times per year.

See also #517


iOS: Can't scroll horizontally after ~10th article

Reported here: https://getsatisfaction.com/newsblur/topics/navigation-issues-on-ios-9-newsblur-app-iphone-5#reply_16396451
The offending commit appears to be b756e7c.  I don't understand why this code was deleted in the commit, but restoring it fixes the problem.
diff --git a/clients/ios/Classes/StoryPageControl.m b/clients/ios/Classes/StoryPageControl.m
index 42f0b8d..0916557 100644
--- a/clients/ios/Classes/StoryPageControl.m
+++ b/clients/ios/Classes/StoryPageControl.m
@@ -598,6 +598,9 @@
         [pageController clearStory];
     }

+    if (!suppressRedraw) {
+        [self resizeScrollView];
+    }
     [self setTextButton];
     [self.loadingIndicator stopAnimating];
     self.circularProgressView.hidden = NO;

Thanks for finding this one. I cut a bit too much out when working on rotation bugs. There aren't any on iPhone anymore, but the iPad still has some if you rotate while in the original story view.


Modify pybind11 classes scope in modules

Context: When using Lightning as a library, having globally-exposed methods can cause issues when using the templated types with other external packages (see here for details). In this case, ensuring the classes are exposed locally at the module level only helps avoid such issues as ImportError: generic_type: type "MyType" is already registered!. This PR helps to ensure such problems are avoided.
Description of the Change: Modifies Lightning bound classes to have local scope to Python modules only.
Benefits: Allows easier extensibility of the Lightning functionality for dependent classes and methods.
Possible Drawbacks: Disallows direct interoperability and conversion to Python types.
Related GitHub Issues:

Note, following the partitioning rules of here may be more sensible in the long run, keeping separate types allows more extensibility while lowering the maintenance burden for disparate repositories.

Thanks all.


react deprecated api used ?

Hi, thanks for the project !
After properly compiling and running npm run dev in the browser the app doesn't appear.
The console states:
[HMR] Waiting for update signal from WDS...
lowPriorityWarning.js?d93c:40 Warning: Accessing createClass via the main React package is deprecated, and will be removed in React v16.0. Use a plain JavaScript class instead. If you're not yet ready to migrate, create-react-class v15.* is available on npm as a temporary, drop-in replacement. For more info see https://fb.me/react-create-class
printWarning @ lowPriorityWarning.js?d93c:40
lowPriorityWarning @ lowPriorityWarning.js?d93c:59
get @ React.js?24ef:108
whyDidYouUpdate @ index.js?3f48:35
(anonymous) @ index.jsx?1f8a:18
(anonymous) @ client.js:3799
webpack_require @ client.js:660
fn @ client.js:86
(anonymous) @ client.js:7263
webpack_require @ client.js:660
(anonymous) @ client.js:709
(anonymous) @ client.js:712
index.js?3f48:41 Uncaught TypeError: Cannot set property createClass of # which has only a getter
at whyDidYouUpdate (eval at  (client.js:7240), :41:23)
at eval (eval at  (client.js:3799), :37:40)
at Object. (client.js:3799)
at webpack_require (client.js:660)
at fn (client.js:86)
at Object. (client.js:7263)
at webpack_require (client.js:660)
at client.js:709
at client.js:712
whyDidYouUpdate @ index.js?3f48:41
(anonymous) @ index.jsx?1f8a:18
(anonymous) @ client.js:3799
webpack_require @ client.js:660
fn @ client.js:86
(anonymous) @ client.js:7263
webpack_require @ client.js:660
(anonymous) @ client.js:709
(anonymous) @ client.js:712
client.js?102b:67 [HMR] connected

Hi, thanks for your issue, I'll check it. Personally, I've never got this error

Issue was caused by new React 15.6 and whydidyouUpdate. I commented this module in d210f5964105b4461c44b62aa93d21656e653fc5, so right now it's fixed.

Hope that whydidyouupdate will be updated for React 15.6


Add deploy to Vercel button to README

I think you can use adapter-auto now, which should work for both Vercel and Netlify.
I see the deploy failed, I think it's because it's expecting SvelteKit to output to public and it's currently not.


an error occurred on output stream: The requested device is no longer available. For example, it has been unplugged.

Hi, I'm writing a tui and am using rodio for audio playback.
I'm not sure how to handle an error occurred on output stream: The requested device is no longer available. For example, it has been unplugged. This happens when I unplug my earphones which makes sense. I want to retry the default device but I'm not sure how to detect this error because it comes from eprintln!.
Also, I'd like there to be no prints in the first place since it screws up my terminal output. I would think errors are routed through the log crate for library users to handle.
What am I missing on both fronts?

I want to retry the default device but I'm not sure how to detect this error because it comes from eprintln!

In theory the error should be returned to the user, and not be routed to eprintln.  The error originates from cpal actually, and rodio only transmits it. Can you maybe check your code if it contains eprintln?

I have eprintln! only in areas where operations that return the terminal to normal fail which is divorced from audio playback. I doubt it's any of those since the program runs as if no error happened but all audio operations result in no sound which makes sense. All other logging is routed through the log crate in my application.
I presumed the error came from this line here: https://docs.rs/rodio/latest/src/rodio/stream.rs.html#198 but I didn't dig any further.
I use rodio in my project here: https://github.com/tochiu/c8/blob/main/src/run/audio.rs

@tochiu I see. Yeah there should be a way to customize the callback....


[SPARK-22778][Kubernetes] Added the missing service metadata for KubernetesClusterManager

What changes were proposed in this pull request?
This PR added the missing service metadata for KubernetesClusterManager. Without the metadata, the service loader couldn't load KubernetesClusterManager, and caused the driver to fail to create a ExternalClusterManager, as being reported in SPARK-22778. The PR also changed the k8s: prefix used to k8s://, which is what existing Spark on k8s users are familiar and used to.
How was this patch tested?
Manual testing verified that the fix resolved the issue in SPARK-22778.
/cc @vanzin @felixcheung @jiangxb1987

Test build #84878 has started for PR 19972 at commit 48c4b0a.

LGTM.
Will independently verify the fix as well. Thanks @mccheah and @liyinan926 for debugging.

@vanzin @felixcheung @jiangxb1987 Can one of you help take a look and merge? This is fixing a blocker issue for Kubernetes mode. Thanks!

Test build #84878 has finished for PR 19972 at commit 48c4b0a.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/84878/
Test FAILed.

One of the tests failures looks legitimate...

@vanzin Yes, fixed in https://github.com/apache/spark/pull/19972/commits/c91c9a606bb00ea57c50fe27081273e0d5a8bcee.

Test build #84888 has started for PR 19972 at commit c91c9a6.

Test build #84888 has finished for PR 19972 at commit c91c9a6.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/84888/
Test PASSed.

LGTM

Test build #84920 has started for PR 19972 at commit a2e6396.

Test build #84920 has finished for PR 19972 at commit a2e6396.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/84920/
Test PASSed.

Merging to master.


TN-1503 fix localized q disappearing issue on UI

https://jira.movember.com/browse/TN-1504
address clinical localized question disappearing issue during initial queries

remove the culprit statement that caused this - think it was a debugging statement that was left behind from testing
make sure save clinical information loading indicator does not display initially (was showing before answer is saved)

wrong story referenced - will re-open with the correct one


fix: define dev and prod environment

:tada: This PR is included in version 1.2.9 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.
0x00401618 in BST::insertNode (this=0x7612c8, n=0x7612a8) at bst.h:112
112                     if (n->key < x->key)
(gdb) p x->key
Cannot access memory at address 0xabababab

There doesn't appear to be anything wrong with insertNode(Node*) per se, instead, it was an issue with Node instantiate in the calling function (testSuite(..)'deprecated'). Rewriting new test suites one at a time.


Add file read/write support to Go package

Add helper functions/receivers to make it easer to read/write files.
Functions

NewFromFile function which accepts filename and parser strings.
NewFromReader function which accepts Reader and parser strings.

Receivers

WriteFile receiver which accepts filename, parser string and compact / escapeHTML options.
Write receiver which accepts Writer, parser string and compact / escapeHTML options.

Misc

Fix parser descriptions

Closes #187

@TomWright, could you have a look, please? Not quite sure where to go from here.

The tests are failing - could you take a look please?

@TomWright strange, works on my machine. I'll try to figure up why it's failing on CI...
go test
PASS
ok      github.com/tomwright/dasel      0.032s

Ok, looks like it comes to OS returning different error messages. I've fixed this using strings.Contains.

Windows

The system cannot find the file specified.

Linux

no such file or directory

If you're happy for this to be merged after a final review please remove the draft status and I'll take a final look and merge 👍

Thanks! What should be done regarding failing XML tests? Just comment them out or leave them with wantErr: true ?

Since the xml storage doesn't currently support compact or html escape, I would just remove those tests - unless of course you wanted to add an implementation for those options.

It does look as though the xml package does support escape characters: https://github.com/clbanning/mxj/blob/master/escapechars.go#L30

... unless of course you wanted to add an implementation for those options.
It does look as though the xml package does support escape characters
I've looked at this before, but I'm not sure how to plug this correctly into the XML write parser. Maybe next time :).

I've removed failing tests for escape / compact functionality, so all should be green now.

Hey @beatcracker, it's released under v1.24.0

Thanks for pointing that out @bunin - a rather large oversight on my part! I'll fix this tomorrow

This is fixed here: https://github.com/TomWright/dasel/pull/211

Thank you @TomWright


Update cicd pipeline (review deployment)

Description
Update GitLab CI/CD pipeline:

update/fix the job for deploying review apps with custom Tools API backend
update dev/main branch rules (dev->dev(default review)/internal/staging; main->prod)

Related JIRA Issue(s)
ENSWBSITES-2759
Review App URL(s)
App: http://fix-review.review.ensembl.org/vep
Pipeline: https://gitlab.ebi.ac.uk/ensembl-web/ensembl-tools-api/-/pipelines/562278
Checklist

[x] Yaml formatting
[x] Tests

Dependencies
Related MRs: k8s manifests, k8s config

I think having dedicated setup phase when the branch is created similar to Ensembl-client would be more appropriate solution.
In Ensembl-client the review setup step deploys resources for other services (e.g. default backends) which is not needed for Tools API (these resources have already been set up by Ensembl client). What would be the purpose of setup step in Tools api (and what would be left to do for deploy-review step)?
Review job is failing - https://gitlab.ebi.ac.uk/ensembl-web/ensembl-tools-api/-/jobs/1821074
namespaces "fix-review-test-1" not found. Please create 'fix-review-test-1' branch in ensembl-client and restart this pipeline

What would be the purpose of review setup here (and what would be then left to do for deploy-review step)?

Well Setup is a phase which would run the things which needs to be run just once to setup and not on every push. It's a requirment for Ensembl-client to setup non-default backend so it is in setup not necessarily every  application has setup requirement. Here it could be setting up configmap, secrets, service, ingress etc.
for example https://github.com/Ensembl/ensembl-web-tools-api/blob/fix-review/.gitlab-ci.yml#L133-L137 this doesn't need to be applied for every push it is just needed once.


Add supported release branches file

Issue #, if available:
Description of changes:
Decouple supported release branches from the versions of Bottlerocket ovas that we support. This would allow us to start testing with Ubuntu support first.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/retest

/override cloudstack-cloudmonkey-tooling-presubmit
/override cluster-api-provider-cloudstack-tooling-presubmit
/override pbnj-tooling-presubmit


Issue with :publishModrinth

* What went wrong:
Could not add entry ':publishModrinth' to cache executionHistory.bin (~\1.18.2\WoodGood\.gradle\7.4\executionHistory\executionHistory.bin).
> Cannot encode a null string.

I had no problem with Curseforge using dryRun. and I can't figure what's the problem with Modrinth??
My script is
    modrinth {
        projectId = "myprojectID" // i've included the id (shouldn't be an issue)
        accessToken = providers.environmentVariable("MODRINTH_TOKEN")
        minecraftVersions.add("${minecraft_version}")
        requires("moonlight")
    }

Please can you try with a newer Gradle version? 8.3 or later is what I test with.

8.3?? oh  I thought 5.3 or so is the latest. will test.

ok i tested it with Gradle 8.3 and it's working. I was using 7.4. It's my first time using Gradle and mod-publish. Thanks for helping out.
one more thing i would like to know how to make Display name: MyMod-1.18.2-1.16.13  into Display name: ___
just blank.


Error: DECLARE_ASN1_DUP_FUNCTION does not have a number assigned

$ git describe --tags
OpenSSL_1_1_1n-15-g3e8f70c30d

$ perl --version
This is perl 5, version 32, subversion 1 (v5.32.1) built for MSWin32-x86-multi-thread-64int

$ perl Configure VC-WIN32
Configuring OpenSSL version 1.1.1o-dev (0x101010f0L) for VC-WIN32
Using os-specific seed configuration
Creating configdata.pm
Creating makefile

$ nmake
...
        "C:\Strawberry\perl\bin\perl.exe" "util\mkdef.pl" crypto 32 > libcrypto.def
WARNING: mkdef.pl doesn't know the following algorithms:
        CRMF
        TRACE
        KTLS
        CMP
        FIPS_SECURITYCHECKS
        LOADERENG
        ACVP_TESTS
        TFO
        UPLINK
Error: DECLARE_ASN1_DUP_FUNCTION does not have a number assigned
NMAKE : fatal error U1077: '"C:\Strawberry\perl\bin\perl.exe"' : return code '0x19'

$ findstr /C:ASN1_dup .\util\libcrypto.num
ASN1_dup                                1760    1_1_0   EXIST::FUNCTION:

What can i do to figure out this problem?

Hmmm, you must have changed something, 'cause there is no DECLARE_ASN1_DUP_FUNCTION in 1.1.1.

Had exactly the same problem 🙂. Unfortunately, nmake clean does not work properly after you switched to another branch (e.g. from openssl-3.0.5 to OpenSSL_1_1_1l). That's why other projects use a separate build folder for everything, that's generated.

@levitte I have the same issue with 1.1.1w, and nmake clean didnot work, do you have any suggestions for me to solve this?

nickychen123456 Can you use git to show the status of the files that need to be cleaned?


ERROR: attempt to yield across C-call boundary

When running busted with option {standalone = false} I get:
ERROR: attempt to yield across C-call boundary
stack traceback:
        coroutine.wrap:21: in function '(for generator)'
        .../lua_modules/share/lua/5.1/pl/dir.lua:459: in function 'getfiles'
        ...odules/share/lua/5.1/busted/modules/test_file_loader.lua:21: in function 'getTestFiles'
        ...odules/share/lua/5.1/busted/modules/test_file_loader.lua:57: in function 'getAllTestFiles'
        ...odules/share/lua/5.1/busted/modules/test_file_loader.lua:72: in function 'testFileLoader'
        .../lua_modules/share/lua/5.1/busted/runner.lua:192: in function <.../lua_modules/share/lua/5.1/busted/runner.lua:11>
        ./spec/setup.lua:4: in main chunk
        [C]: in function 'require'
        spec/app/utils/version.lua:7: in function 'file_gen'
        init_worker_by_lua:46: in function <init_worker_by_lua:44>
        [C]: in function 'xpcall'
        init_worker_by_lua:53: in function <init_worker_by_lua:51>

This is running on a blank test, i.e. my version.lua test file is
package.path = package.path .. ';../?.lua'
require 'spec.setup'

and my spec.setup is
package.path = package.path .. ';../?.lua'
require 'busted.runner'({ standalone = false})

What's the issue?

first guess would be the multiple require statements. require is implemented as a C function and is a common culprit for these errors. This also depends on the version of the Lua engine you're using PuC Lua is different from LuaJIT, and again from OpenResty for example.
What happens if you replace require 'spec.setup' with the actual contents of that file?
Just wondering whether there is a reason for your setup with version.lua and then calling busted from code? Why not create a busted config file and just call the busted cli script busted ?

no response, closing


Bare metal support

Allows us to boot the RHCOS image in a baremetal env (at least the one we've tested). The image boots but then fails to resolve ostest-api.test.metalkube.org. Which is better then we were.
Unfortunately the RDO IPA image has a bigger footprint, so needs a bump in RAM to fit the image download during deploy.
If merged this will require users to rerun the setup scripts from 02_...sh onwards

This looks fine, but do we know why the RDO IPA ramdisk needs so much RAM?
Previously I've tested minimal VM tripleo deploys where the nodes only had the current 4096 so I'm a bit surprised that no longer works.

@hardys the API agent tries to download the RCHOS image to /tmp  which runs out of space. I only have the logs to go by but I can try and get onto a running API instance to see if I can get more details.