Skip to content

Plugin fails on Kobo Libra H20 #102

Description

@Martreides

I have a Kobo Libra H20 on which I tried to install the KoInsight plugin but I am running into issues. When I try to run the plugin I get the error shown below.

I have used the plugin downloaded from the web interface of the latest release pulled when using the compose.yaml as shown in the readme. Additionally, I have downloaded the plugin directly from this repo as it seems to be slightly newer than the version in the web interface. Both fail in similar ways.

03/11/26-23:51:49 ERROR Failed to initialize koinsight plugin: plugins/koinsight.koplugin/main.lua:20: attempt to call method 'new' (a nil value) 
./luajit: plugins/koinsight.koplugin/main.lua:66: attempt to index field 'koinsight_settings' (a nil value)
stack traceback:
	plugins/koinsight.koplugin/main.lua:66: in function 'checked_func'
	frontend/ui/widget/touchmenu.lua:81: in function 'init'
	frontend/ui/widget/widget.lua:46: in function 'new'
	frontend/ui/widget/touchmenu.lua:678: in function 'updateItems'
	frontend/ui/widget/touchmenu.lua:861: in function 'onMenuSelect'
	frontend/ui/widget/touchmenu.lua:218: in function 'handleEvent'
	frontend/ui/widget/container/inputcontainer.lua:266: in function 'handleEvent'
	frontend/ui/widget/container/widgetcontainer.lua:83: in function 'propagateEvent'
	frontend/ui/widget/container/widgetcontainer.lua:101: in function 'handleEvent'
	frontend/ui/widget/container/widgetcontainer.lua:83: in function 'propagateEvent'
	frontend/ui/widget/container/widgetcontainer.lua:101: in function 'handleEvent'
	...
	frontend/ui/widget/container/widgetcontainer.lua:101: in function 'handleEvent'
	frontend/ui/widget/container/widgetcontainer.lua:83: in function 'propagateEvent'
	frontend/ui/widget/container/widgetcontainer.lua:101: in function 'handleEvent'
	frontend/ui/uimanager.lua:896: in function 'sendEvent'
	frontend/ui/uimanager.lua:53: in function '__default__'
	frontend/ui/uimanager.lua:1423: in function 'handleInputEvent'
	frontend/ui/uimanager.lua:1523: in function 'handleInput'
	frontend/ui/uimanager.lua:1567: in function 'run'
	./reader.lua:280: in main chunk
	[C]: at 0x00013ea1
!!!!
Uh oh, something went awry... (Crash n°1: 03/11/26 @ 23:52:27)
Running FW 4.38.23555 on Linux 4.1.15-00417-g0c800cffe1f9 (#102 SMP PREEMPT Mon Mar 29 09:24:11 CST 2021)
Attempting to restart KOReader . . .
!!!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions