Bug 770402 - [abrt] gnome-games-3.2.1-2.fc16: sudoku.py:197:_get_:IndexError: list index out of range
Summary: [abrt] gnome-games-3.2.1-2.fc16: sudoku.py:197:_get_:IndexError: list index o...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-games
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:2498877b74d5aa994ad65ba5279...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-26 10:24 UTC by Matthias Runge
Modified: 2012-12-14 09:41 UTC (History)
23 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-14 09:41:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Same issue than for others (11.91 KB, text/plain)
2012-01-04 18:12 UTC, EsOuEs
no flags Details

Description Matthias Runge 2011-12-26 10:24:42 UTC
libreport version: 2.0.8
abrt_version:   2.0.7
cmdline:        python /usr/bin/gnome-sudoku
comment:        start sudoku hard puzle
executable:     /usr/bin/gnome-sudoku
kernel:         3.1.5-1.fc16.x86_64
reason:         sudoku.py:197:_get_:IndexError: list index out of range
time:           Mon 26 Dec 2011 11:21:27 CET
uid:            500
username:       mrunge

backtrace:
:sudoku.py:197:_get_:IndexError: list index out of range
:
:Traceback (most recent call last):
:  File "/usr/bin/gnome-sudoku", line 23, in <module>
:    start_game()
:  File "/usr/lib/python2.7/site-packages/gnome_sudoku/gnome_sudoku.py", line 22, in start_game
:    main.start_game()
:  File "/usr/lib/python2.7/site-packages/gnome_sudoku/main.py", line 997, in start_game
:    u = UI()
:  File "/usr/lib/python2.7/site-packages/gnome_sudoku/main.py", line 151, in __init__
:    if self.select_game():
:  File "/usr/lib/python2.7/site-packages/gnome_sudoku/main.py", line 51, in inactivate_new_game_etc_
:    ret = fun(ui, *args, **kwargs)
:  File "/usr/lib/python2.7/site-packages/gnome_sudoku/main.py", line 168, in select_game
:    self.gsd.change_grid(choice[1], 9)
:  File "/usr/lib/python2.7/site-packages/gnome_sudoku/gsudoku.py", line 388, in change_grid
:    self.setup_grid(grid, group_size)
:  File "/usr/lib/python2.7/site-packages/gnome_sudoku/gsudoku.py", line 419, in setup_grid
:    self.grid = sudoku.InteractiveSudoku(grid, group_size = group_size)
:  File "/usr/lib/python2.7/site-packages/gnome_sudoku/sudoku.py", line 521, in __init__
:    SudokuSolver.__init__(self, grid, verbose, group_size)
:  File "/usr/lib/python2.7/site-packages/gnome_sudoku/sudoku.py", line 293, in __init__
:    SudokuGrid.__init__(self, grid, verbose = verbose, group_size = group_size)
:  File "/usr/lib/python2.7/site-packages/gnome_sudoku/sudoku.py", line 140, in __init__
:    self.populate_from_grid(grid)
:  File "/usr/lib/python2.7/site-packages/gnome_sudoku/sudoku.py", line 218, in populate_from_grid
:    self.add(x, y, cell)
:  File "/usr/lib/python2.7/site-packages/gnome_sudoku/sudoku.py", line 567, in add
:    super(InteractiveSudoku, self).add(x, y, val, force)
:  File "/usr/lib/python2.7/site-packages/gnome_sudoku/sudoku.py", line 513, in add
:    SudokuGrid.add(self, x, y, val, *args, **kwargs)
:  File "/usr/lib/python2.7/site-packages/gnome_sudoku/sudoku.py", line 160, in add
:    if self._get_(x, y):
:  File "/usr/lib/python2.7/site-packages/gnome_sudoku/sudoku.py", line 197, in _get_
:    return self.grid[y][x]
:IndexError: list index out of range
:
:Local variables in innermost frame:
:y: 9
:x: 0
:self: <Grid
:       0 0 0 0 0 0 0 0 0
:         0 0 0 0 0 0 0 0
:       0 0 0 0 0 0 0 0 0
:         0 0 0 0 0 0 0 0
:       0 0 0 0 0 0 0 0 0
:         0 0 0 0 0 0 0 0
:       2 0 0 0 0 0 0 0 0
:         0 0 0 0 0 0 0 0
:       0 0 0 0 0 0 0 0 0

Comment 1 Bob Agel 2011-12-31 22:28:52 UTC
Attepted to open Sudoku.  The selection menu came up, however when clicking on the sudoku puzzle, it immediately crashed.  This happened after today's updates which included:
pygobject3-3.0.3-1.fc16

yum downgrade pygobject3 to 3.0.1-1.fc16 fixes the problem and sudoku loads normally!  Gentlemen, you have an issue.  Please fix.  Thanks!


rating: (null)
Package: gnome-games-3.2.1-2.fc16
Architecture: x86_64
OS Release: Fedora release 16 (Verne)

