03-10-2019, 03:42 PM | #1 |
Enthusiast
Posts: 31
Karma: 100000
Join Date: Apr 2017
Device: Kobo Glo HD, Kindle Voyage
|
KOReader settings deleted on crash.
I've been having some crashing issues lately, and whenever KOReader crashes, it seems to delete the contents of the settings.reader.lua file. I don't really care if KOReader crashes or not, but I don't want to reset all my defaults/settings every time. Is this intended functionality? If so, is there any way to disable it? Sometimes it seems to delete book metadata as well, although it doesn't happen always and I can't seem to see any sort of pattern.
If it is of any note, I've modified frontend/ui/font.lua to point to an otf font instead of NotoSans-Regular.ttf and NotoSans-Bold.ttf, and modified frontend/ui/widget/touchmenu.lua to change the time display to 12H time, formatted as such "%l:%M %p - (Battery percentage)%". I'm on v2019.02, with a Kobo Glo HD. I was previously on the nightly channel but switched to the stable channel. |
03-10-2019, 05:15 PM | #2 |
Evangelist
Posts: 446
Karma: 1084584
Join Date: Aug 2007
Location: Sisak, Croatia
Device: Kobo Aura H2O, Kobo Aura ONE
|
I had settings.reader.lua deleted if there was syntax error. Workaround I use is to have good copy somewhere else (on my computer, but can be some different directory on device itself).
|
Advert | |
|
03-10-2019, 07:43 PM | #3 |
Wizard
Posts: 1,693
Karma: 730679
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
It's a bit ugly for the moment, but if you close a file it saves all the info related to it, and if you close or restart the program that does the same for global settings.
|
03-15-2019, 02:14 PM | #4 |
Addict
Posts: 315
Karma: 26
Join Date: Jul 2012
Device: Kindle Paperwhite 4 (2018)
|
Somewhat related, but I've found after an upgrade, I needed to restore a lot of my saved/default settings (margin UI hacks, dictionary settings, etc) by hand. Aren't these settings supposed to be retained through the OTA upgrade process?
|
03-15-2019, 02:49 PM | #5 |
BLAM!
Posts: 13,499
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@arooni: Define "etc.", as you've just listed at least one thing (margins) that was recently expanded with more granularity (without affecting current custom settings, though).
(And, on the off-chance it's a PEBCAK, how did you "upgrade"? ). |
Advert | |
|
03-15-2019, 04:40 PM | #6 |
BLAM!
Posts: 13,499
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
There may be some Kindle-specific quirks due to the nature of the layered userstore, where stuff just suddenly combusts for ... reasons.
Like, say, possibly, *unsaved* settings right before an OTA update. Try to restart KOReader before doing an OTA, see if it helps? Although if the fuse layer is really getting quirky, only a full reboot will help. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Are custom columns stored in the library settings or Calibre settings? | ownedbycats | Calibre | 3 | 02-28-2019 03:56 PM |
Koreader pdf reading settings lost after LibrarianSync | masteranza | Kindle Developer's Corner | 2 | 06-21-2017 08:15 PM |
Reset the Koreader settings on Kindle | grognon91 | KOReader | 3 | 04-27-2017 02:40 PM |
framebuffer settings for koreader | shadoooo | Kobo Developer's Corner | 15 | 01-01-2014 12:20 PM |
Troubleshooting Calibre Settings to replicate Amazon store settings? | kdwosk | Amazon Kindle | 0 | 02-22-2011 03:34 PM |