Upgrading version 0.15.1 → 0.16.0 cause "Runtime Error: Could not find profile named 'elementary"

Describe the bug
Yesterday I upgrading elementary-data[bigquery] from 0.15.1 to 0.16.0, but Upgrading caused a Runtime Error.
I include below the contents of the files and logs that are considered necessary for troubleshooting.
To Reproduce
Steps to reproduce the behavior:

setting dependencies and relevant yaml file as below
pyproject.toml

"dbt-core >=1.8,<1.9",
"dbt-bigquery >=1.8,<1.9",
"elementary-data[bigquery] ==0.16.0",

profiles.yml
elementary:
  target: prod
  outputs:
    prod:
      dataset: dbt_elementary
      job_execution_timeout_seconds: 300
      job_retries: 1
      location: asia-northeast1
      method: oauth
      priority: interactive
      project: {project_id}
      threads: 4
      type: bigquery

packages.yml
packages:
  - package: elementary-data/elementary
    version: 0.16.0

dbt_project.yml
models:
  ...
  elementary:
  +schema: "dbt_elementary"
  +docs:
    show: false
flags:
  # Required from dbt 1.8 and above for certain Elementary features
  require_explicit_package_overrides_for_builtin_materializations: false

run command

edr report --env prod --project-name {project_id}  --days-back=30

see error

    ________                          __
   / ____/ /__  ____ ___  ___  ____  / /_____ ________  __
  / __/ / / _ \/ __ `__ \/ _ \/ __ \/ __/ __ `/ ___/ / / /
 / /___/ /  __/ / / / / /  __/ / / / /_/ /_/ / /  / /_/ /
/_____/_/\___/_/ /_/ /_/\___/_/ /_/\__/\__,_/_/   \__, /
                                                 /____/

Any feedback and suggestions are welcomed! join our community here - https://bit.ly/slack-elementary

2024-09-10 23:39:29 — INFO — Running with edr=0.16.0
2024-09-10 23:39:29 — INFO — Installing packages for edr internal dbt package...
2024-09-10 23:39:29 — INFO — Running dbt command --log-format json deps --project-dir {WORKING_DIR}/dbt/.venv/lib/python3.12/site-packages/elementary/monitor/dbt_project
{"data": {"exc": "Runtime Error\n  Could not find profile named 'elementary'"}, "info": {"category": "", "code": "Z002", "extra": {}, "invocation_id": "3ef899d9-d564-4170-a149-06641a6a5aac", "level": "error", "msg": "Encountered an error:\nRuntime Error\n  Could not find profile named 'elementary'", "name": "MainEncounteredError", "pid": 33465, "thread": "MainThread", "ts": "2024-09-10T14:39:31.495433Z"}}
2024-09-10 23:39:32 — ERROR — Unable to get the latest invocation: Failed to run dbt command.
Runtime Error
  Could not find profile named 'elementary'

Expected behavior
A report of the dbt project will be generated.
Environment (please complete the following information):

Elementary CLI (edr) version: 0.16.0
Elementary dbt package version: 0.16.0
dbt version you're using: 1.8.6
Data warehouse: bigquery

I have the exact same issue after upgrading from 0.15.2 to 0.16.1.
> dbt --version                                                                                BI-811-dbt-sources-Fix-freshness-tests-and-alerting [3059a3f4] modified
Core:
  - installed: 1.8.6
  - latest:    1.8.6 - Up to date!

Plugins:
  - bigquery: 1.8.2 - Up to date!

Another tip, in case it helps.
I'm fixing  the following:
# requirements.txt
dbt-core==1.8.6
dbt-bigquery==1.8.2

and
# packages.yml
packages
  - package: elementary-data/elementary
      version: 0.16.1

With python package elementary-data==0.16.1 (same problem with 0.16.0):

> edr report --project-dir "ferryhopper" --profiles-dir "ferryhopper"                                                                                main [0e491059] modified
    ________                          __
   / ____/ /__  ____ ___  ___  ____  / /_____ ________  __
  / __/ / / _ \/ __ `__ \/ _ \/ __ \/ __/ __ `/ ___/ / / /
 / /___/ /  __/ / / / / /  __/ / / / /_/ /_/ / /  / /_/ /
/_____/_/\___/_/ /_/ /_/\___/_/ /_/\__/\__,_/_/   \__, /
                                                 /____/

Any feedback and suggestions are welcomed! join our community here - https://bit.ly/slack-elementary

