Error with Chinese Dictionary on Moto L7

Started by cdict fan, 04. November 2007, 05:19:14

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Gert

The exception was about the missing file DictionaryForMIDs.properties (the empty dictionary does not have that file), so that is fine.

Hmmmmmm, it really must be something very simple ... I checked the difference between the manifest files of 2.7 and 3.2, the 3.2 file seems to be ok. Well, I'll just try to adapt further to 2.7 (will be another test version ;) ).

Gert

Gert

This is the 3.2 "test" version built with the 2.7.0 manifest file (it'll say it is a 2.7.0).

9. http://www.kugihan.de/dict/download/test_versions/for_Ryan/version_9/DictionaryForMIDs.jar

Gert

Cryme

Hi Gert,

That jar file installed perfectly.  When I run it, it has "test" in the title, and "test test" displayed below it, and nothing else.

Ryan

Gert

Aha !?!

Seems we are getting closer :)

So, let me think and find the next test version ;)

Gert

Gert


Cryme

No.  This results in the "Application Error".  This is the first time I've seen it say "version 2.7.0" and it not work.

Ryan

Gert

We are getting closer ... wait for the next test version !

Gert

Gert

11. http://www.kugihan.de/dict/download/test_versions/for_Ryan/version_11/DictionaryForMIDs.jar

I'm step by step trying to find out which setting causes the Application Error. In version_11 I changed the line follwing line to the content of 2.7.0:

MIDlet-1: DictionaryForMIDs, DictionaryForMIDs.png, de.kugihan.dictionaryformids.hmi_j2me.DictionaryForMIDs

Could you please test ... ?

Gert

Cryme


Gert

12. http://www.kugihan.de/dict/download/test_versions/for_Ryan/version_12/DictionaryForMIDs.jar

Version 12 requests MIDP-1.0 instead of MIDP-2.0.


13. http://www.kugihan.de/dict/download/test_versions/for_Ryan/version_13/DictionaryForMIDs.jar

Version_13 additionally has a different vendor string. Version_13 must install and run again.

Hope after version_12 / version_13 we understand which causes the problem !

Gert

Cryme

version 12 - "Application Error"

version 13 - installed fine and runs with "test test" as before

Ryan

Gert

Congratulations, we found the problem !!

Version_12 contains:
MIDlet-Vendor: Gert Nuber (dict@kugihan.de) et al.

Version_13 contains:
MIDlet-Vendor: Gert Nuber (dict@kugihan.de)

And after searching for some more, I found that on Motorlas the Midlet-Vendor can be a maximum of 32 characters. Unbelieveable that it cost us so much effort to find this as the cause of all problems. A clearer error message on the Motorola device really would have been helpful  >:( >:( >:(

Updated 3.2 (pre-release) will follow.

Gert


Cryme

Wow that's amazing!  Such a simple problem...  I can't wait to download the real 3.2.0 when it's up.  I want to use the DictionaryGeneration.jar and JarCreator.jar.  Will those be updated too?

Yes it would be nice if the phone didn't just say "Application Error".   How vague can it be?

Ryan

Gert


Cryme

Nice...  thanks so much Gert!  So let me just clarify - you only needed to change the emtpy dictionary file?  So the DictionaryGeneration.jar and JarCreator.jar are the same... I just need to download the new "empty" file and use that in one of the fields of the JarCreator command line?

Ryan