forked from invoke-ai/InvokeAI
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Is there an existing issue for this problem?
- I have searched the existing issues
Install method
Invoke's Launcher
Operating system
Linux
GPU vendor
Nvidia (CUDA)
GPU model
No response
GPU VRAM
16GB
Version number
6.11.0
Browser
No response
System Information
No response
What happened
I ran python invokeai/backend/util/db_maintenance and I got the error:
Traceback (most recent call last):
File "/home/lstein/Projects/InvokeAI-lstein/invokeai/backend/util/db_maintenance.py", line 17, in <module>
import PIL.ImageOps
File "/home/lstein/invokeai-lstein/.venv/lib/python3.12/site-packages/PIL/ImageOps.py", line 27, in <module>
from . import ExifTags, Image, ImagePalette
File "/home/lstein/invokeai-lstein/.venv/lib/python3.12/site-packages/PIL/Image.py", line 33, in <module>
import logging
File "/home/lstein/Projects/InvokeAI-lstein/invokeai/backend/util/logging.py", line 177, in <module>
import logging.handlers
ModuleNotFoundError: No module named 'logging.handlers'; 'logging' is not a package
What you expected to happen
I expected the maintenance script to run and identify and fix any mismatches between the database and the models on disk. Note that this script saiys it is for Invoke AI 3.0.0.0, so probably much has changed since then and the whole script should be reviewed for issues.
How to reproduce the problem
No response
Additional context
No response
Discord username
No response
Reactions are currently unavailable
Metadata
Metadata
Labels
bugSomething isn't workingSomething isn't working