Skip to content
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

no node exists at ../../target/debug/rust-dataflow-url-example-sink: No such file or directory #294

Closed
meua opened this issue May 22, 2023 · 3 comments
Labels
bug Something isn't working cli CLI daemon linux rust

Comments

@meua
Copy link
Contributor

meua commented May 22, 2023

Describe the bug
Could not validate yaml: Dataflow could not be validated.: no node exists at ../../target/debug/rust-dataflow-url-example-sink: No such file or directory (os error 2)

(dora3.7) jarvis@jia:~/coding/dora_home/dora/binaries/cli/src$ cargo run start ../../../examples/rust-dataflow-url/dataflow.yml --attach --hot-reload
   Compiling dora-operator-api-c v0.2.3-rc6 (/home/jarvis/coding/dora_home/dora/apis/c/operator)
   Compiling dora-cli v0.2.3-rc6 (/home/jarvis/coding/dora_home/dora/binaries/cli)
    Finished dev [unoptimized + debuginfo] target(s) in 3.97s
     Running `/home/jarvis/coding/dora_home/dora/target/debug/dora-cli start ../../../examples/rust-dataflow-url/dataflow.yml --attach --hot-reload`
Could not validate yaml: Dataflow could not be validated.: no node exists at `../../target/debug/rust-dataflow-url-example-sink`: No such file or directory (os error 2)
(dora3.7) jarvis@jia:~/coding/dora_home/dora/binaries/cli/src$ 

To Reproduce
Steps to reproduce the behavior:

  1. Dora start daemon: dora up
  2. Start a new dataflow: dora start examples/rust-dataflow-url/dataflow.yml --attach --hot-reload

Environments (please complete the following information):

  • System info: ubuntu 22.04
  • Dora version: dora v0.2.3-rc6
@github-actions github-actions bot added bug Something isn't working cli CLI daemon linux rust labels May 22, 2023
@meua
Copy link
Contributor Author

meua commented May 22, 2023

In dora/examples/rust-dataflow-url/sink/Cargo.toml, are there any errors in the following dependencies?

[dependencies]
dora-node-api = { workspace = true, features = ["zenoh"] }
eyre = "0.6.8"

-->

[dependencies]
dora-node-api = { workspace = true, features = ["tracing"] }
eyre = "0.6.8"

@meua
Copy link
Contributor Author

meua commented May 22, 2023

And rust-dataflow-url module is not included in module tree, This module code appears to be out of date.

error[E0599]: no method named `inputs` found for tuple `(DoraNode, EventStream)` in the current scope
 --> examples/rust-dataflow-url/sink/src/main.rs:7:27
  |
7 |     let inputs = operator.inputs()?;
  |                           ^^^^^^ method not found in `(DoraNode, EventStream)`

   Compiling rust-dataflow-example-node v0.2.3-rc6 (/home/jarvis/coding/dora_home/dora/examples/rust-dataflow/node)
For more information about this error, try `rustc --explain E0599`.

@haixuanTao
Copy link
Collaborator

This is a duplicate of #192.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cli CLI daemon linux rust
Projects
None yet
Development

No branches or pull requests

2 participants