{"action":"created","issue":{"url":"https://api.github.com/repos/ExcaliburZero/jekyll-helper/issues/2","labels_url":"https://api.github.com/repos/ExcaliburZero/jekyll-helper/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/ExcaliburZero/jekyll-helper/issues/2/comments","events_url":"https://api.github.com/repos/ExcaliburZero/jekyll-helper/issues/2/events","html_url":"https://github.com/ExcaliburZero/jekyll-helper/issues/2","id":74304778,"number":2,"title":"ImportError: No module named gi.repository","user":{"login":"ExcaliburZero","id":4276196,"avatar_url":"https://avatars.githubusercontent.com/u/4276196?v=3","gravatar_id":"","url":"https://api.github.com/users/ExcaliburZero","html_url":"https://github.com/ExcaliburZero","followers_url":"https://api.github.com/users/ExcaliburZero/followers","following_url":"https://api.github.com/users/ExcaliburZero/following{/other_user}","gists_url":"https://api.github.com/users/ExcaliburZero/gists{/gist_id}","starred_url":"https://api.github.com/users/ExcaliburZero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ExcaliburZero/subscriptions","organizations_url":"https://api.github.com/users/ExcaliburZero/orgs","repos_url":"https://api.github.com/users/ExcaliburZero/repos","events_url":"https://api.github.com/users/ExcaliburZero/events{/privacy}","received_events_url":"https://api.github.com/users/ExcaliburZero/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ExcaliburZero/jekyll-helper/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"ExcaliburZero","id":4276196,"avatar_url":"https://avatars.githubusercontent.com/u/4276196?v=3","gravatar_id":"","url":"https://api.github.com/users/ExcaliburZero","html_url":"https://github.com/ExcaliburZero","followers_url":"https://api.github.com/users/ExcaliburZero/followers","following_url":"https://api.github.com/users/ExcaliburZero/following{/other_user}","gists_url":"https://api.github.com/users/ExcaliburZero/gists{/gist_id}","starred_url":"https://api.github.com/users/ExcaliburZero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ExcaliburZero/subscriptions","organizations_url":"https://api.github.com/users/ExcaliburZero/orgs","repos_url":"https://api.github.com/users/ExcaliburZero/repos","events_url":"https://api.github.com/users/ExcaliburZero/events{/privacy}","received_events_url":"https://api.github.com/users/ExcaliburZero/received_events","type":"User","site_admin":false},"milestone":null,"comments":13,"created_at":"2015-05-08T09:46:40Z","updated_at":"2015-05-08T23:44:10Z","closed_at":null,"body":"The following errors are currently showing up in Travis CI. Python seems unable to import `gi.repository`.\r\n\r\n```\r\n======================================================================\r\nERROR: Failure: ImportError (No module named gi.repository)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/travis/virtualenv/python3.2.5/lib/python3.2/site-packages/nose/failure.py\", line 39, in runTest\r\n    raise self.exc_val.with_traceback(self.tb)\r\n  File \"/home/travis/virtualenv/python3.2.5/lib/python3.2/site-packages/nose/loader.py\", line 414, in loadTestsFromName\r\n    addr.filename, addr.module)\r\n  File \"/home/travis/virtualenv/python3.2.5/lib/python3.2/site-packages/nose/importer.py\", line 47, in importFromPath\r\n    return self.importFromDir(dir_path, fqname)\r\n  File \"/home/travis/virtualenv/python3.2.5/lib/python3.2/site-packages/nose/importer.py\", line 94, in importFromDir\r\n    mod = load_module(part_fqname, fh, filename, desc)\r\n  File \"/home/travis/build/ExcaliburZero/jekyll-helper/jekyll_helper/__init__.py\", line 10, in <module>\r\n    from gi.repository import Gtk # pylint: disable=E0611\r\nImportError: No module named gi.repository\r\n```\r\n```\r\n======================================================================\r\nERROR: Failure: ImportError (No module named gi.repository)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/travis/virtualenv/python3.2.5/lib/python3.2/site-packages/nose/failure.py\", line 39, in runTest\r\n    raise self.exc_val.with_traceback(self.tb)\r\n  File \"/home/travis/virtualenv/python3.2.5/lib/python3.2/site-packages/nose/loader.py\", line 414, in loadTestsFromName\r\n    addr.filename, addr.module)\r\n  File \"/home/travis/virtualenv/python3.2.5/lib/python3.2/site-packages/nose/importer.py\", line 47, in importFromPath\r\n    return self.importFromDir(dir_path, fqname)\r\n  File \"/home/travis/virtualenv/python3.2.5/lib/python3.2/site-packages/nose/importer.py\", line 94, in importFromDir\r\n    mod = load_module(part_fqname, fh, filename, desc)\r\n  File \"/home/travis/build/ExcaliburZero/jekyll-helper/jekyll_helper_lib/__init__.py\", line 11, in <module>\r\n    from . helpers import set_up_logging\r\n  File \"/home/travis/build/ExcaliburZero/jekyll-helper/jekyll_helper_lib/helpers.py\", line 13, in <module>\r\n    from . Builder import Builder\r\n  File \"/home/travis/build/ExcaliburZero/jekyll-helper/jekyll_helper_lib/Builder.py\", line 10, in <module>\r\n    from gi.repository import GObject, Gtk # pylint: disable=E0611\r\nImportError: No module named gi.repository\r\n```\r\n```\r\n======================================================================\r\nERROR: Failure: ImportError (No module named gi.repository)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/travis/virtualenv/python3.2.5/lib/python3.2/site-packages/nose/failure.py\", line 39, in runTest\r\n    raise self.exc_val.with_traceback(self.tb)\r\n  File \"/home/travis/virtualenv/python3.2.5/lib/python3.2/site-packages/nose/loader.py\", line 414, in loadTestsFromName\r\n    addr.filename, addr.module)\r\n  File \"/home/travis/virtualenv/python3.2.5/lib/python3.2/site-packages/nose/importer.py\", line 47, in importFromPath\r\n    return self.importFromDir(dir_path, fqname)\r\n  File \"/home/travis/virtualenv/python3.2.5/lib/python3.2/site-packages/nose/importer.py\", line 94, in importFromDir\r\n    mod = load_module(part_fqname, fh, filename, desc)\r\n  File \"/home/travis/build/ExcaliburZero/jekyll-helper/tests/test_example.py\", line 12, in <module>\r\n    from jekyll_helper import AboutJekyllHelperDialog\r\n  File \"/home/travis/build/ExcaliburZero/jekyll-helper/jekyll_helper/__init__.py\", line 10, in <module>\r\n    from gi.repository import Gtk # pylint: disable=E0611\r\nImportError: No module named gi.repository\r\n```"},"comment":{"url":"https://api.github.com/repos/ExcaliburZero/jekyll-helper/issues/comments/100394995","html_url":"https://github.com/ExcaliburZero/jekyll-helper/issues/2#issuecomment-100394995","issue_url":"https://api.github.com/repos/ExcaliburZero/jekyll-helper/issues/2","id":100394995,"user":{"login":"ExcaliburZero","id":4276196,"avatar_url":"https://avatars.githubusercontent.com/u/4276196?v=3","gravatar_id":"","url":"https://api.github.com/users/ExcaliburZero","html_url":"https://github.com/ExcaliburZero","followers_url":"https://api.github.com/users/ExcaliburZero/followers","following_url":"https://api.github.com/users/ExcaliburZero/following{/other_user}","gists_url":"https://api.github.com/users/ExcaliburZero/gists{/gist_id}","starred_url":"https://api.github.com/users/ExcaliburZero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ExcaliburZero/subscriptions","organizations_url":"https://api.github.com/users/ExcaliburZero/orgs","repos_url":"https://api.github.com/users/ExcaliburZero/repos","events_url":"https://api.github.com/users/ExcaliburZero/events{/privacy}","received_events_url":"https://api.github.com/users/ExcaliburZero/received_events","type":"User","site_admin":false},"created_at":"2015-05-08T23:44:10Z","updated_at":"2015-05-08T23:44:10Z","body":"After doing so more tests I decided to revert to using `system_site_packages: true` to allow the installation of Python libraries. However, I did have to remove testing for all versions of Python except 3.2 and 2.7, as the others did not allow the use of this method."}}