Rich Herman
02/28/2024, 10:58 PM2024-02-28 17:38:47 — INFO — Running with edr=0.14.0
2024-02-28 17:38:47 — ERROR — Unable to get the latest invocation: Failed to run dbt command.
2024-02-28 17:38:48 — ERROR — Failed to parse Elementary's database and schema.
2024-02-28 17:38:48 — 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 C:\Projects\MyClient\Platform_Innovation\.dbt_venv\Lib\site-packages\elementary\monitor\dbt_project
2024-02-28 17:38:48 — 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 "C:\Projects\MyClient\Platform_Innovation\.dbt_venv\Lib\site-packages\elementary\clients\dbt\dbt_runner.py", line 88, in _run_command
result = subprocess.run(
^^^^^^^^^^^^^^^
File "C:\Users\RRH0220\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
roject-dir', 'C:\\Projects\\MyClient\\Platform_Innovation\\.dbt_venv\\Lib\\site-packages\\elementary\\monitor\\dbt_project']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Projects\MyClient\Platform_Innovation\.dbt_venv\Lib\site-packages\elementary\monitor\api\report\report.py", line 50, in get_report_data
tests_api = TestsAPI(
^^^^^^^^^
File "C:\Projects\MyClient\Platform_Innovation\.dbt_venv\Lib\site-packages\elementary\monitor\api\tests\tests.py", line 39, in __init__
self.test_results_db_rows = self._get_test_results_db_rows(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Projects\MyClient\Platform_Innovation\.dbt_venv\Lib\site-packages\elementary\monitor\api\tests\tests.py", line 51, in _get_test_results_db_rows
return self.tests_fetcher.get_all_test_results_db_rows(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Projects\MyClient\Platform_Innovation\.dbt_venv\Lib\site-packages\elementary\monitor\fetchers\tests\tests.py", line 22, in get_all_test_results_db_rows
run_operation_response = self.dbt_runner.run_operation(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Projects\MyClient\Platform_Innovation\.dbt_venv\Lib\site-packages\elementary\clients\dbt\dbt_runner.py", line 160, in run_operation
success, command_output = self._run_command(
^^^^^^^^^^^^^^^^^^
File "C:\Projects\MyClient\Platform_Innovation\.dbt_venv\Lib\site-packages\elementary\clients\dbt\dbt_runner.py", line 99, in _run_command
raise DbtCommandError(err, command_args, logs=logs)
elementary.exceptions.exceptions.DbtCommandError: Failed to run dbt command.Rich Herman
03/05/2024, 3:14 PMIdan Shavit
03/05/2024, 4:12 PM