{"action":"opened","number":12,"pull_request":{"url":"https://api.github.com/repos/DerThorsten/opengm/pulls/12","id":72085382,"html_url":"https://github.com/DerThorsten/opengm/pull/12","diff_url":"https://github.com/DerThorsten/opengm/pull/12.diff","patch_url":"https://github.com/DerThorsten/opengm/pull/12.patch","issue_url":"https://api.github.com/repos/DerThorsten/opengm/issues/12","number":12,"state":"open","locked":false,"title":"Misc. fixes for Cgc","user":{"login":"stuarteberg","id":1655821,"avatar_url":"https://avatars.githubusercontent.com/u/1655821?v=3","gravatar_id":"","url":"https://api.github.com/users/stuarteberg","html_url":"https://github.com/stuarteberg","followers_url":"https://api.github.com/users/stuarteberg/followers","following_url":"https://api.github.com/users/stuarteberg/following{/other_user}","gists_url":"https://api.github.com/users/stuarteberg/gists{/gist_id}","starred_url":"https://api.github.com/users/stuarteberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stuarteberg/subscriptions","organizations_url":"https://api.github.com/users/stuarteberg/orgs","repos_url":"https://api.github.com/users/stuarteberg/repos","events_url":"https://api.github.com/users/stuarteberg/events{/privacy}","received_events_url":"https://api.github.com/users/stuarteberg/received_events","type":"User","site_admin":false},"body":"1. I committed the Cgc fix you emailed to me. (I used your username in the commit :-)\r\n2. In one place OpenGM was `throw`-ing a `string` instead of a proper exception.  When that happens, boost python doesn't give any useful error: (`RuntimeError: unidentifiable C++ Exception`).  Now it's an actual exception.\r\n3. It turns out `QPBO` doesn't build correctly on Mac, due to some strange linker error about duplicate symbols.  AFAICT, the C++ code is not wrong (the symbols it complains about are all `inline`), but the linker is complaining anyway.  As a workaround, the QPBO patch script now combines everything into a single cpp file. FWIW, other people have seen this problem, too:\r\n  - https://groups.google.com/forum/#!topic/pystruct/WWSF7AI6X6w\r\n  - http://stackoverflow.com/questions/15298603/linking-errors-from-matlab-mex-library\r\n\r\n","created_at":"2016-05-31T21:03:15Z","updated_at":"2016-05-31T21:03:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DerThorsten/opengm/pulls/12/commits","review_comments_url":"https://api.github.com/repos/DerThorsten/opengm/pulls/12/comments","review_comment_url":"https://api.github.com/repos/DerThorsten/opengm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DerThorsten/opengm/issues/12/comments","statuses_url":"https://api.github.com/repos/DerThorsten/opengm/statuses/f9b2bff1fbd207b1ff4831c23d97a60d6f9d6362","head":{"label":"stuarteberg:thorsten-master","ref":"thorsten-master","sha":"f9b2bff1fbd207b1ff4831c23d97a60d6f9d6362","user":{"login":"stuarteberg","id":1655821,"avatar_url":"https://avatars.githubusercontent.com/u/1655821?v=3","gravatar_id":"","url":"https://api.github.com/users/stuarteberg","html_url":"https://github.com/stuarteberg","followers_url":"https://api.github.com/users/stuarteberg/followers","following_url":"https://api.github.com/users/stuarteberg/following{/other_user}","gists_url":"https://api.github.com/users/stuarteberg/gists{/gist_id}","starred_url":"https://api.github.com/users/stuarteberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stuarteberg/subscriptions","organizations_url":"https://api.github.com/users/stuarteberg/orgs","repos_url":"https://api.github.com/users/stuarteberg/repos","events_url":"https://api.github.com/users/stuarteberg/events{/privacy}","received_events_url":"https://api.github.com/users/stuarteberg/received_events","type":"User","site_admin":false},"repo":{"id":20269461,"name":"opengm","full_name":"stuarteberg/opengm","owner":{"login":"stuarteberg","id":1655821,"avatar_url":"https://avatars.githubusercontent.com/u/1655821?v=3","gravatar_id":"","url":"https://api.github.com/users/stuarteberg","html_url":"https://github.com/stuarteberg","followers_url":"https://api.github.com/users/stuarteberg/followers","following_url":"https://api.github.com/users/stuarteberg/following{/other_user}","gists_url":"https://api.github.com/users/stuarteberg/gists{/gist_id}","starred_url":"https://api.github.com/users/stuarteberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stuarteberg/subscriptions","organizations_url":"https://api.github.com/users/stuarteberg/orgs","repos_url":"https://api.github.com/users/stuarteberg/repos","events_url":"https://api.github.com/users/stuarteberg/events{/privacy}","received_events_url":"https://api.github.com/users/stuarteberg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stuarteberg/opengm","description":"A C++ Library for Discrete Graphical Models","fork":true,"url":"https://api.github.com/repos/stuarteberg/opengm","forks_url":"https://api.github.com/repos/stuarteberg/opengm/forks","keys_url":"https://api.github.com/repos/stuarteberg/opengm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stuarteberg/opengm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stuarteberg/opengm/teams","hooks_url":"https://api.github.com/repos/stuarteberg/opengm/hooks","issue_events_url":"https://api.github.com/repos/stuarteberg/opengm/issues/events{/number}","events_url":"https://api.github.com/repos/stuarteberg/opengm/events","assignees_url":"https://api.github.com/repos/stuarteberg/opengm/assignees{/user}","branches_url":"https://api.github.com/repos/stuarteberg/opengm/branches{/branch}","tags_url":"https://api.github.com/repos/stuarteberg/opengm/tags","blobs_url":"https://api.github.com/repos/stuarteberg/opengm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stuarteberg/opengm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stuarteberg/opengm/git/refs{/sha}","trees_url":"https://api.github.com/repos/stuarteberg/opengm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stuarteberg/opengm/statuses/{sha}","languages_url":"https://api.github.com/repos/stuarteberg/opengm/languages","stargazers_url":"https://api.github.com/repos/stuarteberg/opengm/stargazers","contributors_url":"https://api.github.com/repos/stuarteberg/opengm/contributors","subscribers_url":"https://api.github.com/repos/stuarteberg/opengm/subscribers","subscription_url":"https://api.github.com/repos/stuarteberg/opengm/subscription","commits_url":"https://api.github.com/repos/stuarteberg/opengm/commits{/sha}","git_commits_url":"https://api.github.com/repos/stuarteberg/opengm/git/commits{/sha}","comments_url":"https://api.github.com/repos/stuarteberg/opengm/comments{/number}","issue_comment_url":"https://api.github.com/repos/stuarteberg/opengm/issues/comments{/number}","contents_url":"https://api.github.com/repos/stuarteberg/opengm/contents/{+path}","compare_url":"https://api.github.com/repos/stuarteberg/opengm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stuarteberg/opengm/merges","archive_url":"https://api.github.com/repos/stuarteberg/opengm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stuarteberg/opengm/downloads","issues_url":"https://api.github.com/repos/stuarteberg/opengm/issues{/number}","pulls_url":"https://api.github.com/repos/stuarteberg/opengm/pulls{/number}","milestones_url":"https://api.github.com/repos/stuarteberg/opengm/milestones{/number}","notifications_url":"https://api.github.com/repos/stuarteberg/opengm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stuarteberg/opengm/labels{/name}","releases_url":"https://api.github.com/repos/stuarteberg/opengm/releases{/id}","deployments_url":"https://api.github.com/repos/stuarteberg/opengm/deployments","created_at":"2014-05-28T19:20:58Z","updated_at":"2016-01-03T23:35:13Z","pushed_at":"2016-05-31T20:24:49Z","git_url":"git://github.com/stuarteberg/opengm.git","ssh_url":"git@github.com:stuarteberg/opengm.git","clone_url":"https://github.com/stuarteberg/opengm.git","svn_url":"https://github.com/stuarteberg/opengm","homepage":null,"size":10519,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"DerThorsten:master","ref":"master","sha":"059e15995a4f2b219b350c58290cec74696d9b7e","user":{"login":"DerThorsten","id":904752,"avatar_url":"https://avatars.githubusercontent.com/u/904752?v=3","gravatar_id":"","url":"https://api.github.com/users/DerThorsten","html_url":"https://github.com/DerThorsten","followers_url":"https://api.github.com/users/DerThorsten/followers","following_url":"https://api.github.com/users/DerThorsten/following{/other_user}","gists_url":"https://api.github.com/users/DerThorsten/gists{/gist_id}","starred_url":"https://api.github.com/users/DerThorsten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DerThorsten/subscriptions","organizations_url":"https://api.github.com/users/DerThorsten/orgs","repos_url":"https://api.github.com/users/DerThorsten/repos","events_url":"https://api.github.com/users/DerThorsten/events{/privacy}","received_events_url":"https://api.github.com/users/DerThorsten/received_events","type":"User","site_admin":false},"repo":{"id":21457902,"name":"opengm","full_name":"DerThorsten/opengm","owner":{"login":"DerThorsten","id":904752,"avatar_url":"https://avatars.githubusercontent.com/u/904752?v=3","gravatar_id":"","url":"https://api.github.com/users/DerThorsten","html_url":"https://github.com/DerThorsten","followers_url":"https://api.github.com/users/DerThorsten/followers","following_url":"https://api.github.com/users/DerThorsten/following{/other_user}","gists_url":"https://api.github.com/users/DerThorsten/gists{/gist_id}","starred_url":"https://api.github.com/users/DerThorsten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DerThorsten/subscriptions","organizations_url":"https://api.github.com/users/DerThorsten/orgs","repos_url":"https://api.github.com/users/DerThorsten/repos","events_url":"https://api.github.com/users/DerThorsten/events{/privacy}","received_events_url":"https://api.github.com/users/DerThorsten/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DerThorsten/opengm","description":"A C++ Library for Discrete Graphical Models","fork":true,"url":"https://api.github.com/repos/DerThorsten/opengm","forks_url":"https://api.github.com/repos/DerThorsten/opengm/forks","keys_url":"https://api.github.com/repos/DerThorsten/opengm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DerThorsten/opengm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DerThorsten/opengm/teams","hooks_url":"https://api.github.com/repos/DerThorsten/opengm/hooks","issue_events_url":"https://api.github.com/repos/DerThorsten/opengm/issues/events{/number}","events_url":"https://api.github.com/repos/DerThorsten/opengm/events","assignees_url":"https://api.github.com/repos/DerThorsten/opengm/assignees{/user}","branches_url":"https://api.github.com/repos/DerThorsten/opengm/branches{/branch}","tags_url":"https://api.github.com/repos/DerThorsten/opengm/tags","blobs_url":"https://api.github.com/repos/DerThorsten/opengm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DerThorsten/opengm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DerThorsten/opengm/git/refs{/sha}","trees_url":"https://api.github.com/repos/DerThorsten/opengm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DerThorsten/opengm/statuses/{sha}","languages_url":"https://api.github.com/repos/DerThorsten/opengm/languages","stargazers_url":"https://api.github.com/repos/DerThorsten/opengm/stargazers","contributors_url":"https://api.github.com/repos/DerThorsten/opengm/contributors","subscribers_url":"https://api.github.com/repos/DerThorsten/opengm/subscribers","subscription_url":"https://api.github.com/repos/DerThorsten/opengm/subscription","commits_url":"https://api.github.com/repos/DerThorsten/opengm/commits{/sha}","git_commits_url":"https://api.github.com/repos/DerThorsten/opengm/git/commits{/sha}","comments_url":"https://api.github.com/repos/DerThorsten/opengm/comments{/number}","issue_comment_url":"https://api.github.com/repos/DerThorsten/opengm/issues/comments{/number}","contents_url":"https://api.github.com/repos/DerThorsten/opengm/contents/{+path}","compare_url":"https://api.github.com/repos/DerThorsten/opengm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DerThorsten/opengm/merges","archive_url":"https://api.github.com/repos/DerThorsten/opengm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DerThorsten/opengm/downloads","issues_url":"https://api.github.com/repos/DerThorsten/opengm/issues{/number}","pulls_url":"https://api.github.com/repos/DerThorsten/opengm/pulls{/number}","milestones_url":"https://api.github.com/repos/DerThorsten/opengm/milestones{/number}","notifications_url":"https://api.github.com/repos/DerThorsten/opengm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DerThorsten/opengm/labels{/name}","releases_url":"https://api.github.com/repos/DerThorsten/opengm/releases{/id}","deployments_url":"https://api.github.com/repos/DerThorsten/opengm/deployments","created_at":"2014-07-03T09:56:56Z","updated_at":"2016-03-25T11:35:22Z","pushed_at":"2016-04-22T07:10:47Z","git_url":"git://github.com/DerThorsten/opengm.git","ssh_url":"git@github.com:DerThorsten/opengm.git","clone_url":"https://github.com/DerThorsten/opengm.git","svn_url":"https://github.com/DerThorsten/opengm","homepage":null,"size":11401,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DerThorsten/opengm/pulls/12"},"html":{"href":"https://github.com/DerThorsten/opengm/pull/12"},"issue":{"href":"https://api.github.com/repos/DerThorsten/opengm/issues/12"},"comments":{"href":"https://api.github.com/repos/DerThorsten/opengm/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/DerThorsten/opengm/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/DerThorsten/opengm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DerThorsten/opengm/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/DerThorsten/opengm/statuses/f9b2bff1fbd207b1ff4831c23d97a60d6f9d6362"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":102,"deletions":31,"changed_files":7}}
{"actor":{"display_login":"stuarteberg"}}