Giter Site home page Giter Site logo

Unable to load dictionary about android HOT 8 CLOSED

pukekoweka avatar pukekoweka commented on August 29, 2024
Unable to load dictionary

from android.

Comments (8)

itkach avatar itkach commented on August 29, 2024

Looks like corrupted file, please verify that complete file was copied to the device and check data integrity - in Lookup screen go to menu, Dictionaties, long tap in the list on dictionary you want to check.

from android.

pukekoweka avatar pukekoweka commented on August 29, 2024

The file is complete (checked MD5 sum) and works on an Android 4.2 phone. The data integrity is also fine. The issue does not make any sense to me.

from android.

itkach avatar itkach commented on August 29, 2024

Looks like the problem is with the file size of dewiki20140703.1of3.aar. It's 2147490595 bytes, which is larger than 231 - 1. Android 2 appears to have a file size limit of 231 - 1 (2Gb) for FAT32, even though max file size on FAT32 is supposed to be 232 - 1 (4Gb). Default max volume file size in dictionary compiler is set to 231 - 1, but apparently compiler failed to enforce it and dewiki20140703.1of3.aar ended up being bigger. This is probably the same issue as #105. I'll need to figure out why compiler allowed file bigger than default limit and dewiki will need to be recompiled or re-split into smaller volumes.

from android.

pukekoweka avatar pukekoweka commented on August 29, 2024

That must be the reason. I will try to split the file. Thanks a lot for your help!

from android.

itkach avatar itkach commented on August 29, 2024

@pukekoweka check out new dewiki-20140802 at http://Bit.ly/MegaDewiki or http://Bit.ly/AardWikiDe (thanks to MarkusHBraun), all volumes are smaller than 231 - 1 so should work for you on Android 2.

from android.

pukekoweka avatar pukekoweka commented on August 29, 2024

dewiki-20140802.1_of_3.aar is unfortunately 2.147.493.841 Bytes, so larger than 2^31

from android.

itkach avatar itkach commented on August 29, 2024

@pukekoweka Not sure where do you see that. dewiki-20140802.1_of_3.aar I've got is 2147419341

from android.

pukekoweka avatar pukekoweka commented on August 29, 2024

You are right. I had the old version. The new one works!

from android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.