cosy icon indicating copy to clipboard operation
cosy copied to clipboard

搜什么都提示暂未找到结果

Open xiaopenghust opened this issue 2 years ago • 4 comments

Describe the bug(描述您遇到的问题) 搜什么都提示暂未找到结果, 在哪里可以看到错误原因啊?

To Reproduce(复现步骤)

Screenshots(截图) image

System(本地系统)

  • OS:
  • Cosy Version:

Contact Info(如愿意请留下联系方式,需求上线后,我们将第一时间联系您)

xiaopenghust avatar Nov 24 '22 06:11 xiaopenghust

请看下补全是否正常,https://github.com/alibaba-cloud-toolkit/cosy/blob/main/docs/zh-cn/guide/faq.md 可以参考一下faq,试试把cosy进程杀了,删除.cosy目录,然后重启idea 如果上面方法还是不行,请按faq中的描述提供下日志给我们,谢谢

zxdxjtu avatar Nov 24 '22 06:11 zxdxjtu

请看下补全是否正常,https://github.com/alibaba-cloud-toolkit/cosy/blob/main/docs/zh-cn/guide/faq.md 可以参考一下faq,试试把cosy进程杀了,删除.cosy目录,然后重启idea 如果上面方法还是不行,请按faq中的描述提供下日志给我们,谢谢

删除.cosy目录, 重启idea后, 问题解决, 感谢!

xiaopenghust avatar Nov 24 '22 06:11 xiaopenghust

相同问题,删除.cosy后没有作用

log如下: 2022-11-24T20:41:17.035+0800 INFO Checking update ... 2022-11-24T20:41:17.039+0800 INFO System platform x86_64_windows 2022-11-24T20:41:17.139+0800 ERROR Cosy update failed: failed to initialize client 2022-11-24T20:41:22.824+0800 INFO Checking update ... 2022-11-24T20:41:22.826+0800 INFO System platform x86_64_windows 2022-11-24T20:41:22.860+0800 ERROR Cosy update failed: failed to initialize client 2022-11-24T20:41:23.332+0800 INFO ===== Starting cosy service ===== 2022-11-24T20:41:23.333+0800 INFO Preparing inference environment 2022-11-24T20:41:23.334+0800 INFO Inference environment is ready 2022-11-24T20:41:23.334+0800 INFO Starting local cosy inference service 2022-11-24T20:41:23.344+0800 INFO Local inference service initialized 2022-11-24T20:41:23.372+0800 INFO Server is ready: 39.6894ms 2022-11-24T20:41:23.469+0800 INFO A new client is registered 2022-11-24T20:41:23.486+0800 ERROR Failed to call 2022-11-24T20:41:23.683+0800 INFO Initializing server.. 2022-11-24T20:41:23.683+0800 INFO Training models for java processor 2022-11-24T20:41:47.838+0800 INFO Server initialized, time cost: 24.1550524s 2022-11-24T20:41:49.020+0800 INFO Connection closed: websocket: close 1000 (normal) 2022-11-24T20:41:49.020+0800 INFO Client unregistered 2022-11-24T20:41:50.954+0800 INFO Checking update ... 2022-11-24T20:41:50.956+0800 INFO System platform x86_64_windows 2022-11-24T20:41:51.011+0800 ERROR Cosy update failed: failed to initialize client 2022-11-24T20:41:51.034+0800 INFO A new client is registered 2022-11-24T20:41:51.041+0800 INFO Initializing server.. 2022-11-24T20:41:51.041+0800 INFO Symbol cache loaded 2022-11-24T20:41:51.041+0800 INFO Server initialized, time cost: 0s 2022-11-24T20:44:44.723+0800 INFO Init search method code_snippet_search 2022-11-24T20:44:44.723+0800 INFO Start to call CodeSnippetSearcher.. [e21c2c37-1deb-4be1-8596-b427458589a9] 2022-11-24T20:44:44.825+0800 ERROR Failed to call remote for searching es. 2022-11-24T20:44:44.825+0800 INFO Return err msg to client..

dgg1912 avatar Nov 24 '22 12:11 dgg1912

@dgg1912 进程有杀死吗?需要杀死cosy进程,删除.cosy,然后重启idea。 麻烦提供下cosy和idea的日志文件(在工具类-帮助-show log in finder)

zxdxjtu avatar Nov 25 '22 03:11 zxdxjtu