Buzov / diktofon

Automatically exported from code.google.com/p/diktofon
0 stars 0 forks source link

Cannot re-transcribe an already transcribed audio #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Record
2. Transcribe
3. (with a file manager) Delete the corresponding transcription file (in 
directory trans/) and the corresponding token file (in tokens/)
4. "Reload all recordings"
5. 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 &uuml;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 reported on code.google.com by kaljurand on 17 Jun 2011 at 2:46

GoogleCodeExporter commented 9 years ago
Fixed in b27d2482244f

Original comment by kaljurand on 6 Jul 2011 at 7:44

GoogleCodeExporter commented 9 years ago

Original comment by kaljurand on 6 Jul 2011 at 11:30