{"action":"created","issue":{"url":"https://api.github.com/repos/sbraz/pymediainfo/issues/20","repository_url":"https://api.github.com/repos/sbraz/pymediainfo","labels_url":"https://api.github.com/repos/sbraz/pymediainfo/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/sbraz/pymediainfo/issues/20/comments","events_url":"https://api.github.com/repos/sbraz/pymediainfo/issues/20/events","html_url":"https://github.com/sbraz/pymediainfo/issues/20","id":137472488,"number":20,"title":"Seg Fault 11 on OS X","user":{"login":"apwelsh","id":15111403,"avatar_url":"https://avatars.githubusercontent.com/u/15111403?v=3","gravatar_id":"","url":"https://api.github.com/users/apwelsh","html_url":"https://github.com/apwelsh","followers_url":"https://api.github.com/users/apwelsh/followers","following_url":"https://api.github.com/users/apwelsh/following{/other_user}","gists_url":"https://api.github.com/users/apwelsh/gists{/gist_id}","starred_url":"https://api.github.com/users/apwelsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apwelsh/subscriptions","organizations_url":"https://api.github.com/users/apwelsh/orgs","repos_url":"https://api.github.com/users/apwelsh/repos","events_url":"https://api.github.com/users/apwelsh/events{/privacy}","received_events_url":"https://api.github.com/users/apwelsh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-01T05:08:41Z","updated_at":"2016-03-04T09:00:15Z","closed_at":null,"body":"The line:\r\n\r\nlib.MediaInfoA_Open(handle, filename.encode('utf-8'), 0)\r\n\r\nthrows a Seg Fault 11 on OS X.  \r\n\r\nI am having a hard time isolating the cause, and I am not familiar enough with C++ to understand the prototypes to know what is wrong with the arguments.  Is this possibly related to the version of MediaInfo? I am on version 0.7.82"},"comment":{"url":"https://api.github.com/repos/sbraz/pymediainfo/issues/comments/192192255","html_url":"https://github.com/sbraz/pymediainfo/issues/20#issuecomment-192192255","issue_url":"https://api.github.com/repos/sbraz/pymediainfo/issues/20","id":192192255,"user":{"login":"sbraz","id":4833332,"avatar_url":"https://avatars.githubusercontent.com/u/4833332?v=3","gravatar_id":"","url":"https://api.github.com/users/sbraz","html_url":"https://github.com/sbraz","followers_url":"https://api.github.com/users/sbraz/followers","following_url":"https://api.github.com/users/sbraz/following{/other_user}","gists_url":"https://api.github.com/users/sbraz/gists{/gist_id}","starred_url":"https://api.github.com/users/sbraz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbraz/subscriptions","organizations_url":"https://api.github.com/users/sbraz/orgs","repos_url":"https://api.github.com/users/sbraz/repos","events_url":"https://api.github.com/users/sbraz/events{/privacy}","received_events_url":"https://api.github.com/users/sbraz/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T09:00:15Z","updated_at":"2016-03-04T09:00:15Z","body":"Have you tried the examples from the lib itself, using\nhttps://github.com/MediaArea/MediaInfoLib/blob/master/Source/MediaInfoDLL/MediaInfoDLL.py\nand\nhttps://github.com/MediaArea/MediaInfoLib/blob/master/Source/Example/HowToUse_Dll.py\n?\nIf they work and my module doesn't, it probably means I missed something.\n\nOn 4 March 2016 at 09:57, apwelsh <notifications@github.com> wrote:\n\n> Sorry, I thought i replied, i already tried that and several variations. I\n> Was going to tinker some more and get back to you if i can solve the issue.\n> But, currently i am still stuck.\n>\n> Armand\n> --Sent from iPhone\n>\n> > On Mar 4, 2016, at 12:45 AM, Louis Sautier <notifications@github.com>\n> wrote:\n> >\n> > @apwelsh Have you had a chance to try that code?\n>\n> >\n> > —\n> > Reply to this email directly or view it on GitHub.\n> >\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/sbraz/pymediainfo/issues/20#issuecomment-192191225>.\n>\n"}}