Comment 3 for bug 198873

Revision history for this message
Paul McQuesten (mcquesten) wrote : Re: jwnl14-rc2 also fails

jwnl14-rc2 also fails. Adding a traceback to MorphyFactory.initializeJWNL eventually exposes some minor confusions, which may be due to changes in WordNet version 3

(1) line 22 in data/wordnet/file_properties.xml, missing 'dict':
old <param name="dictionary_path" value="/usr/local/wordnet"/>
             <!-- Use this in Ubuntu -->

new <param name="dictionary_path" value="/usr/local/wordnet/dict"/> <!-- Use this in Ubuntu -->

(2) WordNet version 3 changed some file names:
     sudo (cd /usr/local/wordnet/dict; ln -s index.sense sense.idx)

===================================
Here is the exception that was being caught in MorphyFactory.initializeJWNL:

Info: Using default ./data/wordnet/file_properties.xml

net.didion.jwnl.JWNLException: Unable to install net.didion.jwnl.dictionary.FileBackedDictionary