Skip to content

[Bug] dbt docs generate: can't decode byte 0xfc in position 6 #187

@cedrikschueler

Description

@cedrikschueler

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I am currently generating source.yml files from a Python script, which basically queries ALL_TAB_COLS from a source_db.
This is done for four different schemas on the source_db.

However, for one (always the same) schema, I get the following error when running dbt docs generate:

Runtime Error
  'utf-8' codec can't decode byte 0xfc in position 6: invalid start byte

'0xfc' appears to be the German 'ü'. This character is not present in my entire project folder, but might be somewhere on the database.

The strange behavior is that I can successfully create the source descriptions (one file per table) for all other schemas, and if I delete a random part of the source files for my failing schema, it works at some point.

I am happy for any advise for further debugging or solutions :)

Expected Behavior

No response

Steps To Reproduce

No response

Relevant log output using --debug flag enabled

Environment

- OS: Windows 11
- Python: 3.11.9
- dbt: 1.9.9

What Oracle database version are you using dbt with?

19

Additional Context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions