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

Exception in thread Thread-2 (Worker) #169

Open
jordanbr20 opened this issue Sep 4, 2024 · 3 comments
Open

Exception in thread Thread-2 (Worker) #169

jordanbr20 opened this issue Sep 4, 2024 · 3 comments

Comments

@jordanbr20
Copy link

Exception in thread Thread-2 (worker):
Traceback (most recent call last):
File "threading.py", line 1016, in _bootstrap_inner
File "threading.py", line 953, in run
File "C:\Users\USER\Desktop\RuinedFooocus_win64_1-25-2\RuinedFooocus\modules\async_worker.py", line 34, in worker
import modules.pipelines
File "C:\Users\USER\Desktop\RuinedFooocus_win64_1-25-2\RuinedFooocus\modules\pipelines.py", line 4, in
import modules.sdxl_pipeline as sdxl_pipeline
File "C:\Users\USER\Desktop\RuinedFooocus_win64_1-25-2\RuinedFooocus\modules\sdxl_pipeline.py", line 34, in
from comfy.sample import (
ImportError: cannot import name 'convert_cond' from 'comfy.sample' (C:\Users\USER\Desktop\RuinedFooocus_win64_1-25-2\RuinedFooocus\repositories\ComfyUI-from-StabilityAI-Official\comfy\sample.py)
Running on local URL: http://127.0.0.1:7861

@jordanbr20
Copy link
Author

jordanbr20 commented Sep 4, 2024

Fresh install, extracted, batch didn't work so replaced the below, right run as admin (tried not running as admin also), get this.

.\python_embeded\python.exe -s .\RuinedFooocus\entry_with_update.py

C:\Users\USER\Desktop\RuinedFooocus_win64_1-25-2\python_embeded\python.exe -s C:\Users\USER\Desktop\RuinedFooocus_win64_1-25-2\RuinedFooocus\entry_with_update.py

@yownas
Copy link
Collaborator

yownas commented Sep 4, 2024

Hm. Can you try moving the folder somewhere that isn't under c:\Users\USER? I've seen people having issues having their webui's there. Making a folder like c:\AI should work fine.

@jordanbr20
Copy link
Author

Same thing. ( I also updated the run.bat )

C:\AI\python_embeded\python.exe -s C:\AI\RuinedFooocus\entry_with_update.py

Using xformers cross attention
Exception in thread Thread-2 (worker):
Traceback (most recent call last):
File "threading.py", line 1016, in _bootstrap_inner
File "threading.py", line 953, in run
File "C:\AI\RuinedFooocus\modules\async_worker.py", line 34, in worker
import modules.pipelines
File "C:\AI\RuinedFooocus\modules\pipelines.py", line 4, in
import modules.sdxl_pipeline as sdxl_pipeline
File "C:\AI\RuinedFooocus\modules\sdxl_pipeline.py", line 34, in
from comfy.sample import (
ImportError: cannot import name 'convert_cond' from 'comfy.sample' (C:\AI\RuinedFooocus\repositories\ComfyUI-from-StabilityAI-Official\comfy\sample.py)
Running on local URL: http://127.0.0.1:7860

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

2 participants