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

[BUG] Fail to Run the Workflow of FlyteFile Example Locally #5872

Open
2 tasks done
JiangJiaWei1103 opened this issue Oct 20, 2024 · 1 comment
Open
2 tasks done

[BUG] Fail to Run the Workflow of FlyteFile Example Locally #5872

JiangJiaWei1103 opened this issue Oct 20, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@JiangJiaWei1103
Copy link
Contributor

Describe the bug

Following the instruction of the FlyteFile example in User guide, I run the workflow locally without specifying the option --output_location. Then, an error is raised as shown in the following screenshot:

Screenshot 2024-10-20 at 6 12 18 PM

Expected behavior

The output csv file containing the normalized columns is stored to a random location.

Additional context to reproduce

  1. Clone the Flytesnacks repo to the local machine.
git clone https://github.com/flyteorg/flytesnacks.git
  1. Cd into the repo directory.
cd flytesnacks
  1. Run the workflow locally. Both commands fail.
  • Run with pyflyte:
pyflyte run examples/data_types_and_io/data_types_and_io/file.py normalize_csv_file --csv_url "https://people.sc.fsu.edu/~jburkardt/data/csv/biostats.csv" --column_names "[\"Name\", \"Sex\", \"Age\", \"Heights (in)\", \"Weight (lbs)\"]" --columns_to_normalize "[\"Age\"]"
  • Run with python:
python examples/data_types_and_io/data_types_and_io/file.py

Screenshots

Other Observations

The error message of this bug is shown as follows:

Screenshot 2024-10-20 at 6 54 21 PM

If the workflow is run with --output_location specified, the output csv file is successfully generated and stored:

Screenshot 2024-10-20 at 6 50 39 PM

In addition, the workflow successfully finishes through a remote test:

Screenshot 2024-10-20 at 7 00 09 PM

Screenshot 2024-10-20 at 7 01 20 PM

Are you sure this issue hasn't been raised already?

  • Yes

Have you read the Code of Conduct?

  • Yes
@JiangJiaWei1103 JiangJiaWei1103 added bug Something isn't working untriaged This issues has not yet been looked at by the Maintainers labels Oct 20, 2024
Copy link

welcome bot commented Oct 20, 2024

Thank you for opening your first issue here! 🛠

@eapolinario eapolinario removed the untriaged This issues has not yet been looked at by the Maintainers label Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

3 participants