lllyasviel / lllyasviel/stable-diffusion-webui-forge
cannot install sd-webui-agent-scheduler extension
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
Is there any way to install this plugin:
sd-webui-agent-scheduler https://github.com/ArtVentureX/sd-webui-agent-scheduler.git main 721a36f5 2024-03-07 04:05:38
it's very handy when you want to queue multiple small tasks, no need to sit there all the time...
Here is the error from the console when I tried to install it:
Using sqlite file: /mnt/backup/webui_forge_cu121_torch231/webui/extensions/sd-webui-agent-scheduler/task_scheduler.sqlite3 | 10.5M/146M [00:04<00:59, 2.28MB/s]
*** Error loading script: task_scheduler.py
Traceback (most recent call last):███████| 146M/146M [00:17<00:00, 12.6MB/s]
File "/mnt/backup/webui_forge_cu121_torch231/webui/modules/scripts.py", line 525, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "/mnt/backup/webui_forge_cu121_torch231/webui/modules/script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/mnt/backup/webui_forge_cu121_torch231/webui/extensions/sd-webui-agent-scheduler/scripts/task_scheduler.py", line 24, in
from agent_scheduler.task_runner import TaskRunner, get_instance
File "/mnt/backup/webui_forge_cu121_torch231/webui/extensions/sd-webui-agent-scheduler/agent_scheduler/task_runner.py", line 26, in
from .db import TaskStatus, Task, task_manager
File "/mnt/backup/webui_forge_cu121_torch231/webui/extensions/sd-webui-agent-scheduler/agent_scheduler/db/init.py", line 6, in
from .task import TaskStatus, Task, TaskManager
File "/mnt/backup/webui_forge_cu121_torch231/webui/extensions/sd-webui-agent-scheduler/agent_scheduler/db/task.py", line 22, in
from ..models import TaskModel
File "/mnt/backup/webui_forge_cu121_torch231/webui/extensions/sd-webui-agent-scheduler/agent_scheduler/models.py", line 53, in
class Txt2ImgApiTaskArgs(StableDiffusionTxt2ImgProcessingAPI):
File "/mnt/backup/webui_forge_cu121_torch231/webui/extensions/sd-webui-agent-scheduler/agent_scheduler/models.py", line 71, in Txt2ImgApiTaskArgs
class Config(StableDiffusionTxt2ImgProcessingAPI.config):
File "/mnt/backup/webui_forge_cu121_torch231/webui/venv/lib/python3.10/site-packages/pydantic/_internal/_model_construction.py", line 237, in getattr
raise AttributeError(item)
AttributeError: config
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with agent_scheduler/models.py, especially Txt2ImgApiTaskArgs.Config, and trace the import chain shown in the traceback through agent_scheduler/db/task.py and task_runner.py. Reproduce the extension load with the reported Python environment and verify that sd-webui-agent-scheduler loads without the AttributeError: config failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- ai
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100