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

   ### What happened?
   
   Driver Manager code in [Tutorial 
](https://arrow.apache.org/adbc/current/python/driver_manager.html#usage) does 
not work:
   ```python
   with adbc_driver_manager.AdbcDatabase(driver="adbc_driver_sqlite") as db:
       with adbc_driver_manager.AdbcConnection(db) as conn:
           pass
   ```
   
   Possibly related to #1435, which AFAIU was fixed in #1436 for in CI script 
only.
   
   ### Stack Trace
   
   ```
   ---------------------------------------------------------------------------
   InternalError                             Traceback (most recent call last)
   Cell In[2], line 1
   ----> 1 with adbc_driver_manager.AdbcDatabase(driver=\"adbc_driver_sqlite\") 
as db:
         2     with adbc_driver_manager.AdbcConnection(db) as conn:
         3         pass
   
   File 
~/00_temp/.venv-dev/lib/python3.11/site-packages/adbc_driver_manager/_lib.pyx:491,
 in adbc_driver_manager._lib.AdbcDatabase.__init__()
   
   File 
~/00_temp/.venv-dev/lib/python3.11/site-packages/adbc_driver_manager/_lib.pyx:260,
 in adbc_driver_manager._lib.check_error()
   
   InternalError: INTERNAL: [Driver Manager] [DriverManager] dlopen() failed: 
adbc_driver_sqlite: cannot open shared object file: No such file or directory
   dlopen() failed: libadbc_driver_sqlite.so: cannot open shared object file: 
No such file or directory"
   ```
   
   ### How can we reproduce the bug?
   
   (see above)
   
   ### Environment/Setup
   
   ```python
   import adbc_driver_manager, adbc_driver_sqlite, adbc_driver_postgresql
   adbc_driver_manager.__version__, adbc_driver_sqlite.__version__, 
adbc_driver_postgresql.__version__
   # ('1.1.0', '1.1.0', '1.1.0')
   ```


-- 
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: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to