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

Add sanity checks for II_SYSTEM and error catching common environment issues #20

Open
clach04 opened this issue Feb 14, 2023 · 0 comments

Comments

@clach04
Copy link
Member

clach04 commented Feb 14, 2023

Internal reference II-11012

Catch:

sqlalchemy.exc.DBAPIError: (pyodbc.Error) ('IM004', "[IM004] [unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_HENV failed (0) (SQLDriverConnect)")
(Background on this error at: https://sqlalche.me/e/14/dbapi)

Typically happens when II_SYSTEM is not set and UnixODBC is being used (i.e. not an issue under Windows with auto II_SYSTEM setting based DLL location in path, II_SYSTEM etc. is derived)

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

1 participant