Project

General

Profile

Actions

Bug #8235

closed

Text to speech broken

Added by Yannick Warnier over 7 years ago. Updated over 7 years ago.

Status:
Bug resolved
Priority:
Normal
Category:
Documents
Target version:
Start date:
15/05/2016
Due date:
% Done:

100%

Estimated time:
Spent time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

In 1.10.x, none of the text-to-speech features (Google or Pediaphon) of the documents tool work. The Google option returns a 0B file. The Pediaphon option never return anything.


Files

Actions #1

Updated by Yannick Warnier over 7 years ago

  • Assignee changed from José Loguercio to Julio Montoya
Actions #2

Updated by Julio Montoya over 7 years ago

1. The google conversion doesn't work in 1.9.x also:


Warning: file_get_contents(http://translate.google.com/translate_tts?tl=en&q=dqsdsqd): failed to open stream: HTTP request failed! HTTP/1.0 503 Service Unavailable in

I just update the code to use version 2 of the api. It requires a google app id.

Google Translate API is a paid enterprise service for translating large amounts of text. For website translations, we encourage you to use the Google Website Translator gadget.

In order to configure this go to:

https://cloud.google.com/translate/v2/quickstart

And follow the instructions. I couldnt fixed because I need to pay to try it out.
This is the message I got:


{
 "error": {
  "errors": [
   {
    "domain": "usageLimits",
    "reason": "dailyLimitExceeded",
    "message": "Daily Limit Exceeded. The quota will be reset at midnight Pacific Time (PT). You may monitor your quota usage and adjust limits in the API Console: https://console.developers.google.com/apis/api/translate/quotas?project=789282956155",
    "extendedHelp": "https://console.developers.google.com/apis/api/translate/quotas?project=789282956155" 
   }
  ],
  "code": 403,
  "message": "Daily Limit Exceeded. The quota will be reset at midnight Pacific Time (PT). You may monitor your quota usage and adjust limits in the API Console: https://console.developers.google.com/apis/api/translate/quotas?project=789282956155" 
 }
}

2. the Pediaphon is fixed now

Actions #3

Updated by Yannick Warnier over 7 years ago

Could you then revert the options in this tool: first make Pediaphon available, then (as an alternative) the Google option? (instead of the opposite that is the current situation)

Actions #4

Updated by Yannick Warnier over 7 years ago

  • Assignee changed from Julio Montoya to Angel Quiroz
  • % Done changed from 0 to 50
Actions #5

Updated by Yannick Warnier over 7 years ago

  • Assignee changed from Angel Quiroz to Julio Montoya

Back to Julio (Angel was busy with the calculated answers today)

Actions #6

Updated by Julio Montoya over 7 years ago

  • Assignee changed from Julio Montoya to Yannick Warnier

Order changed.

Actions #7

Updated by Yannick Warnier over 7 years ago

  • Status changed from Assigned to Bug resolved
  • % Done changed from 50 to 100

Great!

Actions #8

Updated by ashish kpaul over 7 years ago

Chamilo V-1.10.x: Text to Speech shows 0 Bytes

Actions #9

Updated by Yannick Warnier over 7 years ago

Since the version from yesterday, the default generation method is with Pediaphon. This works. The Google method, however, requires to create a Google API and add it to the code (so non-functional for now, indeed, and it will be generating a 0B file).

Actions

Also available in: Atom PDF