View Single Post
Old 02-04-2015, 11:42 AM   #85
LucyOne
Librocubicularist
LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.
 
LucyOne's Avatar
 
Posts: 617
Karma: 11908623
Join Date: Dec 2013
Location: Germany
Device: PocketBook InkPad 3 & Touch HD 3, Kobo Clara HD, Kindle Paperwhite 5
Quote:
Originally Posted by sadowski View Post
I have something simple you can try, if this is not PB specific and just means that the dictionary code has not been set up:

This worked on a Kobo: if the time on the device, i.e., your Pocketbook, is behind the time on the computer from which you copy the dictionary files, the dictionary application "sdcv" seems to fail. It might look to it like all the dictionary files are from the future.

You can check this by listing the modification times of the dictionary files. If sdcv has run at least once, there is an additional cache file *.idx.oft. When I discovered this behaviour, the .oft file's time was two hours BEFORE all the other files' time despite it was created AFTER. I changed all times back to before the time of the .oft file, rebooted and the dictionary worked. This should of course also happen if you wait long enough for the device's time to catch up.

The internal clock seems not to be in the same time zone as shown by the UI, it is for me always two hours behind. I am in a GMT+1 time zone, so it does not even with respect to GMT make any sense...

I was very puzzled by this at in the beginning. The dictionary did not work right after copying the dictionary files over, just said "Nothing found" or so. Later all of a sudden it started working. Now I understand that only the Kobo's clock had caught up with the dictionary file times. Encouraged by this, I copied more dictionaries over and it stopped again since now these files were from the "future".

The sdcv code is not very readable, so I cannot easily see why this is so, but it is reproducible on the Kobo.
Thanks for the explanation. How can I change the time stamp of the files?

I'm not sure if this is the problem here anyway, because I waited a whole day to try again and the lookup didn't work. It kept showing "No definition found." And there was no .oft-file created.

Can someone else try on their PB Touch Lux 2 if dictionaries work in KOReader? I downloaded some from this site:
http://abloz.com/huzheng/stardict-dic/bigdict/
LucyOne is offline   Reply With Quote