{"action":"created","issue":{"url":"https://api.github.com/repos/letmaik/rawpy/issues/47","repository_url":"https://api.github.com/repos/letmaik/rawpy","labels_url":"https://api.github.com/repos/letmaik/rawpy/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/letmaik/rawpy/issues/47/comments","events_url":"https://api.github.com/repos/letmaik/rawpy/issues/47/events","html_url":"https://github.com/letmaik/rawpy/issues/47","id":340121929,"node_id":"MDU6SXNzdWUzNDAxMjE5Mjk=","number":47,"title":"Unsufficient memory","user":{"login":"baidut","id":6234266,"node_id":"MDQ6VXNlcjYyMzQyNjY=","avatar_url":"https://avatars2.githubusercontent.com/u/6234266?v=4","gravatar_id":"","url":"https://api.github.com/users/baidut","html_url":"https://github.com/baidut","followers_url":"https://api.github.com/users/baidut/followers","following_url":"https://api.github.com/users/baidut/following{/other_user}","gists_url":"https://api.github.com/users/baidut/gists{/gist_id}","starred_url":"https://api.github.com/users/baidut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baidut/subscriptions","organizations_url":"https://api.github.com/users/baidut/orgs","repos_url":"https://api.github.com/users/baidut/repos","events_url":"https://api.github.com/users/baidut/events{/privacy}","received_events_url":"https://api.github.com/users/baidut/received_events","type":"User","site_admin":false},"labels":[{"id":127551838,"node_id":"MDU6TGFiZWwxMjc1NTE4Mzg=","url":"https://api.github.com/repos/letmaik/rawpy/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2018-07-11T07:24:08Z","updated_at":"2018-08-04T06:33:17Z","closed_at":null,"author_association":"NONE","body":"I tried\r\n```\r\npip install rawpy\r\npip install imageio\r\npython ./rawpy_demo.py\r\n```\r\n\r\nrawpy_demo.py\r\n```python\r\nimport rawpy\r\nimport imageio\r\n\r\npath = '5.DNG'\r\nwith rawpy.imread(path) as raw:\r\n    rgb = raw.postprocess()\r\nimageio.imsave('5.tiff', rgb)\r\n```\r\n\r\nand Unsufficient memory (libraw error) reported.\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"./rawpy_demo.py\", line 6, in <module>\r\n    rgb = raw.postprocess()\r\n  File \"rawpy/_rawpy.pyx\", line 616, in rawpy._rawpy.RawPy.postprocess\r\n  File \"rawpy/_rawpy.pyx\", line 583, in rawpy._rawpy.RawPy.dcraw_process\r\n  File \"rawpy/_rawpy.pyx\", line 660, in rawpy._rawpy.RawPy.handle_error\r\nrawpy._rawpy.LibRawFatalError: Unsufficient memory\r\n```\r\n\r\nrawpy-0.11.0\r\nubuntu 14.04\r\nPython 2.7.12 |Anaconda 4.2.0 (64-bit)\r\n\r\nCould you please kindly help me fix this error? Or should I report the issue at the LibRaw repo instead?\r\n"},"comment":{"url":"https://api.github.com/repos/letmaik/rawpy/issues/comments/410427906","html_url":"https://github.com/letmaik/rawpy/issues/47#issuecomment-410427906","issue_url":"https://api.github.com/repos/letmaik/rawpy/issues/47","id":410427906,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDQyNzkwNg==","user":{"login":"letmaik","id":530988,"node_id":"MDQ6VXNlcjUzMDk4OA==","avatar_url":"https://avatars1.githubusercontent.com/u/530988?v=4","gravatar_id":"","url":"https://api.github.com/users/letmaik","html_url":"https://github.com/letmaik","followers_url":"https://api.github.com/users/letmaik/followers","following_url":"https://api.github.com/users/letmaik/following{/other_user}","gists_url":"https://api.github.com/users/letmaik/gists{/gist_id}","starred_url":"https://api.github.com/users/letmaik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/letmaik/subscriptions","organizations_url":"https://api.github.com/users/letmaik/orgs","repos_url":"https://api.github.com/users/letmaik/repos","events_url":"https://api.github.com/users/letmaik/events{/privacy}","received_events_url":"https://api.github.com/users/letmaik/received_events","type":"User","site_admin":false},"created_at":"2018-08-04T06:33:17Z","updated_at":"2018-08-04T06:33:17Z","author_association":"OWNER","body":"https://github.com/cchen156/Learning-to-See-in-the-Dark/issues/34 also noticed the error, but no mention of the OS, I assume Linux though.\r\n\r\nIn https://github.com/LibRaw/LibRaw/issues/171 it looks like it is a bug in libraw fixed in latest master. I'll try that out and report back."}}
{"actor":{"display_login":"letmaik"}}