thomashempel / AlfredGoogleTranslateWorkflow

A workflow for Alfred that implements translation from any language to any other language that is supported by google
MIT License
400 stars 36 forks source link

Error #38

Open nicooprat opened 6 years ago

nicooprat commented 6 years ago

Input: gt fr>en effrayant

Starting debug for 'Google Translate'

[2017-12-15 18:01:59][ERROR: input.scriptfilter] Code 255: mkdir: /Users/Nico/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data: No such file or directory
mkdir: /Users/Nico/Library/Application Support/Alfred 2/Workflow Data: No such file or directory
[2017-12-15 18:01:59][ERROR: input.scriptfilter] JSON error: JSON text did not start with array or object and option to allow fragments not set. in JSON:
Fatal error: Uncaught exception 'ErrorException' with message 'Server error: `POST http://translate.google.com/translate_a/t` resulted in a `503 Service Unavailable` response:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><meta http-equiv="content-type" content="te (truncated...)
' in /Users/Nico/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.D58DCC64-32B5-44A6-9B62-4006D84B94CF/vendor/stichoza/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:263
Stack trace:
#0 /Users/Nico/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.D58DCC64-32B5-44A6-9B62-4006D84B94CF/vendor/stichoza/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php(186): Stichoza\GoogleTranslate\TranslateClient->getResponse('effrayant')
#1 /Users/Nico/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.D58DCC64-32B5-44A6-9B62-4006D84B94CF/GoogleTranslateWorkflow.php(122): Stichoza\Goog in /Users/Nico/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.D58DCC64-32B5-44A6-9B62-4006D84B94CF/vendor/stichoza/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php on line 263
nicooprat commented 6 years ago

This package seems to work https://github.com/zetavg/alfred-google-translate-workflow

AvTe commented 3 years ago

gtset show ( show all running function )