gnome-sudoku crashed with TypeError in function(): Expected a Gdk.Event, but got EventButton

Bug #857603 reported by Tim Cuthbertson
124
This bug affects 14 people
Affects Status Importance Assigned to Milestone
GNOME Games
Fix Released
High
gnome-games (Fedora)
Invalid
Undecided
gnome-games (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

I have been unable to play Sudoku since the 11.10 Beta 2 updates. I cannot enter my notes into the little areas at the top and bottom of the individual squares. Every time I attempt to do so, I get multiple crash reports. However, the game itself continues.

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: gnome-sudoku 1:3.1.92-0ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
Uname: Linux 3.0.0-11-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.23-0ubuntu1
Architecture: amd64
Date: Fri Sep 23 12:41:07 2011
ExecutablePath: /usr/games/gnome-sudoku
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110803.1)
InterpreterPath: /usr/bin/python2.7
ProcCmdline: python /usr/games/gnome-sudoku
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/games/gnome-sudoku']
SourcePackage: gnome-games
Title: gnome-sudoku crashed with TypeError in function(): Expected a Gdk.Event, but got EventButton
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Tim Cuthbertson (ratcheer) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-games (Ubuntu):
status: New → Confirmed
Jeremy Bícha (jbicha)
visibility: private → public
Revision history for this message
In , Jeremy (jeremy-redhat-bugs) wrote :
Download full text (4.1 KiB)

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: {}

smolt_data:
:
:
:General
:=================================
:UUID: 4352f880-7343-423e-8107-bf8ac078e9f2
:OS: Fedora release 16 (Verne)
:Default run level: Unknown
:Language: en_GB.utf8
:Platform: x86_64
:BogoMIPS: 3990.37
:CPU Vendor: GenuineIntel
:CPU Model: Intel(R) Core(TM)2 Duo CPU T5800 @ 2.00GHz
:CPU Stepping: 13
:CPU Family: 6
:CPU Model Num: 15
:Number of CPUs: 2
:CPU Speed: 2000
:System Memory: 3826
:System Swap: 4996
:Vendor: TOSHIBA
:System: Satellite L305 PSLB8U-05202F
:Form factor: Notebook
:Kernel: 3.1.0-0.rc6.git0.3.fc16.x86_64
:SELinux Enabled: 1
:SELinux Policy: targeted
:SELinux Enforce: Enforcing
:MythTV Remote: Unknown
:MythTV Role: Unknown
:MythTV Theme: Unknown
:MythTV Plugin:
:MythTV Tuner: -1
:
:
:Devices
:=================================
:(32902:10521:4473:65382) pci, None, PCI/ISA, ICH9M LPC Interface Controller
:(4332:33078:4473:65382) pci, r8169, ETHERNET, RTL8101E/RTL8102E PCI Express Fast Ethernet controller
:(32902:10818:4473:65382) pci, i915, VIDEO, Mobile 4 Series Chipset Integrated Graphics Controller
:(32902:10819:4473:65382) pci, None, VIDEO, Mobile 4 Series Chipset Integrated Graphics Controller
:(32902:10560:4473:65382) pci, pcieport, PCI/PCI, 82801I (ICH9 Family) PCI Express Port 1
:(32902:10562:4473:65382) pci, pcieport, PCI/PCI, 82801I (ICH9 Family) PCI Express Port 2
:(32902:10568:4473:65382) pci, pcieport, PCI/PCI, 82801I (ICH9 Family) PCI Express Port 5
:(32902:10558:4473:65382) pci, snd_hda_intel, MULTIMEDIA, 82801I (ICH9 Family) HD Audio Controller
:(32902:10537:4473:65382) pci, ahci, STORAGE, ICH9M/M-E SATA AHCI Controller
:(32902:10549:4473:65382) pci, uhci_hcd, USB, 82801I (ICH9 Family) USB UHCI Controller #2
:(32902:10544:4473:65382) pci, i801_smbus, SERIAL, 82801I (ICH9 Family) SMBus Controller
:(32902:9288:4473:65382) pci, None, PCI/PCI, 82801 Mobile PCI Bridge
:(32902:16946:32902:4609) pci, iwlagn, NETWORK, WiFi Link 5100 AGN
:(32902:10548:4473:65382) pci, uhci_hcd, USB, 82801I (ICH9 Family) USB UHCI Controller #1
:(32902:10551:4473:65382) pci...

Read more...

Revision history for this message
In , Jeremy (jeremy-redhat-bugs) wrote :

Added link to Ubuntu ug.

Revision history for this message
Jeremy Bícha (jbicha) wrote :

Thank you for reporting this bug and helping to make Ubuntu better!

I'm marking this as triaged since I've verifed the bug on Fedora 16 and reported it to the gnome-games developers.

Changed in gnome-games (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Medium
tags: added: bugpattern-needed
Revision history for this message
Tim Cuthbertson (ratcheer) wrote :

I now have gnome-sudoku version 1:3.2.0-0ubuntu1 and the problem seems to be resolved.

tags: removed: bugpattern-needed
tags: added: bugpattern-written
Revision history for this message
In , Misha (misha-redhat-bugs) wrote :

Package: gnome-games-3.2.0-1.fc16
Architecture: x86_64
OS Release: Fedora release 16 (Verne)

Comment
-----
no steps to reproduce

Revision history for this message
Jeremy Bícha (jbicha) wrote :

Thanks, Tim. Marking as fixed.

Changed in gnome-games (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
In , Jeremy (jeremy-redhat-bugs) wrote :

I believe this bug has been fixed. Thanks!

Changed in gnome-games:
importance: Unknown → High
status: Unknown → Fix Released
Changed in gnome-games (Fedora):
importance: Unknown → Undecided
status: Unknown → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.