unexpectedpanda / retool

Retool: a better filter tool for Redump and No-Intro DAT files.
BSD 3-Clause "New" or "Revised" License
349 stars 23 forks source link

Clone List Error #250

Closed FidoFuz closed 1 year ago

FidoFuz commented 1 year ago

Describe the bug After fetching the updated clone list the Sega Mega Drive - Genesis NoIntro dat produces an error:

Traceback (most recent call last): File "d:\Retool2\retool.py", line 293, in main() File "d:\Retool2\retool.py", line 208, in main processed_titles = ParentTools.choose_parent(processed_titles, config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "d:\Retool2\modules\chooseparent.py", line 1513, in choose_parent processed_titles = ParentTools.choose_compilations(compilations, processed_titles, config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "d:\Retool2\modules\chooseparent.py", line 313, in choose_compilations ideal_combination: tuple[tuple[str, ...], ...] = tuple(sorted([sorted(x, key=lambda y: (len, y)) for x in stage_2_candidates])[0])


IndexError: list index out of range

Press any key to quit Retool

**To reproduce**
python retool.py "Sega - Mega Drive - Genesis (20230410-115930).dat" -l --output c:\dattemp --exclude aAbBcdDemMopPruv

**Operating system**
- [x] Windows 10 (older versions not supported)
- [ ] Ubuntu
- [ ] Other (please specify)

**Retool edition**
- [ ] retool-gui.exe
- [x] retool.py
- [x] retool-gui.py

**Retool version**
2.00.0 Beta 7
FidoFuz commented 1 year ago

Update to Beta 9 resolves