Comment 3 for bug 1450459

Revision history for this message
Roberto Suarez (robe-allenta) wrote :

I think I found how to fix this, though I don't know why :-)

The problem is this line in /opt/extras.ubuntu.com/variety/bin/variety:

    os.putenv("XDG_DATA_DIRS", "%s:%s" % ("/opt/extras.ubuntu.com/variety/share/", os.getenv("XDG_DATA_DIRS", "")))

It seems it messes up with how Python (maybe PyGTK, in particular) searches for shared libraries and icons. Maybe it works in Ubuntu, but not in Debian. Removing it fixes the problem: variety starts and works as expected.

I attach a patch for debian/rules, a simple comment of the command that adds the problematic line. I don't know why it was there, so maybe I'm breaking something else. Please, check that this is not the case and let me know.