Quote:
Originally Posted by WS64
@Ken, my problem is that at this point the string simply can't be nil.
Well, obvious it is, but I still cannot reproduce it. I've got the corresponding metadata.calbre files here from two other users with his problem, and the error simply does not happen here.
|
Add
Code:
assert(self.data[i][self.tags], "assert failed: tags data is nil")
before
line 329 and found that the tag data could be nil sometimes.
Code:
# single tap detected in slot 0
./luajit: frontend/apps/filemanager/filemanagersearch.lua:329: assert failed: tags data is nil
stack traceback:
[C]: in function 'assert'
frontend/apps/filemanager/filemanagersearch.lua:329: in function 'find'
frontend/apps/filemanager/filemanagersearch.lua:228: in function 'close'
frontend/apps/filemanager/filemanagersearch.lua:199: in function 'callback'
frontend/ui/widget/button.lua:158: in function 'action'
frontend/ui/uimanager.lua:277: in function 'checkTasks'
frontend/ui/uimanager.lua:303: in function 'run'
./reader.lua:172: in main chunk
[C]: in function 'dofile'
./koreader-base:22: in main chunk
[C]: at 0x004049d0