Open duskfallcrew opened 1 year ago
OK so i did a roll back and this is the errors i get:
Additional Network extension not installed, Only hijack built-in lora
LoCon Extension hijack built-in lora successfully
[AddNet] Updating model hashes...
0it [00:00, ?it/s]
[AddNet] Updating model hashes...
0it [00:00, ?it/s]
Civitai: API loaded
Error loading script: link.py
Traceback (most recent call last):
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/scripts.py", line 256, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "
Error loading script: settings.py
Traceback (most recent call last):
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/scripts.py", line 256, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "
After this the FIRST time it happened it refused to even connect to NGROK let alone give me a local host URL. upgrading socketIO breaks it entirely, don't even try advanced stuff unless you're the notebook author :P (Aka: leave it to ben!!)
THAT BEING SAID , this time it STILL LOADED BOTH EXTENSIONS, and gave me a LOCAL TUNNEL URL ( Ngrok didn't eve nconnect last time) - Ngrok is still a bit fliffy sometimes, so i go between that andthe local tunnel one ..
it seems to be ok now?
ugh lies, ok it's UP so the notebook's fine mostly but gradio's being a dork agian.
Yea and after closing the tab it does this: Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/gradio/routes.py", line 394, in run_predict output = await app.get_blocks().process_api( File "/usr/local/lib/python3.9/dist-packages/gradio/blocks.py", line 1073, in process_api inputs = self.preprocess_data(fn_index, inputs, state) File "/usr/local/lib/python3.9/dist-packages/gradio/blocks.py", line 962, in preprocess_data processed_input.append(block.preprocess(inputs[i])) IndexError: list index out of range Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/gradio/routes.py", line 394, in run_predict output = await app.get_blocks().process_api( File "/usr/local/lib/python3.9/dist-packages/gradio/blocks.py", line 1073, in process_api inputs = self.preprocess_data(fn_index, inputs, state) File "/usr/local/lib/python3.9/dist-packages/gradio/blocks.py", line 962, in preprocess_data processed_input.append(block.preprocess(inputs[i])) IndexError: list index out of range
I'm getting a similar issue (gradio loading forever), not sure if it's the same or not. I'm getting the following errors in my console:
1862 gave me the answer. Reinstall the affected extensions on each load (delete the directory in gdrive, reload the UI, reinstall the extension. If you have files in the directory, like for dynamic prompting, you might/might not be able to just delete the new dir and restore the old one.
Blah, SO I AHVE TO REHASH 3 hours worth of models again? XD
Blah, SO I AHVE TO REHASH 3 hours worth of models again? XD
Shouldn't be necessary for civitai unofficial, just link your models. If they're not in civitai, you might be able to create a dummy .civitai.info file for it? Not sure how it decides to hash things.
Blah, SO I AHVE TO REHASH 3 hours worth of models again? XD
Shouldn't be necessary for civitai unofficial, just link your models. If they're not in civitai, you might be able to create a dummy .civitai.info file for it? Not sure how it decides to hash things.
Ah, seei 'm running both extensions, i'll just try and clean my model folder up so it doesn't take 20 million years LOL
Found a better solution. Add a new cell with the following just above the Start Stable Diffusion cell, and run it before you run that cell:
#@markdown # Reinstall Extensions
print('\033[1;32mReinstalling Extensions...')
%cd /content/gdrive/MyDrive/sd/stable-diffusion-webui
with capture.capture_output() as cap:
from pathlib import Path
import launch
rootdir = Path('/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions')
file_list = [f for f in rootdir.glob('*/') if not f.is_file()]
for target_dir in file_list:
print(target_dir)
launch.run_extension_installer(target_dir)
%cd /content
clear_output()
inf('\u2714 Done','success', '50px')
This basically iterates over all the extension directories, and re-runs the installer for each. I'm testing this now, and it seems fine - I'm getting errors, but they're not only extension-related; I think they might be from A1111 itself
Traceback (most recent call last): File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 21, in
import pytorch_lightning # pytorch_lightning should be imported after torch, but it re-enables warnings on import so import once to disable them
File "/usr/local/lib/python3.9/dist-packages/pytorch_lightning/init.py", line 34, in
from pytorch_lightning.callbacks import Callback # noqa: E402
File "/usr/local/lib/python3.9/dist-packages/pytorch_lightning/callbacks/init.py", line 14, in
from pytorch_lightning.callbacks.callback import Callback
File "/usr/local/lib/python3.9/dist-packages/pytorch_lightning/callbacks/callback.py", line 25, in
from pytorch_lightning.utilities.types import STEP_OUTPUT
File "/usr/local/lib/python3.9/dist-packages/pytorch_lightning/utilities/init.py", line 18, in
from pytorch_lightning.utilities.apply_func import move_data_to_device # noqa: F401
File "/usr/local/lib/python3.9/dist-packages/pytorch_lightning/utilities/apply_func.py", line 29, in
from pytorch_lightning.utilities.imports import _compare_version, _TORCHTEXT_LEGACY
File "/usr/local/lib/python3.9/dist-packages/pytorch_lightning/utilities/imports.py", line 22, in
import pkg_resources
File "/usr/local/lib/python3.9/dist-packages/pkg_resources.py", line 1479, in
register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'
I'd had an issue where two exetensions blanket screwed up and wouldn't take socket IO so idiot me used pip to install socket IO
<_< then it wont ... literally install ANYTHING or do anyhting.
facepalm I'm preeeettty sure this is my fault for this error, but it was cause it threw a "FROZEN BOOTSTRAP" and "SOCKET IO NOT FOUND" on Civit Ai extensions.
I'm gathering sadly i have to re-reinstall? XD