{"action":"created","issue":{"url":"https://api.github.com/repos/astrofrog/reproject/issues/76","labels_url":"https://api.github.com/repos/astrofrog/reproject/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/astrofrog/reproject/issues/76/comments","events_url":"https://api.github.com/repos/astrofrog/reproject/issues/76/events","html_url":"https://github.com/astrofrog/reproject/issues/76","id":73731611,"number":76,"title":"reproject_exact crashes sometimes with Macports","user":{"login":"cdeil","id":852409,"avatar_url":"https://avatars.githubusercontent.com/u/852409?v=3","gravatar_id":"","url":"https://api.github.com/users/cdeil","html_url":"https://github.com/cdeil","followers_url":"https://api.github.com/users/cdeil/followers","following_url":"https://api.github.com/users/cdeil/following{/other_user}","gists_url":"https://api.github.com/users/cdeil/gists{/gist_id}","starred_url":"https://api.github.com/users/cdeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdeil/subscriptions","organizations_url":"https://api.github.com/users/cdeil/orgs","repos_url":"https://api.github.com/users/cdeil/repos","events_url":"https://api.github.com/users/cdeil/events{/privacy}","received_events_url":"https://api.github.com/users/cdeil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-05-06T20:40:36Z","updated_at":"2015-05-07T13:18:43Z","closed_at":null,"body":"I was getting a crash executing the example from the docs [here](http://reproject.readthedocs.org/en/latest/footprints.html):\r\n```python\r\nfrom astropy.io import fits\r\nfrom astropy.utils.data import get_pkg_data_filename\r\nhdu1 = fits.open(get_pkg_data_filename('galactic_center/gc_2mass_k.fits'))[0]\r\nhdu2 = fits.open(get_pkg_data_filename('galactic_center/gc_msx_e.fits'))[0]\r\nfrom reproject import reproject_interp, reproject_exact\r\narray_interp, footprint_interp = reproject_interp(hdu2, hdu1.header)\r\narray_exact, footprint_exact = reproject_exact(hdu2, hdu1.header)\r\n```\r\nThe crash report is here: https://gist.github.com/cdeil/cda42d1c5357e053b1c2\r\n\r\nThis is with Python 3.4 from Macports and from an IPython  notebook.\r\nI don't know what the problem is.\r\nThe IPython console output mentions a CFITSIO version mismatch:\r\n```\r\n$ ipython notebook\r\n[I 22:10:11.655 NotebookApp] Using MathJax from CDN: https://cdn.mathjax.org/mathjax/latest/MathJax.js\r\n[W 22:10:11.699 NotebookApp] Terminals not available (error was No module named 'terminado')\r\n[I 22:10:11.699 NotebookApp] Serving notebooks from local directory: /private/tmp\r\n[I 22:10:11.699 NotebookApp] 0 active kernels \r\n[I 22:10:11.699 NotebookApp] The IPython Notebook is running at: http://localhost:8888/\r\n[I 22:10:11.699 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).\r\n[I 22:10:29.713 NotebookApp] Creating new notebook in \r\n[I 22:10:30.557 NotebookApp] Kernel started: 1e1521ba-8ed9-47a1-ad7c-dcc47599478e\r\n[I 22:11:42.558 NotebookApp] KernelRestarter: restarting kernel (1/5)\r\nWARNING:root:kernel 1e1521ba-8ed9-47a1-ad7c-dcc47599478e restarted\r\n[I 22:12:31.523 NotebookApp] Saving file at /Untitled.ipynb\r\n[I 22:14:31.521 NotebookApp] Saving file at /Untitled.ipynb\r\n[I 22:16:31.518 NotebookApp] Saving file at /Untitled.ipynb\r\n[I 22:18:32.513 NotebookApp] Saving file at /Untitled.ipynb\r\n\r\nWARNING: version mismatch between CFITSIO header (v3.34) and linked library (v3.35).\r\n\r\n[I 22:20:32.511 NotebookApp] Saving file at /Untitled.ipynb\r\n[I 22:24:33.508 NotebookApp] Saving file at /Untitled.ipynb\r\n[I 22:26:34.508 NotebookApp] Saving file at /Untitled.ipynb\r\n[I 22:28:35.501 NotebookApp] Saving file at /Untitled.ipynb\r\nAssertion failed: ok (mailbox.cpp:84)\r\nAssertion failed: ok (mailbox.cpp:84)\r\n[I 22:30:15.567 NotebookApp] KernelRestarter: restarting kernel (1/5)\r\nWARNING:root:kernel 1e1521ba-8ed9-47a1-ad7c-dcc47599478e restarted\r\n```\r\n\r\nI've tried a few times, but I'm not able to reproduce the issue.\r\nJust thought I'd mention it here in case someone else sees a similar crash ..."},"comment":{"url":"https://api.github.com/repos/astrofrog/reproject/issues/comments/99860995","html_url":"https://github.com/astrofrog/reproject/issues/76#issuecomment-99860995","issue_url":"https://api.github.com/repos/astrofrog/reproject/issues/76","id":99860995,"user":{"login":"astrofrog","id":314716,"avatar_url":"https://avatars.githubusercontent.com/u/314716?v=3","gravatar_id":"","url":"https://api.github.com/users/astrofrog","html_url":"https://github.com/astrofrog","followers_url":"https://api.github.com/users/astrofrog/followers","following_url":"https://api.github.com/users/astrofrog/following{/other_user}","gists_url":"https://api.github.com/users/astrofrog/gists{/gist_id}","starred_url":"https://api.github.com/users/astrofrog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astrofrog/subscriptions","organizations_url":"https://api.github.com/users/astrofrog/orgs","repos_url":"https://api.github.com/users/astrofrog/repos","events_url":"https://api.github.com/users/astrofrog/events{/privacy}","received_events_url":"https://api.github.com/users/astrofrog/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T13:18:43Z","updated_at":"2015-05-07T13:18:43Z","body":"@cdeil - I just pushed some new changes to #80 - it included some bugs. Can you make sure to update to the latest version?\r\n\r\nI can't reproduce the issue you are seeing with that notebook, it all works fine for me (but I don't use MacPorts)"}}