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

Issues regarding the Dataflow not generating logs and the dynamic-node failing to start properly #795

Open
chengzi0103 opened this issue Feb 27, 2025 · 3 comments
Labels
bug Something isn't working cli CLI daemon python Python API rust

Comments

@chengzi0103
Copy link

Describe the bug
When I start this dataflow, although it starts correctly, there are no logs in the logs.
After starting, when the dynamic-node runs, it prompts:
RuntimeError: Could not setup node from node id. Make sure to have a running dataflow with this dynamic node
Caused by:
0: failed to init event stream
1: subscribe failed: Node Country-Info-Agent exited before initializing dora. For more information, run dora logs 019546b6-f162-7336-a11c-a3ba3fc21e58 Country-Info-Agent.
Location:
apis/rust/node/src/event_stream/mod.rs:138:17

To Reproduce
Steps to reproduce the behavior:

  1. Dora start daemon: dora up
  2. Start a new dataflow: dora build dataflow.yaml
  3. new cmd: terminal-input -> error

Screenshots or Video
If applicable, add screenshots to help explain your problem.

Environments (please complete the following information):

  • System info: mac os
  • Dora version: dora-cli 0.3.9

Additional context
nodes:

  • id: terminal-input
    build: pip install -e ../../node-hub/terminal-input
    path: dynamic
    outputs:

    • data
      inputs:
      country_info: Country-Info-Agent/country_info
  • id: Country-Info-Agent
    build: pip install CountryInfoAgent
    path: CountryInfoAgent
    outputs:

    • country_info
      inputs:
      country_name: terminal-input/data
      env:
      IS_DATAFLOW_END: true

terminial-input source : https://github.com/moxin-org/mofa/tree/feat/llama-index-hub/python/node-hub/terminal-input

Country-Info-Agent source: https://github.com/moxin-org/mofa/tree/feat/llama-index-hub/python/agent-hub/CountryInfoAgent

I have encountered this issue in other dataflows before, but the information was too limited for me to know how to resolve it. However, I can confirm that terminal-input works in other dataflows.

@github-actions github-actions bot added bug Something isn't working cli CLI daemon python Python API rust labels Feb 27, 2025
@chengzi0103
Copy link
Author

@haixuanTao Could you please help me find the problem?

@haixuanTao
Copy link
Collaborator

Are you using "dora run" because, there is currently a limitation on dora run with dynamic node.

@chengzi0103
Copy link
Author

@haixuanTao After several days of troubleshooting, we discovered a hidden bug . When executing the build process in dataflow, if a pip-installed package is placed in the same directory as dataflow.yml, the issue arises. The exact reason remains unclear.
As a result, no corresponding log file is generated after dataflow starts, and the dynamic-node fails to launch properly

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 python Python API rust
Projects
None yet
Development

No branches or pull requests

2 participants