Kaljurand / Diktofon

An Android app, a dictaphone with Estonian speech-to-text
Apache License 2.0
15 stars 3 forks source link

Cannot re-transcribe an already transcribed audio #6

Closed Kaljurand closed 9 years ago

Kaljurand commented 9 years ago

Original issue 5 created by Kaljurand on 2011-06-17T14:46:00.000Z:

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.

Kaljurand commented 9 years ago

Comment #1 originally posted by Kaljurand on 2011-07-06T07:44:54.000Z:

Fixed in b27d2482244f

Kaljurand commented 9 years ago

Comment #2 originally posted by Kaljurand on 2011-07-06T11:30:14.000Z:

<empty>