Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 09-17-2019, 11:03 AM   #151
perisiana
Connoisseur
perisiana shapes the world with his or her thoughts.perisiana shapes the world with his or her thoughts.perisiana shapes the world with his or her thoughts.perisiana shapes the world with his or her thoughts.perisiana shapes the world with his or her thoughts.perisiana shapes the world with his or her thoughts.perisiana shapes the world with his or her thoughts.perisiana shapes the world with his or her thoughts.perisiana shapes the world with his or her thoughts.perisiana shapes the world with his or her thoughts.perisiana shapes the world with his or her thoughts.
 
Posts: 88
Karma: 105086
Join Date: Sep 2016
Device: Kobo Aura H2O
Quote:
Originally Posted by NiLuJe View Post
EDIT: In any case, Plato requires FW >= 4.6 to run, so, your Mini is out on 3.19, even when KFMon doesn't throw a fit .
Ops
perisiana is offline   Reply With Quote
Old 09-17-2019, 11:23 AM   #152
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,751
Karma: 730681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
Quote:
Originally Posted by NiLuJe View Post
EDIT: In any case, Plato requires FW >= 4.6 to run, so, your Mini is out on 3.19, even when KFMon doesn't throw a fit .
Yeah, that confused me too. I was on 4.5 and it didn't run. "A recent 4.X firmware is required." seemed to imply to me that it should, but closer investigation showed some libc shenanigans.
Frenzie is offline   Reply With Quote
Old 09-17-2019, 11:50 AM   #153
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@Frenzie: Yeah, it took me a while to find my notes the last time I had to, but 4.6 is the exact FW when the glibc was updated .

And that's what the current Kobo TC targets (along with... peculiar kernel (A 4.0 rc :?) & CPU choices (A9), if you were to follow it for more general purpose stuff).
NiLuJe is offline   Reply With Quote
Old 09-17-2019, 11:56 AM   #154
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@perisiana: Okay, I've fixed my logging because that error message had me confused (SQLITE_BUSY being described as "database is locked" and SQLITE_LOCKED as "database table is locked" is, err, mildly confusing, to say the least).

It's apparently just a case of Nickel being busy with the database, which can happen on older FWs. That it only happens on the Plato icon on your device is I'm going to assume purely coincidental . The fact that it lives in a different folder may be a factor here. Or, just, you know, gremlins ;p.

If it ends up actually bothering you for other things, you can try increasing the db_timeout setting.
The (easier?) solution is to simply update to a recent 4.x FW, as that bit of insanity isn't a problem anymore there .

Last edited by NiLuJe; 09-17-2019 at 12:00 PM.
NiLuJe is offline   Reply With Quote
Old 09-23-2019, 09:35 AM   #155
sladflob
Connoisseur
sladflob began at the beginning.
 
Posts: 63
Karma: 10
Join Date: Feb 2013
Device: Kobo Touch, Aura One
So I updated my KA1 to 4.17.13694 and then had to reinstall KFMon so I could use KOReader. Unfortunately it was getting late and I accidentally unzipped the install file into the .kobo directory instead of the top level. After the Kobo rebooted I now find I have a "book" for every image on the device in Nickel's My Books section. I reinstalled KFMon and have now got KOReader back again, but having all these extra "books" is bugging me. Anyone got any ideas on how to get rid of them?
sladflob is offline   Reply With Quote
Old 09-23-2019, 10:14 AM   #156
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by sladflob View Post
So I updated my KA1 to 4.17.13694 and then had to reinstall KFMon so I could use KOReader. Unfortunately it was getting late and I accidentally unzipped the install file into the .kobo directory instead of the top level. After the Kobo rebooted I now find I have a "book" for every image on the device in Nickel's My Books section. I reinstalled KFMon and have now got KOReader back again, but having all these extra "books" is bugging me. Anyone got any ideas on how to get rid of them?
Delete the file in the directory and they will be removed from the library when the device is disconnected.
davidfor is offline   Reply With Quote
Old 09-23-2019, 10:19 AM   #157
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
And once you've cleared the extra cruft from your .kobo directory, you'll want to read the NOTE I added to the first post so that Nickel won't try to index stuff from inside KOReader & Plato's folders, even when they're installed in the right place .

