yolain / ComfyUI-Easy-Use

In order to make it easier to use the ComfyUI, I have made some optimizations and integrations to some commonly used nodes.
GNU General Public License v3.0
1.07k stars 75 forks source link

UnboundLocalError: local variable 'files_list' referenced before assignment #497

Open metercai opened 3 weeks ago

metercai commented 3 weeks ago

[Comfyd] [ERROR] An error occurred while retrieving information for the 'easy XYPlotAdvanced' node. [Comfyd] Traceback (most recent call last): File "/home/ubuntu/llmlab/drawing/SimpleSDXL/comfy/server.py", line 564, in get_object_info out[x] = node_info(x) File "/home/ubuntu/llmlab/drawing/SimpleSDXL/comfy/server.py", line 531, in node_info info['input'] = obj_class.INPUT_TYPES() File "/home/ubuntu/llmlab/drawing/SimpleSDXL/comfy/custom_nodes/ComfyUI-Easy-Use/py/easyNodes.py", line 7365, in INPUT_TYPES "font": (["None"] + files_list,) UnboundLocalError: local variable 'files_list' referenced before assignment

metercai commented 3 weeks ago

line 7350: flies_list = [] change to : files_list = []