Insecto en flo
Great! Amazing speed. 21 minutes after posting the Terminal log, he found the cause!
Cause found. Line 243: inputfile="$(readlink -f "$1")" The realpath command resolves any symbolic links in the given path and returns the absolute path to the target file. It seems that on macOS, the readlink command does not have the -f option to resolve symbolic links recursively to their ultimate target file, unlike some (most?) Linux distributions. Instead, you can use the realpath command to achieve the same result. Here is an equivalent command that should work on macOS: inputfile="$(realpath...
Ok: macOS 12.6.2, Terminal, Flo v0.1, please find Terminal text commands and output, showing the issue: ~/Downloads/flo_v0.1 $ ls -l total 376 -rw-r--r--@ 1 peter staff 15289 Mar 24 17:04 README.md -rw-r--r--@ 1 peter staff 2947 Mar 25 17:12 endgame.txt -rwxr-xr-x@ 1 peter staff 14689 Mar 24 16:06 flo2pix -rw-r--r--@ 1 peter staff 578 Mar 25 16:57 my_first_flo.dot -rw-r--r--@ 1 peter staff 71071 Mar 25 16:57 my_first_flo.png -rw-r--r--@ 1 peter staff 156 Mar 25 16:55 my_first_flo.txt -rw-r--r--@...
No pude probar en macOS 12.6.2, pero en mi Mac con 13.2.6, no se pudo reproducir el comportamiento descrito. Aquí está funcionando según lo previsto. ¿Podría ejecutar el siguiente comando desde una terminal y publicar el resultado aquí? printf "1. Label one\n2. Label two\n\nfrom 1 to 2\nfrom 2 to 1\n" > flofile_without_extension && flo2pix flofile_without_extension
Bueno, ningún problema. Esto sucede con la versión 0.1. Creé un archivo que contiene declaraciones de Flo. El archivo no tiene extensión. Cuando ejecuto el programa Flo con el archivo como entrada, la salida de la línea de comando indica que está funcionando correctamente, pero no se crea ningún archivo PNG ni DOT. Por cierto, estoy trabajando en Terminal de macOS 12.6.2. Espero que esto ayude. Si necesitas más información, solo házmelo saber.
FLO
Insecto en flo
No pude reproducir este comportamiento. ¿Tiene información más específica sobre los pasos que condujeron a este error?
FLO
Insecto en flo
FLO