You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run belt_balancer_net_free_power_of_2 10 8 | blueprint encode
I get the following output:
0eNq1ltFumzAUhl+l4rqrwD62oa8yVVPSogopAQRmWhTx7vNYtE2b9zuUn6sYx/jD9vnO8TU7nqa6H5rWZ88P16x57doxtD5fs7F5bw+npddf+jo0ssbX5+zxIWsP5+V57E+N9/WQzaGzad/qb6G3mF8eb0PDkN/Th86v9TA2XRv6VVmIk8pZV+TW2PBf3frGN/UNvjxdvrTT+RimD5OGEX03hhHL69fsByl/MqH78rM1//Fdfji0Y98N/tOxPi3kt2aoX28vqzD0X4KKEQomQccIikmQGEEzCSZGECbBxgjmYwSJElyMYJlrKGMExyRUMULJJBR5DFFREQmrCwIioTUDkfD6L8QU0uTwPnThNw4Jz7/ybdtPPotTBXuykip3Ug12B29nfEqLZdmwfd3k/78Sh8ObERglDm9FQFQ4vAkIlePwVtsTsipw3WKsQuHCpXaRVGksKWNhgo1U641UBhup9jFSWVzT1FM+x+6e921TQnfGSSR01wREQne9SxTrRAbQ2zOATmSAOxZ2T4jpRBYgHJFOKK/X+6gTiut9fNQG+8jYLIutZCActlIIiBJbKftYWWErCQuTHOsi62NZCqyHfPzaimJZFFZI9lFINK6ksqWkiWA/GQFgsJ8MhMV+GgLCYT8ZiBLLyEBUuESaLbFkEqab7SXeJMwnbJFJWM5AJIxmIARLx0AYLJ0lICyWjoFwWDq7S901JfbQ3n9VRZQKC0nYPptjIRmIAgtpt6cVq7CQdp/KbjUuvnZLNraJDMA4mUQGcAREIgMwEIkMwEAkdHfr78C2wlYQvtrl2AoGosAGMBAKe7AS8TLP3wFYddio
Traceback (most recent call last):
File "/Users/users/yodo/Documents/programming/games/factorio/factorio-sat/factorio_sat/.venv/bin/blueprint", line8, in <module>
sys.exit(main())
File "/Users/users/yodo/Documents/programming/games/factorio/factorio-sat/factorio_sat/blueprint.py", line 288, in main
tiles = np.array(json.loads(input()))
EOFError: EOF when reading a line
The first line is the expected blueprint, which can be imported into Factorio successfully, but I also get an error message. I also get the same error message with other settings. Maybe I'm using it incorrectly though; it's not so clear to me what kind of data the different commands expect and return.
Python version is 3.9.19
The text was updated successfully, but these errors were encountered:
The error is expected, there is no handling of end of input, the program expects an endless stream of input. There's potential to add handling for ending of the stream if needed, but it's not critical to have it in the cases at least I encountered.
Yodo9000
changed the title
EOF when reading input
EOF when reading input?
Jan 20, 2025
When I run
belt_balancer_net_free_power_of_2 10 8 | blueprint encode
I get the following output:
The first line is the expected blueprint, which can be imported into Factorio successfully, but I also get an error message. I also get the same error message with other settings. Maybe I'm using it incorrectly though; it's not so clear to me what kind of data the different commands expect and return.
Python version is 3.9.19
The text was updated successfully, but these errors were encountered: