amoeba opened a new issue, #3398:
URL: https://github.com/apache/arrow-adbc/issues/3398

   ### What happened?
   
   I'm getting an error when trying to load a driver from a manifest but the 
error makes it look like my manifest wasn't found:
   
   ```sh
   bryce@debian:~/.config/adbc/drivers$ pwd
   /home/bryce/.config/adbc/drivers
   bryce@debian:~/.config/adbc/drivers$ cat duckdb.toml 
   name = "my driver"
   version = "0.1.0"
   ```
   
   ```python
   >>> import adbc_driver_manager
   >>> adbc_driver_manager.AdbcDatabase(driver="duckdb")
   Traceback (most recent call last):
     File "<python-input-4>", line 1, in <module>
       adbc_driver_manager.AdbcDatabase(driver="duckdb")
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
     File "adbc_driver_manager/_lib.pyx", line 578, in 
adbc_driver_manager._lib.AdbcDatabase.__init__
       check_error(status, &c_error)
     File "adbc_driver_manager/_lib.pyx", line 261, in 
adbc_driver_manager._lib.check_error
       raise convert_error(status, 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
        additional search path: /home/bryce/src/apache/arrow-adbc/.venv/etc/adbc
        not enabled at build time: Conda prefix
        user config dir: /home/bryce/.config/adbc/drivers
        does not exist: /etc/adbc/drivers
   ```
   
   The error makes it look like no manifest was found but I think the driver 
manager should say it found the manifest, tried to load a driver using the 
information contained within, and failed.
   
   ### Stack Trace
   
   _No response_
   
   ### How can we reproduce the bug?
   
   _No response_
   
   ### Environment/Setup
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to