ArtVentureX / sd-webui-agent-scheduler

605 stars 61 forks source link

Task Queue and Task History are always empty when using AUTOMATIC1111/stable-diffusion-webui dev branch #185

Open Kaedras opened 7 months ago

Kaedras commented 7 months ago

I had to switch to the dev branch after changing my gpu because of stability issues, but now this extension is no longer working.

In the Agent Scheduler tab both Task Queue and Task History are empty, and none of the buttons seem to be working. When loading the webui I get this javascript error:

error running callback 
function n() : TypeError: r is null
    Rw http://127.0.0.1:7860/file=extensions/sd-webui-agent-scheduler/javascript/agent-scheduler.iife.js?1700425917.4910681:302
    n http://127.0.0.1:7860/file=extensions/sd-webui-agent-scheduler/javascript/agent-scheduler.iife.js?1700425917.4910681:330
    executeCallbacks http://127.0.0.1:7860/file=script.js?1700425803.6320777:83
    mutationObserver http://127.0.0.1:7860/file=script.js?1700425803.6320777:109
    MutationCallback* http://127.0.0.1:7860/file=script.js?1700425803.6320777:106
    EventListener.handleEvent* http://127.0.0.1:7860/file=script.js?1700425803.6320777:105
file=script.js:85:21
    executeCallbacks http://127.0.0.1:7860/file=script.js?1700425803.6320777:85
    mutationObserver http://127.0.0.1:7860/file=script.js?1700425803.6320777:109
    (Async: MutationCallback)
    <anonymous> http://127.0.0.1:7860/file=script.js?1700425803.6320777:106
    (Async: EventListener.handleEvent)
    <anonymous> http://127.0.0.1:7860/file=script.js?1700425803.6320777:105

Trying to use the status filter results in the following javascript error:

Uncaught (in promise) ReferenceError: agent_scheduler_status_filter_changed is not defined
    anonymous Blocks-b3881047.js line 44 > AsyncFunction:3
    we Blocks-b3881047.js:45
    t Blocks-b3881047.js:45
    t Blocks-b3881047.js:45
    dispatch Blocks-b3881047.js:12
    R InteractiveDropdown.svelte:62
    wc lifecycle.js:105
    wc lifecycle.js:104
    M Dropdown.svelte:57
    update Dropdown.svelte:69
    Zi scheduler.js:115
    Bo scheduler.js:79
    promise callback*To scheduler.js:20
    ea Component.js:79
    ctx Component.js:127
    v Blocks-b3881047.js:39
    s Blocks-b3881047.js:39
    ctx Component.js:126
    G InteractiveDropdown.svelte:36
    f InteractiveDropdown.svelte:49
    ctx Component.js:126
    ke Dropdown.svelte:142
    wc lifecycle.js:105
    wc lifecycle.js:104
    c DropdownOptions.svelte:79
    uc dom.js:369
    Pr dom.js:359
    m DropdownOptions.svelte:106
    p DropdownOptions.svelte:73
    Zi scheduler.js:119
    Bo scheduler.js:79
    promise callback*To scheduler.js:20
    ea Component.js:79
    ctx Component.js:127
    Q Dropdown.svelte:123
    Pr dom.js:359
    m Dropdown.svelte:253
    De Component.js:42
    m InteractiveDropdown.svelte:49
    m Block.svelte:41
    m Block.svelte:22
    De Component.js:42
    m InteractiveDropdown.svelte:45
    De Component.js:42
    m Blocks-b3881047.js:39
    De Component.js:42
    m Blocks-b3881047.js:39
    m Blocks-b3881047.js:39
    m Blocks-b3881047.js:39
    m StaticForm.svelte:14
    De Component.js:42
    m Blocks-b3881047.js:39
    De Component.js:42
    m Blocks-b3881047.js:39
    m Blocks-b3881047.js:39
    m Blocks-b3881047.js:39
    m StaticRow.svelte:19
    De Component.js:42
    m Blocks-b3881047.js:39
    De Component.js:42
    m Blocks-b3881047.js:39
    m Blocks-b3881047.js:39
    m Blocks-b3881047.js:39
    m StaticRow.svelte:19
    De Component.js:42

Additional information:

Here's a screenshot: Screenshot_20231129_223040