Closed larilampen closed 10 years ago
Thank you for reporting this. Whenever a user already imported a corpus which has binary files (like the example pcc2 corpus) the directory was actually created, thus this bug was not discovered yet. We will include the fix in the upcoming 3.2.0 release of ANNIS. We also might release a bugfix-only 3.1.7 version earlier, this depends on how long the 3.2.0 release will take to be finished.
By default ANNIS (service) saves corpus properties in the directory
.annis/data
under the user's home directory. It does not ensure that the directory exists, nor do the installation instructions for public servers give any suggestion to create it. So the first time a user attempts to import a corpus, aFileNotFoundException
is raised and the corpus.properties file is not saved. The fix is trivial.