Is there already a patched poppler deb package with static bindings? Importing the gi based version results in (other modules in namespace: cStringIO, math, warnings, cairo, wx, wx.lib.wxcairo, rsvg):
from gi.repository import Poppler File "/usr/lib/python2.7/dist-packages/gi/__init__.py", line 39, in <module> raise ImportError(_static_binding_error) ImportError: When using gi.repository you must not import static modules like "gobject". Please change all occurrences of "import gobject" to "from gi.repository import GObject". See: https://bugzilla.gnome.org/show_bug.cgi?id=709183 ** Bug watch added: GNOME Bug Tracker #709183 https://bugzilla.gnome.org/show_bug.cgi?id=709183 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/312462 Title: document_new_from_data() arg1 must be without null bytes To manage notifications about this bug go to: https://bugs.launchpad.net/poppler-python/+bug/312462/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs