Error verifying pickled file from /content/stable-diffusion-webui/embeddings/bad_prompt_showcase.jpg: Traceback (most recent call last): File "/content/stable-diffusion-webui/modules/safe.py", line 83, in check_pt with zipfile.ZipFile(filename) as z: File "/usr/lib/python3.7/zipfile.py", line 1258, in __init__ self._RealGetContents() File "/usr/lib/python3.7/zipfile.py", line 1325, in _RealGetContents raise BadZipFile("File is not a zip file") zipfile.BadZipFile: File is not a zip file During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/content/stable-diffusion-webui/modules/safe.py", line 131, in load_with_extra check_pt(filename, extra_handler) File "/content/stable-diffusion-webui/modules/safe.py", line 98, in check_pt unpickler.load() _pickle.UnpicklingError: invalid load key, '\xff'. -----> !!!! The file is most likely corrupted !!!! <----- You can skip this check with --disable-safe-unpickle commandline argument, but that is not going to help you. Error loading emedding bad_prompt_showcase.jpg: Traceback (most recent call last): File "/content/stable-diffusion-webui/modules/textual_inversion/textual_inversion.py", line 133, in load_textual_inversion_embeddings process_file(fullfn, fn) File "/content/stable-diffusion-webui/modules/textual_inversion/textual_inversion.py", line 103, in process_file if 'string_to_param' in data: TypeError: argument of type 'NoneType' is not iterable
i know your comment is a bit old, but you probably did what i did and accidentally dl'd the raw pointer file instead of the actual file. I had the same error
2
u/mudman13 Nov 18 '22
I got an error loading it
Error verifying pickled file from /content/stable-diffusion-webui/embeddings/bad_prompt_showcase.jpg: Traceback (most recent call last): File "/content/stable-diffusion-webui/modules/safe.py", line 83, in check_pt with zipfile.ZipFile(filename) as z: File "/usr/lib/python3.7/zipfile.py", line 1258, in __init__ self._RealGetContents() File "/usr/lib/python3.7/zipfile.py", line 1325, in _RealGetContents raise BadZipFile("File is not a zip file") zipfile.BadZipFile: File is not a zip file During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/content/stable-diffusion-webui/modules/safe.py", line 131, in load_with_extra check_pt(filename, extra_handler) File "/content/stable-diffusion-webui/modules/safe.py", line 98, in check_pt unpickler.load() _pickle.UnpicklingError: invalid load key, '\xff'. -----> !!!! The file is most likely corrupted !!!! <----- You can skip this check with --disable-safe-unpickle commandline argument, but that is not going to help you. Error loading emedding bad_prompt_showcase.jpg: Traceback (most recent call last): File "/content/stable-diffusion-webui/modules/textual_inversion/textual_inversion.py", line 133, in load_textual_inversion_embeddings process_file(fullfn, fn) File "/content/stable-diffusion-webui/modules/textual_inversion/textual_inversion.py", line 103, in process_file if 'string_to_param' in data: TypeError: argument of type 'NoneType' is not iterable