--- inkex.py.orig 2010-07-05 23:06:09.000000000 +0200 +++ inkex.py 2010-07-05 23:09:25.000000000 +0200 @@ -63,8 +63,8 @@ try: from lxml import etree -except: - sys.exit(_('The fantastic lxml wrapper for libxml2 is required by inkex.py and therefore this extension. Please download and install the latest version from http://cheeseshop.python.org/pypi/lxml/, or install it through your package manager by a command like: sudo apt-get install python-lxml')) +except Exception, e: + sys.exit(_("The fantastic lxml wrapper for libxml2 is required by inkex.py and therefore this extension. Please download and install the latest version from http://cheeseshop.python.org/pypi/lxml/, or install it through your package manager by a command like: sudo apt-get install python-lxml\n\nTechnical details:\n%s" % (e,))) def debug(what): sys.stderr.write(str(what) + "\n")