(And probably you'll then have to reinstall 'em, because Nickel will have deleted a few icons in the process ^^).

TL;DR: Don't get it wrong on FW 4.17+, or things get slightly trickier. Or just use the install scripts, they take care of everything.

Last edited by NiLuJe; 09-23-2019 at 10:21 AM.
NiLuJe is offline   Reply With Quote
Old 09-23-2019, 06:03 PM   #158
sladflob
Connoisseur
sladflob began at the beginning.
 
Posts: 63
Karma: 10
Join Date: Feb 2013
Device: Kobo Touch, Aura One
Quote:
Originally Posted by davidfor View Post
Delete the file in the directory and they will be removed from the library when the device is disconnected.
Which file do you mean? At the moment it's showing me books for about 200 png files that are in .adds/koreader. Obviously I can't delete them without causing more mayhem. Or do you mean use the Remove option under the "..." menu next to the image in My Books? I didn't want to do that in case it deleted the file itself...
sladflob is offline   Reply With Quote
Old 09-23-2019, 06:39 PM   #159
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@sladflob: Whatever you put inside .kobo that shouldn't be in there .

Note that seeing KOReader's icons being indexed by Nickel happens to be a new feature of FW 4.17+, which might confuse the issue some more (especially if seeing those icons getting indexed is what made you think "uh oh, I messed up". So, did you actually unpack stuff in the wrong place?).

