There are some files (usually ones not prepared correctly for RepRap firmware) which the firmware cannot properly detect the filament length. This results in an empty list being sent rather than zero and the code throws an error because of this.
Line 58 of FileView should read cellFormat { text = "${it.firstOrNull()} mm" } or something similar to bypass this issue.
There are some files (usually ones not prepared correctly for RepRap firmware) which the firmware cannot properly detect the filament length. This results in an empty list being sent rather than zero and the code throws an error because of this.
Line 58 of FileView should read
cellFormat { text = "${it.firstOrNull()} mm" }
or something similar to bypass this issue.