yanlang0123 / ComfyUI_Lam

Apache License 2.0
9 stars 0 forks source link

KeyError: 'language' #2

Open deepfree2023 opened 2 weeks ago

deepfree2023 commented 2 weeks ago

"
File "K:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_Lam\py\ForEnd.py", line 7, in from .WeChatAuth import prompt as promptFun File "K:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_Lam\py\WeChatAuth.py", line 803, in custom_nodes_path=os.path.join(custom_nodes_path,Config().base['language'],'Nodes')


KeyError: 'language'
"

I saw the code like this:
custom_nodes_path=os.path.join(custom_nodes_path,'AIGODLIKE-ComfyUI-Translation')
custom_nodes_path=os.path.join(custom_nodes_path,Config().base['language'],'Nodes') 

Was it because I didn't install AIGODLIKE-ComfyUI-Translation? But I didn't want it. How can this be solved?
yanlang0123 commented 2 weeks ago

This file adds the configuration of the configuration screenshot

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2024年8月31日(星期六) 晚上8:47 收件人: @.>; 抄送: @.***>; 主题: [yanlang0123/ComfyUI_Lam] KeyError: 'language' (Issue #2)

" 文件"K:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_Lam\py\ForEnd.py",第7行,在 从.WeChatAuth导入 prompt 为 promptFun 文件"K:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_Lam\py\WeChatAuth.py",803号线,在 custom_nodes_path=os.path.join(custom_nodes_path,Config().base['language'],'Nodes')


关键字错误:'language'
"

我看到的代码是这样的:
custom_nodes_path=os.path.join(custom_nodes_path,'AIGODLIKE-ComfyUI-Translation')
custom_nodes_path=os.path.join(custom_nodes_path,Config().base['language'],'Nodes')

是因为我没有安装AIGOLD LIKE-Comfy UI-Translation吗?但我不想要。这个怎么解决呢

-
直接回复这封邮件,在GitHub上查看,或取消订阅.
***@***.*** >
deepfree2023 commented 2 weeks ago

是需要AIGODLIKE-ComfyUI-Translation的哪个具体文件吗?不想安装这个node。

yanlang0123 commented 2 weeks ago

保留这些文件就可以了

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2024年8月31日(星期六) 晚上10:38 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [yanlang0123/ComfyUI_Lam] KeyError: 'language' (Issue #2)

是需要AIGODLIKE-ComfyUI-Translation的哪个具体文件吗?不想安装这个node。

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