View Single Post
Old 09-29-2014, 11:32 PM   #1752
chrox
Zealot
chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.
 
Posts: 144
Karma: 405567
Join Date: Nov 2012
Device: K3 KPW PB840
Quote:
Originally Posted by WS64 View Post
@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

Last edited by chrox; 09-30-2014 at 12:02 AM.
chrox is offline   Reply With Quote