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.1k stars 78 forks source link

Cannot import \ComfyUI\custom_nodes\ComfyUI-Easy-Use module for custom nodes: 'STABILITY_API_DEFAULT'` #338

Closed falcon204 closed 3 months ago

falcon204 commented 3 months ago

Started since I did a ComfyUi update. I tried the reinstall, uninstall with no effects. Same issue.

`Traceback (most recent call last): File "G:\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1993, in load_custom_node module_spec.loader.exec_module(module) File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "G:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Easy-Use__init.py", line 21, in imported_module = importlib.import_module(".py.{}".format(module_name), name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "importlib__init__.py", line 126, in import_module File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "G:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Easy-Use\py\easyNodes.py", line 7549, in from .libs.stability import stableAPI File "G:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Easy-Use\py\libs\stability.py", line 155, in stableAPI = StabilityAPI() ^^^^^^^^^^^^^^ File "G:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Easy-Use\py\libs\stability.py", line 22, in init__ self.getAPIKeys() File "G:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Easy-Use\py\libs\stability.py", line 48, in getAPIKeys self.api_current = data['STABILITY_API_DEFAULT']


KeyError: 'STABILITY_API_DEFAULT'

Cannot import G:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Easy-Use module for custom nodes: 'STABILITY_API_DEFAULT'`
yolain commented 3 months ago

Does your comfyUI folder not have write access to the file

falcon204 commented 3 months ago

Yep I even tried to remove the access then reenabling access. Still same error since updating comfUi

Screenshot 2024-08-21 192710

falcon204 commented 3 months ago

Ok it's working now. I removed access then reenabled access to the folder. Then in manager I uninstalled the [ComfyUI Easy Use] then reinstalled . Fixed. So weird how update messed it all up with no system changes 🤷‍♂️

Thanks for all you do @yolain .. Can't do without my ComfyUI Easy Use nodes ;)