Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Full driver path needed in molab

Abierto
#201 5 comentarios 1 reacción 0 asignados Ver en GitHub

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
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
go, python
Área
cli, databases

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

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de columnar-tech/dbc

Todos los issues de columnar-tech/dbc

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.