Haibersut / chatgpt-installer

一个基于 C++ 用于部署LSS233项目的程序
Apache License 2.0
1 stars 3 forks source link

配置文件不合法!yaml: line 10: mapping values are not allowed in this context" #2

Open singularity2000 opened 1 year ago

singularity2000 commented 1 year ago

如题,升级ChatGPT机器人到v2.5.3,使用了安装器,安装了miniconda3,并运行“启动go-cqhttp.cmd”脚本后报错,使得机器人无法运行。 安装miniconda时我没有勾选添加为path,因为conda的安装器说“可能引起冲突,not recommended”。

Haibersut commented 1 year ago

使用安装器的话,需要注册环境的,不然就会报错

---原始邮件--- 发件人: @.> 发送时间: 2023年8月7日(周一) 晚上8:49 收件人: @.>; 抄送: @.***>; 主题: [Haibersut/chatgpt-installer] 配置文件不合法!yaml: line 10: mapping values are not allowed in this context" (Issue #2)

如题,升级ChatGPT机器人到v2.5.3,使用了安装器,安装了miniconda3,并运行“启动go-cqhttp.cmd”脚本后报错,使得机器人无法运行。 安装miniconda时我没有勾选添加为path,因为conda的安装器说“可能引起冲突,not recommended”。

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

singularity2000 commented 1 year ago

使用安装器的话,需要注册环境的,不然就会报错 ---原始邮件--- 发件人: @.> 发送时间: 2023年8月7日(周一) 晚上8:49 收件人: @.>; 抄送: @.>; 主题: [Haibersut/chatgpt-installer] 配置文件不合法!yaml: line 10: mapping values are not allowed in this context" (Issue #2) 如题,升级ChatGPT机器人到v2.5.3,使用了安装器,安装了miniconda3,并运行“启动go-cqhttp.cmd”脚本后报错,使得机器人无法运行。 安装miniconda时我没有勾选添加为path,因为conda的安装器说“可能引起冲突,not recommended”。 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.>

谢谢!所以意思就是要勾选“添加到path”选项吗

Haibersut commented 1 year ago

嗯,虽说我这个安装器是默认注册的,你可以自行测试一下,比如在cmd输入conda看看有没有反应

