apache / apache/arrow-adbc

R adbcdrivermanager truncates manifest search failure message

Open
#3,450 0 comments 0 reactions 0 assignees View on GitHub
Type: bug
Dominant language
C#
Stars
627
Forks
217
Avg merge
22h 22m
Merged PRs (30d)
64

Description

### What happened?

When I try to load a driver that I know the driver manager won't find, it produces the debug message I expect but truncates it:

```
> library(adbcdrivermanager)
> drv <- adbc_driver("some_driver")
Error in adbc_driver("some_driver") :
NOT_FOUND: [Driver Manager] dlopen() failed: dlopen(some_driver, 0x0006): tried: 'some_driver' (no such file), '/System/Volumes/Preboot/Cryptexes/OSsome_driver' (no such file), '/usr/lib/some_driver' (no such file, not in dyld cache), 'some_driver' (no such file), '/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/lib/some_driver' (no such file), '/Library/Java/JavaVirtualMachines/jdk-11.0.18+10/Contents/Home/lib/server/some_driver' (no such file)
dlopen() failed: dlopen(libsome_driver.dylib, 0x0006): tried: 'libsome_driver.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibsome_driver.dylib' (no such file), '/usr/lib/libsome_driver.dylib' (no such file, not in dyld cache), 'libsome_driver.dylib' (no such file), '/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/lib/libsome_driver.dylib' (no such file), '/Library/Java/JavaVirtualMachines/jdk-11.0.18+10/Contents/Home/lib/server/libsome_driver.dylib' (no such file)
Also searched these paths for manifests:
not set: ADBC_DR
```

From Python, we can see the entire message:

```python
-- >8 --
Also searched these paths for manifests:
not set: ADBC_DRIVER_PATH
additional search path: /Users/bryce/.cache/uv/builds-v0/.tmpeFNFZ4/etc/adbc
not enabled at build time: Conda prefix
user config dir: /Users/bryce/Library/Application Support/ADBC/Drivers
does not exist: /Library/Application Support/ADBC/Drivers
```

### Stack Trace

_No response_

### How can we reproduce the bug?

_No response_

### Environment/Setup

- macOS 15
- R 4.5.1
- adbc_driver_manager 0.20.0

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the library(adbcdrivermanager) and adbc_driver("some_driver") call on the reported macOS and R setup, then compare its error output with the complete Python message shown in the issue. Done means the R error includes the full manifest search failure details, including all searched paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, r
Domain
backend-api-design, databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.