{"action":"created","issue":{"url":"https://api.github.com/repos/vispy/vispy/issues/1139","labels_url":"https://api.github.com/repos/vispy/vispy/issues/1139/labels{/name}","comments_url":"https://api.github.com/repos/vispy/vispy/issues/1139/comments","events_url":"https://api.github.com/repos/vispy/vispy/issues/1139/events","html_url":"https://github.com/vispy/vispy/pull/1139","id":120256251,"number":1139,"title":"bugfix vispy.io.read_mesh fails because of numpy bug #823","user":{"login":"bdvd","id":9614311,"avatar_url":"https://avatars.githubusercontent.com/u/9614311?v=3","gravatar_id":"","url":"https://api.github.com/users/bdvd","html_url":"https://github.com/bdvd","followers_url":"https://api.github.com/users/bdvd/followers","following_url":"https://api.github.com/users/bdvd/following{/other_user}","gists_url":"https://api.github.com/users/bdvd/gists{/gist_id}","starred_url":"https://api.github.com/users/bdvd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdvd/subscriptions","organizations_url":"https://api.github.com/users/bdvd/orgs","repos_url":"https://api.github.com/users/bdvd/repos","events_url":"https://api.github.com/users/bdvd/events{/privacy}","received_events_url":"https://api.github.com/users/bdvd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-03T19:56:58Z","updated_at":"2015-12-05T11:21:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/vispy/vispy/pulls/1139","html_url":"https://github.com/vispy/vispy/pull/1139","diff_url":"https://github.com/vispy/vispy/pull/1139.diff","patch_url":"https://github.com/vispy/vispy/pull/1139.patch"},"body":"By some .obj files (for example obj files generated with FreeCAD) the read_mesh function fails because of a numpy bug (in numpy repository under bug 823, 4366 and 4384). \r\n\r\nBecause handling the numpy bug would be too complex, I corrected the code here.\r\n\r\nBy using this modification I was able to read all obj files."},"comment":{"url":"https://api.github.com/repos/vispy/vispy/issues/comments/162174232","html_url":"https://github.com/vispy/vispy/pull/1139#issuecomment-162174232","issue_url":"https://api.github.com/repos/vispy/vispy/issues/1139","id":162174232,"user":{"login":"bdvd","id":9614311,"avatar_url":"https://avatars.githubusercontent.com/u/9614311?v=3","gravatar_id":"","url":"https://api.github.com/users/bdvd","html_url":"https://github.com/bdvd","followers_url":"https://api.github.com/users/bdvd/followers","following_url":"https://api.github.com/users/bdvd/following{/other_user}","gists_url":"https://api.github.com/users/bdvd/gists{/gist_id}","starred_url":"https://api.github.com/users/bdvd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdvd/subscriptions","organizations_url":"https://api.github.com/users/bdvd/orgs","repos_url":"https://api.github.com/users/bdvd/repos","events_url":"https://api.github.com/users/bdvd/events{/privacy}","received_events_url":"https://api.github.com/users/bdvd/received_events","type":"User","site_admin":false},"created_at":"2015-12-05T11:21:30Z","updated_at":"2015-12-05T11:21:30Z","body":"Sorry. I forgot to copy the error message. It was uint32. It's just the problem of conversion between signed and unsigned.\r\n\r\nError message:\r\nCannot cast array data from dtype('uint32') to dtype('int32') according to the rule 'safe'"}}