Comment 2 Dan Beard 2011-12-31 23:21:37 UTC
Tried loading a suduko puzzle

rating: (null)
Package: gnome-games-3.2.1-2.fc16
Architecture: x86_64
OS Release: Fedora release 16 (Verne)

Comment 3 Jeremy Bicha 2011-12-31 23:41:15 UTC
Reported to the gnome-games developers:
https://bugzilla.gnome.org/show_bug.cgi?id=667003

Comment 4 Richard Neumann 2012-01-01 14:47:13 UTC
Error occures trying to select any type of difficulty level.

rating: (null)
Package: gnome-games-3.2.1-2.fc16
Architecture: x86_64
OS Release: Fedora release 16 (Verne)

Comment 5 fimefija 2012-01-01 15:58:44 UTC
Clicking on start a hard game crashes it

rating: (null)
Package: gnome-games-3.2.1-2.fc16
Architecture: i686
OS Release: Fedora release 16 (Verne)

Comment 6 Eric Blake 2012-01-01 23:07:34 UTC
opening up sudoku from the applications menu

rating: (null)
Package: gnome-games-3.2.1-2.fc16
Architecture: i686
OS Release: Fedora release 16 (Verne)

Comment 7 Beth Mattson 2012-01-02 03:28:41 UTC
I selected "Medium" difficulty for a game of Sudoku. It failed.

rating: (null)
Package: gnome-games-3.2.1-2.fc16
Architecture: x86_64
OS Release: Fedora release 16 (Verne)

Comment 8 Patrick Liniger 2012-01-03 10:20:35 UTC
application crashed when launching sudoku

rating: (null)
Package: gnome-games-3.2.1-2.fc16
Architecture: x86_64
OS Release: Fedora release 16 (Verne)

Comment 9 Takanori MATSUURA 2012-01-03 17:44:46 UTC
Select game level in gnome-sudoku

rating: (null)
Package: gnome-games-3.2.1-2.fc16
Architecture: x86_64
OS Release: Fedora release 16 (Verne)

Comment 10 John Himpel 2012-01-04 02:06:42 UTC
I clicked on the icon for Suduko.  I then clicked on the icon for "hard".

rating: (null)
Package: gnome-games-3.2.1-2.fc16
Architecture: x86_64
OS Release: Fedora release 16 (Verne)

Comment 11 jonathan.eidsness 2012-01-04 07:55:42 UTC
Started new Sudoku game on very hard difficulty

rating: (null)
Package: gnome-games-3.2.1-2.fc16
Architecture: x86_64
OS Release: Fedora release 16 (Verne)

Comment 12 Marco Aurélio 2012-01-04 12:12:00 UTC
I decided to play and at the just moment when I selected the inicial game the problem ocurred!

rating: (null)
Package: gnome-games-3.2.1-2.fc16
Architecture: x86_64
OS Release: Fedora release 16 (Verne)

Comment 13 Jeff lats 2012-01-04 12:57:21 UTC
Selected sudoku from the games application list.
Clicked on hard game and bang.

I finished a game last night and al was ok.


rating: (null)
Package: gnome-games-3.2.1-2.fc16
Architecture: x86_64
OS Release: Fedora release 16 (Verne)

Comment 14 hansvon 2012-01-04 13:07:57 UTC
Start gnome-sudoko, click on new game (any difficulty)
The crash is caused by pygobject3-3.0.3-1.fc16.x86_64. Reverting to pygobject3-3.0.1-1.fc16.x86_64 fixes the crash.


rating: (null)
Package: gnome-games-3.2.1-2.fc16
Architecture: x86_64
OS Release: Fedora release 16 (Verne)

Comment 15 EsOuEs 2012-01-04 18:12:03 UTC
Created attachment 550744 [details]
Same issue than for others

Completely fresh install of Fedora 16 (2011-01-04)

Comment 16 HughieB 2012-01-05 01:48:04 UTC
I ran the program from the gnome3 list of applications

rating: (null)
Package: gnome-games-3.2.1-2.fc16
Architecture: x86_64
OS Release: Fedora release 16 (Verne)

Comment 17 Tomas Schlosser 2012-01-05 18:59:09 UTC
started sudoku
clicked on difficulty (very hard, but tried all of them later)
game crashed


rating: (null)
Package: gnome-games-3.2.1-2.fc16
Architecture: x86_64
OS Release: Fedora release 16 (Verne)

Comment 18 Philipp Riemer 2012-01-06 11:22:52 UTC
finished one game and clicked on "new" and chose "easy" -> result was an empty grid and an error message

rating: (null)
Package: gnome-games-3.2.1-2.fc16
Architecture: x86_64
OS Release: Fedora release 16 (Verne)

Comment 19 Jeremy Bicha 2012-01-12 19:30:18 UTC
This was fixed with gnome-games 3.2.1-3.fc16 and 3.3.3-2.fc17.


Note You need to log in before you can comment on or make changes to this bug.