-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unknown errors #154
Comments
Unfortunately this situation isn't great at the moment and this library can do little about it. These Rust bindings depend on upstream OpenVINO's C bindings, which don't expose a lot of in depth error information (more is present in the C++ exceptions but obviously these don't map to C). At some point I asked if there was a way to enable logging but I don't think I heard back a great solution. I think for now the best options are: (a) build a debug-enabled version of the OpenVINO library, link to it with these bindings, and then step through to the error in a debugger, or (b) post a code example that fails and we can try to piece together what is going wrong. |
Hi @abrown! |
If the upstream OpenVINO team can solve it in the C bindings, I will make sure it propagates to these Rust bindings. Can you open an issue on https://github.com/openvinotoolkit/openvino and phrase your request in terms of the C bindings, e.g., "I need more information from errors returned by the C bindings (or alternately, logging)." |
When I run openvino-rs and get errors, I usually get
Err(general error)
and I can't understand what is the error cause.Is there some verbose info anywhwere?
The text was updated successfully, but these errors were encountered: