Skip to content

`edit` command fails with "File does not exist"

I wanted to update my slides to use the new edit subcommand, but trying to use beat <entity> edit <name> fails for everything I've tried.

I tried

beat exp edit test/test/iris/1/iris

and I get:

File does not exist: /home/jae/code/beat.editor/prefix/experiments/test/test/iris/1/iris.json

However, cating that absolute path works:

cat /home/jae/code/beat.editor/prefix/experiments/test/test/iris/1/iris.json

prints the file contents.

Same thing with beat alg edit test/iris_analyzer/1, giving:

File does not exist: /home/jae/code/beat.editor/prefix/algorithms/test/iris_analyzer/1.py

and beat lib edit plot/baselib/1 giving:

File does not exist: /home/jae/code/beat.editor/prefix/libraries/plot/baselib/1.py

All of these files do actually exist and cating them using that given file path works.

@flavio.tarsetti @samuel.gaist