2024-09-17 10:19:10 — INFO — Running with edr=0.16.1
{"data": {"exc": "Database Error\n  [Errno 2] No such file or directory: 'service-account-dbt.json'"}, "info": {"category": "", "code": "Q001", "extra": {}, "invocation_id": "c48be6d8-6481-490d-890d-0baec2937684", "level": "error", "msg": "Encountered an error while running operation: Database Error\n  [Errno 2] No such file or directory: 'service-account-dbt.json'", "name": "RunningOperationCaughtError", "pid": 24886, "thread": "MainThread", "ts": "2024-09-17T07:19:11.602498Z"}}
2024-09-17 10:19:12 — ERROR — Unable to get the latest invocation: Failed to run dbt command.
2024-09-17 10:19:14 — INFO — Elementary's database and schema: '"bigquery-xxxx.user_gtzanakis_dbt"'
2024-09-17 10:19:14 — INFO — Running dbt command --log-format json run-operation elementary.log_macro_results --args {"macro_name": "elementary_cli.get_test_results", "macro_args": {"days_back": 7, "invocations_per_test": 720, "disable_passed_test_metrics": false}} --project-dir /home/tzanakis/git/python/pyenv/versions/3.10.11/envs/dbt_test_upgrade-3.10.11/lib/python3.10/site-packages/elementary/monitor/dbt_project --profiles-dir /home/tzanakis/git/bi/dbt/ferryhopper
{"data": {"exc": "Database Error\n  [Errno 2] No such file or directory: 'service-account-dbt.json'"}, "info": {"category": "", "code": "Q001", "extra": {}, "invocation_id": "43151044-9715-4608-b6f1-a1fa68f06067", "level": "error", "msg": "Encountered an error while running operation: Database Error\n  [Errno 2] No such file or directory: 'service-account-dbt.json'", "name": "RunningOperationCaughtError", "pid": 24886, "thread": "MainThread", "ts": "2024-09-17T07:19:15.226170Z"}}
2024-09-17 10:19:15 — ERROR — Could not generate the report - Error: Failed to run dbt command.
Please reach out to our community for help with this issue.
Traceback (most recent call last):
  File "/home/tzanakis/.pyenv/versions/3.10.11/envs/dbt_test_upgrade-3.10.11/lib/python3.10/site-packages/elementary/monitor/api/report/report.py", line 50, in get_report_data
    tests_api = TestsAPI(
  File "/home/tzanakis/.pyenv/versions/3.10.11/envs/dbt_test_upgrade-3.10.11/lib/python3.10/site-packages/elementary/monitor/api/tests/tests.py", line 43, in __init__
    self.test_results_db_rows = self._get_test_results_db_rows(
  File "/home/tzanakis/.pyenv/versions/3.10.11/envs/dbt_test_upgrade-3.10.11/lib/python3.10/site-packages/elementary/monitor/api/tests/tests.py", line 55, in _get_test_results_db_rows
    return self.tests_fetcher.get_all_test_results_db_rows(
  File "/home/tzanakis/.pyenv/versions/3.10.11/envs/dbt_test_upgrade-3.10.11/lib/python3.10/site-packages/elementary/monitor/fetchers/tests/tests.py", line 25, in get_all_test_results_db_rows
    run_operation_response = self.dbt_runner.run_operation(
  File "/home/tzanakis/.pyenv/versions/3.10.11/envs/dbt_test_upgrade-3.10.11/lib/python3.10/site-packages/elementary/clients/dbt/command_line_dbt_runner.py", line 177, in run_operation
    result = self._run_command(
  File "/home/tzanakis/.pyenv/versions/3.10.11/envs/dbt_test_upgrade-3.10.11/lib/python3.10/site-packages/elementary/clients/dbt/command_line_dbt_runner.py", line 114, in _run_command
    result = self._inner_run_command(
  File "/home/tzanakis/.pyenv/versions/3.10.11/envs/dbt_test_upgrade-3.10.11/lib/python3.10/site-packages/elementary/clients/dbt/api_dbt_runner.py", line 53, in _inner_run_command
    raise DbtCommandError(
elementary.exceptions.exceptions.DbtCommandError: Failed to run dbt command.

With python package elementary-data==0.15.1:

> edr report --project-dir "ferryhopper" --profiles-dir "ferryhopper"                                                                                main [0e491059] modified
    ________                          __
   / ____/ /__  ____ ___  ___  ____  / /_____ ________  __
  / __/ / / _ \/ __ `__ \/ _ \/ __ \/ __/ __ `/ ___/ / / /
 / /___/ /  __/ / / / / /  __/ / / / /_/ /_/ / /  / /_/ /
/_____/_/\___/_/ /_/ /_/\___/_/ /_/\__/\__,_/_/   \__, /
                                                 /____/

You are using Elementary 0.15.1, however version 0.16.1 is available.
Consider upgrading by running: "/home/tzanakis/.pyenv/versions/3.10.11/envs/dbt_test_upgrade-3.10.11/bin/python3.10 -m pip install --upgrade elementary-data"

Any feedback and suggestions are welcomed! join our community here - https://bit.ly/slack-elementary

2024-09-17 10:24:21 — INFO — Running with edr=0.15.1
2024-09-17 10:24:21 — INFO — edr internal dbt package is not up-to-date, updating it...
2024-09-17 10:24:21 — INFO — Running dbt --log-format json deps --project-dir /home/tzanakis/git/python/pyenv/versions/3.10.11/envs/dbt_test_upgrade-3.10.11/lib/python3.10/site-packages/elementary/monitor/dbt_project --profiles-dir ferryhopper
2024-09-17 10:24:25 — INFO — Running with dbt=1.8.6
2024-09-17 10:24:25 — INFO — Updating lock file in file path: /home/tzanakis/git/python/pyenv/versions/3.10.11/envs/dbt_test_upgrade-3.10.11/lib/python3.10/site-packages/elementary/monitor/dbt_project/package-lock.yml
2024-09-17 10:24:25 — INFO — Installing dbt-labs/dbt_utils
2024-09-17 10:24:25 — INFO — Installed from version 0.8.6
2024-09-17 10:24:25 — INFO — Updated version available: 1.3.0
2024-09-17 10:24:25 — INFO — Installing elementary-data/elementary
2024-09-17 10:24:25 — INFO — Installed from version 0.15.1
2024-09-17 10:24:25 — INFO — Updated version available: 0.16.1
2024-09-17 10:24:25 — INFO —
2024-09-17 10:24:25 — INFO — Updates available for packages: ['dbt-labs/dbt_utils', 'elementary-data/elementary']
Update your versions in packages.yml, then run dbt deps
2024-09-17 10:24:44 — INFO — edr (0.15.1) and Elementary's dbt package (0.15.2) are compatible.
2024-09-17 10:24:49 — INFO — Elementary's database and schema: '"bigquery-xxxx.user_gtzanakis_dbt"'
2024-09-17 10:24:49 — INFO — Running dbt --log-format json run-operation elementary.log_macro_results --args {"macro_name": "elementary_cli.get_test_results", "macro_args": {"days_back": 7, "invocations_per_test": 720, "disable_passed_test_metrics": false}} --project-dir /home/tzanakis/git/python/pyenv/versions/3.10.11/envs/dbt_test_upgrade-3.10.11/lib/python3.10/site-packages/elementary/monitor/dbt_project --profiles-dir ferryhopper
2024-09-17 10:24:57 — INFO — Running dbt --log-format json run-operation elementary.log_macro_results --args {"macro_name": "elementary_cli.get_source_freshness_results", "macro_args": {"days_back": 7, "invocations_per_test": 720}} --project-dir /home/tzanakis/git/python/pyenv/versions/3.10.11/envs/dbt_test_upgrade-3.10.11/lib/python3.10/site-packages/elementary/monitor/dbt_project --profiles-dir ferryhopper
2024-09-17 10:25:04 — INFO — Running dbt --log-format json run-operation elementary.log_macro_results --args {"macro_name": "elementary_cli.get_models", "macro_args": {"exclude_elementary": true}} --project-dir /home/tzanakis/git/python/pyenv/versions/3.10.11/envs/dbt_test_upgrade-3.10.11/lib/python3.10/site-packages/elementary/monitor/dbt_project --profiles-dir ferryhopper
2024-09-17 10:25:11 — INFO — Running dbt --log-format json run-operation elementary.log_macro_results --args {"macro_name": "elementary_cli.get_sources", "macro_args": {}} --project-dir /home/tzanakis/git/python/pyenv/versions/3.10.11/envs/dbt_test_upgrade-3.10.11/lib/python3.10/site-packages/elementary/monitor/dbt_project --profiles-dir ferryhopper
2024-09-17 10:25:18 — INFO — Running dbt --log-format json run-operation elementary.log_macro_results --args {"macro_name": "elementary_cli.get_exposures", "macro_args": {}} --project-dir /home/tzanakis/git/python/pyenv/versions/3.10.11/envs/dbt_test_upgrade-3.10.11/lib/python3.10/site-packages/elementary/monitor/dbt_project --profiles-dir ferryhopper
2024-09-17 10:25:25 — INFO — Running dbt --log-format json run-operation elementary.log_macro_results --args {"macro_name": "elementary_cli.get_singular_tests", "macro_args": {}} --project-dir /home/tzanakis/git/python/pyenv/versions/3.10.11/envs/dbt_test_upgrade-3.10.11/lib/python3.10/site-packages/elementary/monitor/dbt_project --profiles-dir ferryhopper
2024-09-17 10:25:31 — INFO — Running dbt --log-format json run-operation elementary.log_macro_results --args {"macro_name": "elementary_cli.get_models_runs", "macro_args": {"days_back": 7, "exclude_elementary": true}} --project-dir /home/tzanakis/git/python/pyenv/versions/3.10.11/envs/dbt_test_upgrade-3.10.11/lib/python3.10/site-packages/elementary/monitor/dbt_project --profiles-dir ferryhopper
2024-09-17 10:25:38 — INFO — Running dbt --log-format json run-operation elementary.log_macro_results --args {"macro_name": "elementary_cli.get_dbt_models_test_coverage", "macro_args": {}} --project-dir /home/tzanakis/git/python/pyenv/versions/3.10.11/envs/dbt_test_upgrade-3.10.11/lib/python3.10/site-packages/elementary/monitor/dbt_project --profiles-dir ferryhopper
2024-09-17 10:25:45 — INFO — Running dbt --log-format json run-operation elementary.log_macro_results --args {"macro_name": "elementary_cli.get_nodes_depends_on_nodes", "macro_args": {"exclude_elementary": true}} --project-dir /home/tzanakis/git/python/pyenv/versions/3.10.11/envs/dbt_test_upgrade-3.10.11/lib/python3.10/site-packages/elementary/monitor/dbt_project --profiles-dir ferryhopper
2024-09-17 10:25:51 — INFO — Running dbt --log-format json run-operation elementary.log_macro_results --args {"macro_name": "elementary_cli.get_models_latest_invocation", "macro_args": {}} --project-dir /home/tzanakis/git/python/pyenv/versions/3.10.11/envs/dbt_test_upgrade-3.10.11/lib/python3.10/site-packages/elementary/monitor/dbt_project --profiles-dir ferryhopper
2024-09-17 10:25:58 — INFO — Running dbt --log-format json run-operation elementary.log_macro_results --args {"macro_name": "elementary_cli.get_models_latest_invocations_data", "macro_args": {}} --project-dir /home/tzanakis/git/python/pyenv/versions/3.10.11/envs/dbt_test_upgrade-3.10.11/lib/python3.10/site-packages/elementary/monitor/dbt_project --profiles-dir ferryhopper

I don't know if it makes a difference but, just in case, I'm using pyenv virtualenv in ubuntu to handle my virtual environments, hopefully that's not the issue here.

Hey,
@phalanx-hk , is your profiles.yml file located in your project directory or in the user directory?

if it is in the project directory, can you try adding --profiles-dir . to your command.

@geo909 from the logs you provided, i assume that in your profiles.yml file, i assume you define the following:
    keyfile: service-account-dbt.json

can you try setting the keyfile path to the absolute path of the file and see if this helps, something like
   keyfile: "/home/<user>/.../service-account-dbt.json

@ofek1weiss Still doesn't work:
ferryhopper:
  target: dev_user
  outputs:
    dev_user:
      dataset: user_{{ env_var('DBT_USER') }}_dbt
      job_execution_timeout_seconds: 600
      job_retries: 1
      keyfile: "/home/tzanakis/git/bi/dbt/service-account-dbt.json"
      location: EU
      method: service-account
      priority: interactive
      project: bigquery-xxxxxx
      threads: 2
      type: bigquery

Output:
> edr report --project-dir "ferryhopper" --profiles-dir "ferryhopper"                                                                                main [3a3a10e9] modified untracked
    ________                          __
   / ____/ /__  ____ ___  ___  ____  / /_____ ________  __
  / __/ / / _ \/ __ `__ \/ _ \/ __ \/ __/ __ `/ ___/ / / /
 / /___/ /  __/ / / / / /  __/ / / / /_/ /_/ / /  / /_/ /
/_____/_/\___/_/ /_/ /_/\___/_/ /_/\__/\__,_/_/   \__, /
                                                 /____/

You are using Elementary 0.16.0, however version 0.16.1 is available.
Consider upgrading by running: "/home/tzanakis/.pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/bin/python3.10 -m pip install --upgrade elementary-data"

Any feedback and suggestions are welcomed! join our community here - https://bit.ly/slack-elementary

2024-09-24 17:49:36 — INFO — Running with edr=0.16.0
2024-09-24 17:49:36 — ERROR — Unable to get the latest invocation: Failed to run dbt command.
Path 'ferryhopper' does not exist.
2024-09-24 17:49:36 — ERROR — Failed to parse Elementary's database and schema.
2024-09-24 17:49:36 — INFO — Running dbt command --log-format json run-operation elementary.log_macro_results --args {"macro_name": "elementary_cli.get_test_results", "macro_args": {"days_back": 7, "invocations_per_test": 720, "disable_passed_test_metrics": false}} --project-dir /home/tzanakis/git/python/pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/lib/python3.10/site-packages/elementary/monitor/dbt_project --profiles-dir ferryhopper
2024-09-24 17:49:36 — ERROR — Could not generate the report - Error: Failed to run dbt command.
Path 'ferryhopper' does not exist.
Please reach out to our community for help with this issue.
Traceback (most recent call last):
  File "/home/tzanakis/.pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/lib/python3.10/site-packages/elementary/monitor/api/report/report.py", line 50, in get_report_data
    tests_api = TestsAPI(
  File "/home/tzanakis/.pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/lib/python3.10/site-packages/elementary/monitor/api/tests/tests.py", line 43, in __init__
    self.test_results_db_rows = self._get_test_results_db_rows(
  File "/home/tzanakis/.pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/lib/python3.10/site-packages/elementary/monitor/api/tests/tests.py", line 55, in _get_test_results_db_rows
    return self.tests_fetcher.get_all_test_results_db_rows(
  File "/home/tzanakis/.pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/lib/python3.10/site-packages/elementary/monitor/fetchers/tests/tests.py", line 25, in get_all_test_results_db_rows
    run_operation_response = self.dbt_runner.run_operation(
  File "/home/tzanakis/.pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/lib/python3.10/site-packages/elementary/clients/dbt/command_line_dbt_runner.py", line 175, in run_operation
    result = self._run_command(
  File "/home/tzanakis/.pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/lib/python3.10/site-packages/elementary/clients/dbt/command_line_dbt_runner.py", line 112, in _run_command
    result = self._inner_run_command(
  File "/home/tzanakis/.pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/lib/python3.10/site-packages/elementary/clients/dbt/api_dbt_runner.py", line 53, in _inner_run_command
    raise DbtCommandError(
elementary.exceptions.exceptions.DbtCommandError: Failed to run dbt command.
Path 'ferryhopper' does not exist.

Tried this one too, just in case:
tzanakis@FHLT7FD7DL3:~/git/bi/dbt (*)
> edr report --project-dir "/home/tzanakis/git/bi/dbt/ferryhopper" --profiles-dir "/home/tzanakis/git/bi/dbt/ferryhopper"                                                                                main [3a3a10e9] untracked
    ________                          __
   / ____/ /__  ____ ___  ___  ____  / /_____ ________  __
  / __/ / / _ \/ __ `__ \/ _ \/ __ \/ __/ __ `/ ___/ / / /
 / /___/ /  __/ / / / / /  __/ / / / /_/ /_/ / /  / /_/ /
/_____/_/\___/_/ /_/ /_/\___/_/ /_/\__/\__,_/_/   \__, /
                                                 /____/

You are using Elementary 0.16.0, however version 0.16.1 is available.
Consider upgrading by running: "/home/tzanakis/.pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/bin/python3.10 -m pip install --upgrade elementary-data"

Any feedback and suggestions are welcomed! join our community here - https://bit.ly/slack-elementary

2024-09-24 17:53:23 — INFO — Running with edr=0.16.0
{"data": {"exc": "Database Error\n  [Errno 2] No such file or directory: 'service-account-dbt.json'"}, "info": {"category": "", "code": "Q001", "extra": {}, "invocation_id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "level": "error", "msg": "Encountered an error while running operation: Database Error\n  [Errno 2] No such file or directory: 'service-account-dbt.json'", "name": "RunningOperationCaughtError", "pid": 226007, "thread": "MainThread", "ts": "2024-09-24T14:53:25.257806Z"}}
2024-09-24 17:53:25 — ERROR — Unable to get the latest invocation: Failed to run dbt command.
2024-09-24 17:53:28 — INFO — Elementary's database and schema: '"bigquery-xxxxxx.user_gtzanakis_dbt"'
2024-09-24 17:53:28 — INFO — Running dbt command --log-format json run-operation elementary.log_macro_results --args {"macro_name": "elementary_cli.get_test_results", "macro_args": {"days_back": 7, "invocations_per_test": 720, "disable_passed_test_metrics": false}} --project-dir /home/tzanakis/git/python/pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/lib/python3.10/site-packages/elementary/monitor/dbt_project --profiles-dir /home/tzanakis/git/bi/dbt/ferryhopper
{"data": {"exc": "Database Error\n  [Errno 2] No such file or directory: 'service-account-dbt.json'"}, "info": {"category": "", "code": "Q001", "extra": {}, "invocation_id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "level": "error", "msg": "Encountered an error while running operation: Database Error\n  [Errno 2] No such file or directory: 'service-account-dbt.json'", "name": "RunningOperationCaughtError", "pid": 226007, "thread": "MainThread", "ts": "2024-09-24T14:53:28.741599Z"}}
2024-09-24 17:53:29 — ERROR — Could not generate the report - Error: Failed to run dbt command.
Please reach out to our community for help with this issue.
Traceback (most recent call last):
  File "/home/tzanakis/.pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/lib/python3.10/site-packages/elementary/monitor/api/report/report.py", line 50, in get_report_data
    tests_api = TestsAPI(
  File "/home/tzanakis/.pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/lib/python3.10/site-packages/elementary/monitor/api/tests/tests.py", line 43, in __init__
    self.test_results_db_rows = self._get_test_results_db_rows(
  File "/home/tzanakis/.pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/lib/python3.10/site-packages/elementary/monitor/api/tests/tests.py", line 55, in _get_test_results_db_rows
    return self.tests_fetcher.get_all_test_results_db_rows(
  File "/home/tzanakis/.pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/lib/python3.10/site-packages/elementary/monitor/fetchers/tests/tests.py", line 25, in get_all_test_results_db_rows
    run_operation_response = self.dbt_runner.run_operation(
  File "/home/tzanakis/.pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/lib/python3.10/site-packages/elementary/clients/dbt/command_line_dbt_runner.py", line 175, in run_operation
    result = self._run_command(
  File "/home/tzanakis/.pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/lib/python3.10/site-packages/elementary/clients/dbt/command_line_dbt_runner.py", line 112, in _run_command
    result = self._inner_run_command(
  File "/home/tzanakis/.pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/lib/python3.10/site-packages/elementary/clients/dbt/api_dbt_runner.py", line 53, in _inner_run_command
    raise DbtCommandError(
elementary.exceptions.exceptions.DbtCommandError: Failed to run dbt command.

Note that, if I change the virtual environment to switch back to 0.15.1 and change absolutely nothing else, both the above commands run without errors.

@ofek1weiss
Thanks for your feedback!
I try adding --profiles-dir ., it works for me.
run command:
edr report --env prod --project-name {project_id}  --days-back=30 --profiles-dir .

@geo909 did you try both at the same time? (setting both the keyfile and the command flags to absolute paths)? or was it one at a time?
the reason i am asking is that in the logs for the second command, you can see the log No such file or directory: 'service-account-dbt.json', i would have expected to see No such file or directory: "/home/tzanakis/git/bi/dbt/service-account-dbt.json"

@geo909 did you try both at the same time? (setting both the keyfile and the command flags to absolute paths)? or was it one at a time?
the reason i am asking is that in the logs for the second command, you can see the log No such file or directory: 'service-account-dbt.json', i would have expected to see No such file or directory: "/home/tzanakis/git/bi/dbt/service-account-dbt.json"

Oops.. Apologies, that was my mistake. I was trying the full path in the wrong profile.
So, the following combination finally worked!

keyfile: "/home/tzanakis/git/bi/dbt/service-account-dbt.json"
edr report --project-dir "ferryhopper" --profiles-dir "/home/tzanakis/git/bi/dbt/ferryhopper"

Played around with different expressions just in case, but relative paths expressed in different ways do not work, as expected probably. For example, the following:

keyfile: "./ferryhopper/service-account-dbt.json"
edr report --project-dir "ferryhopper" --profiles-dir "./ferryhopper"

@geo909 Firstly, that is great to hear :)
I'll try to figure out what change caused the keyfile issue, and see if it is reversible.
Regarding --profiles-dir, it should work with relative paths, so doing the following should work:

keyfile: "/home/tzanakis/git/bi/dbt/service-account-dbt.json"
edr report --project-dir "ferryhopper" --profiles-dir "./ferryhopper"
can you please try that and let me know if it works/share logs if it does not? 🙏

@ofek1weiss
No, the last combination does not work. To recap:
Works

keyfile: "/home/tzanakis/git/bi/dbt/ferryhopper/service-account-dbt.json"
edr report --project-dir "ferryhopper" --profiles-dir "/home/tzanakis/git/bi/dbt/ferryhopper"

Output:
> edr report --project-dir "ferryhopper" --profiles-dir "/home/tzanakis/git/bi/dbt/ferryhopper"                                                                                main [3a3a10e9] modified
    ________                          __
   / ____/ /__  ____ ___  ___  ____  / /_____ ________  __
  / __/ / / _ \/ __ `__ \/ _ \/ __ \/ __/ __ `/ ___/ / / /
 / /___/ /  __/ / / / / /  __/ / / / /_/ /_/ / /  / /_/ /
/_____/_/\___/_/ /_/ /_/\___/_/ /_/\__/\__,_/_/   \__, /
                                                 /____/

You are using Elementary 0.16.0, however version 0.16.1 is available.
Consider upgrading by running: "/home/tzanakis/.pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/bin/python3.10 -m pip install --upgrade elementary-data"

Any feedback and suggestions are welcomed! join our community here - https://bit.ly/slack-elementary

2024-09-25 12:04:17 — INFO — Running with edr=0.16.0
2024-09-25 12:04:24 — INFO — edr (0.16.0) and Elementary's dbt package (0.16.1) are compatible.
2024-09-25 12:04:26 — INFO — Elementary's database and schema: '"bigquery-xxxxxx.user_gtzanakis_dbt"'
2024-09-25 12:04:26 — INFO — Running dbt command --log-format json run-operation elementary.log_macro_results --args {"macro_name": "elementary_cli.get_test_results", "macro_args": {"days_back": 7, "invocations_per_test": 720, "disable_passed_test_metrics": false}} --project-dir /home/tzanakis/git/python/pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/lib/python3.10/site-packages/elementary/monitor/dbt_project --profiles-dir /home/tzanakis/git/bi/dbt/ferryhopper
2024-09-25 12:04:32 — INFO — Running dbt command --log-format json run-operation elementary.log_macro_results --args {"macro_name": "elementary_cli.get_source_freshness_results", "macro_args": {"days_back": 7, "invocations_per_test": 720}} --project-dir /home/tzanakis/git/python/pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/lib/python3.10/site-packages/elementary/monitor/dbt_project --profiles-dir /home/tzanakis/git/bi/dbt/ferryhopper
2024-09-25 12:04:35 — INFO — Running dbt command --log-format json run-operation elementary.log_macro_results --args {"macro_name": "elementary_cli.get_models", "macro_args": {"exclude_elementary": true}} --project-dir /home/tzanakis/git/python/pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/lib/python3.10/site-packages/elementary/monitor/dbt_project --profiles-dir /home/tzanakis/git/bi/dbt/ferryhopper
2024-09-25 12:04:39 — INFO — Running dbt command --log-format json run-operation elementary.log_macro_results --args {"macro_name": "elementary_cli.get_sources", "macro_args": {}} --project-dir /home/tzanakis/git/python/pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/lib/python3.10/site-packages/elementary/monitor/dbt_project --profiles-dir /home/tzanakis/git/bi/dbt/ferryhopper
2024-09-25 12:04:42 — INFO — Running dbt command --log-format json run-operation elementary.log_macro_results --args {"macro_name": "elementary_cli.get_exposures", "macro_args": {}} --project-dir /home/tzanakis/git/python/pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/lib/python3.10/site-packages/elementary/monitor/dbt_project --profiles-dir /home/tzanakis/git/bi/dbt/ferryhopper
2024-09-25 12:04:46 — INFO — Running dbt command --log-format json run-operation elementary.log_macro_results --args {"macro_name": "elementary_cli.get_singular_tests", "macro_args": {}} --project-dir /home/tzanakis/git/python/pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/lib/python3.10/site-packages/elementary/monitor/dbt_project --profiles-dir /home/tzanakis/git/bi/dbt/ferryhopper
2024-09-25 12:04:49 — INFO — Running dbt command --log-format json run-operation elementary.log_macro_results --args {"macro_name": "elementary_cli.get_models_runs", "macro_args": {"days_back": 7, "exclude_elementary": true}} --project-dir /home/tzanakis/git/python/pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/lib/python3.10/site-packages/elementary/monitor/dbt_project --profiles-dir /home/tzanakis/git/bi/dbt/ferryhopper
2024-09-25 12:04:54 — INFO — Running dbt command --log-format json run-operation elementary.log_macro_results --args {"macro_name": "elementary_cli.get_dbt_models_test_coverage", "macro_args": {}} --project-dir /home/tzanakis/git/python/pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/lib/python3.10/site-packages/elementary/monitor/dbt_project --profiles-dir /home/tzanakis/git/bi/dbt/ferryhopper
2024-09-25 12:04:58 — INFO — Running dbt command --log-format json run-operation elementary.log_macro_results --args {"macro_name": "elementary_cli.get_nodes_depends_on_nodes", "macro_args": {"exclude_elementary": true}} --project-dir /home/tzanakis/git/python/pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/lib/python3.10/site-packages/elementary/monitor/dbt_project --profiles-dir /home/tzanakis/git/bi/dbt/ferryhopper
2024-09-25 12:05:01 — INFO — Running dbt command --log-format json run-operation elementary.log_macro_results --args {"macro_name": "elementary_cli.get_models_latest_invocation", "macro_args": {}} --project-dir /home/tzanakis/git/python/pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/lib/python3.10/site-packages/elementary/monitor/dbt_project --profiles-dir /home/tzanakis/git/bi/dbt/ferryhopper
2024-09-25 12:05:04 — INFO — Running dbt command --log-format json run-operation elementary.log_macro_results --args {"macro_name": "elementary_cli.get_models_latest_invocations_data", "macro_args": {}} --project-dir /home/tzanakis/git/python/pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/lib/python3.10/site-packages/elementary/monitor/dbt_project --profiles-dir /home/tzanakis/git/bi/dbt/ferryhopper

Does NOT work

keyfile: "/home/tzanakis/git/bi/dbt/ferryhopper/service-account-dbt.json"
edr report --project-dir "ferryhopper" --profiles-dir "./ferryhopper"

Output:
> edr report --project-dir "ferryhopper" --profiles-dir "./ferryhopper"                                                                                main [3a3a10e9] modified
    ________                          __
   / ____/ /__  ____ ___  ___  ____  / /_____ ________  __
  / __/ / / _ \/ __ `__ \/ _ \/ __ \/ __/ __ `/ ___/ / / /
 / /___/ /  __/ / / / / /  __/ / / / /_/ /_/ / /  / /_/ /
/_____/_/\___/_/ /_/ /_/\___/_/ /_/\__/\__,_/_/   \__, /
                                                 /____/

You are using Elementary 0.16.0, however version 0.16.1 is available.
Consider upgrading by running: "/home/tzanakis/.pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/bin/python3.10 -m pip install --upgrade elementary-data"

Any feedback and suggestions are welcomed! join our community here - https://bit.ly/slack-elementary

2024-09-25 12:06:18 — INFO — Running with edr=0.16.0
2024-09-25 12:06:18 — ERROR — Unable to get the latest invocation: Failed to run dbt command.
Path './ferryhopper' does not exist.
2024-09-25 12:06:18 — ERROR — Failed to parse Elementary's database and schema.
2024-09-25 12:06:18 — INFO — Running dbt command --log-format json run-operation elementary.log_macro_results --args {"macro_name": "elementary_cli.get_test_results", "macro_args": {"days_back": 7, "invocations_per_test": 720, "disable_passed_test_metrics": false}} --project-dir /home/tzanakis/git/python/pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/lib/python3.10/site-packages/elementary/monitor/dbt_project --profiles-dir ./ferryhopper
2024-09-25 12:06:18 — ERROR — Could not generate the report - Error: Failed to run dbt command.
Path './ferryhopper' does not exist.
Please reach out to our community for help with this issue.
Traceback (most recent call last):
  File "/home/tzanakis/.pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/lib/python3.10/site-packages/elementary/monitor/api/report/report.py", line 50, in get_report_data
    tests_api = TestsAPI(
  File "/home/tzanakis/.pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/lib/python3.10/site-packages/elementary/monitor/api/tests/tests.py", line 43, in __init__
    self.test_results_db_rows = self._get_test_results_db_rows(
  File "/home/tzanakis/.pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/lib/python3.10/site-packages/elementary/monitor/api/tests/tests.py", line 55, in _get_test_results_db_rows
    return self.tests_fetcher.get_all_test_results_db_rows(
  File "/home/tzanakis/.pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/lib/python3.10/site-packages/elementary/monitor/fetchers/tests/tests.py", line 25, in get_all_test_results_db_rows
    run_operation_response = self.dbt_runner.run_operation(
  File "/home/tzanakis/.pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/lib/python3.10/site-packages/elementary/clients/dbt/command_line_dbt_runner.py", line 175, in run_operation
    result = self._run_command(
  File "/home/tzanakis/.pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/lib/python3.10/site-packages/elementary/clients/dbt/command_line_dbt_runner.py", line 112, in _run_command
    result = self._inner_run_command(
  File "/home/tzanakis/.pyenv/versions/3.10.11/envs/dbt_test_upgrade_2-3.10.11/lib/python3.10/site-packages/elementary/clients/dbt/api_dbt_runner.py", line 53, in _inner_run_command
    raise DbtCommandError(
elementary.exceptions.exceptions.DbtCommandError: Failed to run dbt command.
Path './ferryhopper' does not exist.

ohhhhhhh, you use elementary 0.16.0, in 0.16.1 it should work (it is the only difference between them)

ohhhhhhh, you use elementary 0.16.0, in 0.16.1 it should work (it is the only difference between them) @geo909

Ough.. I had tried with 0.16.1 earlier (see here) with the error again but I must have switched to 0.16.0 when playing around with the versions. Apologies again!
But we're getting there. Indeed now 0.16.1 works with the following combination:

edr report --project-dir "ferryhopper" --profiles-dir "ferryhopper"
keyfile: "/home/tzanakis/Tmp/bi.bak/dbt/ferryhopper/service-account-dbt.json"

But if I switch the keyfile parameter in profiles.yml to simply keyfile: service-account-dbt.json it is going to fail again.
Note that dbt runs fine with dbt run --project-dir "ferryhopper" --profiles-dir "ferryhopper"  with the parameter set as       keyfile: service-account-dbt.json.

@ofek1weiss I cloned elementary's repo and played around, the issue is with this commit:
https://github.com/elementary-data/elementary/commit/71765ac1b539aae49adf729d7f22409862fb9c1a
If you comment-out the line cwd=self.project_dir, my edr command works fine with keyfile: service-account-dbt.json, put it back and it breaks again.

@geo909 i see, thanks for the deep dive 🙏
this line was added to overcome this issue in dbt, a fix for it has been merged, but they did not yet release the fixed version, once they do we will be able to change it

@geo909 i see, thanks for the deep dive 🙏
this line was added to overcome this issue in dbt, a fix for it has been merged, but they did not yet release the fixed version, once they do we will be able to change it

Great, good to know! Do you have an estimate about how long this could take, by any chance?

Same issue for me after upgrading to 0.16.1
Do you have any estimation yet?


Remove extra whitespace hiding inside d2l-link elements

This gap was really noticable when a link was beside punctuation (e.g. commas, periods, etc.)
I noticed this when switching the blog to use Brightspace UI. Here's the before:

and after:

I didn't look closely at how visual-diff works; it looked like something else was maybe supposed to push the goldens to GitHub so I just left it alone. If this fails CI or there is more to do I can check it out on Monday!

Can you re-run this from a branch instead of a fork? Otherwise the visual diff tests don't run (they need access to encrypted environment variables) and since this will actually produce a new golden we need them to run.

Ah ok. You'll need to give me write permission and/or add me to the org then :)

I'll re-open this as a branch.


Allow image drawing in subscreen areas

This extends the image method with two additional arguments for the
image origin on the screen. The previous exact size check was adapted
to ensure that the image drawn at the supplied origin does not exceed
the display dimensions.
The changes allow to update a smaller part of the screen with an
image which is especially benefitial on lower end hardware. Some
example test results from a Rasberry Pi Zero:

Draw fullscreen image (240x320): ~0.3s
Draw half-screen image (240x160): ~0.2s
Draw single line of text (240x22): ~0.06s

Fixes: #48
Note that this was based off of my changes in #47 and will have to be rebased before merging.

As a note to reviewers, it appears this PR is dependent on #47 being approved, so I'll grab this after I have a chance to review #47.

@Johennes #47 was merged. Do you want to go ahead and rebase? Thanks

👌 Will take care of it after work today.

Sounds good. Thanks!

Ok, it's rebased on master now.

Awesome! Thank you.


Downgrade to qemu-8.2.1

Lima doesn't seem to work properly with the latest QEMU on GitHub runners.
See also https://github.com/lima-vm/lima/pull/2640
Converted to draft for now; should re-use the script from https://github.com/lima-vm/lima/pull/2642

[    0.013000] Kernel panic - not syncing: IO-APIC + timer doesn't work!  Boot with apic=debug and send a report.  Then try booting with the 'noapic' option.
[    0.013000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.8.0-41-generic #41-Ubuntu
[    0.013000] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS edk2-stable202302-for-qemu 03/01/2023
[    0.013000] Call Trace:
[    0.013000]  <TASK>
[    0.013000]  dump_stack_lvl+0x27/0xa0
[    0.013000]  dump_stack+0x10/0x20
[    0.013000]  panic+0x366/0x3c0
[    0.013000]  check_timer+0x610/0x610
[    0.013000]  setup_IO_APIC+0x2c3/0x370
[    0.013000]  ? enable_IO_APIC+0x1af/0x290
[    0.013000]  apic_intr_mode_init+0x61/0x130
[    0.013000]  x86_late_time_init+0x24/0x40
[    0.013000]  start_kernel+0x2be/0x450
[    0.013000]  x86_64_start_reservations+0x18/0x30
[    0.013000]  x86_64_start_kernel+0xbf/0x110
[    0.013000]  secondary_startup_64_no_verify+0x184/0x18b
[    0.013000]  </TASK>
[    0.013000] ---[ end Kernel panic - not syncing: IO-APIC + timer doesn't work!  Boot with apic=debug and send a report.  Then try booting with the 'noapic' option. ]---

Probably we need
https://github.com/lima-vm/lima/blob/6284c216a45ded32f7670661cd038b296060e269/.github/workflows/test.yml#L184-L186

Could you rebase with the current master?

Could you rebase with the current master?

Rebased and updated with the latest script changes from https://github.com/lima-vm/lima/pull/2652


[Bug]: panicked at macos

What happened?
RUST_BACKTRACE=1 cargo run
Finished dev [unoptimized + debuginfo] target(s) in 0.12s
Running target/debug/cookie_helper
thread 'main' panicked at 'called Result::unwrap() on an Err value: decrypt_encrypted_value failed', src/main.rs:5:56
stack backtrace:
0: rust_begin_unwind
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panicking.rs:593:5
1: core::panicking::panic_fmt
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/panicking.rs:67:14
2: core::result::unwrap_failed
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/result.rs:1651:5
3: core::result::Result<T,E>::unwrap
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/result.rs:1076:23
4: cookie_helper::main
at ./src/main.rs:5:32
5: core::ops::function::FnOnce::call_once
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
Steps to reproduce
use rookie::{self, common::enums::Cookie};
fn main() {
let domains = Some(vec!["google.com"]); // set to None to get all
let cookies: Vec = rookie::chrome(domains).unwrap();
println!("{cookies:?}");
}
1.cargo run
What browsers are you seeing the problem on?
Chrome
Relevant log output
No response

Thanks for reporting!
Can you try with safari or other browsers and let me know if them works?

Thanks for reporting! Can you try with safari or other browsers and let me know if them works?

yes,I use the Safari and edge browser, and it also returns the same result.

I checked that on MacOS version 13.5 with M1
Safari and Firefox worked!
But I can see that Chrome based browsers doesn't.
I'll check what cause that, I just need to compare it with browser_cookie3 because it works there

Fixed in v0.3.3
You can install with
pip3 install -U rookiepy


feat: Add function to change the speech voice

use localStorage to save speech voice
Save it and use where it is used
Add this in profile section or separate settings page

Ok good one


Terminal: Can't resize tmux panes using mouse

Linux
Mouse drag behavior became much different recently. I can't no longer resize tmux panes. It does work if I double click tho... so this makes me thing the change was purposeful.
I also can't figure out how to select text to copy into the clipboard any more. None of the modifier keys let me select text such that Ctrl Shift C would copy it.
It's getting hard to stick to the integrated terminal like this. :cry:

Does it work in an outside terminal? I'm struggling to get mouse support working with set -g mouse on on mac (tmux 2.9a)

Yup works in iTerm 2, tmux 2.9a.

Doh, .tmux.conf, not .tmux-conf. I can repro the issue

Thanks!!


chore(operator): add openebs 2.11.0 operators

Signed-off-by: prateekpandey14<EMAIL_ADDRESS>Special notes for your reviewer:
Add
openebs, cstor, jiva operator 2.11.0 (RC1, RC2)
lvm operator 0.7.0 (RC1, RC2)
ndm operator 1.6.0 (RC1, RC2)
zfs operator 1.9.0 (RC1, RC2)

@prateekpandey14 The yamls at the root directory also needs to be updated.

@prateekpandey14 -- can you update the NOTICE message in the openebs-operator to fix this isssue: https://github.com/openebs/openebs/issues/3414
Few things we can do is:

Mention that the file will be deprecated in 3.0.0
Provide links to the YAML files that supersede this YAML - like the cstor-operators and other operator yaml files.

Mention that the file will be deprecated in 3.0.0
Provide links to the YAML files that supersede this YAML - like the cstor-operators and other operator yaml files.

Done

@prateekpandey14 you need to add allowed_topologies as an env for LVM operator yaml. https://github.com/openebs/lvm-localpv/blob/master/deploy/lvm-operator.yaml#L1374.


How to set custom RGB-T datasets sets for training

Dear Author,I stored the data set as the readme.md, but mine is RGB-T instead of RGB-D.Num_classes,classes_name ,image_size and so on has been modified.But the result of train.py is strange as below.

Hi @1600337881 ,
thanks for your interest. I would like to help if you can post how you modified the dataloader for your custom RGBT dataset. Besides, please check the MFNet dataset which we use in this work as RGBT dataset.


How can I see a list of all the destinations and queues of a particular server?

How can I see a list of all the destinations and queues of a particular server?

This is not related to STOMP.
Different servers (AMQ, RabbitMQ, Apollo, .... etc) will provide an API for accessing their message stores. Refer to server documentation for your particular server.
Closing this, not STOMP / gem related.


How to make this more generic?

var ruleResults = RuleEngine<Order>.GetInstance(order)
    .ApplyRules(new QualifiesForFreeShipping())
    .Execute()

How to make Order itself generic, meaning load that type from another assembly, and be able to execute code in a pattern similar to above?

One option would be you can create generic rule(s) based on some abstract type.  Example:
public class MyRule<T> : Rule<T> where T : MyClass, new()
{
	public override IRuleResult Invoke()
	{
		return null;
	}
}

public abstract class MyClass
{
	public MyClass()
	{
	}
}

And then init rule engine with the abstract type
RuleEngine<MyClass>.GetInstance(...)

So the lib does not support a scenario where the model and rules are
dynamic - created on-the-fly, at runtime...?
On Mar 16, 2016 3:46 AM, "Arif Yayalar"<EMAIL_ADDRESS>wrote:

One option would be you can create generic rule(s) based on some abstract
type. Example:
public class MyRule : Rule where T : MyClass, new()
{
public override IRuleResult Invoke()
{
return null;
}
}
public abstract class MyClass
{
public MyClass()
{
}
}
And then init rule engine with the abstract type
RuleEngine.GetInstance(...)
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/ayayalar/DotNetRuleEngine/issues/2#issuecomment-197049504

I don't know exactly what you are trying to accomplish. But you would get the most use out of it when you create a RuleEngine per type. A rule engine represents set of rules for a type (your domain object). However you can create rule engine for the object or dynamic types. In my opinion it defeats the purpose but it is totally possible. Then in each rule created you would need to determine the type to cast/convert.
On Tue, Mar 15, 2016 at 8:11 PM -0700, "arun.jayapal"<EMAIL_ADDRESS>wrote:
So the lib does not support a scenario where the model and rules are
dynamic - created on-the-fly, at runtime...?
On Mar 16, 2016 3:46 AM, "Arif Yayalar"<EMAIL_ADDRESS>wrote:

One option would be you can create generic rule(s) based on some abstract

type. Example:

public class MyRule : Rule where T : MyClass, new()

{

public override IRuleResult Invoke()

{

    return null;

}

}

public abstract class MyClass

{

public MyClass()

{

}

}

And then init rule engine with the abstract type

RuleEngine.GetInstance(...)

—

You are receiving this because you authored the thread.

Reply to this email directly or view it on GitHub

https://github.com/ayayalar/DotNetRuleEngine/issues/2#issuecomment-197049504

—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub


Watcher action: Webhook and URL params

Hi,
I have ELK 5.4 and I was trying to use an API via the Webhook action field in a watcher.  So, the watcher would trigger and, as a reaction, would use the "addRequest" functionnality from the application's API.

Issue Description + Reproducing the Issue step-by-step
As I said, I use the "webhook" field in the "actions" section of the watcher. I managed to make the call work in the following way :
Action:
Title : test
Method : POST
Host : localhost
Port : 8080
Path : /path/addRequest?apikey=&email=&subject=alpaca
Body : "blahblah"
And I add nothing else. In this case, the request is fine, everything is working.
Webhook Response: { [...] "status":"Success","statuscode":"200"},

However, the X-pack doc says it is better to use the "params" field. (https://www.elastic.co/guide/en/x-pack/current/actions-webhook.html)
So I tried to use this field and to integrate it directly in the "Raw" section, like this :
"webhook": {
"method": "POST",
"host": "localhost",
"port": 8080,
"proxy": false,
"path": "/path/addRequest",
"params": "apikey=<api_key>&email=&subject=alpaca&",
"body": "blahblah",
"priority": "high",
"create_alert": false,
"_headers": ""
}
But the API answers with an error, saying that it can't find the [apikey] parameter.
Webhook Response: {"response":{"result":{"status":"Failure","statusmessage":"The parameter [apikey] is not available in the request","statuscode":"4000"},"uri":"/path/addRequest"}}
Il also tried to include it like this, but it gave me a parsing error :
"params": {
"apikey": "",
"email": "",
"subject": "alpaca"
},
How do we use the "params" field ? Or maybe it is just used in X-Pck and not in Sentinl ? Dont hesitate to tell me if you need any more details.

The issue is with the remote side, as you can see from the response. My best guess is there's a slash too many in your path possibly, or this is done on purpose?

Sorry I didn't see this, I actually wrote "path" between chevrons and it didn't write anything... Fixed !
It would be weird if it was because of the slash, it works in the first case. The response says that the app didn't find the [apikey] parameter, I have the same answer when I try with no params. But when I put a wrong "path", I have the error "Specified request URI incorrect".
So maybe it has something to see with the way the parameters are concatenated ? I also tried adding an exclamation point like this :
"params": "?apikey=<api_key>&email=&subject=alpaca&", but same error.

Would you have an example of how this field must be used ? I'm looking at the code (https://github.com/sirensolutions/sentinl/blob/1fb6735c54518821788eebadbc08a3cf025e7114/server/lib/actions.js) but I don't see where the params option is used.
In the end, where the options are collected and put in the HTTP Request, the params field is never beeing retrieved. Maybe it is in another function ?

Closing for inactivity, feel free to reopen if still a challenge using the latest release & wiki examples


How do I check when image within the editor is deleted?

hello guys
After saving image files to upload using imageAdd in variable, uploading image to S3 when submit to server.
The problem is I don't know how to check when the image in the editor has been deleted.
Is there an event when I delete the image? Or how do we know the image was deleted?

I want to chime in on this, because it is a necessary feature.
If the editor doesn't emit an imageDeleted event, then eventually you end up with a ton of orphaned images on S3. As anyone who is familiar with S3 pricing can tell you, this is very bad!

Please also see #139

This issue is stale because it has been open for 60 days with no activity.

This issue was closed because it has been inactive for 7 days since being marked as stale.


remapping iron-send-motion unexpectedly overwrites ctr and nnoremap doesn't work at all.

Thanks for the plugin :)
From my init.vim:
" Map iron.vim
nnoremap <leader>r <Plug>(iron-send-motion)
vnoremap <leader>r <Plug>(iron-send-motion)

If I leave that excerpt in, the ctr mapping is not made. This behaviour is not documented.
Worse, my mapping doesn't work. If I make it an nmap rather than nnoremap mapping, then it works as expected. This is unusual and also not documented.

Thanks for the plugin :)

I'm glad you like it!

If I leave that excerpt in, the ctr mapping is not made. This behaviour is not documented.

It seems that this feature is poorly implemented, unfortunately.
I'll take a look at it.

Worse, my mapping doesn't work. If I make it an nmap rather than nnoremap mapping, then it works as expected.

This is quite unexpected. I'll keep an eye at it while I try to fix it.
Thanks for the issue! I'll take a look at it later today and try to come up with a better solution.
Cheers!


Removed leading slash character from virtual host name

Hi, I think this small change could fix the issue #19

Thanks, this change makes our test fail with:
com.rabbitmq.client.ShutdownSignalException: connection error; protocol method: #method<connection.close>(reply-code=530, reply-text=NOT_ALLOWED - vhost my_vhost not found, class-id=10, method-id=40)
It seems at least with our test on the version of RabitMQ we use the vhost must start with /.
Maybe you can give us more context on your issue so we may understand what's going on ?

Any update??

@jaime-amesti-frontiers the issue is that if we change this, it will be a breaking change that other users may be impacted by. This is shown by our current test that has a legitimate task configuration now fail.
I'll discuss with the team as if we do the change the vhost can no longer start with a / which is a legitimate vhost name for RabbitMQ. We may need to provide more control over RabbitMQ connection configuration to workaround this.

Hi @loicmathieu ,
Honestly, I write more code in C# than in Java, so I prefer you take care of it.
Thanks for managing it.

OK great, working on it

Can I cancel this PR?

Closed in favor of https://github.com/kestra-io/plugin-amqp/pull/21


highlight-non-default-base-branch Should exclude branch master

With everyone switching the base branch to main...
https://github.com/sindresorhus/refined-github/pulls?q=is%3Apr+sort%3Aupdated-desc+is%3Amerged

Some repositories use something other than master as their default branch (e.g. dev) and have treated master as a "production" branch, so PRs pointing to master don't necessarily match the current situation ("this PR was merged into the default branch at the time").
Given that we do not have a history of default branches to properly address this issue, perhaps we can hide master if the default branch is main, so we cover this use-case exactly.

Some repositories use something other than master as their default branch (e.g. dev) and have treated master as a "production" branch, so PRs pointing to master don't necessarily match the current situation ("this PR was merged into the default branch at the time").
Given that we do not have a history of default branches to properly address this issue, perhaps we can hide master if the default branch is main, so we cover this use-case exactly.

This also applies to clean-conversation-headers

This also applies to clean-conversation-headers

Also keep in mind this should only happen on deleted branches. Since if the branch was changed the PR branch (if it was open) would also change

Also keep in mind this should only happen on deleted branches. Since if the branch was changed the PR branch (if it was open) would also change

Rather than deleted branches I’d do that for “closed PRs”

Rather than deleted branches I’d do that for “closed PRs”

Rather than deleted branches I’d do that for “closed PRs”

Merged too? or only closed?

Rather than deleted branches I’d do that for “closed PRs”

Merged too? or only closed?

Merged and closed

Merged and closed

I tried looking for a CSS selector and could not find one.  If not I will add the state to the API call.

I tried looking for a CSS selector and could not find one.  If not I will add the state to the API call.


Hooks details

Adds proper hooks fields such as Definition (Ansible playbook or image) and Type (Pre or Post migration)
Hooks are optional so their fields should be displayed only when hooks exist for a plan
Mappings and Hooks header fields must be displayed in bold

Resolves https://github.com/konveyor/forklift-ui/issues/596

You can mark this as resolving #596! I'll review asap. Thanks @gildub.

@vconzola can you give it a visual review? I think maybe we should switch the order of the columns so "Migration step" comes first, like we did for the hooks table in the wizard.

This PR is replaced with https://github.com/konveyor/forklift-ui/pull/617


server endpoints not support ipv6?

Wondering if my test was correct, seems the Sandbox and Production endpoints are not reachable from an ipv6-only network, because the two endpoints have no DNS for ipv6. I have to use proxy to forward the requests.
> ping6 apple.com
16 bytes from 2620:149:af0::10, icmp_seq=0 hlim=58 time=174.733 ms

> ping6 api.storekit-sandbox.itunes.apple.com
ping6: getaddrinfo -- nodename nor servname provided, or not known

Thanks

Hello! At this time IPv6 is not supported on the App Store Server API


Spritesheet Scale

Added

Adds support for using the meta.scale property of spritesheet format to determine the resolution rather than relying on the filename (e.g., @2x.png), for conditions when renaming the file might not be appropriate.

Note: this is also needed to support an optimization feature in PixiAnimate

Hey chaps! this change seems to be breaking our games :/
Gonna investigate now..

Instead of taking "scale" from data.meta i suggest to use our loader's "metadata" field and add resolution there.

It should probably do both.

@GoodBoyDigital added a fix #3297 which addresses the problem. Scale is only considered if the resolution from the filename is not 1.


About the bypassing region-lock feature

I won't be implementing this feature as it will increase the chance of getting banned by Xbox.

Implemented in 5.2.0


Cannot find a method to test which variant is set to a node

I am looking for a way to test which variant is set to a node.  In the provided example, I have an indicator group with 3 different indicators.  I would like to write 6 tests that test the variants set to each indicator (one test for each indicator).  I am able to find the node of interest, but am not able to discern which variant is currently set.
Ex4Google-variantTesting.zip

I have a pull request open currently that adds some component variant tests. It clicks some buttons that set variant parameters, and then checks that the correct variant is shown. However it does this check by looking for text within the variant. You could do this too by adding text to your variants and looking for the text in your tests -- would that work for you? You can see it here https://github.com/google/automotive-design-compose/pull/754/files#diff-eb647c50d5817e172336ebbed35af2fa78cc3fde96ef3644c46e8bfec9d8b68a

I was able to assert tests by setting contentDescription and stateDescription in the semantics modifiers


Use of sparse in maxent classifier

It seems like sparse argument is not used anywhere in the train function of Maximum Entropy Classifiers? So, remove the argument or am I missing something?

Yes, and sparse is not defined in the docstring either.

Resolved in https://github.com/nltk/nltk/commit/b647b2a3c51de6cee609277070dd17958e83455a


Theme 1.0 Code Updates from Design

Details to be provided by @pseys

Potentially related: https://github.com/jpmorganchase/salt-ds/issues/1951

Potentially related: #1951

I can confirm that this is related and has now been included within the Excel summary. FYI @feliciackh

Need more time to go through design iteration. Pushing target date and RAG to amber

Spoken with @pseys to arrange a 30 min call for Tues/Wed

Unblocked, with new token names agreed (mostly around text => content characteristics)

@feliciackh addressing @pseys feedback. Target date is end of this week

13 Nov - Design questions resolved, PR to be dev reviewed

17 Nov - Token changes merged, 2 more follow up updates on doc


Add failure stats to ciao nodes

If we have node information for a failure, store and increment
stats per node and report via CiaoNode. Note that these stats
are not persistent - they will be cleared when the node is
removed or when the controller is restarted.
Signed-off-by: Kristen Carlson Accardi<EMAIL_ADDRESS>

Coverage increased (+0.01%) to 65.872% when pulling 6e2f8bbb7e9355bb59c12b3c6463c03ebd51f87c on kaccardi:topic/add-failure-stats into 5b66055d05646ea9ebf17c142910e97962a6c041 on ciao-project:master.

Coverage increased (+0.01%) to 65.872% when pulling 6e2f8bbb7e9355bb59c12b3c6463c03ebd51f87c on kaccardi:topic/add-failure-stats into 5b66055d05646ea9ebf17c142910e97962a6c041 on ciao-project:master.


Escape spaces in ${SRCROOT} when running script

If ${SRCROOT} contains spaces, the “run script” phase fails as the path isn’t properly escaped in the project configuration (Shell Script Invocation Error).

I feels this script is unnecessary in this app, since DebugAndSendToDataVerificationServer is not exist and app will not send any data to server. Can you remove this run script phase instead?

There you go, build phase removed.
Should I just remove it from the 3 other apps too, or just escape it (otherwise it won’t build if the project path contains spaces)?

Yes, just remove it from the apps.


release ordinals API v0.1.0

Now that we have a stable version of the API, this PR will create the first v0.1.0 release.
@zone117x I would appreciate a review! You can focus on files below the src/ directory, keeping in mind that some of the code is reused and taken from the Metadata API (shutdown tools, postgres, migrations, etc.). A future PR will move this into the API toolkit we discussed in the past. All the code under src/chainhook will be replaced with the Chainhook TS library once ready.
Thanks

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


I cannot do some things

Hi, i am using your bot and sometimes she doesn't let me use some commands like reboot and I am the admin of my channel. Can you help me?
Thanks.

Hi howtobe,
the reboot command, and likely the other commands you are attempting are bot admin commands only, which means you should not and cannot use them.
If a command shows up when you do !help you can use it, if it isn't there, then you can't.


Share experiment source code check-in

All the source code of the share experiment

should this be in a separate repo since you have to declare all the dependencies in the 3rd party file?

Please merge this in but request for opensource approval for any new dependencies. .

Please merge this in but request for opensource approval for any new dependencies. .

Registered "react-scripts" which is the only one I believe hadn't been registered by us. (1729961)


[composer] kbd shortcuts on windows

Chad is using composer as a primary tool on windows using Brave.

[ ] shortcuts are printed only with mac CMD icon
[ ] shortcuts don't work on windows (check that Ctrl is implemented in place of Cmd?)

We did add some support to theoretically for cross-platform shortcuts but haven't tried to hook any of them up yet. I don't have a Windows license, but I can at least test that on a Linux machine that the Mac shortcuts aren't used.

I can help test.  I think linux won't be enough because some of the shortcuts listed appear to be built-in Windows shell shortcuts.

@chad if you have any suggestions for Windows alternatives to shortcuts that are currently listed let us know and we can incorporate that.


aws.ec2.Eip "allocationId" output is undefined.

When instantiating a new aws.ec2.Eip, I expect to be able to get the resulting allocation ID output from the variable described here: https://pulumi.io/reference/pkg/nodejs/@pulumi/aws/ec2/#Eip-allocationId.
This seems to return undefined.  The allocation ID is instead under .id
const eip = new aws.ec2.Eip("test", {
        vpc: true,
});

eip.id.apply(i => console.log('ALLOCATION', i))
eip.allocationId.apply(i => console.log('ALLOCATION', i))

The first log shows the correct allocation ID, the second shows undefined.

This appears to be rooted in an issue in the upstream Terraform AWS provider that allocation_id is defined to be an output of an eip resource, but is never set to a value:
https://github.com/terraform-providers/terraform-provider-aws/blob/03a8516d988de201ca3358f09b92a22f2507894d/aws/resource_aws_eip.go#L53
This means it will always be undefined.  The documentation for this resource doesn't list it - so it's probably rare for Terraform users to try to use it - but if they do they will run into the same problems.
We should consider whether we can suppress this field to closer align with the reality that it will never be set.
There appear to be several other properties of this resource that similarly are marked as outputs but will never be set to a value.

I've submitted a pull request upstream to the Terraform AWS provider to fix this particular instance, but I think more generally we should consider a way to opt out of having fields mapped in pulumi-terraform. I'll open an issue there to track that, and leave this one open until upstream merges.

Allocation id is empty even after reading the EIP from AWS:
const eip = new aws.ec2.Eip(`${baseName}-nat-eip-${index + 1}`, {}, subnetParent);
const natGateway = new aws.ec2.NatGateway(`${baseName}-nat-gw-${index + 1}`, {
                allocationId: eip.id.apply((_id) => aws.ec2.Eip.get(`created-eip-${index + 1}`, _id).allocationId),
                subnetId: publicSubnets[index].id,
                tags: natGatewayTags,
            }, subnetParent);

error: aws:ec2/natGateway:NatGateway resource 'eks-qa1-nat-gw-2' has a problem: "allocation_id": required field is not set

This really blocks us - we cannnot create a vpc with Pulumi

Note that the id property should contain the allocation id - so this should not be blocking.

Yes, thank you, my issue was that I was not setting eip.vpc to true, I resolved it now

Yeah, feel free to close this since there is a simple alternative.  Especially if the docs were potentially updated (though I'm sure those are probably auto-generated).

Yes, thank you, my issue was that I was not setting eip.vpc to true, I resolved it now

weird that this causes the allocationId to not be accessible, because it definitely still would exist in AWS


Add Navigation Bar with Owners and Veterinarians

https://api.flutter.dev/flutter/material/BottomNavigationBar-class.html

NOTE: Full page reload decreases performance.


Benchmark computeRoots function for large square sizes

In the context of the big blonk workstream, and based on the CPU profiling data, it has been hypothesized that the computeRoots function accounts for 30% of CPU usage. This was observed during an experiment conducted in testground, which involved block sizes ranging from 2 to 100 MB. To validate the duration this function takes, the computeRoots function must be benchmarked. If a benchmark already exists, it should be expanded to include larger data square sizes to accurately assess its performance.

Including more context: below is the  flame graph associated with the cpu profiling data mentioned in the description of the issue:

Most of the time seem to be spend on https://github.com/celestiaorg/nmt/issues/216


feat: add parse error kind and fix the invalid syntax quick fix code

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[ ] N
[x] Y

re #652
feat: add parse error kind and fix the invalid syntax quick fix code

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

61 of 79 (77.22%)  changed or added relevant lines in 7 files are covered.
9 unchanged lines in 5 files lost coverage.
Overall coverage decreased (-0.02%) to 71.187%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

kclvm/parser/src/lexer/mod.rs
20
23
86.96%

kclvm/tools/src/LSP/src/quick_fix.rs
0
3
0.0%

kclvm/error/src/lib.rs
7
19
36.84%

Files with Coverage Reduction
New Missed Lines
%

kclvm/ast/src/token.rs
1
58.9%

kclvm/sema/src/builtin/option.rs
1
0.0%

kclvm/error/src/lib.rs
1
63.2%

kclvm/sema/src/core/scope.rs
3
65.58%

kclvm/query/src/query.rs
3
68.48%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
54219

Relevant Lines:
76164

💛  - Coveralls


Support for user requests (Azure Purview)

Proposal
Add support to submit a change as a 'workflow request' for Azure Purview
The goal is to ensure API requests are going through the integrated Purview workflow engine.
Example
An automated system compares a database against glossary terms and upload missing entities/term to Purview.
The new entries are not immediately available in the system but goes through a validation process.
Issues that this feature solves
N/A
Suggested Implementation
See: https://learn.microsoft.com/en-us/rest/api/purview/workflowdataplane/submit-user-requests/submit-user-requests?tabs=HTTP

Hi, @Freds72AtWork Thank you so much for using PyApacheAtlas!  The scope of this package is strictly the data catalog portion of Purview and Apache Atlas.  If you are interested in automating the workflow creation process, you might consider the azure-purview-workflow package instead.


Tests: use new 2009c mni template instead of the current

Since that template is included within niworkflow's distribution, we avoid one download and testing will be faster.

Not pertinent anymore.


Initial code for nnUNet support

Hi @dalmouiee,
here is some initial code for the nnUNet module to address #132. I haven't implemented any unit tests for this yet since the module isn't finished. I will add some tests when I implement the remainder of the functionality in #133. Let me know what you think. Thanks! :)

Hey @pchlap, great stuff love the proactivity on the sanity checks! Also appreciate the use of types now in PyDicer. It's looking all good with the nnUNet preparation steps, unit tests will be a good addition for this but yeah when you get a chance when the module is ready. Getting closer to Version 1.0.0! Happy for a merge :)


Documentation samples should actually compile without errors

Basic Syntax / Methods
def method name = 'imba'
	console.log param

should be
def method name = 'imba'
	console.log name

Basic Syntax / Class Declarations
let todo = new Todo 'Read introduction'

should be
let todo = new Todo title: 'Read introduction'

otherwise the constructor would not take Read introduction to initialize title.

Basic Syntax / Loops & Iteration
for num in array when num != 2
	num

array is undefined

Basic Syntax / Components
imba.mount <todo-app data=todos>

todos is undefined

These appear to have been fixed, thank you!


THRIFT-4974: Add cross test for Python's Unix domain socket transport

This PR adds a cross test for the Unix domain socket functionality of the Python library.

[x] Did you create an Apache Jira ticket?  (not required for trivial changes)
[x] If a ticket exists: Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"?
[x] Did you squash your changes to a single commit?  (not required, but preferred)
[x] Did you do your best to avoid breaking changes?  If one was needed, did you label the Jira ticket with "Breaking-Change"?
[x] If your change does not involve any code, add  [skip ci] at the end of your pull request to free up build resources.

It might be nice to update the LANGUAGES.md file for the Python/Domain column.

@kainjow Thanks for the comment! Just updated the PR.


chore: updated go-apiops to latest version

This version of go-apiops has replaced kin-openapi with libopenapi to add further support of
OpenAPI 3.1
Refer: https://github.com/Kong/go-apiops/pull/194
This change would not affect users using OpenAPI 3.0 spec with deck command.
Fix for #1324: https://github.com/Kong/deck/issues/1324

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 22.49%. Comparing base (326ac99) to head (177d745).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1373   +/-   ##
=======================================
  Coverage   22.49%   22.49%
=======================================
  Files          54       54
  Lines        4517     4517
=======================================
  Hits         1016     1016
  Misses       3402     3402
  Partials       99       99

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


add detail info for trace

Add detail info(RS info of AsyncProcess.sendMultiAction) for usage of tracking RegionServers performance.

Hey ddc,
Thanks so much for creating a patch! On Apache HBase, we require all contributors to use our issue tracker and to submit patches by attaching them to individual JIRAs, as described in our ref guide. Would you mind closing this PR and posting your patch through that channel?
Thanks again,
Dima

OK  I will do it! ^^


soc: riscv: telink_b91: BLE PM improvements

Switch off unused GPIO
Allow BLE stack to control entering suspend mode

Co-authored-by: Andrii Bilynskyi<EMAIL_ADDRESS>Signed-off-by: Qiu Gao<EMAIL_ADDRESS>

The following west manifest projects have been modified in this Pull Request:

Name
Old Revision
New Revision
Diff

hal_telink
https://github.com/telink-semi/hal_telink/commit/de7557c7981a7e8c1a1ef60504c4557bed7608da (develop)
pull/13
<EMAIL_ADDRESS>

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@damien0x0023 could you invite Qiu Gao to review this PR?

BLE library builder is here
http://<IP_ADDRESS>/andrii-bilynskyi/telink_eagle_ble_multi_connection_builder
Build artifacts are published
https://github.com/telink-semi/zephyr_hal_telink_b91_ble_lib

@gaoqiu2023 this is the 1st PR.


fix(chat): add tooltip to edit button (Issue #2225)

Description:
Need to add a tooltip to Edit button on the card view
Issues:

Issue #2225

UI changes

Checklist:

[x] the pull request name complies with Conventional Commits
[x] the pull request name starts with fix(<scope>):, feat(<scope>):, feature(<scope>):, chore(<scope>):, hotfix(<scope>): or e2e(<scope>):. If contains breaking changes then the pull request name must start with fix(<scope>)!:, feat(<scope>)!:, feature(<scope>)!:, chore(<scope>)!:, hotfix(<scope>)!: or e2e(<scope>)!: where <scope> is name of affected project: chat, chat-e2e, overlay, shared, sandbox-overlay, etc.
[x] the pull request name ends with (Issue #<TICKET_ID>) (comma-separated list of issues)
[x] I confirm that do not share any confidential information like API keys or any other secrets and private URLs

/deploy-review

/deploy-review


RSS memory calculation overflow for some low in resource usage processes

For some nodes in my setup in node view, Memory consumers, bytes graph I see some processes have 18.45E memory consumption, so the graph gets unusable.
My nodes in question run on Debian 11, using cgroups v2.
It seems to be a consequence of current RSS calculation in the agent here, wherein RSS is calculated as: current - vars["file"],.
For example, for system-getty.slice cgroup I see:
cat /sys/fs/cgroup/system.slice/system-getty.slice/memory.current
249856
cat /sys/fs/cgroup/system.slice/system-getty.slice/memory.stat | grep ^file\
file 270336

So subtraction gives negative result.

@btmc thank you for the report. We'll take a look ASAP


Update legend SQL endpoint

Update schema call to load schema from getSchemaFromQueryString
What type of PR is this?
Improvement

What does this PR do / why is it needed ?

Update schema call to load schema from getSchemaFromQueryString
Which issue(s) this PR fixes:

Fixes #
Other notes for reviewers:
Does this PR introduce a user-facing change?

Looks good


tiled: 1.8.4 -> 1.9.1

I've put the sha256 results from command:
nix-prefetch-url --unpack https://github.com/mapeditor/tiled/archive/74bee555225cdf98a408966ad657bc5c8cadb8ab.zip
And meeting the contribution rules.
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

The package does not build.

The package does not build.

How to re-rebuild? Making a new commit?

Building the package another time will not change something about the following build error:
building '/nix/store/vr30rz30xvmrcm24jdkd798qwqdrkdyw-source.drv'...
trying https://github.com/bjorn/tiled/archive/v1.9.1.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 16.3M    0 16.3M    0     0  11.0M      0 --:--:--  0:00:01 --:--:-- 14.8M
unpacking source archive /build/v1.9.1.tar.gz
building '/nix/store/bkv5chxpmp8magybl120djx4lk9rl4wh-tiled-1.9.1.drv'...
qmakePrePhase
qtPreHook
unpacking sources
unpacking source archive /nix/store/ynhc9a4g9p15dlw1abhnwm6p5qccx86f-source
source root is source
patching sources
configuring
QMAKEPATH=/nix/store/gg6b5gfmyhqk5l08bjswrhijzr1bfa1p-qtbase-5.15.5-dev:/nix/store/mm8xz9fqjamba7pjvlk7z9rpib7v4x7a-qtwayland-5.15.5-dev:/nix/store/l2v8rq9282bhpfd8d272mvgs8gdzggj5-qtdeclarative-5.15.5-dev:/nix/store/07k3q3mb98h8ckwvrzf4si4qxzl1gw14-qtsvg-5.15.5-dev:/nix/store/885jxk7jglx7pnikyl239lbnlm3c1ps5-qttools-5.15.5-dev
qmake PREFIX=/nix/store/cbl86s3nxgmp63nj5zgmfw43if9caz60-tiled-1.9.1 NIX_OUTPUT_OUT=/nix/store/cbl86s3nxgmp63nj5zgmfw43if9caz60-tiled-1.9.1 NIX_OUTPUT_DEV=/nix/store/cbl86s3nxgmp63nj5zgmfw43if9caz60-tiled-1.9.1 NIX_OUTPUT_BIN=/nix/store/cbl86s3nxgmp63nj5zgmfw43if9caz60-tiled-1.9.1 NIX_OUTPUT_DOC=/nix/store/cbl86s3nxgmp63nj5zgmfw43if9caz60-tiled-1.9.1/share/doc/qt-5.15.5 NIX_OUTPUT_QML=/nix/store/cbl86s3nxgmp63nj5zgmfw43if9caz60-tiled-1.9.1/lib/qt-5.15.5/qml NIX_OUTPUT_PLUGIN=/nix/store/cbl86s3nxgmp63nj5zgmfw43if9caz60-tiled-1.9.1/lib/qt-5.15.5/plugins CONFIG+=release QMAKE_LRELEASE=/nix/store/885jxk7jglx7pnikyl239lbnlm3c1ps5-qttools-5.15.5-dev/bin/lrelease
Usage: qmake [mode] [options] [files]
QMake has two modes, one mode for generating project files based on
some heuristics, and the other for generating makefiles. Normally you
shouldn't need to specify a mode, as makefile generation is the default
mode for qmake, but you may use this to test qmake on an existing project
Mode:
  -project       Put qmake into project file generation mode
                 In this mode qmake interprets [files] as files to
                 be added to the .pro file. By default, all files with
                 known source extensions are added.
                 Note: The created .pro file probably will
                 need to be edited. For example add the QT variable to
                 specify what modules are required.
  -makefile      Put qmake into makefile generation mode (default)
                 In this mode qmake interprets files as project files to
                 be processed, if skipped qmake will try to find a project
                 file in your current working directory
Warnings Options:
  -Wnone         Turn off all warnings; specific ones may be re-enabled by
                 later -W options
  -Wall          Turn on all warnings
  -Wparser       Turn on parser warnings
  -Wlogic        Turn on logic warnings (on by default)
  -Wdeprecated   Turn on deprecation warnings (on by default)
Options:
   * You can place any variable assignment in options and it will be *
   * processed as if it was in [files]. These assignments will be    *
   * processed before [files] by default.                            *
  -o file        Write output to file
  -d             Increase debug level
  -t templ       Overrides TEMPLATE as templ
  -tp prefix     Overrides TEMPLATE so that prefix is prefixed into the value
  -help          This help
  -v             Version information
  -early         All subsequent variable assignments will be
                 parsed right before default_pre.prf
  -before        All subsequent variable assignments will be
                 parsed right before [files] (the default)
  -after         All subsequent variable assignments will be
                 parsed after [files]
  -late          All subsequent variable assignments will be
                 parsed right after default_post.prf
  -norecursive   Don't do a recursive search
  -recursive     Do a recursive search
  -set <prop> <value> Set persistent property
  -unset <prop>  Unset persistent property
  -query <prop>  Query persistent property. Show all if <prop> is empty.
  -qtconf file   Use file instead of looking for qt.conf
  -cache file    Use file as cache           [makefile mode only]
  -spec spec     Use spec as QMAKESPEC       [makefile mode only]
  -nocache       Don't use a cache file      [makefile mode only]
  -nodepend      Don't generate dependencies [makefile mode only]
  -nomoc         Don't generate moc targets  [makefile mode only]
  -nopwd         Don't look for files in pwd [project mode only]
error: builder for '/nix/store/bkv5chxpmp8magybl120djx4lk9rl4wh-tiled-1.9.1.drv' failed with exit code 1;

Result of nixpkgs-review pr 188687 run on x86_64-linux 1

1 package failed to build:

tiled

Could be closed since it was superseded by #188839.


strict-imports toggle doesn't seem to work when run by pre-commit

Hi,
I tried configuring no-strict-imports i pyproject.toml, but running the tool via pre-commit ignored this completely. I concluded it probably doesn't read the pyproject.toml file inside pre-commit, so I insterad tried doing this in my pre-commit config:
  - repo: https://github.com/ariebovenberg/slotscheck
    rev: v0.14.1
    hooks:
      - id: slotscheck
        exclude: "test_*"
        args: [--no-strict-imports]

But the tool keeps complaining about imports. I think it simply doesn't pick the config.

I'll have a look 👀

@Goldziher I did some digging...I don't think the pyproject.toml is an issue, rather something else. You can confirm the pyproject.toml is loaded by making a typo in the keys. Slotscheck will print an informative message. If there is no message, you can be sure slotscheck is not reading it.
slotscheck.config.InvalidKeys: Invalid configuration key(s): 'strict-impots'.

What I think may be the issue instead is the fact that slotscheck never ignores failed imports of root modules (modules that don't have a parent). At the time this seemed a different category of error, but I suppose it's more straightforward to also ignore these type of errors.

@Goldziher I did some digging...I don't think the pyproject.toml is an issue, rather something else. You can confirm the pyproject.toml is loaded by making a typo in the keys. Slotscheck will print an informative message. If there is no message, you can be sure slotscheck is not reading it.
slotscheck.config.InvalidKeys: Invalid configuration key(s): 'strict-impots'.

What I think may be the issue instead is the fact that slotscheck never ignores failed imports of root modules (modules that don't have a parent). At the time this seemed a different category of error (it's the entire package that can't be imported, not a subcomponent), but I suppose it's more straightforward to also ignore these type of errors. Does your import error happen to occur on a root module? If not, could you share some more of your setup?

Hi, they happen on all dependencies.
I will add a branch later and send you a link here so you can see.

Ok, here is a branch in our repo: https://github.com/starlite-api/starlite/tree/demonstrate-slots-check-issue
Simply clone it and execute pre-commit install && pre-commit run slotscheck --all-files.
This will fail completely, so to "fix" it you will need to update the .pre-commit-config.yaml to look like it looks in main, namely this:
  - repo: https://github.com/ariebovenberg/slotscheck
    rev: v0.14.1
    hooks:
      - id: slotscheck
        exclude: "test_*"
        additional_dependencies:
          [
            aiomcache,
            brotli,
            cryptography,
            httpx,
            jinja2,
            mako,
            orjson,
            piccolo,
            picologging,
            pydantic,
            pydantic_factories,
            pydantic_openapi_schema,
            pytest,
            pyyaml,
            redis,
            sqlalchemy,
            starlette,
            starlite_multipart,
            structlog,
            tortoise_orm,
          ]

Which includes all the above dependencies, which are supposed to be ignored.

@Goldziher alright, the pending PR should fix this. You can try it yourself by using the tag v0.16b2 in pre-commit. New release should be out soon.

@Goldziher this issue got auto-closed with the PR. Feel free to re-open if it doesn't solve your issue.

Cheers


Implement a toString method for CompositeConfiguration

I provided a different implementation. Tracking with https://issues.apache.org/jira/browse/LOG4J2-2071

Wonderful, thanks!

Keep 'em coming :-)


Error part_iii / chapter_23

An error occurs in propensity_score_matching.r

tryCatch( .jcall(m, "V", "run"),

NumberFormatException = function(e) {
e$jobj$printStackTrace()
}
);
다음에 오류가 있습니다.jcall(m, "V", "run") : java.lang.StackOverflowError

How can we solve it?

We will need some additional information.  Does the code fail prior to this line?  For example, have you changed the path for the java ".jar" file to suit your environment?  What version of JDK are you using?

There was no error in the previous line.
I changed lines as bellows.
:  cpath <<- "E:/논문/toolbox-2.4.18/toolbox/java/pharmacoepi.jar"
.jinit(classpath=cpath, parameters=c("-Xmx1024m"), force.init = TRUE);
...
.jfield(m, "outfilePath") <- "E:/논문/toolbox-2.4.18/toolbox/java/out.txt"
My versions
:  window 10 home (RAM : 8GB) , R version 3.5.1, Java 8 update 181(jre1.8.0_181)
I am not familiar with Java. Do I have to install a different version?

I will give this a try later this week.  I've been out of town.  Sorry for the delay.
If you haven't already, you may find the twang and MatchIt packages useful in R.

That's okay. I'd appreciate it if you could solve the problem later.
I want to compare the two methods of MatchIt and Chapter23, so it is necessary.

When can I get an answer?

I have asked the author for Ch. 23 to have a look at this thread.


Updated comments in bt_hal_gatt_client.h

Updated Comments for BT GATT Client to be more verbose
Description
I added descriptions for each parameter for each API/callback, along with information on which callbacks correspond to which API and vise versa.
Code is only comments, but I ran with make docs to make sure they build.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/bot run checks

/bot run checks

/bot run checks

/bot run checks

/bot run checks

/bot run checks

/bot run checks

/bot run checks


[logcollect] support Hybris log for J1/Tablet

Different ways of log collection on different devices:
see: https://docs.sailfishos.org/Support/Help_Articles/Collecting_logs_with_Logcat/

Maybe not worth the effort for J1, as by #12 and 96c53ec0c50dd1569a58b355d87a9a947e96d9ed we don't currently support SFOS 3.4.


Port udptunnel

Hi @holzschu!
What do you think about udptunnel command? We think it could be good addition to network commands.
udptunnel

Thank you


Users, roles, permissions section of Kaui Guide

You will likely find many things to comment about in this section. I didn't have full permissions, and I indicated where I need more information.

You will likely find many things to comment about in this section. I didn't have full permissions, and I indicated where I need more information.

I'm not very familiar with the "Users/Roles/Tenants" section either, but I've added some comments. I've also added some screenshots in sections where you indicated that you needed screenshots. If the screenshots that I've attached are different from what you need, let me know and I can resend.

Closing this because I've made a number of changes and also some that affect other files, like the Glossary. Seems better to open a new PR to handle this.


💄Static Desk

Purpose
Start to implement the design without logic.
Proposal

[x] add DSFR theme to Cunningham
[x] add styled-components
[x] create some helper components
[x] design header
[x] add e2e tests

Screen
scrnli_1_18_2024_2-15-57 PM.webm

Responsive issue I mentioned during the stand-up!
https://github.com/numerique-gouv/people/assets/45729124/eadf5604-cb33-41eb-97c9-475dec59db0d


Use translation depending on url query param

I have an already big application built, and i need to implement translation to all of it, the idea is to not touch any controller at all, but to add a query param (lang or locale) that will persist along all the application.
So all the routes should have a param ?locale or ?lang that should persist, if the user comes into the application from anywhere it should add a default value to this query param (IE: 'en') so i should come to the app in any route (/some/route/of/the/app) and if there is no query param, then set it to 'en'.
I was thinking on doing this on the app.run and add a listener to $stateChangeSuccess but don't know exactly how to handle this. Any pointers with it?

I'm not sure.. if you are using ui-router, you should have a look at the resolve() function. It is able to return a promise avoiding un-/invalid- translated content.


Add YouTube section on the main page of the site?

This is what I am thinking the section should look like:

Where:

Latest video is an embed video - the first from our playlist
see older videos a link to our playlist pointing to the second video, the idea being the user has already seen the first one.

@ststimac, @sonarwhal/core Thoughts?

In the home page? I think we should wait until we have more videos/tutorials before doing anything on the site and know exactly what our goals are with it.


Change source distribution name in debug-prefix-map

This PR adds sed calls to replace the feedstock/package name in the arguments for -fdebug-prefix-map in CFLAGS to use the actual upstream source distribution name Fr.
This should make it easier to configure a proper debug environment for framel by unpackging the source tarball Fr-{version}.tar.gz into
/usr/local/conda/src/Fr-{version}/

(or linking an existing unpacked source to that location)

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


[TASK] Add Longhorn latest supported versions (v1.6.3 and v1.7.2) to Rancher 2.10

What's the task? Please describe
Add Longhorn latest supported versions (v1.6.3 and v1.7.2) to Rancher 2.10
Describe the sub-tasks

Additional context

Is this related to the fact I cannot find Longhorn in Rancher's Apps/Charts? (Rancher 2.10)

Is this related to the fact I cannot find Longhorn in Rancher's Apps/Charts? (Rancher 2.10)

Ideally, the charts should be bundled in 2.10.0, but somehow it seems the charts are just merged after the release. https://github.com/rancher/charts/pull/4781 (1.7.2) and https://github.com/rancher/charts/pull/4782 (1.6.3). They should be released soon and after they are released, you will see they appear in the App Marketplace.
cc @derekbit @PhanLe1010 @khushboo-rancher @rebeccazzzz


Add dark mode to extension menu

why hasnt this been done .... Chrome://newtab page is always so bright unless i enable to chrome flag 'auto dark mode for web contents' other chrome:// pages like settings pages are automatically dark so why isnt new tab page or DDG settings... chrome web store is always bright without the flag as well but i dont go to the chrome web store often like i do the new tab page...

I hope the team can add this feature, but the youngest issue is that jeje:
https://github.com/duckduckgo/duckduckgo-privacy-extension/issues/1223

This is on the timeline 👍🏻


Optional properties - not the same

The optional properties are not the same on each page. You can't add a video on a nested page. That should be a good option.
By Katrien

Part of the consistency work

Done


Issue retrieving casts

Also, I'm having trouble with getting Casts.  Is this supposed to work?  I keep getting an "Object reference not set to an instance of an object." error.
List list = (await GetMovies()).Select(m => new MovieViewModel()
{
ID = m.Id,
ImdbID = m.Imdb,
                Status = m.Status,

                Title = m.Title,
                Description = m.Overview,
                Cast = m.Credits.Cast.Select(c => c.Name).ToList(),
                ReleaseDate = m.ReleaseDate,

                PosterPath = string.Format("https://image.tmdb.org/t/p/w185{0}", m.Poster),
                //BackDropPath = string.Format("https://image.tmdb.org/t/p/w780{0}", m.Backdrop)

            }).ToList();

Also, here's my MovieViewModel class:
public class MovieViewModel
{
public int ID { get; set; }
public string ImdbID { get; set; }
    public string Title { get; set; }
    public string Status { get; set; }

    public string Description { get; set; }
    public List<string> Cast { get; set; }
    public DateTime? ReleaseDate { get; set; }
    public int RunTime { get; set; }

    public string PosterPath { get; set; }
    public string BackDropPath { get; set; }

    public MovieViewModel()
    {
        Cast = new List<string>();
    }
}

My Bad, should have just gone forward and retrieved individual movies.  It obviously does give back more info.