diff --git a/examples/camera/dataflow.yml b/examples/camera/dataflow.yml index 35a589da..e93d95e6 100644 --- a/examples/camera/dataflow.yml +++ b/examples/camera/dataflow.yml @@ -1,6 +1,6 @@ nodes: - id: camera - build: pip install ../../node-hub/opencv-video-capture + build: pip install -e ../../node-hub/opencv-video-capture path: opencv-video-capture inputs: tick: dora/timer/millis/20 @@ -12,7 +12,7 @@ nodes: IMAGE_HEIGHT: 480 - id: plot - build: pip install ../../node-hub/opencv-plot + build: pip install -e ../../node-hub/opencv-plot path: opencv-plot inputs: image: diff --git a/node-hub/dora-rerun/Cargo.toml b/node-hub/dora-rerun/Cargo.toml index 930d5d70..9dbf5638 100644 --- a/node-hub/dora-rerun/Cargo.toml +++ b/node-hub/dora-rerun/Cargo.toml @@ -23,6 +23,7 @@ k = "0.32" pyo3 = { workspace = true, features = [ "extension-module", "abi3", + "eyre" ], optional = true } diff --git a/node-hub/dora-rerun/src/lib.rs b/node-hub/dora-rerun/src/lib.rs index 999f0f04..1edad25b 100644 --- a/node-hub/dora-rerun/src/lib.rs +++ b/node-hub/dora-rerun/src/lib.rs @@ -255,7 +255,7 @@ use pyo3::{ #[pyfunction] fn py_main(_py: Python) -> PyResult<()> { pyo3::prepare_freethreaded_python(); - lib_main().map_err(|e| pyo3::exceptions::PyException::new_err(e.to_string())) + lib_main() } /// A Python module implemented in Rust.