vscode 使用通义灵码报错,试过重新安装,删除.lingma目录都不行,查看日志报下面错误
2024-04-09T12:31:00.705+0800 INFO ===== Starting lingma service =====
2024-04-09T12:31:00.706+0800 INFO Init local db success.
2024-04-09T12:31:00.706+0800 INFO start chat sessions clear timer.
2024-04-09T12:31:00.706+0800 INFO Lingma 1.2.7 running on linux(amd64) at /home/WINHONG/caijt/.lingma
2024-04-09T12:31:00.706+0800 INFO Use system proxy, detect no proxy.
2024-04-09T12:31:00.891+0800 INFO Access lingma server success
2024-04-09T12:31:00.891+0800 INFO Info lock obtained
2024-04-09T12:31:00.891+0800 INFO Preparing inference environment
2024-04-09T12:31:00.891+0800 WARN Failed to read raw environment file
2024-04-09T12:31:00.891+0800 WARN Local model is not ready, local inference is currently unavailable
2024-04-09T12:31:00.891+0800 INFO Starting local java inference service
2024-04-09T12:31:00.891+0800 WARN Cannot start default local service: path error: model file doesn't exist for new version
2024-04-09T12:31:00.892+0800 INFO Checking update ...
如何解决
补充一下vscode日志显示以下错误
2024-04-09 14:21:51.469 [warn] start lingma process command=/home/xxxxxx/xxxxx/.lingma/bin/1.2.7/x86_64_linux/Lingma start, output=, stderr=panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0xc72d60]
goroutine 50 [running]:
cosy/server.autoLoginOnFC()
cosy/server/auth_fc.go:26 +0x40
cosy/server.AutoLoginWhenInit()
cosy/server/auth.go:1058 +0x29
created by cosy/cmd.glob..func2
cosy/cmd/start.go:87 +0x4ff
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。