Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seed compilation fails with non-ascii character in v0.14.0 #1632

Closed
brian-bk opened this issue Jul 25, 2019 · 1 comment · Fixed by #1644
Closed

Seed compilation fails with non-ascii character in v0.14.0 #1632

brian-bk opened this issue Jul 25, 2019 · 1 comment · Fixed by #1644
Labels
bug Something isn't working
Milestone

Comments

@brian-bk
Copy link

brian-bk commented Jul 25, 2019

Issue

Dbt seed fails if seed file contains a special character. This is new in v0.14.0, in v0.13.1 it was working for us. This looks like #1616 could be related.

Issue description

When running dbt seed, dbt fails with output:

Encountered an error:
Compilation Error in seed nonascii (data/nonascii.csv)
  'ascii' codec can't encode character u'\u2013' in position 6: ordinal not in range(128)

System information

The output of dbt --version:

installed version: 0.14.0
   latest version: 0.14.0

OS: MacOS
Python version: 2.7

Steps to reproduce

Here's a sample csv:
nonascii.csv.zip

It has contents:

id
Uh – Oh

(note the is not a plain -)

@drewbanin
Copy link
Contributor

Thanks for the report @brian-bk -- I think that #1452 might be relevant here. We'll check it out!

@drewbanin drewbanin added the bug Something isn't working label Jul 25, 2019
@drewbanin drewbanin added this to the 0.14.1 milestone Jul 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants