GNOME Bugzilla – Bug 667003
sudoku: IndexError: list index out of range when starting a games
Last modified: 2013-11-07 16:56:36 UTC
As reported at https://bugs.launchpad.net/ubuntu/+source/gnome-games/+bug/908972 Sudoku starts fine but crashes when clicking Easy/Medium/Hard/Very Hard to actually start a game. This appears to be specific to Ubuntu 12.04 and didn't affect 11.10. I've experienced this crash with gnome-games 3.2.1 and 3.3.3. And we have reports from 64-bit and 32-bit PAE users. Traceback (most recent call last):
+ Trace 229353
start_game()
main.start_game()
u = UI()
if self.select_game():
ret = fun(ui, *args, **kwargs)
self.gsd.change_grid(choice[1], 9)
self.setup_grid(grid, group_size)
self.grid = sudoku.InteractiveSudoku(grid, group_size = group_size)
SudokuSolver.__init__(self, grid, verbose, group_size)
SudokuGrid.__init__(self, grid, verbose = verbose, group_size = group_size)
self.populate_from_grid(grid)
self.add(x, y, cell)
super(InteractiveSudoku, self).add(x, y, val, force)
SudokuGrid.add(self, x, y, val, *args, **kwargs)
if self._get_(x, y):
return self.grid[y][x]
Same bug on Arch Linux gnome-games 3.2.1. No bug reported in the Arch Linux bugtracker, but there's a thread in the forums: https://bbs.archlinux.org/viewtopic.php?pid=1033950
Also seen in Fedora 16 where downgrading from pygobject3-3.0.3-1.fc16 to pygobject3 to 3.0.1-1.fc16 fixed the problem for one bug reporter. https://bugzilla.redhat.com/show_bug.cgi?id=770402
Same bug on debian testing
Same bug occurred on Gentoo Linux when I upgraded from dev-python/pygobject-3.0.2 to dev-python/pygobject-3.0.3. Gentoo's dev-python/pygobject-3.0.3 ebuild applies this patch from bug 664864: http://bugzilla-attachments.gnome.org/attachment.cgi?id=203183 I was hoping that might have fixed the problem, but it didn't.
http://git.gnome.org/browse/gnome-games/commit/?id=8ab5a3a28281e6b1b649d9ef93628b3433ddd887