Package: bookletimposer Version: 0.2-1 Severity: important I installed bookletimposer on a server to automatically generate booklets from PDFs.
I used the following command: bookletimposer linear.pdf --no-gui --output=booklet.pdf Which crashed with the following trace: Traceback (most recent call last): File "/usr/bin/bookletimposer", line 45, in <module> import bookletimposer.gui as gui File "/usr/lib/python2.7/dist-packages/bookletimposer/gui.py", line 34, in <module> from gi.repository import Gtk File "/usr/lib/python2.7/dist-packages/gi/importer.py", line 76, in load_module dynamic_module._load() File "/usr/lib/python2.7/dist-packages/gi/module.py", line 224, in _load overrides_modules = __import__('gi.overrides', fromlist=[self._namespace]) File "/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py", line 1533, in <module> raise RuntimeError("Gtk couldn't be initialized") RuntimeError: Gtk couldn't be initialized As a workaround I commented out line 45: #import bookletimposer.gui as gui That was enough to have bookletimposer behave as expected: generate the booklet. -- System Information: Debian Release: 7.3 APT prefers stable-updates APT policy: (500, 'stable-updates'), (200, 'stable') Architecture: i386 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages bookletimposer depends on: ii gir1.2-gtk-3.0 3.4.2-7 ii python 2.7.3-4+deb7u1 ii python-gobject 3.2.2-2 ii python-pypdf 1.13-1 ii python2.6 2.6.8-1.1 ii python2.7 2.7.3-6 bookletimposer recommends no packages. bookletimposer suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org