{"action":"created","issue":{"url":"https://api.github.com/repos/Kozea/cairocffi/issues/62","repository_url":"https://api.github.com/repos/Kozea/cairocffi","labels_url":"https://api.github.com/repos/Kozea/cairocffi/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/Kozea/cairocffi/issues/62/comments","events_url":"https://api.github.com/repos/Kozea/cairocffi/issues/62/events","html_url":"https://github.com/Kozea/cairocffi/issues/62","id":88746827,"number":62,"title":"cairocffi 'module' object has no attribute 'FFI'","user":{"login":"andrecastro0o","id":1690557,"avatar_url":"https://avatars.githubusercontent.com/u/1690557?v=3","gravatar_id":"","url":"https://api.github.com/users/andrecastro0o","html_url":"https://github.com/andrecastro0o","followers_url":"https://api.github.com/users/andrecastro0o/followers","following_url":"https://api.github.com/users/andrecastro0o/following{/other_user}","gists_url":"https://api.github.com/users/andrecastro0o/gists{/gist_id}","starred_url":"https://api.github.com/users/andrecastro0o/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrecastro0o/subscriptions","organizations_url":"https://api.github.com/users/andrecastro0o/orgs","repos_url":"https://api.github.com/users/andrecastro0o/repos","events_url":"https://api.github.com/users/andrecastro0o/events{/privacy}","received_events_url":"https://api.github.com/users/andrecastro0o/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2015-06-16T14:41:14Z","updated_at":"2016-08-26T17:49:33Z","closed_at":"2016-08-26T16:58:49Z","body":"Hi, I am trying to use cairocffi in weasyprint. \r\nI can run it fine as root, but as user when I try to: `python -c \"import cairocffi\"`\r\n\r\nI get: \r\n<pre>\r\nTraceback (most recent call last):\r\n  File \"<string>\", line 1, in <module>\r\n  File \"/usr/local/lib/python2.7/dist-packages/cairocffi/__init__.py\", line 19, in <module>\r\n    from ._ffi import ffi\r\n  File \"/usr/local/lib/python2.7/dist-packages/cairocffi/_ffi.py\", line 4, in <module>\r\n    ffi = _cffi_backend.FFI('cairocffi._ffi',\r\nAttributeError: 'module' object has no attribute 'FFI'\r\n</pre>\r\n\r\nI am using:\r\ncairocffi==0.7\r\ncffi==1.1.2\r\nxcffib==0.3.2\r\n\r\nand:\r\nOperating System: Debian GNU/Linux stretch/sid\r\nKernel: Linux 3.2.0-4-amd64\r\n\r\nany clues? thanks"},"comment":{"url":"https://api.github.com/repos/Kozea/cairocffi/issues/comments/242803966","html_url":"https://github.com/Kozea/cairocffi/issues/62#issuecomment-242803966","issue_url":"https://api.github.com/repos/Kozea/cairocffi/issues/62","id":242803966,"user":{"login":"flacjacket","id":681093,"avatar_url":"https://avatars.githubusercontent.com/u/681093?v=3","gravatar_id":"","url":"https://api.github.com/users/flacjacket","html_url":"https://github.com/flacjacket","followers_url":"https://api.github.com/users/flacjacket/followers","following_url":"https://api.github.com/users/flacjacket/following{/other_user}","gists_url":"https://api.github.com/users/flacjacket/gists{/gist_id}","starred_url":"https://api.github.com/users/flacjacket/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flacjacket/subscriptions","organizations_url":"https://api.github.com/users/flacjacket/orgs","repos_url":"https://api.github.com/users/flacjacket/repos","events_url":"https://api.github.com/users/flacjacket/events{/privacy}","received_events_url":"https://api.github.com/users/flacjacket/received_events","type":"User","site_admin":false},"created_at":"2016-08-26T17:49:32Z","updated_at":"2016-08-26T17:49:32Z","body":"I don't really think that is a good solution, what is in place is there to\nexplicitly not try to install cffi on pypy. You should not install cffi on\npypy because it has its own version built in. There are some old cffi\ncompatibility things that can be removed if you are willing to drop support\nfor old pypy versions, and that may help show problems with not having the\ncffi module compiled correctly, but you should be careful about having cffi\nin the install_requires.\n\nOn Fri, Aug 26, 2016, 11:58 Guillaume Ayoub <notifications@github.com>\nwrote:\n\n> I have more exceptions there.\n>\n> @neumond <https://github.com/neumond> This should be fixed with 88e94f0\n> <https://github.com/Kozea/cairocffi/commit/88e94f0cb65ff1803a7a103cf002991ded56bea5>\n> .\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/Kozea/cairocffi/issues/62#issuecomment-242790950>, or mute\n> the thread\n> <https://github.com/notifications/unsubscribe-auth/AApkhURSniShSyjTGE_Q18OaxAaxSbFoks5qjxtKgaJpZM4FEcZY>\n> .\n>\n"}}
{"actor":{"display_login":"flacjacket"}}