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 05-07-2020, 03:02 PM   #46
Carmelocotonto
Connoisseur
Carmelocotonto began at the beginning.
 
Carmelocotonto's Avatar
 
Posts: 94
Karma: 12
Join Date: Nov 2018
Location: Salamanca
Device: kobo Clara HD, Onyxboox C67
Quote:
Originally Posted by NiLuJe View Post
@Carmelocotonto: You tripped the failsafe.

Which tells me you launched KOReader too early after boot.

Reinstall, then check the syslog after starting KOReader.
No, sure. I launched Koreader after 2 or 3 minutes or more.
Now I try your suggestion
Carmelocotonto is offline   Reply With Quote
Old 05-07-2020, 03:26 PM   #47
Carmelocotonto
Connoisseur
Carmelocotonto began at the beginning.
 
Carmelocotonto's Avatar
 
Posts: 94
Karma: 12
Join Date: Nov 2018
Location: Salamanca
Device: kobo Clara HD, Onyxboox C67
Quote:
Originally Posted by NiLuJe View Post
@Carmelocotonto: You tripped the failsafe.

Which tells me you launched KOReader too early after boot.

Reinstall, then check the syslog after starting KOReader.
This is syslog (first lines). Libnm.so has not disappeared.

Spoiler:

May 7 20:17:53 syslogd started: BusyBox v1.22.0.kobo
May 7 20:17:53 nickel: ( 0.509 @ 0x16812f0 / sql.warning) ERROR ---------- QSqlError(11, "Unable to fetch row", "database disk image is malformed")
May 7 20:17:53 nickel: ( 0.510 @ 0x16812f0 / sql.warning) EXECUTED QUERY ---------- "UPDATE content SET WordCount = -1"
May 7 20:17:53 nickel: ( 0.510 @ 0x16812f0 / sql.warning) BOUND VALUES ---------- QMap()
May 7 20:17:53 nickel: ( 0.519 @ 0x16812f0 / sql.warning) int DbMigrations::migrateCloserToVersion(const Device&, QSqlDatabase&, int, int, const QVector<DbMigration*>&) newVersion == currentVersion! ==> Rolling back DB changes.
May 7 20:17:53 nickel: ( 0.589 @ 0x16812f0) FT_New_Face failed with index 0 : 0
May 7 20:17:54 nickel: ( 0.976 @ 0x16812f0) FT_New_Face failed with index 0 : 0
May 7 20:17:54 nickel: (NickelMenu) init: creating failsafe (src/init.c:24)
May 7 20:17:54 nickel: (NickelMenu) failsafe: allocating memory (src/failsafe.c:22)
May 7 20:17:54 nickel: (NickelMenu) failsafe: finding filenames (src/failsafe.c:26)
May 7 20:17:54 nickel: (NickelMenu) failsafe: ensuring own lib remains in memory even if it is dlclosed after being loaded with a dlopen (src/failsafe.c:35)
May 7 20:17:54 nickel: (NickelMenu) failsafe: renaming /usr/local/Kobo/imageformats/libnm.so to /usr/local/Kobo/imageformats/libnm.so.failsafe (src/failsafe.c:38)
May 7 20:17:54 nickel: (NickelMenu) init: checking for uninstall flag (src/init.c:32)
May 7 20:17:54 nickel: (NickelMenu) init: parsing config (src/init.c:40)
May 7 20:17:54 nickel: (NickelMenu) config: reading config dir /mnt/onboard/.adds/nm (src/config.c:65)
May 7 20:17:54 nickel: (NickelMenu) config: skipping /mnt/onboard/.adds/nm/. because not a regular file (src/config.c:88)
May 7 20:17:54 nickel: (NickelMenu) config: skipping /mnt/onboard/.adds/nm/.. because not a regular file (src/config.c:88)
May 7 20:17:54 nickel: (NickelMenu) config: reading config file /mnt/onboard/.adds/nm/config (src/config.c:93)
May 7 20:17:54 nickel: (NickelMenu) cfg(NM_CONFIG_TYPE_MENU_ITEM) : 1:Sincronizar DRIVE:0x6f66f0e9:/mnt/onboard/.adds/kobocloud/sincronizarDRIVE.sh (src/config.c:202)
May 7 20:17:54 nickel: (NickelMenu) cfg(NM_CONFIG_TYPE_MENU_ITEM) : 1:Sincronizar CASA:0x6f66f0e9:/mnt/onboard/.adds/kobocloud/sincronizarCASA.sh (src/config.c:202)
May 7 20:17:54 nickel: (NickelMenu) cfg(NM_CONFIG_TYPE_MENU_ITEM) : 1:Cargar Libros Nuevos:0x6f66ede1:rescan_books_full (src/config.c:202)
May 7 20:17:54 nickel: (NickelMenu) cfg(NM_CONFIG_TYPE_MENU_ITEM) : 1:Reiniciar:0x6f66f0e9:/bin/sync; /bin/busybox reboot (src/config.c:202)
May 7 20:17:54 nickel: (NickelMenu) cfg(NM_CONFIG_TYPE_MENU_ITEM) : 1:Coolreader:0x6f66f0e9:/mnt/onboard/.adds/vlasovsoft/launcher.sh (src/config.c:202)
May 7 20:17:54 nickel: (NickelMenu) cfg(NM_CONFIG_TYPE_MENU_ITEM) : 1:Koreader:0x6f66f0e9:/mnt/onboard/.adds/koreader/koreader.sh (src/config.c:202)
May 7 20:17:54 nickel: (NickelMenu) init: opening libnickel (src/init.c:62)
May 7 20:17:54 nickel: (NickelMenu) init: hooking libnickel (src/init.c:69)
May 7 20:17:54 nickel: (NickelMenu) lib /usr/local/Kobo/libnickel.so.1 is mapped at 75a8b000 (src/dlhook.c:39)
May 7 20:17:54 nickel: (NickelMenu) DT_DYNAMIC: plt_is_rela=0 plt=0x75f179ec plt_sz=151696 plt_ent_sz=0 sym=0x8 str=(nil) (:1975136408)
May 7 20:17:54 nickel: (NickelMenu) found symbol _ZN28AbstractNickelMenuController18createMenuTextI temEP5QMenuRK7QStringbbS4_ (gotoff=0x111e8b0 [mapped=0x76ba98b0]) (src/dlhook.c:86)
May 7 20:17:54 nickel: (NickelMenu) ensuring the symbol is loaded (src/dlhook.c:93)
May 7 20:17:54 nickel: (NickelMenu) removing memory protection (src/dlhook.c:101)
May 7 20:17:54 nickel: (NickelMenu) patching symbol (src/dlhook.c:108)
May 7 20:17:54 nickel: (NickelMenu) successfully patched symbol _ZN28AbstractNickelMenuController18createMenuTextI temEP5QMenuRK7QStringbbS4_ (orig=0x7652d395, new=0x6f66ce39) (src/dlhook.c:111)
May 7 20:17:54 nickel: (NickelMenu) init: destroying failsafe (src/init.c:77)
May 7 20:17:54 nickel: (NickelMenu) failsafe: scheduling restore (src/failsafe.c:66)
May 7 20:17:54 nickel: (NickelMenu) init: done (src/init.c:81)
May 7 20:17:54 nickel: (NickelMenu) failsafe: restoring after 20 seconds (src/failsafe.c:48)
May 7 20:17:55 nickel: ( 1.802 @ 0x16812f0) loadPlugin: loaded plugin for QFontEngine
May 7 20:17:55 nickel: ( 1.834 @ 0x16812f0) loadPlugin: loaded plugin for QRawFont
May 7 20:17:55 nickel: ( 1.835 @ 0x16812f0) Loading iType.. true
May 7 20:17:55 nickel: ( 1.957 @ 0x16812f0) loadPlugin: loaded plugin for QRasterPaintEngine
May 7 20:17:55 nickel: ( 1.986 @ 0x16812f0 / ui.warning) "4.20.14601 (30c2f5c348, 28/02/20)"


