Comment 36 for bug 829186

Michael Blank (mblank) wrote :

I get this error when starting a "quickly" project:

$ quickly run
Traceback (most recent call last):
  File "bin/jotty", line 32, in <module>
    import jotty
  File "/home/mblank/jotty/jotty/__init__.py", line 14, in <module>
    from jotty import JottyWindow
  File "/home/mblank/jotty/jotty/JottyWindow.py", line 14, in <module>
    from jotty_lib import Window
  File "/home/mblank/jotty/jotty_lib/__init__.py", line 9, in <module>
    from . helpers import set_up_logging
  File "/home/mblank/jotty/jotty_lib/helpers.py", line 13, in <module>
    from . Builder import Builder
  File "/home/mblank/jotty/jotty_lib/Builder.py", line 8, in <module>
    from gi.repository import GObject # pylint: disable=E0611
  File "/usr/lib/python2.7/dist-packages/gi/__init__.py", line 23, in <module>
    from ._gi import _API, Repository
ImportError: could not import gobject (error was: 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".',))