Hi there. I've just started testing Elementary. Th...
# community-support
f
Hi there. I've just started testing Elementary. The installation is OK. After a
dbt run
and an
edr report
, I can access the HTML report in which I see the tests results. However, the "Model Duration" view is empty (with a message "*No model runs")*. In the standard output of the
edr report
I see the following error:
Copy code
2024-03-04 15:06:57 — 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/flefebure/wor
kspace/dbt-pipeline/dbt-env/lib/python3.10/site-packages/elementary/monitor/dbt_project
Impossible de définir la propriété. La définition de propriété n'est prise en charge que sur les types principaux dans ce mode de langage.
Au caractère Ligne:1 : 1
+ [Console]::OutputEncoding = [System.Text.Encoding]::UTF8; [Console]:: ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation : (:) [], RuntimeException
    + FullyQualifiedErrorId : PropertySetterNotSupportedInConstrainedLanguage
 
Impossible d'appeler la méthode. L'appel aux méthodes n'est pris en charge que sur les types principaux dans ce mode de langage.
Au caractère Ligne:1 : 59
+ ... ing]::UTF8; [Console]::InputEncoding = [System.Text.Encoding]::GetEnc ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation : (:) [], RuntimeException
    + FullyQualifiedErrorId : MethodInvocationNotSupportedInConstrainedLanguage
Note that I'm working with WSL2
The PropertySetterNotSupportedInConstrainedLanguage error seems to be related to the WSL2 execution context. When I run
edr report
isolated from WSL (in a Docker container), I don't meet the error. However the "Model Duration" view is still empty.
FYI We had a problem in the "after_dbt_run hook" with the elementary models. Once corrected, the "Model Duration" report is populated. Sorry for the noise. I've been confused by the WSL error
i
Hey @Franck Lefebure, no need to be sorry! So was your problem resolved?
f
hello @Idan Shavit, yes problem resolved