Quote:
Originally Posted by xping
It is 687 version on kobo mini. Here crash log:
NtxHwCfg_GetCfgFldStrVal:[WARNING]Config version too old !! Please update config file !!
./luajit: ./frontend/ui/gesturedetector.lua:84: attempt to concatenate field 'y' (a nil value)
|
Quote:
Originally Posted by Ken Maltby
For me with v2013.03-687-g4d1116a
./luajit: ./frontend/ui/gesturedetector.lua:84: attempt to concatenate field 'x' (a nil value)
|
@xping: I think you can rid of the "
Config version to old" by deleting
settings.reader.lua. It will automatically by created next time you start koreader.
@Ken & @xping: I had the same error message while hacking gesture support for the Aura. I didn't get in anymore since I finished that. That code is not used for any devices but Aura's (Kobo_phoenix). Also, I have had multiple koreader exits to Nickel without an error in the crash or debug logs.
Could you add debug output to koreader by changing your
call to reader in koreader_kobo.sh to:
./reader.lua -d /mnt/your_library_location 1>koreader.log 2>&1 ?
I would be interested in the files
koreader.log and
ev.log which are generated
after it exits to nickel unexpectedly.
If the problem continues you could do a test by switching the function
Input:handleTouchEv(ev) in
input.lua and uncommenting 2 lines in
Input:handlePhoenixTouchEv(ev).
In
input.lua in
koreader/frontend/ui/ change
- line 400: ~= to ==
- line 662: remove --
- line 665: remove --
The first change flips the function used for touch event input by changing not equal to equal, the 2nd and 3rd change uncomment a line which is not neccesary for Kobo Aura with multi touch. If the
'x' (a nil value) or
'y' (a nil value) errors disappear than it is easily fixed. I think that in the newer firmwares the touch events are just not as regular as they used to be and the code needs to restrict more.