Closed garaiza-93 closed 6 months ago
gtnh-flow now correctly describes the issue instead of failing with IndexError
:
Traceback (most recent call last):
File "/home/order/Dropbox/OrderedSetCode/game-optimization/minecraft/flow/factory_graph.py", line 69, in generate_one
self.graph_gen(self, project_name[:-5], recipes, self.graph_config)
File "/home/order/Dropbox/OrderedSetCode/game-optimization/minecraft/flow/src/graph/_solver.py", line 668, in systemOfEquationsSolverGraphGen
solver.run()
File "/home/order/Dropbox/OrderedSetCode/game-optimization/minecraft/flow/src/graph/_solver.py", line 77, in run
self._solve()
File "/home/order/Dropbox/OrderedSetCode/game-optimization/minecraft/flow/src/graph/_solver.py", line 333, in _solve
raise RuntimeError(
RuntimeError:
Unsolved variables - machine system is underdefined.
Likely cause is either disconnected machines or too little information.
factory_graph.py:72 ERROR Error generating graph for project "devtest/bauxite.yaml":
Unsolved variables - machine system is underdefined.
Likely cause is either disconnected machines or too little information.
factory_graph.py:73 ERROR If error cause is not obvious, please notify dev: https://github.com/OrderedSet86/gtnh-flow/issues
The issue can be seen in the debug chart - there are two copies of the same LCR process, so it is unclear how to split between the two. AKA too little information. Removing one of the sodium dust LCRs solves the problem
I'm trying to recreate this chart in gtnh-flow:
Config
Error
YAML