ComfyUI-Custom-Scripts icon indicating copy to clipboard operation
ComfyUI-Custom-Scripts copied to clipboard

Lora Loader causes error

Open schoenid opened this issue 1 year ago • 1 comments

After placement of the Lora Loader I've got an error:

Error handling request
Traceback (most recent call last):
  File "G:\SD\Packages\ComfyUI\venv\lib\site-packages\aiohttp\web_protocol.py", line 462, in _handle_request
    resp = await request_handler(request)
  File "G:\SD\Packages\ComfyUI\venv\lib\site-packages\aiohttp\web_app.py", line 537, in _handle
    resp = await handler(request)
  File "G:\SD\Packages\ComfyUI\venv\lib\site-packages\aiohttp\web_middlewares.py", line 114, in impl
    return await handler(request)
  File "G:\SD\Packages\ComfyUI\server.py", line 61, in cache_control
    response: web.Response = await handler(request)
  File "G:\SD\Packages\ComfyUI\server.py", line 73, in cors_middleware
    response = await handler(request)
  File "G:\SD\Packages\ComfyUI\custom_nodes\ComfyUI-Custom-Scripts\py\better_combos.py", line 58, in get_examples
    pos = name.index("/")
ValueError: substring not found

ComfyUI v0.2.2 Release ComfyUI: 2652(0c7c98)(2024-09-05) Manager: V2.51

schoenid avatar Sep 27 '24 16:09 schoenid

Try this solution: https://github.com/pythongosssss/ComfyUI-Custom-Scripts/issues/332#issuecomment-2369798042

CloudWalker-II avatar Oct 06 '24 19:10 CloudWalker-II