question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DuckDb.Open failed but reason not reported

See original GitHub issue

I’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:closed
  • Created a year ago
  • Comments:11 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
pkesecommented, Jun 25, 2022

And I’m sorry for my impoliteness or disrespect.

0reactions
Giorgicommented, Aug 25, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found