You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "Xuanwo (via GitHub)" <gi...@apache.org> on 2023/09/28 01:46:36 UTC
[GitHub] [incubator-opendal] Xuanwo commented on pull request #3198: feat(bindings/python): Enable `BlockLayer` for on-blocking services that don't support blocking
Xuanwo commented on PR #3198:
URL: https://github.com/apache/incubator-opendal/pull/3198#issuecomment-1738324374
> Not sure why but it doesn't really work currently.
Seems it's not the latest code. I tested this PR locally with `pyo3_runtime.PanicException` error:
```shell
:) python
>>> import opendal
>>> op = opendal.Operator("s3", bucket="test", region="us-east-1")
thread '<unnamed>' panicked at 'blocking layer must be created: Unexpected (permanent) at => failed to get current handle
', bindings/python/src/lib.rs:70:59
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
pyo3_runtime.PanicException: blocking layer must be created: Unexpected (permanent) at => failed to get current handle
```
--
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: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org