ZGGSONG / STranslate

A ready-to-use, ready-to-go translation ocr tool developed by WPF/WPF 开发的一款即开即用、即用即走的翻译、OCR工具
https://stranslate.zggsong.com
MIT License
1.9k stars 107 forks source link

ocr识别一直报错 #24

Closed Johnnsy1024 closed 7 months ago

Johnnsy1024 commented 7 months ago

648decb199b8b6e626e738aeb01d374

ZGGSONG commented 7 months ago

软件运行环境描述一下,系统什么版本,ocr仅支持64位系统,这个在日志文件中应该有详细信息,可以贴出来看下

Johnnsy1024 commented 7 months ago

系统信息:Windows11专业版 64位 23H2

2024-02-18 16:23:24.149 [INF] STranslate Opened... 2024-02-18 16:23:24.442 [WRN] 加载上次窗口位置()失败,启用默认位置 2024-02-18 16:28:46.032 [ERR] [OpenAI(518ea5d1-1864-4256-b685-a3370f8407bb)] 翻译出错, 请求API: https://api.openai.com, 异常信息: Too Many Requests 2024-02-18 16:29:05.551 [ERR] [OpenAI(518ea5d1-1864-4256-b685-a3370f8407bb)] 翻译出错, 请求API: https://api.openai.com, 异常信息: Too Many Requests 2024-02-18 23:09:16.574 [ERR] [Google(2b596362-eadb-490d-a6a6-a377320be154)] 请求出错, 请求API: https://googlet.deno.dev/translate, 异常信息: The SSL connection could not be established, see inner exception. 2024-02-18 23:10:24.994 [ERR] 静默OCR失败 System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.

2024-02-21 19:34:46.507 [INF] STranslate Opened... 2024-02-21 19:37:56.868 [ERR] [Google(2b596362-eadb-490d-a6a6-a377320be154)] 请求出错, 请求API: https://googlet.deno.dev/translate, 异常信息: The SSL connection could not be established, see inner exception.

ZGGSONG commented 7 months ago
  1. 检查CPU是否支持,如果支持请看第二条 image

  2. 在我电脑上无法复现该问题,你可以尝试一下该方法,如果还是不行,还是需要DEBUG才能定位解决,如果你具备或想学习.NET开发技能的话