alibaba-cloud-toolkit / cosy

阿里云智能编码插件品牌升级为通义灵码,欢迎查看通义灵码帮助手册,同时也期待你在 IDE 客户端中将插件升级,我在通义灵码等你,一起开启智能编码之旅。
https://tongyi.aliyun.com/lingma
435 stars 28 forks source link

Mac安装最新版本cosy插件无法搜索 #178

Closed deyunvip closed 1 year ago

deyunvip commented 1 year ago

Describe the bug(描述您遇到的问题) 成功在Macbook pro笔记本的IDEA上安装最新版本0.10.5-beta插件后,无法搜索任何关键字

To Reproduce(复现步骤)

Screenshots(截图)

image

System(本地系统)

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

liulhdarks commented 1 year ago

右侧的代码文档搜索无法使用时吗?麻烦上传一下完整的日志文件

deyunvip commented 1 year ago

右侧的代码文档搜索无法使用时吗?麻烦上传一下完整的日志文件

右侧的代码文档搜索无法使用时吗?麻烦上传一下完整的日志文件

2023-04-12T16:21:11.918+0800 INFO Checking update ... 2023-04-12T16:21:11.920+0800 INFO System platform x86_64_darwin 2023-04-12T16:21:16.921+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T16:21:31.820+0800 INFO Checking update ... 2023-04-12T16:21:31.820+0800 INFO System platform x86_64_darwin 2023-04-12T16:21:36.821+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T16:21:37.138+0800 INFO ===== Starting cosy service ===== 2023-04-12T16:21:37.139+0800 INFO Config Local exclude lang: 2023-04-12T16:21:37.139+0800 INFO Preparing inference environment 2023-04-12T16:21:37.139+0800 ERROR Failed to read raw environment file 2023-04-12T16:21:37.139+0800 ERROR Local inference environment is not ready, please try to restart IDE 2023-04-12T16:22:00.131+0800 INFO Checking update ... 2023-04-12T16:22:00.133+0800 INFO System platform x86_64_darwin 2023-04-12T16:22:05.133+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T16:22:05.423+0800 INFO ===== Starting cosy service ===== 2023-04-12T16:22:05.430+0800 INFO Config Local exclude lang: 2023-04-12T16:22:05.430+0800 INFO Preparing inference environment 2023-04-12T16:22:05.430+0800 ERROR Failed to read raw environment file 2023-04-12T16:22:05.430+0800 ERROR Local inference environment is not ready, please try to restart IDE 2023-04-12T16:22:21.440+0800 INFO Checking update ... 2023-04-12T16:22:21.441+0800 INFO System platform x86_64_darwin 2023-04-12T16:22:26.442+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T16:22:26.724+0800 INFO ===== Starting cosy service ===== 2023-04-12T16:22:26.726+0800 INFO Config Local exclude lang: 2023-04-12T16:22:26.726+0800 INFO Preparing inference environment 2023-04-12T16:22:26.726+0800 ERROR Failed to read raw environment file 2023-04-12T16:22:26.727+0800 ERROR Local inference environment is not ready, please try to restart IDE 2023-04-12T16:23:08.579+0800 INFO Checking update ... 2023-04-12T16:23:08.580+0800 INFO System platform x86_64_darwin 2023-04-12T16:23:13.581+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T16:23:13.903+0800 INFO ===== Starting cosy service ===== 2023-04-12T16:23:13.904+0800 INFO Config Local exclude lang: 2023-04-12T16:23:13.904+0800 INFO Preparing inference environment 2023-04-12T16:23:13.904+0800 ERROR Failed to read raw environment file 2023-04-12T16:23:13.904+0800 ERROR Local inference environment is not ready, please try to restart IDE 2023-04-12T16:23:26.296+0800 INFO Checking update ... 2023-04-12T16:23:26.297+0800 INFO System platform x86_64_darwin 2023-04-12T16:23:31.298+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T16:23:31.559+0800 INFO ===== Starting cosy service ===== 2023-04-12T16:23:31.560+0800 INFO Config Local exclude lang: 2023-04-12T16:23:31.560+0800 INFO Preparing inference environment 2023-04-12T16:23:31.560+0800 ERROR Failed to read raw environment file 2023-04-12T16:23:31.560+0800 ERROR Local inference environment is not ready, please try to restart IDE 2023-04-12T16:23:53.848+0800 INFO Checking update ... 2023-04-12T16:23:53.848+0800 INFO System platform x86_64_darwin 2023-04-12T16:23:58.849+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T16:23:59.173+0800 INFO ===== Starting cosy service ===== 2023-04-12T16:23:59.173+0800 INFO Config Local exclude lang: 2023-04-12T16:23:59.174+0800 INFO Preparing inference environment 2023-04-12T16:23:59.174+0800 ERROR Failed to read raw environment file 2023-04-12T16:23:59.174+0800 ERROR Local inference environment is not ready, please try to restart IDE 2023-04-12T16:24:48.148+0800 INFO Checking update ... 2023-04-12T16:24:48.150+0800 INFO System platform x86_64_darwin 2023-04-12T16:24:53.151+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T16:24:53.437+0800 INFO ===== Starting cosy service ===== 2023-04-12T16:24:53.438+0800 INFO Config Local exclude lang: 2023-04-12T16:24:53.438+0800 INFO Preparing inference environment 2023-04-12T16:24:53.438+0800 ERROR Failed to read raw environment file 2023-04-12T16:24:53.438+0800 ERROR Local inference environment is not ready, please try to restart IDE 2023-04-12T16:25:50.500+0800 INFO Checking update ... 2023-04-12T16:25:50.502+0800 INFO System platform x86_64_darwin 2023-04-12T16:25:55.503+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T16:25:55.811+0800 INFO ===== Starting cosy service ===== 2023-04-12T16:25:55.817+0800 INFO Config Local exclude lang: 2023-04-12T16:25:55.817+0800 INFO Preparing inference environment 2023-04-12T16:25:55.818+0800 ERROR Failed to read raw environment file 2023-04-12T16:25:55.818+0800 ERROR Local inference environment is not ready, please try to restart IDE 2023-04-12T16:26:42.050+0800 INFO Checking update ... 2023-04-12T16:26:42.051+0800 INFO System platform x86_64_darwin 2023-04-12T16:26:47.052+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T16:26:50.304+0800 INFO Checking update ... 2023-04-12T16:26:50.305+0800 INFO System platform x86_64_darwin 2023-04-12T16:26:55.306+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T16:26:55.602+0800 INFO ===== Starting cosy service ===== 2023-04-12T16:26:55.602+0800 INFO Config Local exclude lang: 2023-04-12T16:26:55.602+0800 INFO Preparing inference environment 2023-04-12T16:26:55.602+0800 ERROR Failed to read raw environment file 2023-04-12T16:26:55.602+0800 ERROR Local inference environment is not ready, please try to restart IDE 2023-04-12T16:27:28.669+0800 INFO Checking update ... 2023-04-12T16:27:28.670+0800 INFO System platform x86_64_darwin 2023-04-12T16:27:33.671+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T16:27:33.941+0800 INFO ===== Starting cosy service ===== 2023-04-12T16:27:33.941+0800 INFO Config Local exclude lang: 2023-04-12T16:27:33.941+0800 INFO Preparing inference environment 2023-04-12T16:27:33.941+0800 ERROR Failed to read raw environment file 2023-04-12T16:27:33.941+0800 ERROR Local inference environment is not ready, please try to restart IDE 2023-04-12T16:27:53.398+0800 INFO Checking update ... 2023-04-12T16:27:53.398+0800 INFO System platform x86_64_darwin 2023-04-12T16:27:58.399+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T16:27:58.679+0800 INFO ===== Starting cosy service ===== 2023-04-12T16:27:58.680+0800 INFO Config Local exclude lang: 2023-04-12T16:27:58.680+0800 INFO Preparing inference environment 2023-04-12T16:27:58.680+0800 ERROR Failed to read raw environment file 2023-04-12T16:27:58.680+0800 ERROR Local inference environment is not ready, please try to restart IDE 2023-04-12T16:28:23.382+0800 INFO Checking update ... 2023-04-12T16:28:23.383+0800 INFO System platform x86_64_darwin 2023-04-12T16:28:28.384+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T16:28:28.629+0800 INFO ===== Starting cosy service ===== 2023-04-12T16:28:28.630+0800 INFO Config Local exclude lang: 2023-04-12T16:28:28.630+0800 INFO Preparing inference environment 2023-04-12T16:28:28.630+0800 ERROR Failed to read raw environment file 2023-04-12T16:28:28.630+0800 ERROR Local inference environment is not ready, please try to restart IDE 2023-04-12T16:29:00.055+0800 INFO Checking update ... 2023-04-12T16:29:00.057+0800 INFO System platform x86_64_darwin 2023-04-12T16:29:05.059+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T16:29:05.412+0800 INFO ===== Starting cosy service ===== 2023-04-12T16:29:05.413+0800 INFO Config Local exclude lang: 2023-04-12T16:29:05.413+0800 INFO Preparing inference environment 2023-04-12T16:29:05.413+0800 ERROR Failed to read raw environment file 2023-04-12T16:29:05.413+0800 ERROR Local inference environment is not ready, please try to restart IDE 2023-04-12T16:31:05.581+0800 INFO Checking update ... 2023-04-12T16:31:05.582+0800 INFO System platform x86_64_darwin 2023-04-12T16:31:10.584+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T16:31:10.887+0800 INFO ===== Starting cosy service ===== 2023-04-12T16:31:10.894+0800 INFO Config Local exclude lang: 2023-04-12T16:31:10.894+0800 INFO Preparing inference environment 2023-04-12T16:31:10.895+0800 ERROR Failed to read raw environment file 2023-04-12T16:31:10.895+0800 ERROR Local inference environment is not ready, please try to restart IDE 2023-04-12T16:31:50.910+0800 INFO Checking update ... 2023-04-12T16:31:50.910+0800 INFO System platform x86_64_darwin 2023-04-12T16:31:55.912+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T16:31:56.148+0800 INFO ===== Starting cosy service ===== 2023-04-12T16:31:56.148+0800 INFO Config Local exclude lang: 2023-04-12T16:31:56.148+0800 INFO Preparing inference environment 2023-04-12T16:31:56.148+0800 ERROR Failed to read raw environment file 2023-04-12T16:31:56.148+0800 ERROR Local inference environment is not ready, please try to restart IDE 2023-04-12T16:32:18.052+0800 INFO Checking update ... 2023-04-12T16:32:18.052+0800 INFO System platform x86_64_darwin 2023-04-12T16:32:23.054+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T16:32:23.299+0800 INFO ===== Starting cosy service ===== 2023-04-12T16:32:23.300+0800 INFO Config Local exclude lang: 2023-04-12T16:32:23.300+0800 INFO Preparing inference environment 2023-04-12T16:32:23.300+0800 ERROR Failed to read raw environment file 2023-04-12T16:32:23.300+0800 ERROR Local inference environment is not ready, please try to restart IDE 2023-04-12T16:33:05.523+0800 INFO Checking update ... 2023-04-12T16:33:05.524+0800 INFO System platform x86_64_darwin 2023-04-12T16:33:10.525+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T16:33:10.804+0800 INFO ===== Starting cosy service ===== 2023-04-12T16:33:10.811+0800 INFO Config Local exclude lang: 2023-04-12T16:33:10.811+0800 INFO Preparing inference environment 2023-04-12T16:33:10.811+0800 ERROR Failed to read raw environment file 2023-04-12T16:33:10.811+0800 ERROR Local inference environment is not ready, please try to restart IDE 2023-04-12T16:37:30.071+0800 INFO Checking update ... 2023-04-12T16:37:30.073+0800 INFO System platform x86_64_darwin 2023-04-12T16:37:35.075+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T16:37:38.157+0800 INFO Checking update ... 2023-04-12T16:37:38.158+0800 INFO System platform x86_64_darwin 2023-04-12T16:37:43.158+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T16:37:43.525+0800 INFO ===== Starting cosy service ===== 2023-04-12T16:37:43.528+0800 INFO Config Local exclude lang: 2023-04-12T16:37:43.528+0800 INFO Preparing inference environment 2023-04-12T16:37:43.528+0800 ERROR Failed to read raw environment file 2023-04-12T16:37:43.528+0800 ERROR Local inference environment is not ready, please try to restart IDE 2023-04-12T16:38:10.710+0800 INFO Checking update ... 2023-04-12T16:38:10.710+0800 INFO System platform x86_64_darwin 2023-04-12T16:38:15.711+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T16:38:15.963+0800 INFO ===== Starting cosy service ===== 2023-04-12T16:38:15.964+0800 INFO Config Local exclude lang: 2023-04-12T16:38:15.964+0800 INFO Preparing inference environment 2023-04-12T16:38:15.964+0800 ERROR Failed to read raw environment file 2023-04-12T16:38:15.964+0800 ERROR Local inference environment is not ready, please try to restart IDE 2023-04-12T16:38:40.188+0800 INFO Checking update ... 2023-04-12T16:38:40.189+0800 INFO System platform x86_64_darwin 2023-04-12T16:38:45.189+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T16:38:45.414+0800 INFO ===== Starting cosy service ===== 2023-04-12T16:38:45.415+0800 INFO Config Local exclude lang: 2023-04-12T16:38:45.415+0800 INFO Preparing inference environment 2023-04-12T16:38:45.415+0800 ERROR Failed to read raw environment file 2023-04-12T16:38:45.415+0800 ERROR Local inference environment is not ready, please try to restart IDE 2023-04-12T16:39:28.902+0800 INFO Checking update ... 2023-04-12T16:39:28.904+0800 INFO System platform x86_64_darwin 2023-04-12T16:39:33.906+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T16:39:34.142+0800 INFO ===== Starting cosy service ===== 2023-04-12T16:39:34.148+0800 INFO Config Local exclude lang: 2023-04-12T16:39:34.149+0800 INFO Preparing inference environment 2023-04-12T16:39:34.149+0800 ERROR Failed to read raw environment file 2023-04-12T16:39:34.149+0800 ERROR Local inference environment is not ready, please try to restart IDE 2023-04-12T16:40:14.546+0800 INFO Checking update ... 2023-04-12T16:40:14.547+0800 INFO System platform x86_64_darwin 2023-04-12T16:40:19.549+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T16:40:19.762+0800 INFO ===== Starting cosy service ===== 2023-04-12T16:40:19.768+0800 INFO Config Local exclude lang: 2023-04-12T16:40:19.769+0800 INFO Preparing inference environment 2023-04-12T16:40:19.769+0800 ERROR Failed to read raw environment file 2023-04-12T16:40:19.769+0800 ERROR Local inference environment is not ready, please try to restart IDE 2023-04-12T16:47:47.914+0800 INFO Checking update ... 2023-04-12T16:47:47.915+0800 INFO System platform x86_64_darwin 2023-04-12T16:47:52.916+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T16:47:56.277+0800 INFO Checking update ... 2023-04-12T16:47:56.278+0800 INFO System platform x86_64_darwin 2023-04-12T16:48:01.279+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T16:48:01.519+0800 INFO ===== Starting cosy service ===== 2023-04-12T16:48:01.520+0800 INFO Config Local exclude lang: 2023-04-12T16:48:01.520+0800 INFO Preparing inference environment 2023-04-12T16:48:01.520+0800 ERROR Failed to read raw environment file 2023-04-12T16:48:01.520+0800 ERROR Local inference environment is not ready, please try to restart IDE 2023-04-12T16:48:14.005+0800 INFO Checking update ... 2023-04-12T16:48:14.007+0800 INFO System platform x86_64_darwin 2023-04-12T16:48:19.009+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T16:48:19.264+0800 INFO ===== Starting cosy service ===== 2023-04-12T16:48:19.265+0800 INFO Config Local exclude lang: 2023-04-12T16:48:19.265+0800 INFO Preparing inference environment 2023-04-12T16:48:19.265+0800 ERROR Failed to read raw environment file 2023-04-12T16:48:19.265+0800 ERROR Local inference environment is not ready, please try to restart IDE 2023-04-12T16:56:04.316+0800 INFO Checking update ... 2023-04-12T16:56:04.318+0800 INFO System platform x86_64_darwin 2023-04-12T16:56:09.320+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T16:56:12.834+0800 INFO Checking update ... 2023-04-12T16:56:12.835+0800 INFO System platform x86_64_darwin 2023-04-12T16:56:17.836+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T16:56:18.129+0800 INFO ===== Starting cosy service ===== 2023-04-12T16:56:18.135+0800 INFO Config Local exclude lang: 2023-04-12T16:56:18.136+0800 INFO Preparing inference environment 2023-04-12T16:56:18.136+0800 ERROR Failed to read raw environment file 2023-04-12T16:56:18.136+0800 ERROR Local inference environment is not ready, please try to restart IDE 2023-04-12T16:56:47.225+0800 INFO Checking update ... 2023-04-12T16:56:47.227+0800 INFO System platform x86_64_darwin 2023-04-12T16:56:52.216+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T16:56:56.078+0800 INFO Checking update ... 2023-04-12T16:56:56.079+0800 INFO System platform x86_64_darwin 2023-04-12T16:57:01.073+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T16:57:01.372+0800 INFO ===== Starting cosy service ===== 2023-04-12T16:57:01.373+0800 INFO Config Local exclude lang: 2023-04-12T16:57:01.373+0800 INFO Preparing inference environment 2023-04-12T16:57:01.373+0800 ERROR Failed to read raw environment file 2023-04-12T16:57:01.373+0800 ERROR Local inference environment is not ready, please try to restart IDE 2023-04-12T17:01:55.372+0800 INFO Checking update ... 2023-04-12T17:01:55.373+0800 INFO System platform x86_64_darwin 2023-04-12T17:02:00.374+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T17:02:00.639+0800 INFO ===== Starting cosy service ===== 2023-04-12T17:02:00.643+0800 INFO Config Local exclude lang: 2023-04-12T17:02:00.643+0800 INFO Preparing inference environment 2023-04-12T17:02:00.644+0800 ERROR Failed to read raw environment file 2023-04-12T17:02:00.644+0800 ERROR Local inference environment is not ready, please try to restart IDE 2023-04-12T17:04:54.944+0800 INFO Checking update ... 2023-04-12T17:04:54.946+0800 INFO System platform x86_64_darwin 2023-04-12T17:04:59.947+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T17:05:03.570+0800 INFO Checking update ... 2023-04-12T17:05:03.571+0800 INFO System platform x86_64_darwin 2023-04-12T17:05:08.571+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T17:05:08.885+0800 INFO ===== Starting cosy service ===== 2023-04-12T17:05:08.886+0800 INFO Config Local exclude lang: 2023-04-12T17:05:08.886+0800 INFO Preparing inference environment 2023-04-12T17:05:08.886+0800 ERROR Failed to read raw environment file 2023-04-12T17:05:08.887+0800 ERROR Local inference environment is not ready, please try to restart IDE 2023-04-12T17:06:40.117+0800 INFO Checking update ... 2023-04-12T17:06:40.118+0800 INFO System platform x86_64_darwin 2023-04-12T17:06:45.119+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T17:06:48.703+0800 INFO Checking update ... 2023-04-12T17:06:48.704+0800 INFO System platform x86_64_darwin 2023-04-12T17:06:53.706+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T17:06:53.994+0800 INFO ===== Starting cosy service ===== 2023-04-12T17:06:54.000+0800 INFO Config Local exclude lang: 2023-04-12T17:06:54.001+0800 INFO Preparing inference environment 2023-04-12T17:06:54.001+0800 ERROR Failed to read raw environment file 2023-04-12T17:06:54.001+0800 ERROR Local inference environment is not ready, please try to restart IDE 2023-04-12T17:10:28.602+0800 INFO Checking update ... 2023-04-12T17:10:28.603+0800 INFO System platform x86_64_darwin 2023-04-12T17:10:33.604+0800 ERROR Cosy update failed: failed to initialize client 2023-04-12T17:10:33.827+0800 INFO ===== Starting cosy service ===== 2023-04-12T17:10:33.834+0800 INFO Config Local exclude lang: 2023-04-12T17:10:33.834+0800 INFO Preparing inference environment 2023-04-12T17:10:33.834+0800 ERROR Failed to read raw environment file 2023-04-12T17:10:33.834+0800 ERROR Local inference environment is not ready, please try to restart IDE

liulhdarks commented 1 year ago

把.cosy目录删掉,kill掉cosy进程,再试试可以吗

deyunvip commented 1 year ago
image

还是不行,连idea进程都kill掉了,然后又重新装成cosy-intellij-0.10.3.3-beta还是不行。我的IDEA是mac 的Community版

liulhdarks commented 1 year ago

你之前安装的老版本能使用吗,试试all-in-one版本呢,https://toolkit.aliyun.com/idea/cosy-intellij-beta-latest-all-in-one.zip

deyunvip commented 1 year ago

谢谢,换个网络环境已经能用了,只不过很不稳定,同样的查询条件有时有结果,有时没有出来结果