Now Clara HD is on. I launch koreader, I'll read, and Clara HD will be turn off over 3:00 am. Tomorow we will see if libnm.so exits.

Last edited by Carmelocotonto; 05-07-2020 at 03:31 PM.
Carmelocotonto is offline   Reply With Quote
Advert
Old 05-07-2020, 03:35 PM   #48
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,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Not enough data in that log, need the rest of it .

Last edited by NiLuJe; 05-07-2020 at 04:51 PM.
NiLuJe is offline   Reply With Quote
Old 05-07-2020, 03:59 PM   #49
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,368
Karma: 136466962
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
What are the menu_items for NickelMenu to add gong to my books and the main menu from the hamburger menu in both RMSDK and KePub?
JSWolf is offline   Reply With Quote
Old 05-07-2020, 04:10 PM   #50
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,790
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by JSWolf View Post
What are the menu_items for NickelMenu to add gong to my books and the main menu from the hamburger menu in both RMSDK and KePub?
What exactly is "gong", and how would I add it to a book?
geek1011 is offline   Reply With Quote
Advert
Old 05-07-2020, 04:13 PM   #51
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,790
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by John F View Post
Could you add the capability to set light levels? What I'd like to do is have one menu item for invert AND set light level to 30 and one menu item for invert and light level set to 8.
An update: Unfortunately, this won't be in the next version, as it's a lot more complex than I originally thought. See #3 for the details.
geek1011 is offline   Reply With Quote
Old 05-07-2020, 04:18 PM   #52
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,368
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 geek1011 View Post
What exactly is "gong", and how would I add it to a book?
If I start the eBook from the home menu and then want ot go to My Books from the book, I can't. I'd like to go to the Home menu and then My Books.
JSWolf is offline   Reply With Quote
Old 05-07-2020, 07:08 PM   #53
Carmelocotonto
Connoisseur
Carmelocotonto began at the beginning.
 
