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--@ 1 peter staff 573 Mar 25 17:24 my_first_flo_too.dot
-rw-r--r--@ 1 peter staff 58964 Mar 25 17:24 my_first_flo_too.png
-rw-r--r--@ 1 peter staff 161 Mar 25 17:24 my_first_flo_too.txt
-rw-r--r-- 1 peter staff 546 Mar 10 17:53 sample_input.dot
~/Downloads/flo_v0.1 $ rename
-bash: rename: command not found
~/Downloads/flo_v0.1 $
~/Downloads/flo_v0.1 $
~/Downloads/flo_v0.1 $
~/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
-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--@ 1 peter staff 573 Mar 25 17:24 my_first_flo_too.dot
-rw-r--r--@ 1 peter staff 58964 Mar 25 17:24 my_first_flo_too.png
-rw-r--r--@ 1 peter staff 161 Mar 25 17:24 my_first_flo_too.txt
-rw-r--r-- 1 peter staff 546 Mar 10 17:53 sample_input.dot
~/Downloads/flo_v0.1 $ ./flo2pix endgame
Found description: 1. Thanos has wiped out half of all life in the universe with the Infinity Stones
Found description: 2. The surviving Avengers locate Thanos on a distant planet and confront him
Found description: 3. Thanos reveals he has destroyed the Infinity Stones to prevent their use again
Found description: 4. Thor kills Thanos in anger, but it is too late to undo his actions
Found description: 5. Five years later, Ant-Man returns from the quantum realm and proposes a plan to use time travel to retrieve the Infinity Stones from the past
Found description: 6. The Avengers split into teams and travel to different points in time where they encountered the Infinity Stones before
Found description: 7. Team 1 (Iron Man, Captain America, Ant-Man, Hulk) goes to New York in 2012 during the Battle of New York
Found description: 8. Team 2 (Thor, Rocket) goes to Asgard in 2013 during Thor: The Dark World
Found description: 9. Team 3 (Hawkeye, Black Widow) goes to Vormir in 2014 before Guardians of the Galaxy
Found description: 10. Team 4 (Nebula, War Machine) goes to Morag in 2014 during Guardians of the Galaxy
Found description: 11. Team 1 successfully retrieves the Mind Stone from Loki's scepter and the Time Stone from Ancient One
Found description: 12. Team 2 successfully retrieves the Reality Stone from Jane Foster
Found description: 13. Team 3 successfully retrieves the Soul Stone after Black Widow sacrifices herself
Found description: 14. Team 4 successfully retrieves the Power Stone before Star-Lord does
Found description: 15. Loki escapes with the Tesseract containing the Space Stone after a mishap by Ant-Man
Found description: 16. Thor takes Mjolnir from his past self
Found description: 17. Past Nebula is captured by past Thanos who learns about their plan through her neural network
Found description: 18. Present Nebula is swapped with past Nebula who infiltrates their team
Found description: 19. Team 1 fails to secure the Space Stone and decides to go further back in time to 1970 where they find it at a S.H.I.E.L.D facility along with more Pym Particles for their return trip
Found description: 20. Team 2 returns to present with Reality Stone and Mjolnir
Found description: 21. Team 3 returns to present with Soul Stone but mourns Black Widow's death
Found description: 22. Team 4 returns to present with Power Stone but realizes that Nebula has been replaced by her past self
Found description: 23. The Avengers return to present with all six Infinity Stones and create a new gauntlet
Found description: 24. Hulk uses gauntlet to bring back everyone who was snapped away by Thanos
Found description: 25. Past Thanos arrives with his army through portal created by past Nebula
Found description: 26. A massive battle ensues between Thanos' forces and Avengers' allies who have been resurrected
Found description: 27. Iron Man steals Infinity Stones from Thanos and uses them to disintegrate him and his army but dies from energy surge
Found description: 28. Captain America returns Infinity Stones and Mjolnir back their original timelines then decides live out his life Peggy Carter alternate timeline
Found description: 29. An elderly Captain America passes on his shield mantle Falcon
Found flow: -1 to 2
Found flow: -1,2,3,4 to 5
Found flow: -1,2,3,4 to 7
Found flow: -2 to 3
Found flow: -3,4 to 9
Found flow: -4 to 8
Found flow: -4 to 10
Found flow: -4 to 16
Found flow: -5 to 6
Found flow: -5,8 to 1
Found flow: -7 to 19
Found flow: -9 to 14
Found flow: -10 to 13
Found flow: -16 to 23
Found flow: -14 to 23
Found flow: -13 to 23
Found flow: -19 to 23
Found flow: -23 to 24
Found flow: -11 to 23
Found flow: -12 to 23
Found flow: -15 to 23
Found flow: -23 to 26
Found flow: -17 to 18
Found flow: -18 to 26
Found flow: -26 to 27
Found flow: -23 to 28
sed: 1: "/Users/peter/Downloads/ ...": extra characters at the end of p command
Created: /Users/peter/Downloads/flo_v0.dot, /Users/peter/Downloads/flo_v0.png, orientation TD
Source file used: /Users/peter/Downloads/flo_v0.1/endgame. Engine used: dot
Bye. Have a nice day.
~/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
-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--@ 1 peter staff 573 Mar 25 17:24 my_first_flo_too.dot
-rw-r--r--@ 1 peter staff 58964 Mar 25 17:24 my_first_flo_too.png
-rw-r--r--@ 1 peter staff 161 Mar 25 17:24 my_first_flo_too.txt
-rw-r--r-- 1 peter staff 546 Mar 10 17:53 sample_input.dot
~/Downloads/flo_v0.1 $ mv endgame endgame.txt
~/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--@ 1 peter staff 573 Mar 25 17:24 my_first_flo_too.dot
-rw-r--r--@ 1 peter staff 58964 Mar 25 17:24 my_first_flo_too.png
-rw-r--r--@ 1 peter staff 161 Mar 25 17:24 my_first_flo_too.txt
-rw-r--r-- 1 peter staff 546 Mar 10 17:53 sample_input.dot
~/Downloads/flo_v0.1 $ ./flo2pix endgame.txt
Found description: 1. Thanos has wiped out half of all life in the universe with the Infinity Stones
Found description: 2. The surviving Avengers locate Thanos on a distant planet and confront him
Found description: 3. Thanos reveals he has destroyed the Infinity Stones to prevent their use again
Found description: 4. Thor kills Thanos in anger, but it is too late to undo his actions
Found description: 5. Five years later, Ant-Man returns from the quantum realm and proposes a plan to use time travel to retrieve the Infinity Stones from the past
Found description: 6. The Avengers split into teams and travel to different points in time where they encountered the Infinity Stones before
Found description: 7. Team 1 (Iron Man, Captain America, Ant-Man, Hulk) goes to New York in 2012 during the Battle of New York
Found description: 8. Team 2 (Thor, Rocket) goes to Asgard in 2013 during Thor: The Dark World
Found description: 9. Team 3 (Hawkeye, Black Widow) goes to Vormir in 2014 before Guardians of the Galaxy
Found description: 10. Team 4 (Nebula, War Machine) goes to Morag in 2014 during Guardians of the Galaxy
Found description: 11. Team 1 successfully retrieves the Mind Stone from Loki's scepter and the Time Stone from Ancient One
Found description: 12. Team 2 successfully retrieves the Reality Stone from Jane Foster
Found description: 13. Team 3 successfully retrieves the Soul Stone after Black Widow sacrifices herself
Found description: 14. Team 4 successfully retrieves the Power Stone before Star-Lord does
Found description: 15. Loki escapes with the Tesseract containing the Space Stone after a mishap by Ant-Man
Found description: 16. Thor takes Mjolnir from his past self
Found description: 17. Past Nebula is captured by past Thanos who learns about their plan through her neural network
Found description: 18. Present Nebula is swapped with past Nebula who infiltrates their team
Found description: 19. Team 1 fails to secure the Space Stone and decides to go further back in time to 1970 where they find it at a S.H.I.E.L.D facility along with more Pym Particles for their return trip
Found description: 20. Team 2 returns to present with Reality Stone and Mjolnir
Found description: 21. Team 3 returns to present with Soul Stone but mourns Black Widow's death
Found description: 22. Team 4 returns to present with Power Stone but realizes that Nebula has been replaced by her past self
Found description: 23. The Avengers return to present with all six Infinity Stones and create a new gauntlet
Found description: 24. Hulk uses gauntlet to bring back everyone who was snapped away by Thanos
Found description: 25. Past Thanos arrives with his army through portal created by past Nebula
Found description: 26. A massive battle ensues between Thanos' forces and Avengers' allies who have been resurrected
Found description: 27. Iron Man steals Infinity Stones from Thanos and uses them to disintegrate him and his army but dies from energy surge
Found description: 28. Captain America returns Infinity Stones and Mjolnir back their original timelines then decides live out his life Peggy Carter alternate timeline
Found description: 29. An elderly Captain America passes on his shield mantle Falcon
Found flow: -1 to 2
Found flow: -1,2,3,4 to 5
Found flow: -1,2,3,4 to 7
Found flow: -2 to 3
Found flow: -3,4 to 9
Found flow: -4 to 8
Found flow: -4 to 10
Found flow: -4 to 16
Found flow: -5 to 6
Found flow: -5,8 to 1
Found flow: -7 to 19
Found flow: -9 to 14
Found flow: -10 to 13
Found flow: -16 to 23
Found flow: -14 to 23
Found flow: -13 to 23
Found flow: -19 to 23
Found flow: -23 to 24
Found flow: -11 to 23
Found flow: -12 to 23
Found flow: -15 to 23
Found flow: -23 to 26
Found flow: -17 to 18
Found flow: -18 to 26
Found flow: -26 to 27
Found flow: -23 to 28
sed: 1: "/Users/peter/Downloads/ ...": extra characters at the end of p command
Created: /Users/peter/Downloads/flo_v0.1/endgame.dot, /Users/peter/Downloads/flo_v0.1/endgame.png, orientation TD
Source file used: /Users/peter/Downloads/flo_v0.1/endgame.txt. Engine used: dot
Bye. Have a nice day.
~/Downloads/flo_v0.1 $ ls -l
total 1128
-rw-r--r--@ 1 peter staff 15289 Mar 24 17:04 README.md
-rw-r--r-- 1 peter staff 8122 Apr 14 18:53 endgame.dot
-rw-r--r-- 1 peter staff 376152 Apr 14 18:53 endgame.png
-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--@ 1 peter staff 573 Mar 25 17:24 my_first_flo_too.dot
-rw-r--r--@ 1 peter staff 58964 Mar 25 17:24 my_first_flo_too.png
-rw-r--r--@ 1 peter staff 161 Mar 25 17:24 my_first_flo_too.txt
-rw-r--r-- 1 peter staff 546 Mar 10 17:53 sample_input.dot
~/Downloads/flo_v0.1 $
Hope this helps
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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 "$1")"
Thanks for pointing this out! We'll work on a fix that will work on both Linux and macOS.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No pude reproducir este comportamiento. ¿Tiene información más específica sobre los pasos que condujeron a este error?
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--@ 1 peter staff 573 Mar 25 17:24 my_first_flo_too.dot
-rw-r--r--@ 1 peter staff 58964 Mar 25 17:24 my_first_flo_too.png
-rw-r--r--@ 1 peter staff 161 Mar 25 17:24 my_first_flo_too.txt
-rw-r--r-- 1 peter staff 546 Mar 10 17:53 sample_input.dot
~/Downloads/flo_v0.1 $ rename
-bash: rename: command not found
~/Downloads/flo_v0.1 $
~/Downloads/flo_v0.1 $
~/Downloads/flo_v0.1 $
~/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
-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--@ 1 peter staff 573 Mar 25 17:24 my_first_flo_too.dot
-rw-r--r--@ 1 peter staff 58964 Mar 25 17:24 my_first_flo_too.png
-rw-r--r--@ 1 peter staff 161 Mar 25 17:24 my_first_flo_too.txt
-rw-r--r-- 1 peter staff 546 Mar 10 17:53 sample_input.dot
~/Downloads/flo_v0.1 $ ./flo2pix endgame
Found description: 1. Thanos has wiped out half of all life in the universe with the Infinity Stones
Found description: 2. The surviving Avengers locate Thanos on a distant planet and confront him
Found description: 3. Thanos reveals he has destroyed the Infinity Stones to prevent their use again
Found description: 4. Thor kills Thanos in anger, but it is too late to undo his actions
Found description: 5. Five years later, Ant-Man returns from the quantum realm and proposes a plan to use time travel to retrieve the Infinity Stones from the past
Found description: 6. The Avengers split into teams and travel to different points in time where they encountered the Infinity Stones before
Found description: 7. Team 1 (Iron Man, Captain America, Ant-Man, Hulk) goes to New York in 2012 during the Battle of New York
Found description: 8. Team 2 (Thor, Rocket) goes to Asgard in 2013 during Thor: The Dark World
Found description: 9. Team 3 (Hawkeye, Black Widow) goes to Vormir in 2014 before Guardians of the Galaxy
Found description: 10. Team 4 (Nebula, War Machine) goes to Morag in 2014 during Guardians of the Galaxy
Found description: 11. Team 1 successfully retrieves the Mind Stone from Loki's scepter and the Time Stone from Ancient One
Found description: 12. Team 2 successfully retrieves the Reality Stone from Jane Foster
Found description: 13. Team 3 successfully retrieves the Soul Stone after Black Widow sacrifices herself
Found description: 14. Team 4 successfully retrieves the Power Stone before Star-Lord does
Found description: 15. Loki escapes with the Tesseract containing the Space Stone after a mishap by Ant-Man
Found description: 16. Thor takes Mjolnir from his past self
Found description: 17. Past Nebula is captured by past Thanos who learns about their plan through her neural network
Found description: 18. Present Nebula is swapped with past Nebula who infiltrates their team
Found description: 19. Team 1 fails to secure the Space Stone and decides to go further back in time to 1970 where they find it at a S.H.I.E.L.D facility along with more Pym Particles for their return trip
Found description: 20. Team 2 returns to present with Reality Stone and Mjolnir
Found description: 21. Team 3 returns to present with Soul Stone but mourns Black Widow's death
Found description: 22. Team 4 returns to present with Power Stone but realizes that Nebula has been replaced by her past self
Found description: 23. The Avengers return to present with all six Infinity Stones and create a new gauntlet
Found description: 24. Hulk uses gauntlet to bring back everyone who was snapped away by Thanos
Found description: 25. Past Thanos arrives with his army through portal created by past Nebula
Found description: 26. A massive battle ensues between Thanos' forces and Avengers' allies who have been resurrected
Found description: 27. Iron Man steals Infinity Stones from Thanos and uses them to disintegrate him and his army but dies from energy surge
Found description: 28. Captain America returns Infinity Stones and Mjolnir back their original timelines then decides live out his life Peggy Carter alternate timeline
Found description: 29. An elderly Captain America passes on his shield mantle Falcon
Found flow: -1 to 2
Found flow: -1,2,3,4 to 5
Found flow: -1,2,3,4 to 7
Found flow: -2 to 3
Found flow: -3,4 to 9
Found flow: -4 to 8
Found flow: -4 to 10
Found flow: -4 to 16
Found flow: -5 to 6
Found flow: -5,8 to 1
Found flow: -7 to 19
Found flow: -9 to 14
Found flow: -10 to 13
Found flow: -16 to 23
Found flow: -14 to 23
Found flow: -13 to 23
Found flow: -19 to 23
Found flow: -23 to 24
Found flow: -11 to 23
Found flow: -12 to 23
Found flow: -15 to 23
Found flow: -23 to 26
Found flow: -17 to 18
Found flow: -18 to 26
Found flow: -26 to 27
Found flow: -23 to 28
sed: 1: "/Users/peter/Downloads/ ...": extra characters at the end of p command
Created: /Users/peter/Downloads/flo_v0.dot, /Users/peter/Downloads/flo_v0.png, orientation TD
Source file used: /Users/peter/Downloads/flo_v0.1/endgame. Engine used: dot
Bye. Have a nice day.
~/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
-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--@ 1 peter staff 573 Mar 25 17:24 my_first_flo_too.dot
-rw-r--r--@ 1 peter staff 58964 Mar 25 17:24 my_first_flo_too.png
-rw-r--r--@ 1 peter staff 161 Mar 25 17:24 my_first_flo_too.txt
-rw-r--r-- 1 peter staff 546 Mar 10 17:53 sample_input.dot
~/Downloads/flo_v0.1 $ mv endgame endgame.txt
~/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--@ 1 peter staff 573 Mar 25 17:24 my_first_flo_too.dot
-rw-r--r--@ 1 peter staff 58964 Mar 25 17:24 my_first_flo_too.png
-rw-r--r--@ 1 peter staff 161 Mar 25 17:24 my_first_flo_too.txt
-rw-r--r-- 1 peter staff 546 Mar 10 17:53 sample_input.dot
~/Downloads/flo_v0.1 $ ./flo2pix endgame.txt
Found description: 1. Thanos has wiped out half of all life in the universe with the Infinity Stones
Found description: 2. The surviving Avengers locate Thanos on a distant planet and confront him
Found description: 3. Thanos reveals he has destroyed the Infinity Stones to prevent their use again
Found description: 4. Thor kills Thanos in anger, but it is too late to undo his actions
Found description: 5. Five years later, Ant-Man returns from the quantum realm and proposes a plan to use time travel to retrieve the Infinity Stones from the past
Found description: 6. The Avengers split into teams and travel to different points in time where they encountered the Infinity Stones before
Found description: 7. Team 1 (Iron Man, Captain America, Ant-Man, Hulk) goes to New York in 2012 during the Battle of New York
Found description: 8. Team 2 (Thor, Rocket) goes to Asgard in 2013 during Thor: The Dark World
Found description: 9. Team 3 (Hawkeye, Black Widow) goes to Vormir in 2014 before Guardians of the Galaxy
Found description: 10. Team 4 (Nebula, War Machine) goes to Morag in 2014 during Guardians of the Galaxy
Found description: 11. Team 1 successfully retrieves the Mind Stone from Loki's scepter and the Time Stone from Ancient One
Found description: 12. Team 2 successfully retrieves the Reality Stone from Jane Foster
Found description: 13. Team 3 successfully retrieves the Soul Stone after Black Widow sacrifices herself
Found description: 14. Team 4 successfully retrieves the Power Stone before Star-Lord does
Found description: 15. Loki escapes with the Tesseract containing the Space Stone after a mishap by Ant-Man
Found description: 16. Thor takes Mjolnir from his past self
Found description: 17. Past Nebula is captured by past Thanos who learns about their plan through her neural network
Found description: 18. Present Nebula is swapped with past Nebula who infiltrates their team
Found description: 19. Team 1 fails to secure the Space Stone and decides to go further back in time to 1970 where they find it at a S.H.I.E.L.D facility along with more Pym Particles for their return trip
Found description: 20. Team 2 returns to present with Reality Stone and Mjolnir
Found description: 21. Team 3 returns to present with Soul Stone but mourns Black Widow's death
Found description: 22. Team 4 returns to present with Power Stone but realizes that Nebula has been replaced by her past self
Found description: 23. The Avengers return to present with all six Infinity Stones and create a new gauntlet
Found description: 24. Hulk uses gauntlet to bring back everyone who was snapped away by Thanos
Found description: 25. Past Thanos arrives with his army through portal created by past Nebula
Found description: 26. A massive battle ensues between Thanos' forces and Avengers' allies who have been resurrected
Found description: 27. Iron Man steals Infinity Stones from Thanos and uses them to disintegrate him and his army but dies from energy surge
Found description: 28. Captain America returns Infinity Stones and Mjolnir back their original timelines then decides live out his life Peggy Carter alternate timeline
Found description: 29. An elderly Captain America passes on his shield mantle Falcon
Found flow: -1 to 2
Found flow: -1,2,3,4 to 5
Found flow: -1,2,3,4 to 7
Found flow: -2 to 3
Found flow: -3,4 to 9
Found flow: -4 to 8
Found flow: -4 to 10
Found flow: -4 to 16
Found flow: -5 to 6
Found flow: -5,8 to 1
Found flow: -7 to 19
Found flow: -9 to 14
Found flow: -10 to 13
Found flow: -16 to 23
Found flow: -14 to 23
Found flow: -13 to 23
Found flow: -19 to 23
Found flow: -23 to 24
Found flow: -11 to 23
Found flow: -12 to 23
Found flow: -15 to 23
Found flow: -23 to 26
Found flow: -17 to 18
Found flow: -18 to 26
Found flow: -26 to 27
Found flow: -23 to 28
sed: 1: "/Users/peter/Downloads/ ...": extra characters at the end of p command
Created: /Users/peter/Downloads/flo_v0.1/endgame.dot, /Users/peter/Downloads/flo_v0.1/endgame.png, orientation TD
Source file used: /Users/peter/Downloads/flo_v0.1/endgame.txt. Engine used: dot
Bye. Have a nice day.
~/Downloads/flo_v0.1 $ ls -l
total 1128
-rw-r--r--@ 1 peter staff 15289 Mar 24 17:04 README.md
-rw-r--r-- 1 peter staff 8122 Apr 14 18:53 endgame.dot
-rw-r--r-- 1 peter staff 376152 Apr 14 18:53 endgame.png
-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--@ 1 peter staff 573 Mar 25 17:24 my_first_flo_too.dot
-rw-r--r--@ 1 peter staff 58964 Mar 25 17:24 my_first_flo_too.png
-rw-r--r--@ 1 peter staff 161 Mar 25 17:24 my_first_flo_too.txt
-rw-r--r-- 1 peter staff 546 Mar 10 17:53 sample_input.dot
~/Downloads/flo_v0.1 $
Hope this helps
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 "$1")"
Thanks for pointing this out! We'll work on a fix that will work on both Linux and macOS.
Great! Amazing speed. 21 minutes after posting the Terminal log, he found the cause!
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.
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