Closed Ruiqi-Hu closed 6 years ago
Can you run it in the terminal, for example:
Python3 ./googletranslate.py zh-CN "hello"
Yes, it works perfectly in the terminal. However, it just does not work in the Dict.
Sorry, I don't know what caused the exit error 255
.
By searching exit error 255
there is a reason: If you made error in path to Python executable, you may don't see any error or may see this
Problem solved. It was because of the conflict in my development environment. Thanks a lot for the help.
Problem solved. It was because of the conflict in my development environment. Thanks a lot for the help.
Hi, how do you solved it, I have a same problem on ubuntu.
Problem solved. It was because of the conflict in my development environment. Thanks a lot for the help.
Hi, how do you solved it, I have a same problem on ubuntu.
me too,but I resolved it。 It was also because of the conflict in my development environment. my python path : ~/anaconda3/bin/python so the command line is: ~/anaconda3/bin/python -m googletranslate zh-CN %GDWORD% -s "translate.google.cn"
Hi, Thanks for the beautiful work. However, it does not work on my Mac. I have python3 installed and set "python3 /Users/myname/Data/Dicts/google-translate-for-goldendict-master/googletranslate.py zh-CN %GDWORD%" in the GoldenDict. The error occurred with Query error: The program has returned exit code 255.
I am asking because I noticed that you have set #!/usr/bin/env python3 in the script, which should lead to the python3 as the interpreter to run the code.
Thanks in advance.