abrt 1.0.0 detected a crash. backtrace ----- Summary: TB6e8e1605 newGameDialog.py:251:_init:NameError: global name 'SourceBuffer' is not defined Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/pychess/Main.py", line 297, in on_enter_game_notation_activate newGameDialog.EnterNotationExtension.run(callback) File "/usr/lib/python2.6/site-packages/pychess/widgets/newGameDialog.py", line 268, in run cls._ensureReady() File "/usr/lib/python2.6/site-packages/pychess/widgets/newGameDialog.py", line 62, in _ensureReady cls._init() File "/usr/lib/python2.6/site-packages/pychess/widgets/newGameDialog.py", line 251, in _init cls.sourcebuffer = SourceBuffer() NameError: global name 'SourceBuffer' is not defined Local variables in innermost frame: loc: cz callback: <function callback at 0x7f3a840341b8> flags: ['/usr/share/pychess/flags/cz.png', '/usr/share/pychess/flags/us.png'] cls: pychess.widgets.newGameDialog.EnterNotationExtension path: /usr/share/locale/cs/LC_MESSAGES/pychess.mo cmdline: /usr/bin/python /usr/bin/pychess.real component: pychess executable: /usr/bin/pychess.real kernel: 2.6.31.9-174.fc12.x86_64 package: pychess-0.8.2-4.fc12 uuid: 6e8e1605
Created attachment 381011 [details] File: backtrace
*** Bug 500929 has been marked as a duplicate of this bug. ***
This is fixed in svn, but the new version 0.8.4 or the 0.10 beta2 is not playable here, so I won't update till a newer playable release comes out. Maybe a svn snapshot would be the solution, but I need to investigate that a bit more.
pychess-0.10-0.1.20100203svn.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/pychess-0.10-0.1.20100203svn.fc12
pychess-0.10-0.1.20100203svn.fc12 has been pushed to the Fedora 12 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/F12/FEDORA-2010-1432
Tried pychess-0.10-0.1.20100203svn.fc12.noarch and got: $ pychess 12:04:06 Default Warning: engineNest: engines.xml is outdated. It will be replaced Traceback (most recent call last): File "/usr/bin/pychess", line 45, in <module> import pychess.Main File "/usr/lib/python2.6/site-packages/pychess/Main.py", line 16, in <module> from pychess.widgets import newGameDialog File "/usr/lib/python2.6/site-packages/pychess/widgets/newGameDialog.py", line 30, in <module> from pychess.Players.Human import Human File "/usr/lib/python2.6/site-packages/pychess/Players/Human.py", line 8, in <module> from pychess.widgets.gamewidget import cur_gmwidg File "/usr/lib/python2.6/site-packages/pychess/widgets/gamewidget.py", line 15, in <module> from pydock.PyDockTop import PyDockTop File "/usr/lib/python2.6/site-packages/pychess/widgets/pydock/PyDockTop.py", line 9, in <module> from PyDockLeaf import PyDockLeaf File "/usr/lib/python2.6/site-packages/pychess/widgets/pydock/PyDockLeaf.py", line 12, in <module> from StarArrowButton import StarArrowButton File "/usr/lib/python2.6/site-packages/pychess/widgets/pydock/StarArrowButton.py", line 7, in <module> from OverlayWindow import OverlayWindow File "/usr/lib/python2.6/site-packages/pychess/widgets/pydock/OverlayWindow.py", line 5, in <module> import rsvg ImportError: No module named rsvg
Installed gnome-python2-rsvg-2.28.0-2.fc12.x86_64. Started pychess, selected "Enter game notation". ABRT replaced bug-buddy in F12. http://docs.fedoraproject.org/release-notes/f12/en-US/html/sect-Release_Notes-Changes_in_Fedora_for_Desktop_Users.html $ pychess 12:10:46 Default Warning: engineNest: engines.xml is outdated. It will be replaced /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)) 12:10:47 ('Gnuchess', '12:02:47.306') Warning: Chan closed for 'nopost' 12:10:47 ('Gnuchess', '12:02:47.306') Warning: Chan closed for ' ' 12:10:47 ('Gnuchess', '12:02:47.306') Error: Success 12:10:47 ('Python', '12:02:47.268') Warning: Chan closed for 'nopost' 12:10:47 ('Python', '12:02:47.268') Warning: Chan closed for ' ' sh: bug-buddy: command not found Second try gives: $ pychess /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)) sh: bug-buddy: command not found
Thanks for testing. (In reply to comment #7) > Installed gnome-python2-rsvg-2.28.0-2.fc12.x86_64. I added this in CVS, this will come in the next release, but not for now. I wait a bit, till hopefully the other bug reporter tested this version too. > > Started pychess, selected "Enter game notation". > > ABRT replaced bug-buddy in F12. > http://docs.fedoraproject.org/release-notes/f12/en-US/html/sect-Release_Notes-Changes_in_Fedora_for_Desktop_Users.html > > $ pychess > 12:10:46 Default Warning: engineNest: engines.xml is outdated. It will be > replaced > > /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)) > 12:10:47 ('Gnuchess', '12:02:47.306') Warning: Chan closed for 'nopost' > 12:10:47 ('Gnuchess', '12:02:47.306') Warning: Chan closed for ' > ' > 12:10:47 ('Gnuchess', '12:02:47.306') Error: Success > > 12:10:47 ('Python', '12:02:47.268') Warning: Chan closed for 'nopost' > 12:10:47 ('Python', '12:02:47.268') Warning: Chan closed for ' > ' > sh: bug-buddy: command not found > > Second try gives: > > $ pychess > /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)) > sh: bug-buddy: command not found I tried to convince upstream to delete the bug-buddy thing. http://code.google.com/p/pychess/issues/detail?id=519 Maybe this is fixed in the next version, but it's not worh to patch it out. This should be done by upstream. Can you play at least a bit? Upstream has many problems right now and I try to submit some patches to make it usable again.
(In reply to comment #8) Thanks, Thomas. That all sounds good. > Can you play at least a bit? > Upstream has many problems right now and I try to submit some patches to make > it usable again. Played and resigned. :-) Didn't notice anything obviously wrong. Possible enhancement: It is not entirely clear what the slider does (the one that changes the weather). Since pychess is partly intended for beginners, it might be helpful to have a tooltip or a one-word description (e.g. "Difficulty"). I can open a separate bug ...
(In reply to comment #9) > (In reply to comment #8) > > Thanks, Thomas. That all sounds good. > > > Can you play at least a bit? > > Upstream has many problems right now and I try to submit some patches to make > > it usable again. > > Played and resigned. :-) Great. Oouhm, what a pitty :D > > Didn't notice anything obviously wrong. > > Possible enhancement: It is not entirely clear what the slider does (the one > that changes the weather). Since pychess is partly intended for beginners, it > might be helpful to have a tooltip or a one-word description (e.g. > "Difficulty"). I can open a separate bug ... No, thanks for the suggestion. I try to search, where to add a tooltip and will send the patch upstream. If I don't find the right place, I'll open a seperate bug upstream at http://code.google.com/p/pychess/issues/list You can do that too, if you want ;)
pychess-0.10-0.1.20100203svn.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.