Advertisement
kopyl

Untitled

Jul 25th, 2023
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.78 KB | None | 0 0
  1. root@8ca872a0f38f:/stable-diffusion-webui# python webui.py --port 3000 --api --listen --xformers --enable-insecure-extension-access --ui-debug-mode --ckpt-dir /workspace/sd-models --controlnet-dir /workspace/cn-models --controlnet-annotator-models-path /workspace/cn-annotator
  2. *** Error loading script: api.py
  3. Traceback (most recent call last):
  4. File "/stable-diffusion-webui/modules/scripts.py", line 295, in load_scripts
  5. script_module = script_loading.load_module(scriptfile.path)
  6. File "/stable-diffusion-webui/modules/script_loading.py", line 10, in load_module
  7. module_spec.loader.exec_module(module)
  8. File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  9. File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  10. File "/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/api.py", line 8, in <module>
  11. from modules.api.models import *
  12. File "/stable-diffusion-webui/modules/api/models.py", line 112, in <module>
  13. ).generate_model()
  14. File "/stable-diffusion-webui/modules/api/models.py", line 97, in generate_model
  15. DynamicModel.__config__.allow_population_by_field_name = True
  16. File "/usr/local/lib/python3.10/dist-packages/pydantic/_internal/_model_construction.py", line 205, in __getattr__
  17. raise AttributeError(item)
  18. AttributeError: __config__
  19.  
  20. ---
  21. *** Error loading script: batch_hijack.py
  22. Traceback (most recent call last):
  23. File "/stable-diffusion-webui/modules/scripts.py", line 295, in load_scripts
  24. script_module = script_loading.load_module(scriptfile.path)
  25. File "/stable-diffusion-webui/modules/script_loading.py", line 10, in load_module
  26. module_spec.loader.exec_module(module)
  27. File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  28. File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  29. File "/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/batch_hijack.py", line 7, in <module>
  30. from scripts import external_code
  31. File "/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/external_code.py", line 1, in <module>
  32. from internal_controlnet.external_code import *
  33. File "/stable-diffusion-webui/extensions/sd-webui-controlnet/internal_controlnet/external_code.py", line 9, in <module>
  34. from modules.api import api
  35. File "/stable-diffusion-webui/modules/api/api.py", line 19, in <module>
  36. from modules.api import models
  37. File "/stable-diffusion-webui/modules/api/models.py", line 112, in <module>
  38. ).generate_model()
  39. File "/stable-diffusion-webui/modules/api/models.py", line 97, in generate_model
  40. DynamicModel.__config__.allow_population_by_field_name = True
  41. File "/usr/local/lib/python3.10/dist-packages/pydantic/_internal/_model_construction.py", line 205, in __getattr__
  42. raise AttributeError(item)
  43. AttributeError: __config__
  44.  
  45. ---
  46. *** Error loading script: controlnet.py
  47. Traceback (most recent call last):
  48. File "/stable-diffusion-webui/modules/scripts.py", line 295, in load_scripts
  49. script_module = script_loading.load_module(scriptfile.path)
  50. File "/stable-diffusion-webui/modules/script_loading.py", line 10, in load_module
  51. module_spec.loader.exec_module(module)
  52. File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  53. File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  54. File "/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/controlnet.py", line 13, in <module>
  55. from scripts import global_state, hook, external_code, processor, batch_hijack, controlnet_version, utils
  56. File "/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/external_code.py", line 1, in <module>
  57. from internal_controlnet.external_code import *
  58. File "/stable-diffusion-webui/extensions/sd-webui-controlnet/internal_controlnet/external_code.py", line 9, in <module>
  59. from modules.api import api
  60. File "/stable-diffusion-webui/modules/api/api.py", line 19, in <module>
  61. from modules.api import models
  62. File "/stable-diffusion-webui/modules/api/models.py", line 112, in <module>
  63. ).generate_model()
  64. File "/stable-diffusion-webui/modules/api/models.py", line 97, in generate_model
  65. DynamicModel.__config__.allow_population_by_field_name = True
  66. File "/usr/local/lib/python3.10/dist-packages/pydantic/_internal/_model_construction.py", line 205, in __getattr__
  67. raise AttributeError(item)
  68. AttributeError: __config__
  69.  
  70. ---
  71. 2023-07-26 02:19:07,342 - ControlNet - INFO - ControlNet v1.1.233
  72. *** Error loading script: external_code.py
  73. Traceback (most recent call last):
  74. File "/stable-diffusion-webui/modules/scripts.py", line 295, in load_scripts
  75. script_module = script_loading.load_module(scriptfile.path)
  76. File "/stable-diffusion-webui/modules/script_loading.py", line 10, in load_module
  77. module_spec.loader.exec_module(module)
  78. File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  79. File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  80. File "/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/external_code.py", line 1, in <module>
  81. from internal_controlnet.external_code import *
  82. File "/stable-diffusion-webui/extensions/sd-webui-controlnet/internal_controlnet/external_code.py", line 9, in <module>
  83. from modules.api import api
  84. File "/stable-diffusion-webui/modules/api/api.py", line 19, in <module>
  85. from modules.api import models
  86. File "/stable-diffusion-webui/modules/api/models.py", line 112, in <module>
  87. ).generate_model()
  88. File "/stable-diffusion-webui/modules/api/models.py", line 97, in generate_model
  89. DynamicModel.__config__.allow_population_by_field_name = True
  90. File "/usr/local/lib/python3.10/dist-packages/pydantic/_internal/_model_construction.py", line 205, in __getattr__
  91. raise AttributeError(item)
  92. AttributeError: __config__
  93.  
  94. ---
  95. *** Error loading script: xyz_grid_support.py
  96. Traceback (most recent call last):
  97. File "/stable-diffusion-webui/modules/scripts.py", line 295, in load_scripts
  98. script_module = script_loading.load_module(scriptfile.path)
  99. File "/stable-diffusion-webui/modules/script_loading.py", line 10, in load_module
  100. module_spec.loader.exec_module(module)
  101. File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  102. File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  103. File "/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/xyz_grid_support.py", line 8, in <module>
  104. from scripts.external_code import ResizeMode, ControlMode
  105. File "/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/external_code.py", line 1, in <module>
  106. from internal_controlnet.external_code import *
  107. File "/stable-diffusion-webui/extensions/sd-webui-controlnet/internal_controlnet/external_code.py", line 9, in <module>
  108. from modules.api import api
  109. File "/stable-diffusion-webui/modules/api/api.py", line 19, in <module>
  110. from modules.api import models
  111. File "/stable-diffusion-webui/modules/api/models.py", line 112, in <module>
  112. ).generate_model()
  113. File "/stable-diffusion-webui/modules/api/models.py", line 97, in generate_model
  114. DynamicModel.__config__.allow_population_by_field_name = True
  115. File "/usr/local/lib/python3.10/dist-packages/pydantic/_internal/_model_construction.py", line 205, in __getattr__
  116. raise AttributeError(item)
  117. AttributeError: __config__
  118.  
  119. ---
  120. Traceback (most recent call last):
  121. File "/stable-diffusion-webui/webui.py", line 482, in <module>
  122. webui()
  123. File "/stable-diffusion-webui/webui.py", line 393, in webui
  124. shared.demo = modules.ui.create_ui()
  125. File "/stable-diffusion-webui/modules/ui.py", line 504, in create_ui
  126. modules.scripts.scripts_txt2img.setup_ui_for_section(category)
  127. File "/stable-diffusion-webui/modules/scripts.py", line 409, in setup_ui_for_section
  128. self.create_script_ui(script)
  129. File "/stable-diffusion-webui/modules/scripts.py", line 359, in create_script_ui
  130. import modules.api.models as api_models
  131. File "/stable-diffusion-webui/modules/api/models.py", line 112, in <module>
  132. ).generate_model()
  133. File "/stable-diffusion-webui/modules/api/models.py", line 97, in generate_model
  134. DynamicModel.__config__.allow_population_by_field_name = True
  135. File "/usr/local/lib/python3.10/dist-packages/pydantic/_internal/_model_construction.py", line 205, in __getattr__
  136. raise AttributeError(item)
  137. AttributeError: __config__
  138. root@8ca872a0f38f:/stable-diffusion-webui#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement