m c
m c

Reputation: 1

local TFX pipeline run create ERROR Failed to make stateful working dir ; Protocol error

I am following Building a TFX Pipeline Locally (https://www.tensorflow.org/tfx/guide/build_local_pipeline) on ubuntu 21.04. I am only running the CsvExampleGen component and I am getting the following error:

ERROR:absl:Failed to make stateful working dir: ./my_pipeline_output/CsvExampleGen/.system/stateful_working_dir/2022-01-05T11:04:16.463569
Traceback (most recent call last):........
File "/home/mc/anaconda3/envs/tfx_linux/lib/python3.8/site-packages/tensorflow/python/lib/io/file_io.py", line 514, in recursive_create_dir_v2
    _pywrap_file_io.RecursivelyCreateDir(compat.path_to_bytes(path))
tensorflow.python.framework.errors_impl.UnknownError: ./my_pipeline_output/CsvExampleGen/.system/stateful_working_dir/2022-01-05T11:04:16.463569; Protocol error

Do any suggestions, please? Thanks

Upvotes: 0

Views: 183

Answers (1)

Ahmed Mousa
Ahmed Mousa

Reputation: 1

It helped me when I moved my project to somewhere else, like the desktop, I guess the path is too long to be able to create this directory.

Upvotes: 0

Related Questions