Carmelocotonto's Avatar
 
Posts: 94
Karma: 12
Join Date: Nov 2018
Location: Salamanca
Device: kobo Clara HD, Onyxboox C67
Quote:
Originally Posted by NiLuJe View Post
Not enough data in that log, need the rest of it .
Ok, sorry. This is the complete syslog:

syslog.log.txt
Carmelocotonto is offline   Reply With Quote
Old 05-07-2020, 07:12 PM   #54
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,790
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by JSWolf View Post
If I start the eBook from the home menu and then want ot go to My Books from the book, I can't. I'd like to go to the Home menu and then My Books.
OK, that sounds reasonable. I'll probably add some actions which take advantage of the *NavMixin functions to open arbitrary views.
geek1011 is offline   Reply With Quote
Old 05-07-2020, 07:13 PM   #55
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,790
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
NickelMenu v0.0.2

This release contains minor features and bugfixes.
  • There are new `power:shutdown` and `power:reboot` actions to gracefully exit Nickel on firmware 4.13.12638+.
  • The `cmd_spawn` action now supports a `quiet:` option to prevent the PID from being displayed after the command has been launched.
  • The failsafe timeout has been halved again to 5 seconds.
  • A bug where the default menu item wouldn't do anything has been fixed.
  • The `nickel_setting` action now supports firmware versions 4.12.12111 and older.
  • There are various improvements to the documentation.
  • Internally, NickelMenu has switched to the new toolchain builds, and now has automatic checking for symbol compatibility between firmware versions.
See the release on GitHub for more details.
geek1011 is offline   Reply With Quote
Old 05-07-2020, 07:35 PM   #56
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,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@Carmelocotonto:

That's the bit you're looking for:
Code:
May  7 20:18:15 nickel: (NickelMenu) failsafe: renaming /usr/local/Kobo/imageformats/libnm.so.failsafe to /usr/local/Kobo/imageformats/libnm.so (src/failsafe.c:51)
Which means you're good to go .

(And it'll now (>= 0.0.2) happen well before any user interaction is possible, so that shouldn't be an issue anymore).
NiLuJe is offline   Reply With Quote
Old 05-08-2020, 12:33 AM   #57
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,790
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
I've added some examples which people may find useful:

