Skip to content

List index out of range #3

@ZiggyStardust11983

Description

@ZiggyStardust11983

I was able to get it working with a test directory but my main image directory is returning this error. I believe that directory is ~70k images, is there some limit in how large the directory can be?

File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\multiprocessing\pool.py", line 774, in get
raise self._value
IndexError: list index out of range

That is the recurring exception, occurring at either line 888 - parsed_data[Model] = sampler_settings[6] or 889 - parsed_data[Eta] = sampler_settings[7]

Here is the full error output

PS C:\Users\user\Promptvision> python .\gallery.py --imagedir "C:\Users\user\stable-diffusion-webui\outputs\images"
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\multiprocessing\pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "C:\Users\user\Promptvision\gallery.py", line 888, in read_exif_data
parsed_data['Model'] = sampler_settings[6].split(": ")[1]
IndexError: list index out of range
"""
The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\user\Promptvision\gallery.py", line 1007, in
bulk_exif_data = mp_bulk_exif_read(filtered_images)
File "C:\Users\user\Promptvision\gallery.py", line 933, in mp_bulk_exif_read
row = result.get()
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\multiprocessing\pool.py", line 774, in get
raise self._value
IndexError: list index out of range

Thanks in advance and apologies if it's something I've done or missed.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions