-
Notifications
You must be signed in to change notification settings - Fork 94
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
Dataflow could not be validated
for examples
#694
Comments
Dataflow could not be validated
for Getting Started example
Dataflow could not be validated
for Getting Started exampleDataflow could not be validated
for examples
Ok, interesting, I wonder if it's because, the environment path management for python in macOS is different. Going to double check this and probably change the example. Thanks for reporting this issue. |
Do you mind trying out the You can install the new version with: curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/dora-rs/dora/main/install.sh | bash -s -- --tag v0.3.7rc0
source ~/.bashrc Or download it manually at: https://github.com/dora-rs/dora/releases/tag/v0.3.7rc0 |
Same result, thanks for the suggestion. Also not sure if it is an oversight, but the crate version was not changed in the release candidate. I will try some other ideas and update if I make progress. |
Ok sorry. Yeah, I wanted to do a quick release candidate without having to change all package version conflict. Maybe Those path dependency are very hard to predict. I want to add a test suite within dora to simplify testing. Basically, you can try to do:
|
No worries, just wanted to check 😄 I believe my error is the latter, here is my trace when running
|
Ok, so I think the path resolver from the cli did not work, which is somehow surprising. As it should work ... in theory. Would you mind doing the following: dora destroy
dora up
dora start dataflow.yaml |
That fixed it. I tried a few permuations to replicate the issue (e.g. dora up in new terminal, outside of the env), but I have not been able to. |
Yeah, it's actually a fairly common of issue that I hope to resolve with #691 Thanks for taking the time. |
Describe the bug
I have installed dora according to the instructions and Getting Started section in the README. I can build the example python-dataflow fine. I get the error
[ERROR] Dataflow could not be validated.
when running the example.To Reproduce
Steps to reproduce the behavior:
dora-cli
using cargo, activate venv in examples/python-dataflowdora up
dora build dataflow.yaml
dora start dataflow.yaml
This pattern continues for other python examples.
Expected behavior
The webcam example to run.
Environments (please complete the following information):
Name: dora-rs
Version: 0.3.6
Summary:
dora
goal is to be a low latency, composable, and distributed data flow.Home-page:
Author:
Author-email:
License: Apache-2.0
Location: /Users/john/Projects/rust/dora/dora/examples/python-dataflow/meow/lib/python3.12/site-packages
Requires: pyarrow
Required-by: dora-yolo, opencv-plot, opencv-video-capture
Additional context
Using Python 3.12.7 and pip via homebrew. I can confirm
import cv2; cap = cv2.VideoCapture(0)
can capture my webcam from the interpreter in the venv.The text was updated successfully, but these errors were encountered: