Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

list assignment index out of range #1272

Open
barlowm opened this issue Jan 10, 2025 · 0 comments
Open

list assignment index out of range #1272

barlowm opened this issue Jan 10, 2025 · 0 comments
Labels
bug Bug reports.

Comments

@barlowm
Copy link

barlowm commented Jan 10, 2025

Application Name: dupeGuru
Version: 4.3.1
Python: 3.12.8
Operating System: Windows-10-10.0.19045-SP0

Traceback (most recent call last):
File "D:__Code\dupeguru\hscommon\gui\progress_window.py", line 107, in pulse
should_continue = self._error_func(self.jobid, err)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:__Code\dupeguru\core\app.py", line 330, in _job_error
raise err
File "D:__Code\dupeguru\hscommon\jobprogress\performer.py", line 46, in _async_run
target(*args)
File "D:__Code\dupeguru\core\app.py", line 821, in do
self.results.groups = scanner.get_dupe_groups(files, self.ignore_list, j)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:__Code\dupeguru\core\scanner.py", line 150, in get_dupe_groups
matches = self._getmatches(files, j)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:__Code\dupeguru\core\pe\scanner.py", line 28, in _getmatches
return matchblock.getmatches(
^^^^^^^^^^^^^^^^^^^^^^
File "D:__Code\dupeguru\core\pe\matchblock.py", line 196, in getmatches
pictures = prepare_pictures(pictures, cache_path, not match_scaled, match_rotated, j=j)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:__Code\dupeguru\core\pe\matchblock.py", line 86, in prepare_pictures
blocks[max(picture.get_orientation() - 1, 0)] = picture.get_blocks(BLOCK_COUNT_PER_SIDE)
~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
IndexError: list assignment index out of range

@barlowm barlowm added the bug Bug reports. label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug reports.
Projects
None yet
Development

No branches or pull requests

1 participant