Skip to content

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

@clach04

Description

@clach04

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions