Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#2444 closed defect (fixed)

crash when an icon theme is missing

Reported by: nekohayo@… Owned by: asterix
Priority: normal Milestone: 0.11
Component: None Version: hg
Severity: critical Keywords: crash patch
Cc: Blocked By:
Blocking: OS:


jeff@khloe:~/gajim$ ./ Traceback (most recent call last):

File "", line 1993, in ?


File "", line 1890, in init

self.roster = roster_window.RosterWindow?()

File "/home/jeff/gajim/src/", line 3738, in init


File "/home/jeff/gajim/src/", line 3107, in make_jabber_state_images

pixo = gtk.gdk.pixbuf_new_from_file(os.path.join(path, 'opened.png'))

gobject.GError: L'ouverture du fichier « ../data/iconsets/balloons/16x16/opened.png » a échoué : Aucun fichier ou répertoire de ce type

Explanation: on my distro-provided gajim, I added some icon sets for my roster. I downloaded the SVN trunk of gajim and ran gajim from the launcher script, but the icon sets are not inside that trunk, so gajim crashes.

Gajim should simply use a try and except clause in cases like this, and if the icon set cannot be found, revert to another one temporarily.

I made a patch here that solves the problem.

Attachments (1)

roster-icon-exceptions.patch (821 bytes) - added by nekohayo@… 10 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 Changed 10 years ago by nk

you should use os.path.join really!

you shouldn't mix config from stable and svn. read

I commit this just because it's somehow possible that this happens evne without mixing configs. [85bf15849a8c8116b58da82cbdf8d5ed83ae9735]

comment:2 Changed 10 years ago by nk

  • Milestone set to 0.11
  • Status changed from new to closed

Changed 10 years ago by nekohayo@…


Note: See TracTickets for help on using tickets.