Just documenting this in-case anyone runs into this in future. For context, I recently updated my kobo libra 2 to the latest update from Kobo and updated kfmon + koreader + pluto via the packages and scripts in this thread (although, I think this would happen to anyone).
Everything went well, and the script returned a positive installation result, and when I booted the device, I had the expected kfmon loaded successfully message and nicklemenu was present. KOReader launched without ever; however, pluto failed to start whenever I selected it. Digging into the info log found under
/.adds/plato/info.log, I found a few errors regarding parsing
Settings.toml. See the following:
Code:
Error: can't build context
Caused by:
0: can't load settings
1: can't parse TOML content from Settings.toml
2: TOML parse error at line 127, column 9
|
127 | color = 0
| ^
wanted string or table
This error seems to be from a change in the way the
sketch.pen settings are handled. The freshly generated
Settings.toml has the following schema:
Code:
[sketch.pen]
size = 2
dynamic = true
amplitude = 4.0
min-speed = 0.0
max-speed = 3000.0
[sketch.pen.color]
gray = 0
The legacy
Settings.toml has the following schema:
Code:
[sketch.pen]
size = 2
color = 0
dynamic = true
amplitude = 4.0
min-speed = 35.43307113647461
max-speed = 1800.0
Changing my legacy settings file to reflect the new schema allowed pluto to load properly. Deleting
Settings.toml and allowing pluto to regenerate its settings will also work.
P.S. sorry if this is offtopic. I'm happy to move this to a more pluto specific thread if so.