I’m trying to rebuild the dictionaries. Unfortunately, I have a Tolino and they still can’t use the v007 format, so I used "genv6.sh". It works correctly through all EN-XX dictionaries but when finally trying to build EN.quickdic (v006), I get an error:
Exception in thread "main" java.io.IOException: RuntimeException loading dictionary
at com.hughes.android.dictionary.engine.Dictionary.<init>(Dictionary.java:115)
at com.hughes.android.dictionary.engine.ConvertToV6.main(ConvertToV6.java:50)
at com.hughes.android.dictionary.engine.Runner.main(Runner.java:31)
Caused by: java.lang.IllegalArgumentException: newLimit < 0: (-8 < 0)
at java.base/java.nio.Buffer.createLimitException(Buffer.java:372)
at java.base/java.nio.Buffer.limit(Buffer.java:346)
at java.base/java.nio.ByteBuffer.limit(ByteBuffer.java:1107)
at java.base/java.nio.MappedByteBuffer.limit(MappedByteBuffer.java:235)
at java.base/java.nio.MappedByteBuffer.limit(MappedByteBuffer.java:67)
at com.hughes.util.DataInputBuffer.slice(DataInputBuffer.java:49)
at com.hughes.util.raf.RAFList.<init>(RAFList.java:81)
at com.hughes.util.raf.RAFList.create(RAFList.java:164)
at com.hughes.android.dictionary.engine.Dictionary.<init>(Dictionary.java:112)
... 2 more
This happens:
- with both my compiled version and using your binary Linux version "DictionaryPC"
- on both a 8GB RAM Linux Mint 20.2 and a 32GB RAM Ubuntu Studio 14.04 machine
Looking through the v007 .quickdic outputs, the EN.quickdic is by far the largest, it has 155,5MB.
Any ideas/help?
I’m trying to rebuild the dictionaries. Unfortunately, I have a Tolino and they still can’t use the v007 format, so I used "genv6.sh". It works correctly through all EN-XX dictionaries but when finally trying to build EN.quickdic (v006), I get an error:
This happens:
Looking through the v007 .quickdic outputs, the EN.quickdic is by far the largest, it has 155,5MB.
Any ideas/help?