Quote:
Originally Posted by NiLuJe View Post
NOTE: On FW 4.17+, you'll probably also want to prevent Nickel from scanning *nix hidden folders. And you'll want to tweak your config before unplugging your device (i.e., before installing this; or, if you've just upgraded your FW, during the first USB connection after the update).
And, yes, doing that after the fact will cause Nickel to delete the files, so you'll have to reinstall KOReader.

Hence the emphasis on doing it right the first time around and in the right order .

TL;DR: Use the install script ;p.

Last edited by NiLuJe; 09-24-2019 at 12:54 AM.
NiLuJe is offline   Reply With Quote
Old 09-23-2019, 07:02 PM   #160
sladflob
Connoisseur
sladflob began at the beginning.
 
Posts: 63
Karma: 10
Join Date: Feb 2013
Device: Kobo Touch, Aura One
Quote:
Originally Posted by NiLuJe View Post
@sladflob: (especially if seeing those icons getting indexed is what made you think "uh oh, I messed up". So, did you actually unpack stuff in the wrong place?).
You're right - seeing all those icons is what made me think something was wrong!

But I did also mess up - KFMon wasn't working and then I found the KFMon files still in the .kobo directory, so I realised I'd unzipped them in the wrong place. When I deleted them and installed KFMon properly the icons were still there so I assumed that was a consequence of my earlier mistake.

I did wonder how it could be that unzipping into the wrong folder could cause it to happen! I would have thought that, at worst, it would do nothing, which is what it seems actually happened.

Thanks for your help @NiLuJe and @davidfor
sladflob is offline   Reply With Quote
Old 09-23-2019, 07:10 PM   #161
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Okay, yeah, so you do need to do everything, in order:

* Clean up the mess in .kobo (which, hopefully, should basically be the .kobo/.adds folder, as well as potentially the .kobo/icons folder and the koreader & kfmon PNGs inside the .kobo folder. You should also have an *empty* .kobo/.kobo folder that you can remove).
* Tweak the config file to prevent nickel from scanning those custom folders.
* Unplug.
* Wait & watch Nickel destroy the icons from the stuff installed in the *right* place.
* When it's done (there's unfortunately no clear signal, except maybe for "the book count in the 'My Books' tile stopped decreasing". Except I've seen that counter sometimes not actually getting refreshed on the Home screen, so, double-check from inside the Library view), plug it back in.
* Reinstall KOReader/Plato.

You're now starting to get my repeated comments about doing it right the first time around, as messing it up gets annoying real quick .

Last edited by NiLuJe; 09-23-2019 at 07:15 PM.
NiLuJe is offline   Reply With Quote
Old 09-23-2019, 09:28 PM   #162
sladflob
Connoisseur
sladflob began at the beginning.
 
Posts: 63
Karma: 10
Join Date: Feb 2013
Device: Kobo Touch, Aura One
Quote:
Originally Posted by NiLuJe View Post
Okay, yeah, so you do need to do everything, in order:
Thanks so much for this, I'll do it tonight when I get home. Silly question, but which config file?

Also, will reinstalling KOReader lose my book positions etc, or should I back them up before?

I take your point about doing everything right the first time. Thing is, I probably wouldn't have read the thread to find out about the new "feature" in the Kobo firmware anyway. My original plan was just to reinstall the same (old) version of KFMon that I was already using because I didn't imagine it would have changed much. I guess if I use the script to update then that would avoid this situation.
sladflob is offline   Reply With Quote
Old 09-23-2019, 10:12 PM   #163
perisiana
Connoisseur
perisiana shapes the world with his or her thoughts.perisiana shapes the world with his or her thoughts.perisiana shapes the world with his or her thoughts.perisiana shapes the world with his or her thoughts.perisiana shapes the world with his or her thoughts.perisiana shapes the world with his or her thoughts.perisiana shapes the world with his or her thoughts.perisiana shapes the world with his or her thoughts.perisiana shapes the world with his or her thoughts.perisiana shapes the world with his or her thoughts.perisiana shapes the world with his or her thoughts.
 
Posts: 88
Karma: 105086
Join Date: Sep 2016
Device: Kobo Aura H2O
I want just saying thanks again, I have read my first English book on Koreader and the translator was really helpful, I'm sad that I haven't found a good English-Italian dictionary but whatever, also I love all the options in Koreader.
I have installed it again after having applied Geek1011 patch that prevent Nikel from importing the files under .folders so all those annoying PNG files are gone from my library, yay again, everything is perfect

Last edited by perisiana; 09-23-2019 at 10:14 PM.
perisiana is offline   Reply With Quote
Old 09-24-2019, 01:00 AM   #164
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@sladflob: c.f., this post in particular.

Sidebar: I'd recommend not sticking with an old version (of anything, really ). But, in this case: there have been subtle changes to the FW that required code tweaks in KFMon to ensure consistent behavior.

@perisiana: I'm repeating this, mostly for future readers: do note that the new setting we've just been discussing achieves the very same thing (preventing Nickel from picking up KOReader's icons, among other things) without having to monkey-patch Nickel .

(i.e., unless you have a specific need for the preload approach, I'd recommend new users stick with the setting. Which is why that's what the install script uses ).

Last edited by NiLuJe; 09-24-2019 at 01:05 AM.
NiLuJe is offline   Reply With Quote
Old 09-24-2019, 03:26 AM   #165
sladflob
Connoisseur
sladflob began at the beginning.
 
Posts: 63
Karma: 10
Join Date: Feb 2013
Device: Kobo Touch, Aura One
All done! Spurious icons deleted, KFMon and KOReader reinstalled, and no data lost. Thanks for all the help @NiLuJe!
sladflob is offline   Reply With Quote
Reply

Tags
kfmon, kobo, koreader, plato


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Aura How to install ksm and koreader mhss Kobo Reader 0 01-17-2018 07:45 PM
Koreader could not be opened by click an epub file on the books list johnleo KOReader 4 12-11-2017 07:57 AM
Cannot install custom update packages via MRPI anunay Kindle Developer's Corner 9 02-09-2017 07:46 AM
Kobo-how to install koreader sahbi KOReader 22 01-02-2016 03:49 PM
Koreader install help mrmojorizing Kobo Developer's Corner 3 09-29-2014 01:24 PM


All times are GMT -4. The time now is 02:30 PM.


MobileRead.com is a privately owned, operated and funded community.