Skip to content
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

Error. No naistyles.csv found when connect comfyui web #3463

Open
eilinge opened this issue May 13, 2024 · 6 comments
Open

Error. No naistyles.csv found when connect comfyui web #3463

eilinge opened this issue May 13, 2024 · 6 comments

Comments

@eilinge
Copy link

eilinge commented May 13, 2024

"Error. No naistyles.csv found" when running comfyui, how to fix it? Since importing a production flow about clay and installing the missing nodes, comfyui can start normally, but this error will be reported when connecting to comfyui web.

@shawnington
Copy link
Contributor

"naistyles.csv" is not part of comfy it is related to one of your nodes, or is saved in the workflow somehow. Please go through the nodes in your workflow and consult the github's of the appropriate creators.

@eilinge
Copy link
Author

eilinge commented May 13, 2024

This problem also occurs when I clear the workflow. This error log does not indicate which node is causing it.

@eilinge
Copy link
Author

eilinge commented May 13, 2024

This error indicates that naisytles.csv needs to be placed in the ComfyUI-NAI_mod/CSV node, but the custom node is not found in github.

@shawnington
Copy link
Contributor

shawnington commented May 13, 2024

This problem also occurs when I clear the workflow. This error log does not indicate which node is causing it.

There is no "naistyles.csv" in the comfy repo. Unfortunately errors are not always helpful. It is related to one of your nodes, they are created by individual people, and not part of an official repository that adhereds to a rigorous standard. We are looking into improving this however, Ive been told.

The best we can do for you is tell you to check the github's of all nodes you are using and see if any of them have that file, and if you post which repo and the complete error text, I will try and resolve it, even though it should technically be an issue on the offending nodes GitHub.

Some times people do remove nodes from their packs without depreciating them, and if you updated, you are kinda out of luck unless you manually reinstall the previous version that had the node.

@mskiller
Copy link

this issue come from ComfyUI-Universal-Styler, uninstall it you should be fine.

@sugarkwork
Copy link

I am experiencing the same issue.
It seems to be a message from the ComfyUI-Universal-Styler node.
Here is the error output code:

https://github.com/KoreTeknology/ComfyUI-Universal-Styler/blob/main/naistyler_nodes.py#L106

The path mentioned in the error and the actual path it is trying to load are different, and it can be seen that the error message is misleading.

If you want to prevent the error, you can do the following:

  1. Create a ComfyUI-NAI-styler directory under the custom_nodes directory.
  2. Create an __init__.py file under the ComfyUI-NAI-styler directory with the following content:
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS']
NODE_CLASS_MAPPINGS = {}
NODE_DISPLAY_NAME_MAPPINGS = {}
  1. Create a CSV directory under the ComfyUI-NAI-styler directory .

  2. Create three empty files under the CSV directory:

    naifilters.csv
    naistyles.csv
    naitypes.csv

After restarting ComfyUI, the error should no longer appear.

I couldn't find out what ComfyUI-NAI-styler is. There seems to be no such node.
This might need to be discussed in the ComfyUI-Universal-Styler repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants