Skip to content

sqlite3.OperationalError: no such table: images #4

@d8ahazard

Description

@d8ahazard

Sometimes, when I just clone the extension repository into my AUTO folder and restart, I get an error that the extension can't find the Images table in the DB. Perhaps some kind of error checking for this would help?

[AUTO] *** Error executing callback ui_tabs_callback for /opt/rd/stable-diffusion-webui/extensions/sd-masonry/scripts/main.py
[AUTO] Traceback (most recent call last):
[AUTO] File "/opt/rd/stable-diffusion-webui/modules/script_callbacks.py", line 166, in ui_tabs_callback
[AUTO] res += c.callback() or []
[AUTO] File "/opt/rd/stable-diffusion-webui/extensions/sd-masonry/scripts/main.py", line 157, in on_ui_tabs
[AUTO] html = refresh_images(1)
[AUTO] File "/opt/rd/stable-diffusion-webui/extensions/sd-masonry/scripts/main.py", line 150, in refresh_images
[AUTO] traverse_all_files(dir_path)
[AUTO] File "/opt/rd/stable-diffusion-webui/extensions/sd-masonry/scripts/main.py", line 36, in traverse_all_files
[AUTO] c.execute("DELETE FROM images")
[AUTO] sqlite3.OperationalError: no such table: images
[AUTO]
[AUTO] ---

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions