* 0002-fix-sort-syntax-error.patch: Backport upstream
commit that fixes crashes when saving a "Very Hard"
game (LP: #1252220).
** Changed in: gnome-sudoku (Ubuntu)
Status: Confirmed => Triaged
** Patch added: "lp1252220.debdiff"
https://bugs.launchpad.net/ubuntu/+source/gnome-sudoku/+bug/1252220/+attachment/3950526/+files/lp1252220.debdiff
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-sudoku in Ubuntu.
https://bugs.launchpad.net/bugs/1252220
Title:
/usr/games/gnome-sudoku:TypeError:/usr/games/gnome-
sudoku@23:start_game:start_game:__init__:inactivate_new_game_etc_:select_game:run_swallowed_dialog:setup_dialog:make_saved_game_model:difficulty:solve:guess_least_open_square:guess_least_open_square
Status in “gnome-sudoku” package in Ubuntu:
Triaged
Bug description:
The Ubuntu Error Tracker has been receiving reports about a problem
regarding gnome-sudoku. This problem was most recently seen with
version 1:3.8.1-1ubuntu1, the problem page at
https://errors.ubuntu.com/problem/8c47c556e13b16454ddc18b00d4217bad720461c
contains more details.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gnome_sudoku/main.py", line 52, in
inactivate_new_game_etc_
ret = fun(ui, *args, **kwargs)
File "/usr/lib/python3/dist-packages/gnome_sudoku/main.py", line 413, in
new_cb
self.select_game()
File "/usr/lib/python3/dist-packages/gnome_sudoku/main.py", line 52, in
inactivate_new_game_etc_
ret = fun(ui, *args, **kwargs)
File "/usr/lib/python3/dist-packages/gnome_sudoku/main.py", line 150, in
select_game
choice =
game_selector.NewOrSavedGameSelector().run_swallowed_dialog(self.swallower)
File "/usr/lib/python3/dist-packages/gnome_sudoku/game_selector.py", line
270, in run_swallowed_dialog
self.setup_dialog()
File "/usr/lib/python3/dist-packages/gnome_sudoku/game_selector.py", line
93, in setup_dialog
self.make_saved_game_model()
File "/usr/lib/python3/dist-packages/gnome_sudoku/game_selector.py", line
187, in make_saved_game_model
sdifficulty = sr.difficulty()
File "/usr/lib/python3/dist-packages/gnome_sudoku/sudoku.py", line 836, in
difficulty
self.solve()
File "/usr/lib/python3/dist-packages/gnome_sudoku/sudoku.py", line 407, in
solve
while not self.guess_least_open_square():
File "/usr/lib/python3/dist-packages/gnome_sudoku/sudoku.py", line 832, in
guess_least_open_square
return SudokuSolver.guess_least_open_square(self)
File "/usr/lib/python3/dist-packages/gnome_sudoku/sudoku.py", line 448, in
guess_least_open_square
poss.sort(lambda a, b: len(a[1]) > len(b[1]) and 1 or len(a[1]) <
len(b[1]) and -1 or \
TypeError: must use keyword argument for key function
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-sudoku/+bug/1252220/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp