|
Hi! We ran this through the PyPI wrapper, as a user who can't access the SLING_HOME_DIR path (by mistake): SLING_HOME_DIR=/home/other_user/.sling uv run sling conns exec MY_PG "SELECT 1" From reading sling/bin.py, our guess is:
Does that sound plausible? If so, a guard against the wrapper calling itself, or a clear error when the home dir can't be accessed, would help. Sling 1.5.25 (PyPI, via uv), Ubuntu 24.04. Thanks! |
Replies: 2 comments 2 replies
|
Yes, that's exactly what happens. Tracing
I reproduced it end to end with sling 1.5.25 from PyPI in a venv (venv Workarounds until it's fixed:
As for a fix: the fallback should probably ignore a |
|
Fix has been pushed for next release: slingdata-io/sling-python@a555d14 |
Fix has been pushed for next release: slingdata-io/sling-python@a555d14
Thanks @dekinf @davdifr