Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pychess crashes on selecting the Settings menu item #573

Closed
pychess opened this issue Feb 4, 2015 · 6 comments
Closed

pychess crashes on selecting the Settings menu item #573

pychess opened this issue Feb 4, 2015 · 6 comments

Comments

@pychess
Copy link
Collaborator

pychess commented Feb 4, 2015

Original issue 573 reported by jonathan.underwood 2010-08-14

What steps will reproduce the problem?

  1. Start a new game (playing the pychess engine, level set to 3)
  2. During the game, click the Settings menu item
    3.

What is the expected output? What do you see instead?
Expected to see a functioning settings dialogue. Instead, pychess crashes.

Does it happen every time?
Seems to

What version of the product are you using?
This is version 0.10-0.5.20100511hg i.e. the current package for Fedora 13, seemingly built from a hg checkout on 11th May 2010.

Did you use an installed version of PyChess or did you run in from a
tarball/svn?

Please provide any additional information below.
Abrtd reports:

Package: pychess-0.10-0.5.20100511hg.fc13
Latest Crash: Sat 14 Aug 2010 23:51:38
Command: /usr/bin/python /usr/bin/pychess
Reason: preferencesDialog.py:309::AttributeError: 'NoneType' object has no attribute 'startswith'
Comment:

Package: pychess-0.10-0.5.20100511hg.fc13
Latest Crash: Sat 14 Aug 2010 23:59:48
Command: /usr/bin/python -u /usr/lib/python2.6/site-packages/pychess/Players/PyChess.py
Reason: PyChess.py:252:run:EOFError: EOF when reading a line
Comment: None
Bug Reports:

Bug Reports:

Please attach the latest pychess logfile. It's in a hidden folder, under
your homedirectory, named ".local/share/pychess/"

@pychess
Copy link
Collaborator Author

pychess commented Feb 4, 2015

@pychess
Copy link
Collaborator Author

pychess commented Feb 4, 2015

Original comment 1. posted by jonathan.underwood 2010-08-14

More complete backtrace:

$ pychess
no stock_draw-rounded-square-unfilled icon in icon-theme-gnome
no stock_draw-rounded-square icon in icon-theme-gnome
/usr/lib/python2.6/site-packages/pychess/System/uistuff.py:374: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
self.glade = gtk.glade.XML(addDataPrefix("glade/%s" % filename))
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/pychess/widgets/preferencesDialog.py", line 309, in
lambda data: data[3].startswith("audio/"))
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 data: data[3].startswith("audio/"))
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 data: data[3].startswith("audio/"))
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 data: data[3].startswith("audio/"))
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 data: data[3].startswith("audio/"))
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 data: data[3].startswith("audio/"))
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 data: data[3].startswith("audio/"))
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 data: data[3].startswith("audio/"))
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 data: data[3].startswith("audio/"))
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 data: data[3].startswith("audio/"))
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 data: data[3].startswith("audio/"))
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 data: data[3].startswith("audio/"))
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 data: data[3].startswith("audio/"))
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 data: data[3].startswith("audio/"))
AttributeError: 'NoneType' object has no attribute 'startswith'

@pychess
Copy link
Collaborator Author

pychess commented Feb 4, 2015

Original comment 2. posted by jonathan.underwood 2010-08-14

Have also filed a bug report in the Fedora tracker:

https://bugzilla.redhat.com/show\_bug.cgi?id=624233

@pychess
Copy link
Collaborator Author

pychess commented Feb 4, 2015

Original comment 3. posted by mattgatto 2010-08-15

Thanks for the bug report. This should be fixed already in the latest development code but apparently the fix isn't yet in the latest fedora packages.

  • changed status to: Duplicate

@pychess
Copy link
Collaborator Author

pychess commented Feb 4, 2015

Original comment 4. posted by jonathan.underwood 2010-08-15

Do you recommend that Fedora package a recent checkout, or backport a specific commit? If the latter, could you identify the commit?

@pychess
Copy link
Collaborator Author

pychess commented Feb 4, 2015

Original comment 5. posted by mattgatto 2010-08-15

I recommend Fedora packaging a checkout of development HEAD, yes. You can verify that
the problem is solved for you by testing out the latest pychess HEAD by following the
instructions at http://code.google.com/p/pychess/source/checkout

@pychess pychess closed this as completed Feb 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants