tohateam / google-api-translate-java

Automatically exported from code.google.com/p/google-api-translate-java
0 stars 0 forks source link

java.lang.Error: No translation result returned on Google Quickstart test #34

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. goto http://code.google.com/p/google-api-translate-java 
2. create a test class from Quickstart
3. Run test

What is the expected output? What do you see instead?

The expected result was a translation of "Salut le monde" from French to
English
Instead we received  java.lang.Error: No translation result returned.

What version of the product are you using? On what operating system?
We are using version 0.5 on XP platform

Please provide any additional information below.

Original issue reported on code.google.com by michael.rossovsky on 10 Nov 2008 at 12:59

Attachments:

GoogleCodeExporter commented 8 years ago
Works for me with the latest library. I only removed the package declaration 
and then
ran the following:

$ javac -cp google-api-translate-java-0.51.jar GoogleTest.java
$ java -cp google-api-translate-java-0.51.jar:. GoogleTest
The world salvation

Ok, the translation's a little dodgy but that's not my fault! Definitely no 
errors.
If you still have issues with the latest could you post the full error trace?

Original comment by rich.mid...@gmail.com on 9 Dec 2008 at 6:43