---原始邮件--- 发件人: @.> 发送时间: 2023年8月7日(周一) 晚上9:00 收件人: @.>; 抄送: "Matt @.**@.>; 主题: Re: [Haibersut/chatgpt-installer] 配置文件不合法!yaml: line 10: mapping values are not allowed in this context" (Issue #2)

使用安装器的话,需要注册环境的,不然就会报错 … ---原始邮件--- 发件人: @.> 发送时间: 2023年8月7日(周一) 晚上8:49 收件人: @.>; 抄送: @.>; 主题: [Haibersut/chatgpt-installer] 配置文件不合法!yaml: line 10: mapping values are not allowed in this context" (Issue #2) 如题,升级ChatGPT机器人到v2.5.3,使用了安装器,安装了miniconda3,并运行“启动go-cqhttp.cmd”脚本后报错,使得机器人无法运行。 安装miniconda时我没有勾选添加为path,因为conda的安装器说“可能引起冲突,not recommended”。 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.>

谢谢!所以意思就是要勾选“添加到path”选项吗

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

singularity2000 commented 1 year ago

嗯,虽说我这个安装器是默认注册的,你可以自行测试一下,比如在cmd输入conda看看有没有反应 ---原始邮件--- 发件人: @.> 发送时间: 2023年8月7日(周一) 晚上9:00 收件人: @.>; 抄送: "Matt @.**@.>; 主题: Re: [Haibersut/chatgpt-installer] 配置文件不合法!yaml: line 10: mapping values are not allowed in this context" (Issue #2) 使用安装器的话,需要注册环境的,不然就会报错 … ---原始邮件--- 发件人: @.> 发送时间: 2023年8月7日(周一) 晚上8:49 收件人: @.>; 抄送: @.>; 主题: [Haibersut/chatgpt-installer] 配置文件不合法!yaml: line 10: mapping values are not allowed in this context" (Issue #2) 如题,升级ChatGPT机器人到v2.5.3,使用了安装器,安装了miniconda3,并运行“启动go-cqhttp.cmd”脚本后报错,使得机器人无法运行。 安装miniconda时我没有勾选添加为path,因为conda的安装器说“可能引起冲突,not recommended”。 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.> 谢谢!所以意思就是要勾选“添加到path”选项吗 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

啊这 不知为何在我的电脑上运行安装器之后,它所做的只是把miniconda的安装包下载下来了,还得靠我手动安装conda 虽然它说已经安装完成 image

Haibersut commented 1 year ago

可能你的电脑阻止了静默安装?是重新打开也是这个样子吗

---原始邮件--- 发件人: @.> 发送时间: 2023年8月7日(周一) 晚上9:05 收件人: @.>; 抄送: "Matt @.**@.>; 主题: Re: [Haibersut/chatgpt-installer] 配置文件不合法!yaml: line 10: mapping values are not allowed in this context" (Issue #2)

嗯,虽说我这个安装器是默认注册的,你可以自行测试一下,比如在cmd输入conda看看有没有反应 … ---原始邮件--- 发件人: @.> 发送时间: 2023年8月7日(周一) 晚上9:00 收件人: @.>; 抄送: "Matt @.@.>; 主题: Re: [Haibersut/chatgpt-installer] 配置文件不合法!yaml: line 10: mapping values are not allowed in this context" (Issue #2) 使用安装器的话,需要注册环境的,不然就会报错 … ---原始邮件--- 发件人: @.> 发送时间: 2023年8月7日(周一) 晚上8:49 收件人: @.>; 抄送: @.>; 主题: [Haibersut/chatgpt-installer] 配置文件不合法!yaml: line 10: mapping values are not allowed in this context" (Issue #2) 如题,升级ChatGPT机器人到v2.5.3,使用了安装器,安装了miniconda3,并运行“启动go-cqhttp.cmd”脚本后报错,使得机器人无法运行。 安装miniconda时我没有勾选添加为path,因为conda的安装器说“可能引起冲突,not recommended”。 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.> 谢谢!所以意思就是要勾选“添加到path”选项吗 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

啊这 不知为何在我的电脑上运行安装器之后,它所做的只是把miniconda的安装包下载下来了,还得靠我手动安装conda 虽然它说已经安装完成

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

singularity2000 commented 1 year ago

可能你的电脑阻止了静默安装?是重新打开也是这个样子吗 ---原始邮件--- 发件人: @.> 发送时间: 2023年8月7日(周一) 晚上9:05 收件人: @.>; 抄送: "Matt @.**@.>; 主题: Re: [Haibersut/chatgpt-installer] 配置文件不合法!yaml: line 10: mapping values are not allowed in this context" (Issue #2) 嗯,虽说我这个安装器是默认注册的,你可以自行测试一下,比如在cmd输入conda看看有没有反应 … ---原始邮件--- 发件人: @.> 发送时间: 2023年8月7日(周一) 晚上9:00 收件人: @.>; 抄送: "Matt @.@.>; 主题: Re: [Haibersut/chatgpt-installer] 配置文件不合法!yaml: line 10: mapping values are not allowed in this context" (Issue #2) 使用安装器的话,需要注册环境的,不然就会报错 … ---原始邮件--- 发件人: @.> 发送时间: 2023年8月7日(周一) 晚上8:49 收件人: @.>; 抄送: @.>; 主题: [Haibersut/chatgpt-installer] 配置文件不合法!yaml: line 10: mapping values are not allowed in this context" (Issue #2) 如题,升级ChatGPT机器人到v2.5.3,使用了安装器,安装了miniconda3,并运行“启动go-cqhttp.cmd”脚本后报错,使得机器人无法运行。 安装miniconda时我没有勾选添加为path,因为conda的安装器说“可能引起冲突,not recommended”。 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.> 谢谢!所以意思就是要勾选“添加到path”选项吗 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> 啊这 不知为何在我的电脑上运行安装器之后,它所做的只是把miniconda的安装包下载下来了,还得靠我手动安装conda 虽然它说已经安装完成 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>

是的,我开着火绒,电脑没冒任何警告,重新运行“chatgpt-installer.exe"它所做的就是把conda的安装包重新下载一遍然后覆盖

singularity2000 commented 1 year ago

刚刚我把miniconda卸载了重新手动安装了一遍,这次勾选了添加到path,运行chatgpt-installer.exe又说没有Git环境,刷刷刷下了一大堆东西,然后告诉我程序未正常退出【如图】。 大神有空可否更新一下使用教程?因为v2.5.3改动挺大,像我这样的没配置好环境、只会享受一键包的小白,想无痛成功安装还是有亿点门槛。 image

Haibersut commented 1 year ago

嗯嗯,这个安装器是我之前写的,就是为这个问题,我一开始以为是批处理导致的路径问题,后面我排查了一下,发现是graia也就是mirai的框架有问题,这个可以稍等一下,我现在还在外面,我回去更新下依赖就行了

---原始邮件--- 发件人: @.> 发送时间: 2023年8月7日(周一) 晚上9:22 收件人: @.>; 抄送: "Matt @.**@.>; 主题: Re: [Haibersut/chatgpt-installer] 配置文件不合法!yaml: line 10: mapping values are not allowed in this context" (Issue #2)

刚刚我把miniconda卸载了重新手动安装了一遍,这次勾选了添加到path,运行chatgpt-installer.exe又说没有Git环境,刷刷刷下了一大堆东西,然后告诉我程序未正常退出【如图】。 大神有空可否更新一下使用教程?因为v2.5.3改动挺大,像我这样的没配置好环境、只会享受一键包的小白,想无痛成功安装还是有亿点门槛。

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

singularity2000 commented 1 year ago

AI经过这几个月的发展,Claude 2网页版我这边已经能随便用了,通义千问的申请也通过了。 但是在说明书里,似乎没看到接入通义千问功能,Claude的配置方法也已经过时。 所以希望系统地更新一下教程

Haibersut commented 1 year ago

https://github.com/lss233/chatgpt-mirai-qq-bot/issues/1134

singularity2000 commented 1 year ago

lss233/chatgpt-mirai-qq-bot#1134

从Release页重新下载了zip包,卸载并重装了miniconda,装好了Git,运行“go-cqhttp.cmd”仍然显示配置文件不合法的错误【如图】 想知道到底是什么原因,以及这个配置文件在哪里 image

另外 ChatGPT机器人安装程序能正常工作【如图】,最终实现的效果和v2.5.2版本中的“启动ChatGPT.cmd”一致,但感觉操作麻烦多了,还要手动选择两个源,然后验证半天 image

我觉得真不如回到v2.5.2的架构,真的不想折腾了,装这么多依赖,机器人各种组件和依赖占用的硬盘空间也翻了好几倍

题外话,你看第二张截图,我的ChatGPT用cookies登录不上去,但网页版在相同网络条件下能正常用,换节点也无效。我在v2.5.2也有这个问题,看了issue是老问题了,官方说“已修复”,但属实修了个寂寞。

Haibersut commented 1 year ago

依赖跟之前是一样的惹,装完应该接近500MB?架构也没有改

Haibersut commented 1 year ago

web登录不上只能是revChatGPT这个库的问题,或者网络问题 image