Code:
menu_item :main   :IP Address      :cmd_output     :500:/sbin/ifconfig | /usr/bin/awk '/inet addr/{print substr($2,6)}'
menu_item :main   :Telnet          :cmd_spawn      :quiet:/bin/mount -t devpts | /bin/grep -q /dev/pts || { /bin/mkdir -p /dev/pts && /bin/mount -t devpts devpts /dev/pts; }
  chain                            :cmd_spawn      :quiet:/usr/bin/pkill -f "^/usr/bin/tcpsvd -E 0.0.0.0 1023" || true && exec /usr/bin/tcpsvd -E 0.0.0.0 1023 /usr/sbin/telnetd -i -l /bin/login
  chain                            :dbg_toast      :Started Telnet server on port 1023.
menu_item :main   :FTP             :cmd_spawn      :quiet:/usr/bin/pkill -f "^/usr/bin/tcpsvd -E 0.0.0.0 1021" || true && exec /usr/bin/tcpsvd -E 0.0.0.0 1021 /usr/sbin/ftpd -w -t 30 /mnt/onboard
  chain                            :dbg_toast      :Started FTP server for KOBOeReader partition on port 1021.
menu_item :main   :Import Books    :nickel_misc    :rescan_books_full
These are more flexible than devmode, but doesn't conflict with it and still doesn't require any additional software.
geek1011 is offline   Reply With Quote
Old 05-08-2020, 04:55 AM   #58
Carmelocotonto
Connoisseur
Carmelocotonto began at the beginning.
 
Carmelocotonto's Avatar
 
Posts: 94
Karma: 12
Join Date: Nov 2018
Location: Salamanca
Device: kobo Clara HD, Onyxboox C67
Quote:
Originally Posted by NiLuJe View Post
@Carmelocotonto:

That's the bit you're looking for:
Code:
May  7 20:18:15 nickel: (NickelMenu) failsafe: renaming /usr/local/Kobo/imageformats/libnm.so.failsafe to /usr/local/Kobo/imageformats/libnm.so (src/failsafe.c:51)
Which means you're good to go .

(And it'll now (>= 0.0.2) happen well before any user interaction is possible, so that shouldn't be an issue anymore).
Well, thanks. This morning I turned on Clara HD and all was alright. So It is clear that yesterday I did something wrong, I think.

Now I will try your new version.
Carmelocotonto is offline   Reply With Quote
Old 05-08-2020, 08:57 AM   #59
John F
Grand Sorcerer
John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.
 
Posts: 7,534
Karma: 67891011
Join Date: Feb 2009
Device: Kobo Glo HD
Quote:
Originally Posted by geek1011 View Post
An update: Unfortunately, this won't be in the next version, as it's a lot more complex than I originally thought. See #3 for the details.
I read your comments (#3), and that looked like a lot of work. Thank you for considering it.
John F is offline   Reply With Quote
Old 05-08-2020, 10:33 AM   #60
Carmelocotonto
Connoisseur
Carmelocotonto began at the beginning.
 
Carmelocotonto's Avatar
 
Posts: 94
Karma: 12
Join Date: Nov 2018
Location: Salamanca
Device: kobo Clara HD, Onyxboox C67
Hi, geek1011,
I have tried v0.0.2 and all is right. All my things, you understand. 8-)
Thanks

Last edited by Carmelocotonto; 05-08-2020 at 10:40 AM.
Carmelocotonto is offline   Reply With Quote
Reply

Tags
kobo, launcher, ldpreload, nickel


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kobo eReaders and Heat PeterT Kobo Reader 13 08-02-2014 05:35 AM
kobo arc launcher not working lana loves books Kobo Tablets 8 03-21-2014 07:40 AM
Orginization on kobo ereaders crochetgeek2010 Kobo Reader 7 09-03-2013 03:13 PM
Kobo Announces eReaders Available for Purchase on Kobo.com in Canada and US markemark News 1 04-02-2013 02:46 PM
Ereaders with Integrated Dictionary poohbear_nc Which one should I buy? 4 04-08-2010 07:42 AM


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


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