Quote:
Originally Posted by hombretranquilo
Hi WS64.
Each time i use Search Books function there is a crash. Device is Aura HD, and koreader version 2014.04-734.
The crash log message says:
error: cannot open
error: cannot load document ''
./luajit: frontend/apps/filemanager/filemanagersearch.lua:329: attempt to concatenate a nil value
stack traceback:
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:162: in main chunk
[C]: in function 'dofile'
./koreader-base:22: in main chunk
[C]: at 0x0000bd85
|
The error reported seems to be an attempt to concatenate a nil value, I guess within the query structure. If I were looking at the code I would try to find where a joining of two elements into one occurs, to form the query. Perhaps also if an intermediate result would have tried to write to the external uSD card. (Just guessing here.)
I am assuming that the search location(s) are defined correctly in defaults. (Could result in a variable getting a nil value, if the location can't be accessed/found)
Luck;
Ken