Comment 19 for bug 312462

Revision history for this message
Martin Manns (mmanns) wrote :

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