You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It was working fine until the update. But now this.
Exception:
KeyError
Python 3.10.7: D:\Graphics\Krita (x64)\bin\krita.exe
Tue Nov 19 20:18:55 2024
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
C:\Users\lintp\AppData\Roaming\krita\pykrita\ai_diffusion\ui\settings.py in show(self=<ai_diffusion.ui.settings.SettingsDialog object>, style=False)
854
855 def show(self, style: Optional[Style] = None):
856 self.read()
857 self.connection.update_ui()
858 super().show()
self = <ai_diffusion.ui.settings.SettingsDialog object>
self.read = <bound method SettingsDialog.read of <ai_diffusion.ui.settings.SettingsDialog object>>
C:\Users\lintp\AppData\Roaming\krita\pykrita\ai_diffusion\ui\settings.py in read(self=<ai_diffusion.ui.settings.SettingsDialog object>)
841
842 def read(self):
843 self.connection.read()
844 self.styles.read()
845 self.diffusion.read()
self = <ai_diffusion.ui.settings.SettingsDialog object>
self.connection = <ai_diffusion.ui.settings.ConnectionSettings object>
self.connection.read = <bound method SettingsTab.read of <ai_diffusion.ui.settings.ConnectionSettings object>>
C:\Users\lintp\AppData\Roaming\krita\pykrita\ai_diffusion\ui\settings_widgets.py in read(self=<ai_diffusion.ui.settings.ConnectionSettings object>)
436 for name, widget in self._widgets.items():
437 widget.value = getattr(settings, name)
438 self._read()
439
440 def _write(self):
self = <ai_diffusion.ui.settings.ConnectionSettings object>
self._read = <bound method ConnectionSettings._read of <ai_diffusion.ui.settings.ConnectionSettings object>>
C:\Users\lintp\AppData\Roaming\krita\pykrita\ai_diffusion\ui\settings.py in _read(self=<ai_diffusion.ui.settings.ConnectionSettings object>)
308
309 def _read(self):
310 self.server_mode = settings.server_mode
311 self._server_url.setText(settings.server_url)
312
self = <ai_diffusion.ui.settings.ConnectionSettings object>
self.server_mode = <ServerMode.undefined: -1>
global settings = <ai_diffusion.settings.Settings object>
settings.server_mode = <ServerMode.undefined: -1>
C:\Users\lintp\AppData\Roaming\krita\pykrita\ai_diffusion\ui\settings.py in server_mode(self=<ai_diffusion.ui.settings.ConnectionSettings object>, mode=<ServerMode.undefined: -1>)
297 self._server_managed.setChecked(mode is ServerMode.managed)
298 self._server_external.setChecked(mode is ServerMode.external)
299 widget = {
300 ServerMode.cloud: self._cloud_widget,
301 ServerMode.managed: self._server_widget,
widget undefined
global ServerMode = <enum 'ServerMode'>
ServerMode.cloud = <ServerMode.cloud: 2>
self = <ai_diffusion.ui.settings.ConnectionSettings object>
self._cloud_widget = <ai_diffusion.ui.settings.CloudWidget object>
ServerMode.managed = <ServerMode.managed: 0>
self._server_widget = <ai_diffusion.ui.server.ServerWidget object>
ServerMode.external = <ServerMode.external: 1>
self._connection_widget = <PyQt5.QtWidgets.QWidget object>
mode = <ServerMode.undefined: -1>
KeyError: <ServerMode.undefined: -1>
__cause__ = None
__class__ = <class 'KeyError'>
__context__ = None
__delattr__ = <method-wrapper '__delattr__' of KeyError object>
__dict__ = {}
__dir__ = <built-in method __dir__ of KeyError object>
__doc__ = 'Mapping key not found.'
__eq__ = <method-wrapper '__eq__' of KeyError object>
__format__ = <built-in method __format__ of KeyError object>
__ge__ = <method-wrapper '__ge__' of KeyError object>
__getattribute__ = <method-wrapper '__getattribute__' of KeyError object>
__gt__ = <method-wrapper '__gt__' of KeyError object>
__hash__ = <method-wrapper '__hash__' of KeyError object>
__init__ = <method-wrapper '__init__' of KeyError object>
__init_subclass__ = <built-in method __init_subclass__ of type object>
__le__ = <method-wrapper '__le__' of KeyError object>
__lt__ = <method-wrapper '__lt__' of KeyError object>
__ne__ = <method-wrapper '__ne__' of KeyError object>
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of KeyError object>
__reduce_ex__ = <built-in method __reduce_ex__ of KeyError object>
__repr__ = <method-wrapper '__repr__' of KeyError object>
__setattr__ = <method-wrapper '__setattr__' of KeyError object>
__setstate__ = <built-in method __setstate__ of KeyError object>
__sizeof__ = <built-in method __sizeof__ of KeyError object>
__str__ = <method-wrapper '__str__' of KeyError object>
__subclasshook__ = <built-in method __subclasshook__ of type object>
__suppress_context__ = False
__traceback__ = <traceback object>
args = (<ServerMode.undefined: -1>,)
with_traceback = <built-in method with_traceback of KeyError object>
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "C:\Users\lintp\AppData\Roaming\krita\pykrita\ai_diffusion\ui\settings.py", line 856, in show
self.read()
File "C:\Users\lintp\AppData\Roaming\krita\pykrita\ai_diffusion\ui\settings.py", line 843, in read
self.connection.read()
File "C:\Users\lintp\AppData\Roaming\krita\pykrita\ai_diffusion\ui\settings_widgets.py", line 438, in read
self._read()
File "C:\Users\lintp\AppData\Roaming\krita\pykrita\ai_diffusion\ui\settings.py", line 310, in _read
self.server_mode = settings.server_mode
File "C:\Users\lintp\AppData\Roaming\krita\pykrita\ai_diffusion\ui\settings.py", line 299, in server_mode
widget = {
KeyError: <ServerMode.undefined: -1>
And some of this:
2024-11-19 20:18:40,477 INFO Loaded 11 sampler presets from C:\Users\lintp\AppData\Roaming\krita\pykrita\ai_diffusion\presets\samplers.json
2024-11-19 20:18:40,637 INFO Extension initialized, Version: 1.28.1, Python: 3.10.7 (tags/v3.10.7:6cc6b13, Sep 5 2022, 14:08:36) [MSC v.1933 64 bit (AMD64)]
2024-11-19 20:18:40,892 INFO Checking for latest plugin version at https://api.interstice.cloud
2024-11-19 20:18:44,049 INFO Connecting to http://127.0.0.1:8188
2024-11-19 20:18:44,295 INFO Plugin is up to date!
2024-11-19 20:18:49,233 INFO Found Text Encoder model clip_l for All: clip_l.safetensors
2024-11-19 20:18:49,234 INFO Optional Text Encoder model clip_g for All not found (search path: clip_g)
2024-11-19 20:18:49,234 INFO Found Text Encoder model t5 for All: t5xxl_fp16.safetensors
2024-11-19 20:18:49,239 INFO Found Text Encoder model clip_l for All: clip_l.safetensors
2024-11-19 20:18:49,239 INFO Optional Text Encoder model clip_g for All not found (search path: clip_g)
2024-11-19 20:18:49,240 INFO Found Text Encoder model t5 for All: t5xxl_fp16.safetensors
2024-11-19 20:18:49,240 INFO Optional Image Encoder (VAE) model default for SD 1.5 not found (search path: vae-ft-mse-840000-ema)
2024-11-19 20:18:49,240 INFO Found Image Encoder (VAE) model default for SD XL: sdxl_vae.safetensors
2024-11-19 20:18:49,240 INFO Found Image Encoder (VAE) model default for Flux: ae.safetensors
2024-11-19 20:18:49,241 INFO Found ControlNet model inpaint for SD 1.5: ControlNet\control_v11p_sd15_inpaint.pth
2024-11-19 20:18:49,241 INFO Optional ControlNet model inpaint for Flux not found (search path: flux.1-dev-controlnet-inpaint)
2024-11-19 20:18:49,242 INFO Optional ControlNet model universal for SD XL not found (search path: union-sdxl, xinsirunion)
2024-11-19 20:18:49,242 INFO Found ControlNet model scribble for SD 1.5: ControlNet\control_v11p_sd15_scribble.pth
2024-11-19 20:18:49,243 INFO Found ControlNet model scribble for SD XL: ControlNet\sai_xl_sketch_128lora.safetensors
2024-11-19 20:18:49,243 INFO Found ControlNet model line_art for SD 1.5: ControlNet\control_v11p_sd15_lineart.pth
2024-11-19 20:18:49,244 INFO Found ControlNet model line_art for SD XL: ControlNet\sai_xl_sketch_128lora.safetensors
2024-11-19 20:18:49,244 INFO Optional ControlNet model line_art for Flux not found (search path: mistoline_flux)
2024-11-19 20:18:49,245 INFO Found ControlNet model soft_edge for SD 1.5: ControlNet\control_v11p_sd15_softedge.pth
2024-11-19 20:18:49,245 INFO Optional ControlNet model soft_edge for SD XL not found (search path: mistoline_fp16, mistoline_rank, xinsirscribble, scribble-sdxl)
2024-11-19 20:18:49,246 INFO Optional ControlNet model soft_edge for Flux not found (search path: mistoline_flux)
2024-11-19 20:18:49,246 INFO Found ControlNet model canny_edge for SD 1.5: ControlNet\control_v11p_sd15_canny.pth
2024-11-19 20:18:49,247 INFO Found ControlNet model canny_edge for SD XL: ControlNet\sai_xl_canny_128lora.safetensors
2024-11-19 20:18:49,247 INFO Optional ControlNet model canny_edge for Flux not found (search path: flux-canny, mistoline_flux)
2024-11-19 20:18:49,248 INFO Found ControlNet model depth for SD 1.5: ControlNet\control_v11f1p_sd15_depth.pth
2024-11-19 20:18:49,248 INFO Found ControlNet model depth for SD XL: ControlNet\sai_xl_depth_128lora.safetensors
2024-11-19 20:18:49,248 INFO Optional ControlNet model depth for Flux not found (search path: flux-depth)
2024-11-19 20:18:49,249 INFO Found ControlNet model normal for SD 1.5: ControlNet\control_v11p_sd15_normalbae.pth
2024-11-19 20:18:49,249 INFO Found ControlNet model pose for SD 1.5: ControlNet\control_v11p_sd15_openpose.pth
2024-11-19 20:18:49,250 INFO Found ControlNet model pose for SD XL: T2IAdapter\t2i-adapter-openpose-sdxl-1.0\diffusion_pytorch_model.safetensors
2024-11-19 20:18:49,250 INFO Found ControlNet model segmentation for SD 1.5: ControlNet\control_v11p_sd15_seg.pth
2024-11-19 20:18:49,251 INFO Optional ControlNet model segmentation for SD XL not found (search path: sdxl_segmentation_ade20k_controlnet)
2024-11-19 20:18:49,251 INFO Found ControlNet model blur for SD 1.5: ControlNet\control_v11f1e_sd15_tile.pth
2024-11-19 20:18:49,252 INFO Optional ControlNet model blur for SD XL not found (search path: xinsirtile, tile-sdxl, ttplanetsdxlcontrolnet, ttplanet_sdxl_controlnet_tile_realistic, ttplanet_controlnet_tile_realistic)
2024-11-19 20:18:49,252 INFO Optional ControlNet model blur for Flux not found (search path: flux.1-dev-controlnet-upscale)
2024-11-19 20:18:49,252 INFO Optional ControlNet model stencil for SD 1.5 not found (search path: control_v1p_sd15_qrcode_monster)
2024-11-19 20:18:49,253 INFO Optional ControlNet model stencil for SD XL not found (search path: sdxl_qrcode_monster)
2024-11-19 20:18:49,253 INFO Optional ControlNet model hands for SD 1.5 not found (search path: control_sd15_inpaint_depth_hand)
2024-11-19 20:18:49,254 INFO Found ControlNet model hands for SD XL: ControlNet\sai_xl_depth_128lora.safetensors
2024-11-19 20:18:49,254 INFO Found CLIP Vision model ip_adapter for All: clip-vision_vit-h.safetensors
2024-11-19 20:18:49,254 INFO Found IP-Adapter model reference for SD 1.5: sd15\ip-adapter_sd15.safetensors
2024-11-19 20:18:49,254 INFO Found IP-Adapter model reference for SD XL: base\ip-adapter_sdxl_vit-h.safetensors
2024-11-19 20:18:49,255 INFO Found IP-Adapter model face for SD 1.5: sd15\ip-adapter-faceid-plusv2_sd15.bin
2024-11-19 20:18:49,255 INFO Optional IP-Adapter model face for SD XL not found (search path: ip-adapter-faceid-plusv2_sdxl, ip-adapter-faceid_sdxl)
2024-11-19 20:18:49,255 INFO Found Upscale model default for All: 4x_NMKD-Superscale-SP_178000_G.pth
2024-11-19 20:18:49,256 INFO Found Upscale model fast_2x for All: OmniSR_X2_DIV2K.safetensors
2024-11-19 20:18:49,256 INFO Found Upscale model fast_3x for All: OmniSR_X3_DIV2K.safetensors
2024-11-19 20:18:49,256 INFO Found Upscale model fast_4x for All: OmniSR_X4_DIV2K.safetensors
2024-11-19 20:18:49,256 INFO Found Inpaint model default for All: MAT_Places512_G_fp16.safetensors
2024-11-19 20:18:49,257 INFO Found Inpaint model fooocus_head for SD XL: fooocus_inpaint_head.pth
2024-11-19 20:18:49,257 WARNING Missing Inpaint model fooocus_patch for SD XL
2024-11-19 20:18:49,257 INFO -> No model matches search paths: inpaint_v26.fooocus
2024-11-19 20:18:49,257 INFO -> Available models: mat_places512_g_fp16.safetensors, places_512_fulldata_g.pth, big-lama.pt, fooocus_inpaint_head.pth, fooocus_lama.safetensors
2024-11-19 20:18:49,258 INFO Found LoRA model hyper for SD 1.5: Hyper-SD15-8steps-CFG-lora.safetensors
2024-11-19 20:18:49,259 INFO Found LoRA model hyper for SD XL: Hyper-SDXL-8steps-CFG-lora.safetensors
2024-11-19 20:18:49,260 INFO Found LoRA model lcm for SD 1.5: lcm\SD1.5\pytorch_lora_weights.safetensors
2024-11-19 20:18:49,261 INFO Found LoRA model lcm for SD XL: lcm-lora-sdxl.safetensors
2024-11-19 20:18:49,262 INFO Found LoRA model face for SD 1.5: ip-adapter-faceid-plusv2_sd15_lora.safetensors
2024-11-19 20:18:49,263 INFO Found LoRA model face for SD XL: ip-adapter-faceid-plusv2_sdxl_lora.safetensors
2024-11-19 20:18:49,264 INFO Found LoRA model lightning for SD XL: sdxl_lightning_8step_lora.safetensors
2024-11-19 20:18:55,411 INFO GGUF support: 1 models found.
2024-11-19 20:18:55,412 INFO SD 1.5: supported
2024-11-19 20:18:55,412 INFO SD XL: missing 1 models
2024-11-19 20:18:55,412 INFO SD 3: missing 1 models
2024-11-19 20:18:55,413 INFO Flux: supported
🤷♂️
My head hurts and I'm going to bed.
The text was updated successfully, but these errors were encountered:
2024-11-19 20:18:49,257 WARNING Missing Inpaint model fooocus_patch for SD XL
2024-11-19 20:18:49,257 INFO -> No model matches search paths: inpaint_v26.fooocus
It can't find inpaint_v26.fooocus.patch, is this managed or custom ComfyUI install? It seems to be a common issue for various reaons
It is custom and installed/updated through Stability Matrix. Looked at #872,#22,#66, I have the inpaint_v26.fooocus.patch file in the models/inpaint but also don't have any of the ComfyUI Fooocus Custom Nodes going on... but I have been trying to get AIGODLIKE's Blender Extention and nodes to work, being the most recent thing I've changed, and it tries to put it's files in but has an access violation on my system... so I'll probably look there for weirdness next.
Seems like disabling and re-enabling [ComfyUI Inpaint Nodes] was all it needed, thought I had tried it the other night but found out trying to restart ComfyUI server from the Manager bugs Stability Matrix's server so that probably prevented it from loading properly the other night when I found that bug. (Seems to start another server without StabMat knowing it internally and sometimes trying to start it again after the call to restart from ComfyUI itself, then sometimes makes another server on port 8189. Just incase anyone runs into the issue in StabMat, you have to restart from their console always and restart the whole app if it bugs on you to clear the duplicate server problems.)
It was working fine until the update. But now this.
Exception:
And some of this:
🤷♂️
My head hurts and I'm going to bed.
The text was updated successfully, but these errors were encountered: