Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Local driver installs where archive has `.` in path before extension are hard to load with a driver manager

Aperta
#306 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
cli, go
Ambito
cli

Direzione di ricerca

Start by tracing the local archive installation path used by dbc install and how it derives the installed driver name from the archive filename; the issue does not name specific files or tests. Reproduce with an archive filename containing a dot before its extension, then check whether the installed driver can be loaded by its short name and whether the chosen warning or prevention behavior is clear.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

When I install a driver from a local archive with a . in the path before the extension, the driver essentially gets installed in a way that makes it unloadable with its short name:

$ go run ./cmd/dbc install --no-verify some_driver_unsigned_v1.0.0.tar.gz
Installing from local package: some_driver_unsigned_v1.0.0.tar.gz

[✓] installing
[✓] verifying signature

Installed some_driver_unsigned_v1.0.0 1.10.0 to /Users/bryce/Library/Application Support/ADBC/Drivers


~/src/columnar-tech/dbc docs/local-install*
$ uv run --with "adbc-driver-manager,pyarrow,pandas" python
Python 3.14.0 (main, Oct 14 2025, 21:10:22) [Clang 20.1.4 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> dbapi.connect(driver="sqlite_windows_amd64_v1.10.0")
KeyboardInterrupt
>>> from adbc_driver_manager import dbapi
>>> dbapi.connect(driver="some_driver_unsigned_v1.0.0")
Traceback (most recent call last):
  File "<python-input-1>", line 1, in <module>
    dbapi.connect(driver="some_driver_unsigned_v1.0.0")
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/bryce/.cache/uv/archive-v0/EStS9NB8jX-_IylBAEqtw/lib/python3.14/site-packages/adbc_driver_manager/dbapi.py", line 252, 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] Could not load `some_driver_unsigned_v1.0.0`: dlopen() failed: dlopen(some_driver_unsigned_v1.0.0, 0x0006): tried: 'some_driver_unsigned_v1.0.0' (no such file), '/System/Volumes/Preboot/Cryptexes/OSsome_driver_unsigned_v1.0.0' (no such file), '/usr/lib/some_driver_unsigned_v1.0.0' (no such file, not in dyld cache), 'some_driver_unsigned_v1.0.0' (no such file)                                   dlopen() failed: dlopen(libsome_driver_unsigned_v1.0.0.dylib, 0x0006): tried: 'libsome_driver_unsigned_v1.0.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibsome_driver_unsigned_v1.0.0.dylib' (no such file), '/usr/lib/libsome_driver_unsigned_v1.0.0.dylib' (no such file, not in dyld cache), 'libsome_driver_unsigned_v1.0.0.dylib' (no such file)

I think the . causes the driver manager to take a different branch when we would otherwise discover the manifest.

Should dbc's local install mechanism warn or prevent the user from doing this?

Lingua principale
Go
Stelle
154
Fork
15
Merge medio
1g 2h
PR unite (30g)
15

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di columnar-tech/dbc

Tutte le issue di columnar-tech/dbc

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.