Original issue 5 created by Kaljurand on 2011-06-17T14:46:00.000Z:
What steps will reproduce the problem?
Record
Transcribe
(with a file manager) Delete the corresponding transcription file (in directory trans/) and the corresponding token file (in tokens/)
"Reload all recordings"
Transcribe
What is the expected output? What do you see instead?
Expecting to get the audio transcribed again, but instead seeing an error message (toast):
Illegal token: <html>... Oled juba sellise nimega faili üles laadinud ...</html>
This problem can be fixed if the name of the uploaded file is changed to some random string, but with an extension that matches the audio file's MIME type. Renaming the file for the POST request is supported by the latest estspeechapi.jar provided that httpmime-4.1.1.jar is used.
Original issue 5 created by Kaljurand on 2011-06-17T14:46:00.000Z:
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Expecting to get the audio transcribed again, but instead seeing an error message (toast):
Illegal token: <html>... Oled juba sellise nimega faili üles laadinud ...</html>
This problem can be fixed if the name of the uploaded file is changed to some random string, but with an extension that matches the audio file's MIME type. Renaming the file for the POST request is supported by the latest estspeechapi.jar provided that httpmime-4.1.1.jar is used.