<#4414 [BUG] Getting started: pyflyte writes tempo...
# flyte-github
c
#4414 [BUG] Getting started: pyflyte writes temporary folders to wrong path Issue created by mmathys I ran the getting started guide step by step. When running this step, I got the following error: $ pyflyte run example.py training_workflow --hyperparameters '{"C": 0.1}' 2023-11-13 135135,577395 ERROR {"asctime": "2023-11-13 135135,577", "name": "flytekit", "levelname": "ERROR", "message": "Failed to convert outputs of task 'example.get_data' at position 0:\n [Errno 2] Failed to open local file base_task.py:552 '/var/folders/7s/8m2jxgtx3qjfd2rd7hgkt22w0000gn/T/flyte-lga24ee9/raw/96539807f90c950386133827f5e44658/00000'. Detail: [errno 2] No such file or directory"} Failed with Unknown Exception <class 'TypeError'> Reason: Encountered error while executing workflow 'example.training_workflow': Error encountered while executing 'training_workflow': Failed to convert outputs of task 'example.get_data' at position 0: [Errno 2] Failed to open local file '/var/folders/7s/8m2jxgtx3qjfd2rd7hgkt22w0000gn/T/flyte-lga24ee9/raw/96539807f90c950386133827f5e44658/00000'. Detail: [errno 2] No such file or directory Encountered error while executing workflow 'example.training_workflow': Error encountered while executing 'training_workflow': Failed to convert outputs of task 'example.get_data' at position 0: [Errno 2] Failed to open local file '/var/folders/7s/8m2jxgtx3qjfd2rd7hgkt22w0000gn/T/flyte-lga24ee9/raw/96539807f90c950386133827f5e44658/00000'. Detail: [errno 2] No such file or directory The folders were not found, because
flytectl
writes the folders to the local directory with an incorrect
file:
prefix: [Screenshot 2023-11-13 at 13 52 04](https://private-user-images.githubusercontent.com/5797176/282465435-327da9e2-caa6-443a-8d3d-4486065a79f7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDgwNDU2NzEsIm5iZiI6MTc0ODA0NTM3MSwicGF0aCI6Ii81Nzk3MTc2LzI4MjQ2NTQzNS0zMjdkYTllMi1jYWE2LTQ0M2EtOGQzZC00NDg2MDY1YTc5ZjcucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDUyNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTA1MjRUMDAwOTMxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Mjg2NDkxYTQyYjBkNWM1NjI4NTJlYmIxODUxYzQ1NTEyM2YwNGM2ZjFlMzA2M2Q3Yjc5YTYyOGI1ZmQ3Y2Y5OSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.3KODeF0rjJyWLA2O-L7444i_OKpRfOphcB9SkORwOvc) Is this issue known? Thanks! The same happens when I make the necessary configurations and run the file without
pyflyte
(like
python example.py
) I am using zsh with macOS Somona 14.1, Python 3.11 flyteorg/flyte