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

Uncaught exception running odbc test app #17

Closed
rrottier opened this issue May 23, 2018 · 2 comments
Closed

Uncaught exception running odbc test app #17

rrottier opened this issue May 23, 2018 · 2 comments

Comments

@rrottier
Copy link

I am running OSX 10.13.4 (17E202) with the latest microsoft odbc. Using both lts 9.21 and 10.10, when I run:
stack exec odbc 'DRIVER={ODBC Driver 17 for SQL Server};SERVER=172.16.191.157;Uid=username;Pwd=password'

I get the following error:
libc++abi.dylib: terminating with uncaught exception of type std::runtime_error: collate_byname::collate_byname failed to construct for C/en_AU.UTF-8/C/C/C/C

@rrottier
Copy link
Author

Does not happen with driver 13.1

@chrisdone
Copy link
Contributor

Looks like this was explored thoroughly in microsoft/homebrew-mssql-release#18

Culprit is the driver itself, not this Haskell binding to it. Thanks for reporting.

I'll add a note in the README about it so that OS X users can avoid this issue with driver v17.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants