Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 09-01-2024, 01:38 PM   #1
indeliblemistake
Junior Member
indeliblemistake began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2024
Location: Australia
Device: Clara BW
Question KFMon updated after generator error help

Hey guys,

After hours spent trying to find the solution I resorted to posting here, which means it will probably be simple and straight forward, of course

I am a novice when it comes to programming, although I had successfully installed Koreader a few months ago using the OCP and nightly update build.

I'm having trouble launching Koreader through Nickel Menu after a firmware update having encountering the generator error and learning that KFMon needs to be updated/reinstalled.

I used the install script along with OCP-KFMon-1.4.6-89-g8daae26.zip and terminal (mac) confirmed it went smoothly but now Nickel Menu does not give me any options whatsoever when it is selected.

I then updated Koreader to 4.40.23081 released in August 2024 to no avail.

Any ideas? TIA, I spent hours trying to avoid having to post this question I refuse to claim defeat and reinstall everything as I'd rather not risk losing any accumulated reading statistics

Cheers!
indeliblemistake is offline   Reply With Quote
Old 09-01-2024, 02:02 PM   #2
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 40,524
Karma: 156983616
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
If you look at the exposed storage on your Kobo, do you see a directory named .adds? Inside the .adds directory, you should see a directory named nm. Inside the nm directory, you should see a file called doc (the original NickelMenu documentation file with everything commented out) and files whatever they might be called which would be the source for NickelMenu's menus. After installing the OCP package, you could see kfmon, koreader and/or plato and whatever you called the file you used for your NickelMenu configuration.

I unistalled KFMon and removed the kfmon, plato and koreader files since I preferred to launch from within NickelMenu. In my NickelMenu config file, I added the following lines:

Code:
# Launch KOReader directly via NM (>= KOReader 2020.05)
menu_item : main : KOReader : cmd_spawn : quiet : exec /mnt/onboard/.adds/koreader/koreader.sh
menu_item : library : KOReader : cmd_spawn : quiet : exec /mnt/onboard/.adds/koreader/koreader.sh

# Launch Plato directly via NM
menu_item : main : Plato : cmd_spawn : quiet : exec /mnt/onboard/.adds/plato/plato.sh
menu_item : library : Plato : cmd_spawn : quiet : exec /mnt/onboard/.adds/plato/plato.sh

The repeated lines are to have the items show when at the Home and My Books screens.
DNSB is offline   Reply With Quote
Advert
Old 09-02-2024, 02:02 AM   #3
indeliblemistake
Junior Member
indeliblemistake began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2024
Location: Australia
Device: Clara BW
Quote:
Originally Posted by DNSB View Post
If you look at the exposed storage on your Kobo, do you see a directory named .adds? Inside the .adds directory, you should see a directory named nm. Inside the nm directory, you should see a file called doc (the original NickelMenu documentation file with everything commented out) and files whatever they might be called which would be the source for NickelMenu's menus. After installing the OCP package, you could see kfmon, koreader and/or plato and whatever you called the file you used for your NickelMenu configuration.

I unistalled KFMon and removed the kfmon, plato and koreader files since I preferred to launch from within NickelMenu. In my NickelMenu config file, I added the following lines:

Code:
# Launch KOReader directly via NM (>= KOReader 2020.05)
menu_item : main : KOReader : cmd_spawn : quiet : exec /mnt/onboard/.adds/koreader/koreader.sh
menu_item : library : KOReader : cmd_spawn : quiet : exec /mnt/onboard/.adds/koreader/koreader.sh

# Launch Plato directly via NM
menu_item : main : Plato : cmd_spawn : quiet : exec /mnt/onboard/.adds/plato/plato.sh
menu_item : library : Plato : cmd_spawn : quiet : exec /mnt/onboard/.adds/plato/plato.sh

The repeated lines are to have the items show when at the Home and My Books screens.
I can see the .adds directory and after running the OCP package I can see kfmon, koreader and that doc file you mentioned within the nm directory, should this not be the case?

I am nowhere near adept or have any experience with coding/programming so I haven't and don't plan on tinkering with NickelMenu to create custom menus to avoid messing things up and am content with the functionality Koreader offers. Is the doc file in the nm directory the config file for NickelMenu?

From what I gather in my case, am I right in saying KFMon's main purpose is to launch Koreader?

I have only been using NickelMenu to launch Koreader from the Kobo home page eg. after a reboot, can you advise me as to how can I restore this functionality?

Sorry if I am misunderstanding you, I am trying my best and thank you for your patience!
indeliblemistake is offline   Reply With Quote
Old 09-02-2024, 02:30 AM   #4
indeliblemistake
Junior Member
indeliblemistake began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2024
Location: Australia
Device: Clara BW
I also noticed after selecting NickelMenu, instead of giving me the option to launch Koreader or any error as it did previously, a small dot appears for some reason..
indeliblemistake is offline   Reply With Quote
Old 09-02-2024, 05:15 PM   #5
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 40,524
Karma: 156983616
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by indeliblemistake View Post
I can see the .adds directory and after running the OCP package I can see kfmon, koreader and that doc file you mentioned within the nm directory, should this not be the case?
The koreader file in the nm directory will have the line enabling launching from kfmon enabled and the line enabling launching from NickelMenu disabled.
Code:
# Launch KOReader via KFMon
# NOTE: .adds/nm/kfmon will generate this automatically
#menu_item : main : KOReader : kfmon     : koreader.png

# Launch KOReader directly via NM (>= KOReader 2020.05)
#menu_item : main : KOReader : cmd_spawn : quiet : exec /mnt/onboard/.adds/koreader/koreader.sh
You can delete the first four lines in that file and remove the # from the start of the #menu_item line. This will leave the file looking like this:

Code:
# Launch KOReader directly via NM (>= KOReader 2020.05)
menu_item : main : KOReader : cmd_spawn : quiet : exec /mnt/onboard/.adds/koreader/koreader.sh
Quote:
Originally Posted by indeliblemistake View Post
I am nowhere near adept or have any experience with coding/programming so I haven't and don't plan on tinkering with NickelMenu to create custom menus to avoid messing things up and am content with the functionality Koreader offers. Is the doc file in the nm directory the config file for NickelMenu?
No. Basically all the commands are documented in that file with any sample commands commented out. You should not use this file to generate your NickelMenu setup since it will be overwritten when a new version of NM is installed. Use another file for your working config.

Quote:
Originally Posted by indeliblemistake View Post
From what I gather in my case, am I right in saying KFMon's main purpose is to launch Koreader?
For me, I uninstalled KFMON since I used NickelMenu directly to launch KOReader and Plato. It can used for quite a few other purposes but I find NickelMenu to be easier to use. Unless you want to hunt for the trigger png files, you end up setting them up in NickelMenu.

Quote:
Originally Posted by indeliblemistake View Post
I have only been using NickelMenu to launch Koreader from the Kobo home page eg. after a reboot, can you advise me as to how can I restore this functionality?

Sorry if I am misunderstanding you, I am trying my best and thank you for your patience!
I would suggest editing the koreader file in the nm directory as suggested in the second code box above. I've also attached a text file that can be placed in the nm directory which adds a few functions I find useful. You can use it as a sample to see what others are doing. If you use this one, you can remove the kfmon and koreader files.
Attached Files
File Type: txt NM.txt (3.4 KB, 43 views)
DNSB is offline   Reply With Quote
Advert
Old 09-02-2024, 09:28 PM   #6
indeliblemistake
Junior Member
indeliblemistake began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2024
Location: Australia
Device: Clara BW
Quote:
Originally Posted by DNSB View Post
The koreader file in the nm directory will have the line enabling launching from kfmon enabled and the line enabling launching from NickelMenu disabled.
Code:
# Launch KOReader via KFMon
# NOTE: .adds/nm/kfmon will generate this automatically
#menu_item : main : KOReader : kfmon     : koreader.png

# Launch KOReader directly via NM (>= KOReader 2020.05)
#menu_item : main : KOReader : cmd_spawn : quiet : exec /mnt/onboard/.adds/koreader/koreader.sh
You can delete the first four lines in that file and remove the # from the start of the #menu_item line. This will leave the file looking like this:

Code:
# Launch KOReader directly via NM (>= KOReader 2020.05)
menu_item : main : KOReader : cmd_spawn : quiet : exec /mnt/onboard/.adds/koreader/koreader.sh
Thankyou! This worked, I now have the option to launch Koreader after selecting NickelMenu. I have not modified this file previously, I don't quite understand why this solved the issue..

Although Koreader now launches, icons are missing

I'm very close to just using the native Kobo interface, this seems like too much work for someone who is not familiar with programming and to be honest I don't really know what I am doing; the learning curve seems a little too steep.

