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

Broken on OS X El Capitan #23

Closed alexreg closed 8 years ago

alexreg commented 9 years ago

Since upgrading, it has immediately stopped working. I now get "No results found" for whatever source/destination language & text.

thomashempel commented 8 years ago

@alexreg Well, that is strange. I get "Hola" (I guess that is expected). Does the error only occur if don't specify the input language?

alexreg commented 8 years ago

Yes, exactly. Only if I don’t specify an input language. So es gives Array but en>es gives Hola.

On 6 Jul 2016, at 18:58, Thomas Hempel notifications@github.com wrote:

@alexreg https://github.com/alexreg Well, that is strange. I get "Hola" (I guess that is expected). Does the error only occur if don't specify the input language?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/thomashempel/AlfredGoogleTranslateWorkflow/issues/23#issuecomment-230853896, or mute the thread https://github.com/notifications/unsubscribe/AAEF3PShQi5ASPeWPfrYL6mc_noAM0Ovks5qS-zdgaJpZM4GKy-s.

thomashempel commented 8 years ago

Weird ... I know it sounds stupid, but works for me. :-/ What does "gtset show" give you?

alexreg commented 8 years ago

sourceLanguage = auto targetLanguage = en

On 6 Jul 2016, at 19:06, Thomas Hempel notifications@github.com wrote:

Weird ... I know it sounds stupid, but works for me. :-/ What does "gtset show" give you?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/thomashempel/AlfredGoogleTranslateWorkflow/issues/23#issuecomment-230856119, or mute the thread https://github.com/notifications/unsubscribe/AAEF3LwHJpCxfYTp3xhXKcblzBZIUePdks5qS-67gaJpZM4GKy-s.

thomashempel commented 8 years ago

Ah... Okay. Now I get the same error. As a quick workaround you can specify the source language with "gtset sourceLanguage es" for example.

alexreg commented 8 years ago

Yeah. Not ideal that, but cheers. I’m sure you’ll be able to fix this quite easily. :)

On 6 Jul 2016, at 19:09, Thomas Hempel notifications@github.com wrote:

Ah... Okay. Now I get the same error. As a quick workaround you can specify the source language with "gtset sourceLanguage es" for example.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/thomashempel/AlfredGoogleTranslateWorkflow/issues/23#issuecomment-230856877, or mute the thread https://github.com/notifications/unsubscribe/AAEF3LoINpSJMQi1mZskY2mr0omyStBbks5qS-9egaJpZM4GKy-s.

thomashempel commented 8 years ago

3.1.1 should fix the problem

alexreg commented 8 years ago

Thanks, that works nicely.

(Semi-related moan: I wish they would update Packal so it didn’t error whenever one tries to update packages.)

On 6 Jul 2016, at 19:29, Thomas Hempel notifications@github.com wrote:

3.1.1 should fix the problem

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/thomashempel/AlfredGoogleTranslateWorkflow/issues/23#issuecomment-230862366, or mute the thread https://github.com/notifications/unsubscribe/AAEF3HQw8s7S657wu4KQoDFj1U4EhwN1ks5qS_PvgaJpZM4GKy-s.

andrielfn commented 8 years ago

Thank you a lot @thomashempel, it's working nicely. Great job! 👏 🎉

There's only one thing that I noticed that has changed in this version. I'm not sure if it's related with Alfred 3, but it is now returning only one result.

I've used the example from README translate de>en Haus that returned three results, but I got only one. Check it out:

vs.

thomashempel commented 8 years ago

@andrielfn Yes, that is a problem of the now used lib. I think the used API is only returning one result and no alternatives anymore. :-/ If I find the time I will look into that.

For now, you can Press [alt][return] to open the request on the google translate website. That will give you all results.

thomashempel commented 8 years ago

Alright. I'm closing this thread now. If anything is not working. Please open a new issue.

Thanks and best wishes

fns commented 8 years ago

@alexreg no repo, just download it and change or let me know what would you need and I'll do it.

alexreg commented 8 years ago

How should I contact you?

On 7 Jul 2016, at 05:26, Gabor Penoff notifications@github.com wrote:

@alexreg https://github.com/alexreg no repo, just download it and change or let me know what would you need and I'll do it.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/thomashempel/AlfredGoogleTranslateWorkflow/issues/23#issuecomment-230976100, or mute the thread https://github.com/notifications/unsubscribe/AAEF3EUtjH1kzKnnW1wbbjiu53faCUezks5qTH_egaJpZM4GKy-s.

fns commented 8 years ago

Contact info on my github page: https://github.com/fns