{"action":"created","issue":{"url":"https://api.github.com/repos/dotsdl/datreant/issues/20","labels_url":"https://api.github.com/repos/dotsdl/datreant/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/dotsdl/datreant/issues/20/comments","events_url":"https://api.github.com/repos/dotsdl/datreant/issues/20/events","html_url":"https://github.com/dotsdl/datreant/issues/20","id":107682166,"number":20,"title":"Crash when adding numpy array in data","user":{"login":"duboism","id":4348913,"avatar_url":"https://avatars.githubusercontent.com/u/4348913?v=3","gravatar_id":"","url":"https://api.github.com/users/duboism","html_url":"https://github.com/duboism","followers_url":"https://api.github.com/users/duboism/followers","following_url":"https://api.github.com/users/duboism/following{/other_user}","gists_url":"https://api.github.com/users/duboism/gists{/gist_id}","starred_url":"https://api.github.com/users/duboism/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duboism/subscriptions","organizations_url":"https://api.github.com/users/duboism/orgs","repos_url":"https://api.github.com/users/duboism/repos","events_url":"https://api.github.com/users/duboism/events{/privacy}","received_events_url":"https://api.github.com/users/duboism/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-09-22T10:07:06Z","updated_at":"2015-10-10T19:59:56Z","closed_at":null,"body":"I have cloned `datreant` yesterday in order to give it a try (I'm up-to-date with this repository). The following script exits with a segfault:\r\n\r\n    import datreant\r\n    import numpy as np\r\n    sprout = datreant.Treant('sprout')\r\n    print \"Adding list\"\r\n    sprout.data.add('test', [1, 2, 3])\r\n    print \"Adding np.array\"\r\n    sprout.data.add('test2', np.array([1, 2, 3]))\r\nAdding the list works but adding the `np.array` fails in `H5Open`. If I re-run the script without removing the `sprout` directory, it works.\r\nI use Ubuntu 14.04. The current version of the HDF5 library is 1.8.11."},"comment":{"url":"https://api.github.com/repos/dotsdl/datreant/issues/comments/147121736","html_url":"https://github.com/dotsdl/datreant/issues/20#issuecomment-147121736","issue_url":"https://api.github.com/repos/dotsdl/datreant/issues/20","id":147121736,"user":{"login":"dotsdl","id":1326811,"avatar_url":"https://avatars.githubusercontent.com/u/1326811?v=3","gravatar_id":"","url":"https://api.github.com/users/dotsdl","html_url":"https://github.com/dotsdl","followers_url":"https://api.github.com/users/dotsdl/followers","following_url":"https://api.github.com/users/dotsdl/following{/other_user}","gists_url":"https://api.github.com/users/dotsdl/gists{/gist_id}","starred_url":"https://api.github.com/users/dotsdl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotsdl/subscriptions","organizations_url":"https://api.github.com/users/dotsdl/orgs","repos_url":"https://api.github.com/users/dotsdl/repos","events_url":"https://api.github.com/users/dotsdl/events{/privacy}","received_events_url":"https://api.github.com/users/dotsdl/received_events","type":"User","site_admin":false},"created_at":"2015-10-10T19:59:56Z","updated_at":"2015-10-10T19:59:56Z","body":"Wow...I just noticed that I never actually pushed the change to that branch. Apologies on my end. Does this fix the problem on your end?"}}