Bug 598062

Summary: [abrt] crash in pychess-0.10-0.4.20100504hg.fc13: preferencesDialog.py:309:<lambda>:AttributeError: 'NoneType' object has no attribute 'startswith'
Product: [Fedora] Fedora Reporter: GhostMan.227
Component: pychessAssignee: Thomas Spura <tomspur>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: alessandro.nazzani, ameya.gore, chadrhyner, dijit, jonathan.underwood, jw2357, Laray80, micheleqa, michel, mniranja, syscreat, tomspur, y.s.rajath
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: abrt_hash:ac63b235
Fixed In Version: pychess-0.10-0.7.20100815hg.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-24 21:06:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace none

Description GhostMan.227 2010-05-31 10:50:57 UTC
abrt 1.1.0 detected a crash.

architecture: x86_64
cmdline: /usr/bin/python /usr/bin/pychess
component: pychess
executable: /usr/bin/pychess
kernel: 2.6.33.4-95.fc13.x86_64
package: pychess-0.10-0.4.20100504hg.fc13
reason: preferencesDialog.py:309:<lambda>:AttributeError: 'NoneType' object has no attribute 'startswith'
release: Fedora release 13 (Goddard)

backtrace
-----
preferencesDialog.py:309:<lambda>:AttributeError: 'NoneType' object has no attribute 'startswith'

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/pychess/widgets/preferencesDialog.py", line 309, in <lambda>
    lambda data: data[3].startswith("audio/"))
AttributeError: 'NoneType' object has no attribute 'startswith'

Local variables in innermost frame:
data: (None, None, 'win2.ogg', None)

Comment 1 GhostMan.227 2010-05-31 10:51:03 UTC
Created attachment 418256 [details]
File: backtrace

Comment 2 Thomas Spura 2010-05-31 11:50:12 UTC
Thanks for the bug report.

I forwared this bug to pychess upstream:
http://code.google.com/p/pychess/issues/detail?id=559

It's reproducable with:
1. open pychess on the console
2. click on Settings->Preferences
3. When the window appears, see the backtrace on the console.


Please make some similar 'how to reproduce' notes next time.

Thanks.

Comment 3 John William 2010-06-10 07:41:55 UTC
Package: pychess-0.10-0.5.20100511hg.fc13
Architecture: x86_64
OS Release: Fedora release 13 (Goddard)


Comment
-----
Crash during gameplay.

Comment 4 David Webb 2010-06-30 22:26:52 UTC
Package: pychess-0.10-0.5.20100511hg.fc13
Architecture: x86_64
OS Release: Fedora release 13 (Goddard)


How to reproduce
-----
1. Open the Preferences Dialog.

2.
3.

Comment 5 John William 2010-07-07 08:18:50 UTC
Package: pychess-0.10-0.5.20100511hg.fc13
Architecture: x86_64
OS Release: Fedora release 13 (Goddard)


How to reproduce
-----
1. Open preferences window.
2.
3.


Comment
-----
Crash during gameplay.

Comment 6 John William 2010-07-08 16:24:36 UTC
Package: pychess-0.10-0.5.20100511hg.fc13
Architecture: x86_64
OS Release: Fedora release 13 (Goddard)


How to reproduce
-----
1. Open preferences window.
2.
3.


Comment
-----
Crash during gameplay.

Comment 7 Ameya Gore 2010-07-21 20:34:38 UTC
Package: pychess-0.10-0.5.20100511hg.fc13
Architecture: i686
OS Release: Fedora release 13 (Goddard)


How to reproduce
-----
1. open pychess.
2. Start Game Human vs PyChess 0.10beta
3. Rotate boards randomly.
4.  Clicke on Settings->Preferences
5. Its doesn't break, but abrt shows this error.

Comment 8 Chad Rhyner 2010-07-30 04:25:13 UTC
Package: pychess-0.10-0.5.20100511hg.fc13
Architecture: x86_64
OS Release: Fedora release 13 (Goddard)


How to reproduce
-----
1.  Started playing a new game.
2.  Selected the PyChess Beta 0.10 player.
3.  Waited for game to start.
4.  Was looking through Game, Actions, View, & Settings.
5.  When I got to Settings, I clicked on Preferences.
6.  After the Preferences Panel opened up, PyChess crashed.
7.  Despite crashing, I was still able to close the Preferences window, and start playing my game of chess.  The crash is not noticeable.


Comment
-----
Opening up the Preferences window causes PyChess to crash.

Comment 9 Thomas Spura 2010-08-15 11:59:41 UTC
*** Bug 624233 has been marked as a duplicate of this bug. ***

Comment 10 Fedora Update System 2010-08-15 13:10:36 UTC
pychess-0.10-0.7.20100815hg.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/pychess-0.10-0.7.20100815hg.fc13

Comment 11 Fedora Update System 2010-08-15 13:10:41 UTC
pychess-0.10-0.7.20100815hg.fc14 has been submitted as an update for Fedora 14.
http://admin.fedoraproject.org/updates/pychess-0.10-0.7.20100815hg.fc14

Comment 12 Fedora Update System 2010-08-16 16:03:05 UTC
pychess-0.10-0.7.20100815hg.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update pychess'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/pychess-0.10-0.7.20100815hg.fc14

Comment 13 Fedora Update System 2010-08-24 21:06:35 UTC
pychess-0.10-0.7.20100815hg.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2010-08-25 01:21:37 UTC
pychess-0.10-0.7.20100815hg.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.