After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 660024 - Sudoku hints don't work, causes traceback
Sudoku hints don't work, causes traceback
Status: RESOLVED FIXED
Product: gnome-games-superseded
Classification: Deprecated
Component: gnome-sudoku
3.2.x
Other Linux
: Normal major
: ---
Assigned To: GNOME Games maintainers
GNOME Games maintainers
Depends on:
Blocks:
 
 
Reported: 2011-09-24 17:38 UTC by Jeremy Bicha
Modified: 2012-01-05 03:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jeremy Bicha 2011-09-24 17:38:39 UTC
Trying to add a number to the top or bottom part of a square to add a hint won't work and spews out a traceback when run from the console.

See the attached Fedora 16 or Ubuntu bugs if you need to see the traceback.
Comment 1 Akhil Laddha 2011-09-25 06:22:08 UTC
abrt version: 2.0.5
cmdline:        python /usr/bin/gnome-sudoku
comment:        Clicking the top or bottom part of the square (used to add a
hint) doesn't work and spews out a traceback when run from the terminal. The
game still continues to play though.
executable:     /usr/bin/gnome-sudoku
kernel:         3.1.0-0.rc6.git0.3.fc16.x86_64
reason:         types.py:43:function:TypeError: Expected a Gdk.Event, but got
EventButton
time:           Sat Sep 24 13:30:05 2011

backtrace:
:types.py:43:function:TypeError: Expected a Gdk.Event, but got EventButton
:
:Traceback (most recent call last):
:  File "/usr/lib/python2.7/site-packages/gnome_sudoku/number_box.py", line
194, in button_press_cb
:    x, y = e.get_coords()
:  File "/usr/lib64/python2.7/site-packages/gi/overrides/Gdk.py", line 207, in
cull_success
:    result = func(*args)
:  File "/usr/lib64/python2.7/site-packages/gi/types.py", line 43, in function
:    return info.invoke(*args, **kwargs)
:TypeError: Expected a Gdk.Event, but got EventButton
:
:Local variables in innermost frame:
:info: <gi.FunctionInfo object (get_coords) at 0x0x7fe8a7cfa518>
:args: (<void at 0x14588a0>,)
:kwargs: {}
Comment 2 Jeremy Bicha 2012-01-05 03:06:04 UTC
This crash doesn't happen now with Sudoku 3.2.1.