Skip to content

No reader engine for this file or invalid file using most recent version #76

@jisephjistar

Description

@jisephjistar

Hello, I reinstalled this plugin today and am coming across issues that seem to have been addressed before. This happened in both the master and nightly branch.

After unzipping the package into the koreader plugin folder, I created a profile in the profiles folder using notepad (file name is jp.lua). I used the template to match my current anki note type and deck.

After ejecting my kobo (Kobo Libra H2O), I tried to open a document but came across the "No reader engine for this file or invalid file" error. It looks like others had this error before, and it was previously fixed. I just reinstalled today, so I should be using the most recent version to my knowledge (pulled directly as a zip from Github.)

When I go into the anki note settings and try to adjust the previous or following sentence amount, koreader crashes. I wonder if this is related to the other error?

Edit: When disabling the add-on, the "No reader engine for this file or invalid file" does not occur.

This is the crash log:

            launching...

| |/ / _ | _ \ ___ __ _ | | ___ _ __
| ' / | | | |_) / _ / _ |/ _ |/ _ \ '
|
| . \ || | _ < __/ (| | (| | __/ |
|
|__/|_| __|_,|_,|___|_|

It's a scroll... It's a codex... It's KOReader!

[] Current time: 07/29/25-13:46:11
has monolibtic? no (libs/libkoreader-monolibtic.so: cannot open shared object file: No such file or directory)
lib_search_path: libs/?
lib_basic_format: lib%s.so
lib_version_format: lib%s.so.%s
[
] Version: v2024.11

ffi.load: rt.so.1 (RTLD_GLOBAL)
ffi.findlib: utf8proc [3]
ffi.load: libs/libutf8proc.so.3
ffi.findlib: blitbuffer
ffi.load: libs/libblitbuffer.so
ffi.findlib: fbink_input [1]
ffi.load: libs/libfbink_input.so.1
[FBInk] /dev/input/event0: Elan Touchscreen = TOUCHSCREEN | TABLET | KEY | SCALED_TABLET
[FBInk] /dev/input/event1: kx122-accel = ACCELEROMETER
[FBInk] /dev/input/event2: P15USB30216C = UNKNOWN
[FBInk] /dev/input/event3: gpio-keys = KEY | SLEEP_COVER | PAGINATION_BUTTONS | ROTATION_EVENT
[FBInk] /dev/input/event4: bd71828-pwrkey = KEY | POWER_BUTTON | ROTATION_EVENT
[ko-input] Forked off fake event generator (pid: 1830)
07/29/25-13:46:11 INFO initializing for device Kobo_io
07/29/25-13:46:11 INFO framebuffer resolution: {
h = 1680,
w = 1264
} --[[table: 0x76bf8c08]]
ffi.findlib: wrap-mupdf
ffi.load: libs/libwrap-mupdf.so
ffi.findlib: sqlite3 [0]
ffi.load: libs/libsqlite3.so.0
ffi.findlib: freetype [6]
ffi.load: libs/libfreetype.so.6
ffi.findlib: harfbuzz [0]
ffi.load: libs/libharfbuzz.so.0
ffi.findlib: zstd [1]
ffi.load: libs/libzstd.so.1
ffi.findlib: crypto [1.1]
ffi.load: libs/libcrypto.so.1.1
07/29/25-13:46:15 INFO Loading plugins from directory: plugins
dhcpcd[1970]: dhcpcd not running
07/29/25-14:01:53 INFO Kobo Wi-Fi: disabling Wi-Fi
dhcpcd[1982]: dhcpcd not running
OK
07/29/25-14:01:54 INFO WakeupMgr: scheduling wakeup in 259200 -> 1754074914
07/29/25-14:01:54 INFO Inhibiting user input
07/29/25-14:02:09 INFO Kobo suspend: going to sleep . . .
07/29/25-15:10:46 INFO Kobo suspend: ZzZ ZzZ ZzZ... And woke up!
07/29/25-15:10:47 INFO Restoring user input handling
07/29/25-15:11:09 INFO opening file /mnt/onboard/Reading/[山口 悟] 乙女ゲームの破滅フラグしかない悪役令嬢に転生してしまった…1.epub
07/29/25-15:11:09 INFO Inhibiting user input
[!] doShowReader coroutine crashed:
frontend/docsettings.lua:144: attempt to call method 'match' (a nil value)
stack traceback:
frontend/docsettings.lua:161: in function 'findSidecarFile'
frontend/docsettings.lua:152: in function 'hasSidecarFile'
frontend/apps/filemanager/filemanagerbookinfo.lua:224: in function 'getDocProps'
plugins/anki.koplugin/main.lua:261: in function 'handleEvent'
frontend/ui/widget/container/widgetcontainer.lua:83: in function 'propagateEvent'
frontend/ui/widget/container/widgetcontainer.lua:101: in function 'handleEvent'
frontend/apps/reader/readerui.lua:489: in function 'init'
frontend/ui/widget/widget.lua:46: in function 'new'
frontend/apps/reader/readerui.lua:678: in function 'doShowReader'
frontend/apps/reader/readerui.lua:631: in function <frontend/apps/reader/readerui.lua:630>07/29/25-15:11:10 INFO Restoring user input handling
./luajit: frontend/util.lua:491: attempt to index local 'text' (a number value)
stack traceback:
frontend/util.lua:491: in function 'splitToChars'
frontend/ui/widget/inputtext.lua:399: in function 'init'
frontend/ui/widget/widget.lua:46: in function 'new'
frontend/ui/widget/inputdialog.lua:293: in function 'init'
frontend/ui/widget/widget.lua:46: in function 'new'
plugins/anki.koplugin/menubuilder.lua:159: in function 'build_single_dialog'
plugins/anki.koplugin/menubuilder.lua:177: in function 'callback'
frontend/ui/widget/touchmenu.lua:922: in function 'onMenuSelect'
frontend/ui/widget/touchmenu.lua:216: 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/uimanager.lua:911: in function 'sendEvent'
frontend/ui/uimanager.lua:53: in function 'default'
frontend/ui/uimanager.lua:1438: in function 'handleInputEvent'
frontend/ui/uimanager.lua:1538: in function 'handleInput'
frontend/ui/uimanager.lua:1582: in function 'run'
./reader.lua:280: in main chunk
[C]: at 0x00013e9d
!!!!
Uh oh, something went awry... (Crash n°1: 07/29/25 @ 15:11:22)
Running FW 4.38.23171 on Linux 4.1.15-00867-gf1ef3c8 (#103 SMP PREEMPT Tue Oct 1 06:24:23 Asia 2024)
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