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

AttributeError: 'NoneType' object has no attribute 'lower' #105

Open
axiomgraph opened this issue Jan 13, 2025 · 2 comments
Open

AttributeError: 'NoneType' object has no attribute 'lower' #105

axiomgraph opened this issue Jan 13, 2025 · 2 comments

Comments

@axiomgraph
Copy link

Traceback (most recent call last):
File "C:\Users\xxx\MagicQuill\gradio_run.py", line 25, in
scribbleColorEditModel = ScribbleColorEditModel()
File "C:\Users\xxx\MagicQuill\MagicQuill\scribble_color_edit.py", line 29, in init
self.model, self.clip, self.vae = self.checkpoint_loader.load_checkpoint(self.ckpt_name)
File "C:\Users\xxx\MagicQuill\MagicQuill\comfyui_utils.py", line 85, in load_checkpoint
out = comfy.sd.load_checkpoint_guess_config(ckpt_path, output_vae=True, output_clip=True, embedding_directory=folder_paths.get_folder_paths("embeddings"))
File "C:\Users\xxx\MagicQuill\MagicQuill\comfy\sd.py", line 498, in load_checkpoint_guess_config
sd = comfy.utils.load_torch_file(ckpt_path)
File "C:\Users\xxx\MagicQuill\MagicQuill\comfy\utils.py", line 13, in load_torch_file
if ckpt.lower().endswith(".safetensors"):
AttributeError: 'NoneType' object has no attribute 'lower'

@balorhot
Copy link

I'm getting the same thing

@balorhot
Copy link

The problem was due to using a corrupted models directory.
It worked OK after successfully downloading models.zip ( after about 12 attempts)

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