DuckDb.Open failed but reason not reported
See original GitHub issueI’m getting an exception that DuckDBConnection.Open()
failed but exception does not contain a reason of why it failed.
DuckDBOpen failed
Unhandled exception. DuckDB.NET.Data.DuckDBException (0x00000001): DuckDBOpen failed
at DuckDB.NET.Data.DuckDBConnection.Open()
It would be great to use https://duckdb.org/docs/api/c/connect#duckdb_open_ext and include the **out_err
string inside exception message.
Issue Analytics
- State:
- Created a year ago
- Comments:11 (9 by maintainers)
Top Results From Across the Web
Unable to access tables written to duckdb when starting ...
I am having trouble with Duckdb (through R) since I have changed computer and reinstalled all of my software.
Read more >ImportError: DLL load failed while importing duckdb: The ...
I reliably get ⬇️ when I import duckdb on a Windows 10 Pro. ... but the root cause was Visual C++ Redistributable not...
Read more >C API - Complete API
If set and the function returns DuckDBError, this will contain the reason why the start-up failed. Note that the error must be freed...
Read more >CLI API
The DuckDB CLI (Command Line Interface) is a single, dependency free executable. It is precompiled for Windows, Mac, and Linux. Please see the...
Read more >DuckDB 0.8
It's the same reason Torvalds refused to have C++ anywhere near the Linux kernel but is not accepting patches in Rust.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
And I’m sorry for my impoliteness or disrespect.
It’s not a requirement to copy it to
/usr/local/lib
. You can also put it into the root folder of your project and set ‘Copy Local’ to always.