argosopentech / argosopentech/LibreTranslate-py
HTTP Error 502: Bad Gateway
- Dominant language
- Python
- Stars
- 131
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
lt = LibreTranslateAPI("https://translate.terraprint.co/")
text = 'เขาบอกว่าได้สร้างกริ่งประตู'
from_lang = 'en'
to_lang = 'es'
res = lt.translate(text, from_lang, to_lang)
print(res)
errors:
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 502: Bad Gateway
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the reported LibreTranslateAPI(...) example and rerun it against https://translate.terraprint.co/ using the shown language arguments. Confirm whether the 502 is returned by the remote service or by the Python binding; done requires a reproducible diagnosis and a clearly scoped fix, but the issue names no file or test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100