z3z1ma / dbt-osmosis

Provides automated YAML management, a dbt server, streamlit workbench, and git-integrated dbt model output diff tools
https://z3z1ma.github.io/dbt-osmosis/
Apache License 2.0
422 stars 45 forks source link

When dbt-osmosis encounters a character it can't process it leaves a whole .yml blank. It should only skip that char #77

Closed alittlesliceoftom closed 6 months ago

alittlesliceoftom commented 11 months ago

" ERROR Error occurred while processing model osmosis.py:940 model.myproj.mymodel: 'charmap' codec
can't encode character '\u2705' in position
0: character maps to
" Leads to mymodel.yml being blank.

Ideally this should put in a standard placeholder char ? but continue raising a warning.

z3z1ma commented 6 months ago

This should be resolvable via the DBT_OSMOSIS_ENCODING env var on main I will cut a release soon

alittlesliceoftom commented 6 months ago

Ah nice! Thank you!

On Sun, 24 Dec 2023, 04:01 Alexander Butler, @.***> wrote:

This should be resolvable via the DBT_OSMOSIS_ENCODING env var on main I will cut a release soon

— Reply to this email directly, view it on GitHub https://github.com/z3z1ma/dbt-osmosis/issues/77#issuecomment-1868426847, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACVRBJKCFRPN4R62VHVZDFLYK6SKLAVCNFSM6AAAAAA23UQI4OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRYGQZDMOBUG4 . You are receiving this because you authored the thread.Message ID: @.***>