Skip to content
This repository has been archived by the owner on Nov 25, 2019. It is now read-only.

aard in nook simpletouch (none glowlight) "Failed to open file " error #100

Open
mofosyne opened this issue May 14, 2014 · 2 comments
Open

Comments

@mofosyne
Copy link

Just recently rooted the old nook simple touch eink reader (with android 1.5), and attempted to get aard working with the enwiki-20140407 collection of ".aar" files. However it showed a "Failed to open file " error for some reason. (It's a 32 GB microsd)

Looking at the code in https://github.com/aarddict/android/blob/master/src/aarddict/android/DictionaryService.java

Log.w(TAG, "Failed to open file " + absolutePath, errors.get(file));

I can say that "errors.get(file)" was empty, as the the first file of each dictionary did not show any extra error messages.

With the smaller files like jargon-4.4.7-1.aar , it still complains of "Failed to open file " on the 32gb microSD. However on the 16gb microSD the same "Failed to open file " message showed, but twice I think, and then it siliently loaded the dictionary (Same cannot be said for the aard wikipedia enwiki-20140407 collection) .

Any idea what is the cause of this issue? I really would like to have aard working on the nook simple touch, since there is not very many other wikipedia readers that can support really old android OSes. Also I heard that aard will support the ZIM format, which is really intriguing.

@itkach
Copy link
Member

itkach commented May 15, 2014

Any idea what is the cause of this issue?

Hard to tell. First I'd check if .aar files were fully copied over and also file permissions. Defective SD card or reader is also a possibility.

can say that "errors.get(file)" was empty

How do you know? This is not something that would show up in user interface. You'd need to watch the logs with adb logcat. Watching the logs indeed could provide a better clue.

nook simple touch eink reader (with android 1.5), and attempted to get aard working

Older versions did indeed work with Android 1.5 (up until aarddict 1.4.1), minimum required Android version for more recent versions of aarddict is 2.1.

Also I heard that aard will support the ZIM format, which is really intriguing.

I did indeed consider ZIM for some time, but decided against it after all (I wrote about it here). I'm working on new storage format and new aard UI to use it, but it will most likely require Android 4.0 or 4.1 at least.

@Tashiy
Copy link

Tashiy commented Jul 16, 2014

I also have the nook nst and got the same problems. But only with collections with aard files like wikipedia. I tried the official ones on the homepage, but also other ones which can be found at the links on the homepage. By the way the nook nst has android 2.1 not 1.5.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants