ImportError: No module named rsvg

Created by Jan
Keywords:
Last updated by:
Jan

If you get the following error about a module named rsvg, you need to install ›python-gnome2-desktop‹:

$ python kazam
INFO:root:Running locally
Traceback (most recent call last):
  File "kazam", line 69, in <module>
    from kazam.app import KazamApp
  File "[…]/kazam/kazam/app.py", line 35, in <module>
    from window_countdown import CountdownWindow
  File "[…]/kazam/kazam/window_countdown.py", line 30, in <module>
    import rsvg
ImportError: No module named rsvg

After installing the package, it should work:
$ sudo apt-get install python-gnome2-desktop

Thanks to zish from http://forum.compiz.org/viewtopic.php?t=4520#p33836