comphist / cora

A web-based, token-level annotation tool for non-standard language data
http://www.linguistics.rub.de/comphist/resources/cora/
MIT License
10 stars 6 forks source link

Failing import scripts are never noticed by sessionHandler #102

Closed fab-bar closed 3 years ago

fab-bar commented 6 years ago

In importTranscriptionFile a non-empty return value from callImport is used to signify errors by the script used to check and convert the transcription to CorA-XML. However, the output of the scipt is redirected to the logfile and the return value will always be empty. Consequently CorA always tries to import a XML file, even if none is generated.