medic / cht-sync

Data synchronization between CouchDB and PostgreSQL for the purpose of analytics.
GNU General Public License v3.0
4 stars 5 forks source link

DBT Crash on container restart #105

Closed dianabarsan closed 6 months ago

dianabarsan commented 6 months ago

DBT Container crashes with this error on restart:

dbt-1        | 03:27:35  Installing https://github.com/medic/cht-pipeline.git
dbt-1        | 03:27:37  Installed from revision d9856324c2855ecdb8e54b7cfb95fdd97b024b77
dbt-1        | 03:27:37  Installing dbt-labs/dbt_utils
dbt-1        | 03:27:38  Installed from version 1.1.1
dbt-1        | 03:27:38  Up to date!
dbt-1        | Traceback (most recent call last):
dbt-1        |   File "/dbt/dbt-run.py", line 81, in <module>
dbt-1        |     if manifest and len(mainfest) > 0:
dbt-1        | NameError: name 'mainfest' is not defined. Did you mean: 'manifest'?
dbt-1 exited with code 1

This is a typo in the code:

if manifest and len(mainfest) > 0:
andrablaj commented 6 months ago

A similar typo error was fixed last week. When I look for mainfest in the latest main branch, I cannot find any occurrence. Are you using the latest version of main @dianabarsan ?

dianabarsan commented 6 months ago

Oh, my bad, I was on an old version.