-
-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An error occurred after updating the plug-in #124
Comments
Same here. Import error in the comfy terminal. I just keep deleting and reinstalling. Not sure what is happening. |
Same error,have you solved it? |
作者的地址写错了,太多了,所以将所有文件复制到新生成文件夹中就可以了 |
能麻烦您讲的细一点吗,将旧的文件夹里的东西复制到新的文件里面吗?还是其他的什么 |
sorry I think it should be solved now |
Just updated with a new issue: [ERROR] An error occurred while retrieving information for the 'IF_ChatPrompt' node. Error loading presets from D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-IF_AI_tools\IF_AI\presets\neg_prompts.json: 'gbk' codec can't decode byte 0x86 in position 185: illegal multibyte sequence Error loading presets from D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-IF_AI_tools\IF_AI\presets\neg_prompts.json: 'gbk' codec can't decode byte 0x86 in position 185: illegal multibyte sequence |
@alex13by did you edit the negative prompts? there must be an error on the format or an emoji some kind of character that is not compatible
Download the neg_prompts.json file again and place it on the presets folder or fix the edit |
@if-ai unfortunately it still doesn't work for me, I can't understand the reason right now, would you please be so kind to give an advice. After resolving the previous error, now I have this (2 next screenshots): |
Yes, that part of the problem has been solved, but there are other problems [ERROR] An error occurred while retrieving information for the 'IF_ChatPrompt' node. D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-mixlab-nodes\webApp\lib/juxtapose.css |
This issue arose after I completely re-cloned it, confirming that no modifications had been made |
@if-ai thank you, will wait. |
Changing the file encoding of assistants.json,neg_prompts.json to GBK encoding can solve the problem. The routine operation is: use notepad to open the error original json file, save as ascii encoding, and then select gbk. |
After the update, two directories with the same name appear in the plug-in directory. Even if the plug-in is uninstalled and re-installed after uninstallation, two directories will appear, but it can start, but the following error message will be displayed:
[ERROR] An error occurred while retrieving information for the 'IF_ChatPrompt' node.
Traceback (most recent call last):
File "D:\AI\ComfyUI_windows_portable\ComfyUI\server.py", line 564, in get_object_info
out[x] = node_info(x)
^^^^^^^^^^^^
File "D:\AI\ComfyUI_windows_portable\ComfyUI\server.py", line 531, in node_info
info['input'] = obj_class.INPUT_TYPES()
^^^^^^^^^^^^^^^^^^^^^^^
File "D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-IF_AI_tools\IFChatPromptNode.py", line 965, in INPUT_TYPES
node = cls()
^^^^^
File "D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-IF_AI_tools\IFChatPromptNode.py", line 382, in init
self.stop_strings = self.load_presets(self.stop_file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-IF_AI_tools\IFChatPromptNode.py", line 423, in load_presets
with open(file_path, 'r') as f:
^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IF_AI_tools\IF_AI\presets\stop_strings.json'
D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-mixlab-nodes\webApp\lib/juxtapose.min.js
D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-mixlab-nodes\webApp\lib/juxtapose.css
[ERROR] An error occurred while retrieving information for the 'IF_ChatPrompt' node.
Traceback (most recent call last):
File "D:\AI\ComfyUI_windows_portable\ComfyUI\server.py", line 564, in get_object_info
out[x] = node_info(x)
^^^^^^^^^^^^
File "D:\AI\ComfyUI_windows_portable\ComfyUI\server.py", line 531, in node_info
info['input'] = obj_class.INPUT_TYPES()
^^^^^^^^^^^^^^^^^^^^^^^
File "D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-IF_AI_tools\IFChatPromptNode.py", line 965, in INPUT_TYPES
node = cls()
^^^^^
File "D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-IF_AI_tools\IFChatPromptNode.py", line 382, in init
self.stop_strings = self.load_presets(self.stop_file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-IF_AI_tools\IFChatPromptNode.py", line 423, in load_presets
with open(file_path, 'r') as f:
^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IF_AI_tools\IF_AI\presets\stop_strings.json'
The text was updated successfully, but these errors were encountered: