{"action":"created","issue":{"url":"https://api.github.com/repos/jcupitt/libvips/issues/199","labels_url":"https://api.github.com/repos/jcupitt/libvips/issues/199/labels{/name}","comments_url":"https://api.github.com/repos/jcupitt/libvips/issues/199/comments","events_url":"https://api.github.com/repos/jcupitt/libvips/issues/199/events","html_url":"https://github.com/jcupitt/libvips/issues/199","id":50909939,"number":199,"title":"Compiling latest source and running python examples fails with NotImplementedError","user":{"login":"benjamind","id":332843,"avatar_url":"https://avatars.githubusercontent.com/u/332843?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamind","html_url":"https://github.com/benjamind","followers_url":"https://api.github.com/users/benjamind/followers","following_url":"https://api.github.com/users/benjamind/following{/other_user}","gists_url":"https://api.github.com/users/benjamind/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamind/subscriptions","organizations_url":"https://api.github.com/users/benjamind/orgs","repos_url":"https://api.github.com/users/benjamind/repos","events_url":"https://api.github.com/users/benjamind/events{/privacy}","received_events_url":"https://api.github.com/users/benjamind/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jcupitt/libvips/labels/bug","name":"bug","color":"e10c02"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2014-12-03T23:47:58Z","updated_at":"2015-01-13T18:31:10Z","closed_at":"2015-01-05T12:02:13Z","body":"Ok so I'm on Ubuntu and did the following steps:\r\n\r\n```bash\r\ngit clone https://github.com/jcupitt/libvips.git\r\ncd libvips\r\n./bootstrap.sh\r\n./configure\r\nmake\r\nsudo make install\r\n```\r\n\r\nI then setup my environment variables for local usage like so:\r\n\r\n```bash\r\nexport VIPSHOME=/usr/local\r\nexport LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$VIPSHOME/lib\r\nexport PATH=$PATH:$VIPSHOME/bin\r\nexport PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$VIPSHOME/lib/pkgconfig\r\nexport MANPATH=$MANPATH:$VIPSHOME/man\r\nexport PYTHONPATH=$VIPSHOME/lib/python2.7/site-packages\r\n```\r\n\r\nFinally I ensured that `/usr/local/lib/girepository-1.0' contained `Vips-8.0typelib` and I ensured this was added to the GI_TYPELIB_PATH with:\r\n\r\n```bash\r\nexport GI_TYPELIB_PATH=$VIPSHOME/lib/girepository-1.0\r\n```\r\n\r\nNow when I try to run the `try3.py` script found in `python/example` I get the following output:\r\n\r\n```bash\r\nbdelarre@dev-01:~/libvips/python/example$ ./try3.py ~/test.pnm\r\nTraceback (most recent call last):\r\n  File \"./try3.py\", line 8, in <module>\r\n    from gi.repository import Vips\r\n  File \"/usr/lib/python2.7/dist-packages/gi/importer.py\", line 68, in load_module\r\n    dynamic_module._load()\r\n  File \"/usr/lib/python2.7/dist-packages/gi/module.py\", line 289, in _load\r\n    self._overrides_module = importlib.import_module('gi.overrides.' + self._namespace)\r\n  File \"/usr/lib/python2.7/importlib/__init__.py\", line 37, in import_module\r\n    __import__(name)\r\n  File \"/usr/lib/python2.7/dist-packages/gi/overrides/Vips.py\", line 55, in <module>\r\n    unpack_types = [Vips.Blob, Vips.ArrayDouble, Vips.ArrayImage, Vips.ArrayInt]\r\n  File \"/usr/lib/python2.7/dist-packages/gi/module.py\", line 226, in __getattr__\r\n    raise NotImplementedError(info)\r\nNotImplementedError: <gi.BoxedInfo object (Blob) at 0x0x7fb209dd86e8>\r\n```"},"comment":{"url":"https://api.github.com/repos/jcupitt/libvips/issues/comments/69793810","html_url":"https://github.com/jcupitt/libvips/issues/199#issuecomment-69793810","issue_url":"https://api.github.com/repos/jcupitt/libvips/issues/199","id":69793810,"user":{"login":"benjamind","id":332843,"avatar_url":"https://avatars.githubusercontent.com/u/332843?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamind","html_url":"https://github.com/benjamind","followers_url":"https://api.github.com/users/benjamind/followers","following_url":"https://api.github.com/users/benjamind/following{/other_user}","gists_url":"https://api.github.com/users/benjamind/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamind/subscriptions","organizations_url":"https://api.github.com/users/benjamind/orgs","repos_url":"https://api.github.com/users/benjamind/repos","events_url":"https://api.github.com/users/benjamind/events{/privacy}","received_events_url":"https://api.github.com/users/benjamind/received_events","type":"User","site_admin":false},"created_at":"2015-01-13T18:31:10Z","updated_at":"2015-01-13T18:31:10Z","body":"Thanks @jcupitt that helped...\r\n\r\nSadly however I'm still mired in upgrading packages, seems like there's a whole slew of dependencies here that I'll need to recompile for 13.x. pygobject-3.14 seems to depend on glib >= 2.38 which isn't available on this version of ubuntu so now I'm off compiling that.\r\n\r\nMight be easier to force our sys admins to update all the boxes :-)"}}