Full driver path needed in molab
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
Hướng nghiên cứu
The report identifies dbc install duckdb and the adbc_driver_manager.dbapi.connect call, but names no repository files or tests. Start by tracing where dbc installs drivers and how it exposes their location to the driver manager; reproduce the molab example and inspect the comment thread for expected behavior. Done means the reported setup can connect without requiring the user to supply the full driver path.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
When using dbc in molab (a cloud-hosted marimo notebook workspace), dbc installs drivers to /tmp/uv-venv/etc/adbc/drivers, while adbc_driver_manager looks for drivers in /etc/adbc/drivers.
Here is a code example:
import subprocess
subprocess.run(["dbc", "install", "duckdb"])
Installed duckdb 1.4.0 to /tmp/uv-venv/etc/adbc/drivers
from adbc_driver_manager import dbapi
con = dbapi.connect(driver="duckdb")
Traceback (most recent call last):
File "/tmp/marimo_73/__marimo__cell_Hbol_.py", line 3, in <module>
con = dbapi.connect(driver="duckdb")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/uv-venv/lib/python3.12/site-packages/adbc_driver_manager/dbapi.py", line 251, in connect
db = _lib.AdbcDatabase(**db_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "adbc_driver_manager/_lib.pyx", line 605, in adbc_driver_manager._lib.AdbcDatabase.__init__
File "adbc_driver_manager/_lib.pyx", line 262, in adbc_driver_manager._lib.check_error
adbc_driver_manager.ProgrammingError: NOT_FOUND: [Driver Manager] dlopen() failed: duckdb: cannot open shared object file: No such file or directory
dlopen() failed: libduckdb.so: cannot open shared object file: No such file or directory
Also searched these paths for manifests:
not set: ADBC_DRIVER_PATH
not enabled at build time: Conda prefix
does not exist: /root/.config/adbc/drivers
does not exist: /etc/adbc/drivers
To get the connection to work, the full path must be given:
con = dbapi.connect(driver="/tmp/uv-venv/etc/adbc/drivers/duckdb")
It would be great if providing the full path was not needed.
- Ngôn ngữ chính
- Go
- Star
- 154
- Fork
- 15
- Merge trung bình
- 2 ngày 3 giờ
- Pull request đã merge (30 ngày)
- 25
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của columnar-tech/dbc
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
columnar-tech/dbc#513 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
columnar-tech/dbc#363 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 18/100
columnar-tech/dbc#555 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
columnar-tech/dbc#552 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
JFrog ArtifactoryĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
columnar-tech/dbc#536 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của columnar-tech/dbc
Issue tương tự
-
fix(scan): validate and normalize output format in validate-contractCó thể đã có người làm @WKr1shna đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Won't Fix
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
microsoft/TypeScript#65107 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
argoproj/argo-workflows#17397 ·
Maintainer thường phản hồi trong vòng 1 ngày