twili
twili copied to clipboard
1.0.0 -- Failure to create a default settings file
Log from twibd over a USB connection:
[2][2019-04-17 23:19] daemon/USBBackend.cpp:682: [TWILI] brought up USB serial
[2][2019-04-17 23:19] daemon/USBBackend.cpp:682: [TWILI] using fresh config
[2][2019-04-17 23:19] daemon/USBBackend.cpp:682: [TWILI] acquiring ldr:shel
[2][2019-04-17 23:19] daemon/USBBackend.cpp:682: [TWILI] acquired services
[2][2019-04-17 23:19] daemon/USBBackend.cpp:682: [TWILI] opening /sd/.twili_temp
[2][2019-04-17 23:19] daemon/USBBackend.cpp:682: [TWILI] not found, making...
[2][2019-04-17 23:19] daemon/USBBackend.cpp:682: [TWILI] caught ResultError: ResultError 0x202 (Module: FS, Group: N/A, Description: NOT_FOUND)
Furthermore, my switch fatals with error 0x202 -- Path does not exist. (Which I guess was also caught by twibd anyways)
One of the times trying this, the 'sd' directory was created but the settings file was still not.
After looking at the project a little myself I saw that it stops here: https://github.com/misson20000/twili/blob/master/twili/FileManager.cpp#L51
It never gets to "opening again...," which is interesting because the "sd" directory was created at least once while I was trying to get this to work.