After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 648735 - gnome-tweak-tool fails to start if ~/.icons directory does not exist
gnome-tweak-tool fails to start if ~/.icons directory does not exist
Status: RESOLVED FIXED
Product: gnome-tweak-tool
Classification: Applications
Component: general
3.0.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Tweak Tool maintainer(s)
GNOME Tweak Tool maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2011-04-27 07:40 UTC by zbynek
Modified: 2011-04-27 08:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description zbynek 2011-04-27 07:40:05 UTC
gnome-tweak-tool version 3.0.2 fails to start if ~/.icons directory does not exist with traceback:

Traceback (most recent call last):
  • File "/usr/bin/gnome-tweak-tool", line 81 in <module>
    MainWindow()
  • File "/usr/bin/gnome-tweak-tool", line 46 in __init__
    model)
  • File "/usr/lib/python2.7/site-packages/gtweak/tweakview.py", line 38 in __init__
    self._model.load_tweaks()
  • File "/usr/lib/python2.7/site-packages/gtweak/tweakmodel.py", line 97 in load_tweaks
    mods = __import__("gtweak.tweaks", globals(), locals(), tweak_files, 0)
  • File "/usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_interface.py", line 92 in <module>
    IconThemeSwitcher(size_group=sg),
  • File "/usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_interface.py", line 51 in __init__
    [(t, t) for t in self._get_valid_icon_themes()],
  • File "/usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_interface.py", line 59 in _get_valid_icon_themes
    for t in os.listdir(thdir):
OSError: [Errno 2] No such file or directory: '/home/jesus/.icons'

Comment 1 John Stowers 2011-04-27 08:09:43 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Comment 2 Ionut Biru 2011-04-27 08:14:27 UTC
major software releases means in 3.2?
Comment 3 John Stowers 2011-04-27 08:16:45 UTC
no, it means in 45 minutes. that was a bugzilla template reply