Skip to content

Make extension loading best-effort, migrate to ladybug 0.20.x - #4

Merged
adsharma merged 3 commits into
mainfrom
fix-issue-3-duckdb-load
Sep 23, 2026
Merged

adsharma merged 3 commits into
mainfrom
fix-issue-3-duckdb-load

Conversation

@adsharma

Copy link
Copy Markdown
Contributor

LOAD duckdb can fail (UnicodeDecodeError on Windows, no network for
INSTALL, extension dropped for older versions). The json/duckdb
extensions are optional, so log a warning and start the server instead
of crashing at startup.

Also migrates the deprecated real-ladybug dependency to ladybug>=0.20.4
and fixes column-name retrieval (get_column_names) for the new API.

Fixes #3


Stack created with GitHub Stacks CLI • Give Feedback 💬

LOAD duckdb can fail (UnicodeDecodeError on Windows, no network for
INSTALL, extension dropped for older versions). The json/duckdb
extensions are optional, so log a warning and start the server instead
of crashing at startup.

Also migrates the deprecated real-ladybug dependency to ladybug>=0.20.4
and fixes column-name retrieval (get_column_names) for the new API.

Fixes #3
Run pytest on ubuntu/macos/windows with Python 3.12 and 3.14
(3.14/Windows covers the issue #3 environment).

On Windows, _lbug.pyd links OpenSSL dynamically
(libssl-3-x64.dll, libcrypto-3-x64.dll) and the wheel does not vendor
those DLLs, so install the OpenSSL Light runtime via
choco install openssl.light and put it on PATH.
@adsharma
adsharma force-pushed the fix-issue-3-duckdb-load branch from 62186d8 to f4e5d4a Compare September 23, 2026 16:49
openssl.light deploys to C:\Program Files\OpenSSL, not OpenSSL-Win64.
@adsharma
adsharma merged commit a6f469e into main Sep 23, 2026
6 checks passed
@adsharma
adsharma deleted the fix-issue-3-duckdb-load branch September 23, 2026 16:53
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

Successfully merging this pull request may close these issues.

Bug: UnicodeDecodeError when loading the DuckDB extension on Windows with real_ladybug 0.15.3

1 participant