It was an enjoyable few months when Koreader was working properly but I'm not sure its worth the effort if every Kobo firmware update results in issues such as the one I am experiencing, and having to waste people's time on this forum, which I am very appreciative of.

I guess I could just start from scratch and disable auto updates, something I should have done in the first place but eh.
indeliblemistake is offline   Reply With Quote
Old 09-03-2024, 03:42 PM   #7
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 40,524
Karma: 156983616
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
You may want to reinstall KOReader from the OCP and then update it. If Nickel had a chance to scan the koreader directory before the ExcludeSyncFolders line was added to Kobo eReader.conf, when the line was added or of the line was removed by a sign out/factory reset, any images, etc. that were scanned in would be deleted.

In Kobo eReader.conf, you should see a line under the [FeatureSettings] header that resembles the line below (I added the |(screensaver_old) segment to keep the screensaver directory from being scanned when I disabled the screensaver.)

[FeatureSettings]
ExcludeSyncFolders=(\\.(?!kobo|adobe).+|([^.][^/]*/)+\\..+)|(screensaver_old)
DNSB is offline   Reply With Quote
Old 09-28-2024, 10:29 AM   #8
indeliblemistake
Junior Member
indeliblemistake began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2024
Location: Australia
Device: Clara BW
Thanks for your patience, I have been using the native Kobo UI since my last post and unfortunately I think its easier for me to just get rid of Koreader as I lack the patience and prerequisite knowledge needed for this seemingly insurmountable learning curve to be able to fix issues with Koreader; it was great when it just worked.

I uninstalled NickelMenu by adding the uninstall file to adds/nm and rebooting, could you please let me know how to get rid of kfmon? Can I delete the nm, koreader and kfmon folders in the adds directory..?
indeliblemistake is offline   Reply With Quote
Old 09-28-2024, 12:10 PM   #9
jlinear
Connoisseur
jlinear rocks like Gibraltar!jlinear rocks like Gibraltar!jlinear rocks like Gibraltar!jlinear rocks like Gibraltar!jlinear rocks like Gibraltar!jlinear rocks like Gibraltar!jlinear rocks like Gibraltar!jlinear rocks like Gibraltar!jlinear rocks like Gibraltar!jlinear rocks like Gibraltar!jlinear rocks like Gibraltar!
 
Posts: 74
Karma: 100000
Join Date: Oct 2014
Location: Ann Arbor, MI USA
Device: Kobo Aura One, Libra 2, Paperwhite
KFMon has an uninstaller:
https://www.mobileread.com/forums/sh...d.php?t=274231

Get the latest release of the KFMon uninstaller ( KFMon-Uninstaller. zip ).
Ensure your Kobo is powered on, then connect it to your computer.
Copy KoboRoot.tgz to the .kobo directory on your Kobo.
Safely eject your Kobo, then unplug it.
Allow your Kobo to reboot.
Then delete any residual kfmon files and folders from .adds directory
jlinear is offline   Reply With Quote
Old 09-28-2024, 10:03 PM   #10
indeliblemistake
Junior Member
indeliblemistake began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2024
Location: Australia
Device: Clara BW
Hey mate,

I couldn't locate KoboRoot.tgz in KFMon-Uninstaller.zip but did find it in KFMon-v1.4.6-66-ga63e9af.zip?

I copied over this file regardless and it seemed to work..? So thankyou for your help!
indeliblemistake is offline   Reply With Quote
Old 10-05-2024, 09:05 AM   #11
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 76,404
Karma: 136466962
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by indeliblemistake View Post
I also noticed after selecting NickelMenu, instead of giving me the option to launch Koreader or any error as it did previously, a small dot appears for some reason..
Your image is no longer visible. That's why you are best to attach your images so they don't expire.
JSWolf is offline   Reply With Quote
Reply

Tags
please help!


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
impossible to re install koreader "generator error" Strrav KOReader 14 07-27-2023 11:44 PM
How to reinstall KFMon? atti Kobo Developer's Corner 6 08-20-2021 02:51 PM
NickelMenu - 'Generator error' message on Libra H2O ? steveparry KOReader 1 04-22-2021 01:47 PM
Looking for Screenshoots of KFMon warface9991 KOReader 4 04-26-2019 03:15 AM
PRS-300 Help: Updated Firmware - Internal Memory Error b-prs300 Sony Reader 2 03-13-2011 04:32 AM


All times are GMT -4. The time now is 08:03 AM.


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