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

Bug cloning repo on import workflow #32

Open
jordibass opened this issue Apr 10, 2024 · 4 comments
Open

Bug cloning repo on import workflow #32

jordibass opened this issue Apr 10, 2024 · 4 comments

Comments

@jordibass
Copy link

jordibass commented Apr 10, 2024

as per my log:

[2024-04-10 10:35:09,266: WARNING/ForkPoolWorker-1] Cloning into '/Users/jordi/Comfy_Projects/ipa-comp-style/comfyui/custom_nodes/SDXLAspectRatio.py'...
[2024-04-10 10:35:09,515: WARNING/ForkPoolWorker-1] remote: 404: Not Found
[2024-04-10 10:35:09,517: WARNING/ForkPoolWorker-1] fatal: repository 'https://raw.githubusercontent.com/throttlekitty/SDXLCustomAspectRatio/main/SDXLAspectRatio.py/' not found
[2024-04-10 10:35:09,933: DEBUG/MainProcess] Timer wake-up! Next ETA 1.0 secs.
[2024-04-10 10:35:10,934: DEBUG/MainProcess] Timer wake-up! Next ETA 0.9986971669999889 secs.
127.0.0.1 - - [10/Apr/2024 10:35:11] "GET /api/projects HTTP/1.1" 200 -
[2024-04-10 10:35:11,938: DEBUG/MainProcess] Timer wake-up! Next ETA 1.0 secs.
[2024-04-10 10:35:12,943: DEBUG/MainProcess] Timer wake-up! Next ETA 0.9948857089999876 secs.
[2024-04-10 10:35:13,940: DEBUG/MainProcess] Timer wake-up! Next ETA 1.0 secs.
[2024-04-10 10:35:14,945: DEBUG/MainProcess] Timer wake-up! Next ETA 0.9948670000000277 secs.
[2024-04-10 10:35:15,945: DEBUG/MainProcess] Timer wake-up! Next ETA 1.0 secs.
[2024-04-10 10:35:16,950: DEBUG/MainProcess] Timer wake-up! Next ETA 0.9948556250000138 secs.
[2024-04-10 10:35:17,946: DEBUG/MainProcess] Timer wake-up! Next ETA 1.0 secs.
[2024-04-10 10:35:18,948: DEBUG/MainProcess] Timer wake-up! Next ETA 0.9982914169999901 secs.
[2024-04-10 10:35:19,952: DEBUG/MainProcess] Timer wake-up! Next ETA 1.0 secs.
[2024-04-10 10:35:20,070: ERROR/ForkPoolWorker-1] Task tasks.create_comfyui_project[56a40d8f-4bab-4973-b1fb-4e03c2304400] raised unexpected: AssertionError()
Traceback (most recent call last):
  File "/Users/jordi/comfyui-launcher/venv/lib/python3.9/site-packages/celery/app/trace.py", line 477, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/Users/jordi/comfyui-launcher/server/server.py", line 36, in __call__
    return self.run(*args, **kwargs)
  File "/Users/jordi/comfyui-launcher/server/tasks.py", line 89, in create_comfyui_project
    setup_custom_nodes_from_snapshot(project_folder_path, launcher_json)
  File "/Users/jordi/comfyui-launcher/server/utils.py", line 220, in setup_custom_nodes_from_snapshot
    run_command(["git", "clone", custom_node_repo_url, custom_node_path, "--recursive"])
  File "/Users/jordi/comfyui-launcher/server/utils.py", line 112, in run_command
    assert process.wait() == 0
AssertionError
[2024-04-10 10:35:20,954: DEBUG/MainProcess] Timer wake-up! Next ETA 0.9975047500000187 secs.
127.0.0.1 - - [10/Apr/2024 10:35:21] "GET /api/projects HTTP/1.1" 200 -

the main problem it tries to clone 'https://raw.githubusercontent.com/throttlekitty/SDXLCustomAspectRatio/main/SDXLAspectRatio.py/' with the / at the end causing an exception.

the workflow I try to import
IPA Comp+Style.json

@HASAN3DG
Copy link

HASAN3DG commented Apr 10, 2024

same +1

https://drive.google.com/file/d/1hth5KX9V6Le7jl3s4_bGNu8giFd3Uzyn/view?usp=sharing

@abess96
Copy link

abess96 commented Apr 15, 2024

I am also facing this issue

@altarofwisdom
Copy link

Got this error as well, runnning on M1 Sonoma, importing anything fails...
[2024-07-28 22:00:55,810: ERROR/ForkPoolWorker-2] Task tasks.create_comfyui_project[9a85870c-6712-4a87-b62e-316e22fff9cf] raised unexpected: AssertionError()
Traceback (most recent call last):
File "/Users/yoto/Projects/comfyui-launcher/venv/lib/python3.12/site-packages/celery/app/trace.py", line 477, in trace_task
R = retval = fun(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^
File "/Users/yoto/Projects/comfyui-launcher/server/server.py", line 36, in call
return self.run(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/yoto/Projects/comfyui-launcher/server/tasks.py", line 89, in create_comfyui_project
setup_custom_nodes_from_snapshot(project_folder_path, launcher_json)
File "/Users/yoto/Projects/comfyui-launcher/server/utils.py", line 228, in setup_custom_nodes_from_snapshot
run_command_in_project_venv(
File "/Users/yoto/Projects/comfyui-launcher/server/utils.py", line 146, in run_command_in_project_venv
run_command(command)
File "/Users/yoto/Projects/comfyui-launcher/server/utils.py", line 112, in run_command
assert process.wait() == 0
^^^^^^^^^^^^^^^^^^^
AssertionError

@nadalalyafaie
Copy link

I am also experiencing this same issue

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

5 participants