Full driver path needed in molab
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Go
- Estrellas
- 154
- Forks
- 15
- Merge medio
- 2 d 12 h
- PR fusionados (30 d)
- 25
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de columnar-tech/dbc
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
columnar-tech/dbc#513 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
columnar-tech/dbc#363 ·
Los mantenedores suelen responder en 1 día
-
JFrog ArtifactoryAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
columnar-tech/dbc#536 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 57/100
columnar-tech/dbc#531 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 58/100
columnar-tech/dbc#529 ·
Los mantenedores suelen responder en 1 día
Todos los issues de columnar-tech/dbc
Issues similares
-
documentation ready
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
Needs Triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
-
bug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
solongate/agent-security#154 ·
Los mantenedores suelen responder en 1 día
-
tree: RootStyle is applied twice to the root nodePosiblemente ocupada @PhotoDotPi la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
charmbracelet/lipgloss#772 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día