Bug 433786
Summary: | pychess fails to start (python traceback) | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | David Kovalsky <dkovalsk> |
Component: | pychess | Assignee: | Sindre Pedersen Bjørdal <sindrepb> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8 | CC: | benl, michel |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-12-11 15:06:57 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: |
Description
David Kovalsky
2008-02-21 14:07:15 UTC
This icon is provided by, amongst others, the gnome-icon-theme package. Please try yum install gnome-icon-theme and see if this solves your problem. Hi Sindre, I already have the gnome-icon-theme package installed: [root@kovinek ~]# yum install gnome-icon-theme Loading "changelog" plugin local 100% |=========================| 1.9 kB 00:00 Setting up Install Process Parsing package install arguments Package gnome-icon-theme - 2.20.0-2.fc8.noarch is already installed. Nothing to do [root@kovinek ~]# Is this problem still present when using 0.8 final: http://koji.fedoraproject.org/koji/buildinfo?buildID=39749 Yup, still present. [dkovalsk@kovinek ~]$ rpm -q pychess pychess-0.8-1.fc8 [dkovalsk@kovinek ~]$ pychess 25019: old priority 0, new priority 15 Traceback (most recent call last): File "/usr/bin/pychess", line 40, in <module> import pychess.Main File "/usr/lib/python2.5/site-packages/pychess/Main.py", line 17, in <module> from pychess.Players.Human import Human File "/usr/lib/python2.5/site-packages/pychess/Players/Human.py", line 8, in < module> from pychess.widgets.gamewidget import cur_gmwidg File "/usr/lib/python2.5/site-packages/pychess/widgets/gamewidget.py", line 69 , in <module> light_on = icons.load_icon("weather-clear", 16, ICON_LOOKUP_USE_BUILTIN) gobject.GError: Icon 'weather-clear' not present in theme So we definitely need to Require: gnome-icon-theme. The bizarre question is, it *should* contain stock_3d-light-{on,off}, and so should not even get to trying to load weather-clear. Then again, if load_icon fails to find the first two, it would not find weather-clear anyway, as they are in the same package. Perhaps it's just because no GTK icon theme is set? BTW, Sindre, 0.8 final does not work on Rawhide. Not sure what's wrong. Hmm, the fix is sooo simple - it's fedora-icon-theme in Requires :-) Please build a new package with fedora-icon-theme in Requires. Thanks! fedora-icon-theme does not even require gnome-icon-theme, which actually contains the weather-clear icon. The actual solution is to make sure that /usr/libexec/gnome-settings-daemon is running before pychess is executed. Not sure what the proper fix is. Does KDE have a global autostart directory? I currently just symlink gnome-settings-daemon to ~/.kde/Autostart/ Please retest with gnome-settings-daemon running. On my Rawhide/KDE system I can confirm that with gnome-settings-daemon, pychess works; kill the daemon and it breaks. Sindre, we should probably hold off an update (that requires gnome-icon-theme) until we decide on how to fix the gnome-settings-daemon issue. Easiest short-term fix is to Require: gnome-settings-daemon and to have a wrapper script that fires off gnome-settings-daemon if it is not already running? Agreed! Holding the current update. I'll write a wrapper that ensures the gnome-settings-daemon is running befora launching pychess and push a new update. Long-term we'll have to convince upstream to solve this issue the right way. I'm testing a planned update to 0.8.2. Had to patch out a lot of stock_ icons, that are not in gnome-icon-theme (it's in echo-icon-theme, and not sure what other themes. Considering even Fedora does not install Echo by default, we probably don't want to go there). I wrote the wrapper we planned to have as well. Koji scratch for F-9 (I'm testing on Rawhide, where it works; will issue a F-9 update if nobody reports a breakage in the next few days) Michel, thanks for all the work! Can you post a link to the latest available build so I can test? This message is a reminder that Fedora 8 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 8. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '8'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 8's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 8 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Status on this issue? Testing on Fedora 10, pychess starts fine without any issues. Feel free to close this :) /David |