{"action":"created","comment":{"url":"https://api.github.com/repos/biolab/orange3/pulls/comments/60491275","id":60491275,"diff_hunk":"@@ -44,6 +45,11 @@ def init():\n     QCoreApplication.setApplicationVersion(version)\n     QSettings.setDefaultFormat(QSettings.IniFormat)\n \n+    # Hack to make sure the correct plugin search path is added. (Github issue #1143)\n+    for path in site.getsitepackages():\n+        if path.endswith(\"site-packages\"):\n+            QCoreApplication.addLibraryPath(path + \"\\\\PyQt4\\\\plugins\")","path":"Orange/canvas/config.py","position":15,"original_position":15,"commit_id":"5113531045fb6f8921734bd0d3ddbc620de09147","original_commit_id":"5113531045fb6f8921734bd0d3ddbc620de09147","user":{"login":"kernc","id":684364,"avatar_url":"https://avatars.githubusercontent.com/u/684364?v=3","gravatar_id":"","url":"https://api.github.com/users/kernc","html_url":"https://github.com/kernc","followers_url":"https://api.github.com/users/kernc/followers","following_url":"https://api.github.com/users/kernc/following{/other_user}","gists_url":"https://api.github.com/users/kernc/gists{/gist_id}","starred_url":"https://api.github.com/users/kernc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kernc/subscriptions","organizations_url":"https://api.github.com/users/kernc/orgs","repos_url":"https://api.github.com/users/kernc/repos","events_url":"https://api.github.com/users/kernc/events{/privacy}","received_events_url":"https://api.github.com/users/kernc/received_events","type":"User","site_admin":false},"body":"Does this work with POSIX paths on Mac OS X and GNU/Linux? Perhaps better to use `os.path.join()`.","created_at":"2016-04-20T21:29:29Z","updated_at":"2016-04-20T21:29:29Z","html_url":"https://github.com/biolab/orange3/pull/1194#discussion_r60491275","pull_request_url":"https://api.github.com/repos/biolab/orange3/pulls/1194","_links":{"self":{"href":"https://api.github.com/repos/biolab/orange3/pulls/comments/60491275"},"html":{"href":"https://github.com/biolab/orange3/pull/1194#discussion_r60491275"},"pull_request":{"href":"https://api.github.com/repos/biolab/orange3/pulls/1194"}}},"pull_request":{"url":"https://api.github.com/repos/biolab/orange3/pulls/1194","id":67129057,"html_url":"https://github.com/biolab/orange3/pull/1194","diff_url":"https://github.com/biolab/orange3/pull/1194.diff","patch_url":"https://github.com/biolab/orange3/pull/1194.patch","issue_url":"https://api.github.com/repos/biolab/orange3/issues/1194","number":1194,"state":"open","locked":false,"title":"Manually specify plugins path","user":{"login":"MEL27","id":10842148,"avatar_url":"https://avatars.githubusercontent.com/u/10842148?v=3","gravatar_id":"","url":"https://api.github.com/users/MEL27","html_url":"https://github.com/MEL27","followers_url":"https://api.github.com/users/MEL27/followers","following_url":"https://api.github.com/users/MEL27/following{/other_user}","gists_url":"https://api.github.com/users/MEL27/gists{/gist_id}","starred_url":"https://api.github.com/users/MEL27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MEL27/subscriptions","organizations_url":"https://api.github.com/users/MEL27/orgs","repos_url":"https://api.github.com/users/MEL27/repos","events_url":"https://api.github.com/users/MEL27/events{/privacy}","received_events_url":"https://api.github.com/users/MEL27/received_events","type":"User","site_admin":false},"body":"<!--\r\nSquash the commits, as appropriate. See .github/CONTRIBUTING.md for\r\nmore information.\r\n\r\nDescribe the relevant changes in the commit messages, if they need explaining.\r\n \r\nIf the pull request introduces a new feature or an important bug fix, consider\r\nadding _one_ of the below tags, enclosed in square brackets, in its title:\r\n\r\n    ENH, FIX, DOC, WIP\r\n\r\nFor some example:\r\n\r\n    [ENH] CrossValidation: Parallelize computation\r\n    [FIX] NaiveBayesLearner: Don't crash on input containing nan values\r\n    [DOC] Extend documentation for widget development\r\n    [WIP] Working on X ... RFC please\r\n\r\nPull-requests not so tagged will be batched as \"other features and bugfixes,\"\r\nwhich is fine for stuff you don't go home and brag to your mother about.\r\n-->\r\n\r\nA hack for issue #1143, where Qt failed to find the correct path for SVG plugin.","created_at":"2016-04-20T05:05:38Z","updated_at":"2016-04-20T21:29:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"86b840253892e939ab42ec83ef3f7a0135362d8a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/biolab/orange3/pulls/1194/commits","review_comments_url":"https://api.github.com/repos/biolab/orange3/pulls/1194/comments","review_comment_url":"https://api.github.com/repos/biolab/orange3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/biolab/orange3/issues/1194/comments","statuses_url":"https://api.github.com/repos/biolab/orange3/statuses/5113531045fb6f8921734bd0d3ddbc620de09147","head":{"label":"MEL27:MEL27-patch-1","ref":"MEL27-patch-1","sha":"5113531045fb6f8921734bd0d3ddbc620de09147","user":{"login":"MEL27","id":10842148,"avatar_url":"https://avatars.githubusercontent.com/u/10842148?v=3","gravatar_id":"","url":"https://api.github.com/users/MEL27","html_url":"https://github.com/MEL27","followers_url":"https://api.github.com/users/MEL27/followers","following_url":"https://api.github.com/users/MEL27/following{/other_user}","gists_url":"https://api.github.com/users/MEL27/gists{/gist_id}","starred_url":"https://api.github.com/users/MEL27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MEL27/subscriptions","organizations_url":"https://api.github.com/users/MEL27/orgs","repos_url":"https://api.github.com/users/MEL27/repos","events_url":"https://api.github.com/users/MEL27/events{/privacy}","received_events_url":"https://api.github.com/users/MEL27/received_events","type":"User","site_admin":false},"repo":{"id":56656053,"name":"orange3","full_name":"MEL27/orange3","owner":{"login":"MEL27","id":10842148,"avatar_url":"https://avatars.githubusercontent.com/u/10842148?v=3","gravatar_id":"","url":"https://api.github.com/users/MEL27","html_url":"https://github.com/MEL27","followers_url":"https://api.github.com/users/MEL27/followers","following_url":"https://api.github.com/users/MEL27/following{/other_user}","gists_url":"https://api.github.com/users/MEL27/gists{/gist_id}","starred_url":"https://api.github.com/users/MEL27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MEL27/subscriptions","organizations_url":"https://api.github.com/users/MEL27/orgs","repos_url":"https://api.github.com/users/MEL27/repos","events_url":"https://api.github.com/users/MEL27/events{/privacy}","received_events_url":"https://api.github.com/users/MEL27/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MEL27/orange3","description":"Orange 3 data mining suite: http://orange.biolab.si ","fork":true,"url":"https://api.github.com/repos/MEL27/orange3","forks_url":"https://api.github.com/repos/MEL27/orange3/forks","keys_url":"https://api.github.com/repos/MEL27/orange3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MEL27/orange3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MEL27/orange3/teams","hooks_url":"https://api.github.com/repos/MEL27/orange3/hooks","issue_events_url":"https://api.github.com/repos/MEL27/orange3/issues/events{/number}","events_url":"https://api.github.com/repos/MEL27/orange3/events","assignees_url":"https://api.github.com/repos/MEL27/orange3/assignees{/user}","branches_url":"https://api.github.com/repos/MEL27/orange3/branches{/branch}","tags_url":"https://api.github.com/repos/MEL27/orange3/tags","blobs_url":"https://api.github.com/repos/MEL27/orange3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MEL27/orange3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MEL27/orange3/git/refs{/sha}","trees_url":"https://api.github.com/repos/MEL27/orange3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MEL27/orange3/statuses/{sha}","languages_url":"https://api.github.com/repos/MEL27/orange3/languages","stargazers_url":"https://api.github.com/repos/MEL27/orange3/stargazers","contributors_url":"https://api.github.com/repos/MEL27/orange3/contributors","subscribers_url":"https://api.github.com/repos/MEL27/orange3/subscribers","subscription_url":"https://api.github.com/repos/MEL27/orange3/subscription","commits_url":"https://api.github.com/repos/MEL27/orange3/commits{/sha}","git_commits_url":"https://api.github.com/repos/MEL27/orange3/git/commits{/sha}","comments_url":"https://api.github.com/repos/MEL27/orange3/comments{/number}","issue_comment_url":"https://api.github.com/repos/MEL27/orange3/issues/comments{/number}","contents_url":"https://api.github.com/repos/MEL27/orange3/contents/{+path}","compare_url":"https://api.github.com/repos/MEL27/orange3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MEL27/orange3/merges","archive_url":"https://api.github.com/repos/MEL27/orange3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MEL27/orange3/downloads","issues_url":"https://api.github.com/repos/MEL27/orange3/issues{/number}","pulls_url":"https://api.github.com/repos/MEL27/orange3/pulls{/number}","milestones_url":"https://api.github.com/repos/MEL27/orange3/milestones{/number}","notifications_url":"https://api.github.com/repos/MEL27/orange3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MEL27/orange3/labels{/name}","releases_url":"https://api.github.com/repos/MEL27/orange3/releases{/id}","deployments_url":"https://api.github.com/repos/MEL27/orange3/deployments","created_at":"2016-04-20T04:47:44Z","updated_at":"2016-04-20T04:47:47Z","pushed_at":"2016-04-20T07:00:56Z","git_url":"git://github.com/MEL27/orange3.git","ssh_url":"git@github.com:MEL27/orange3.git","clone_url":"https://github.com/MEL27/orange3.git","svn_url":"https://github.com/MEL27/orange3","homepage":"","size":37249,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"biolab:master","ref":"master","sha":"b0de39a78b8a997c7509d18cfdb77bc309a6a169","user":{"login":"biolab","id":555189,"avatar_url":"https://avatars.githubusercontent.com/u/555189?v=3","gravatar_id":"","url":"https://api.github.com/users/biolab","html_url":"https://github.com/biolab","followers_url":"https://api.github.com/users/biolab/followers","following_url":"https://api.github.com/users/biolab/following{/other_user}","gists_url":"https://api.github.com/users/biolab/gists{/gist_id}","starred_url":"https://api.github.com/users/biolab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biolab/subscriptions","organizations_url":"https://api.github.com/users/biolab/orgs","repos_url":"https://api.github.com/users/biolab/repos","events_url":"https://api.github.com/users/biolab/events{/privacy}","received_events_url":"https://api.github.com/users/biolab/received_events","type":"Organization","site_admin":false},"repo":{"id":8357227,"name":"orange3","full_name":"biolab/orange3","owner":{"login":"biolab","id":555189,"avatar_url":"https://avatars.githubusercontent.com/u/555189?v=3","gravatar_id":"","url":"https://api.github.com/users/biolab","html_url":"https://github.com/biolab","followers_url":"https://api.github.com/users/biolab/followers","following_url":"https://api.github.com/users/biolab/following{/other_user}","gists_url":"https://api.github.com/users/biolab/gists{/gist_id}","starred_url":"https://api.github.com/users/biolab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biolab/subscriptions","organizations_url":"https://api.github.com/users/biolab/orgs","repos_url":"https://api.github.com/users/biolab/repos","events_url":"https://api.github.com/users/biolab/events{/privacy}","received_events_url":"https://api.github.com/users/biolab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/biolab/orange3","description":"Orange 3 data mining suite: http://orange.biolab.si ","fork":false,"url":"https://api.github.com/repos/biolab/orange3","forks_url":"https://api.github.com/repos/biolab/orange3/forks","keys_url":"https://api.github.com/repos/biolab/orange3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/biolab/orange3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/biolab/orange3/teams","hooks_url":"https://api.github.com/repos/biolab/orange3/hooks","issue_events_url":"https://api.github.com/repos/biolab/orange3/issues/events{/number}","events_url":"https://api.github.com/repos/biolab/orange3/events","assignees_url":"https://api.github.com/repos/biolab/orange3/assignees{/user}","branches_url":"https://api.github.com/repos/biolab/orange3/branches{/branch}","tags_url":"https://api.github.com/repos/biolab/orange3/tags","blobs_url":"https://api.github.com/repos/biolab/orange3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/biolab/orange3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/biolab/orange3/git/refs{/sha}","trees_url":"https://api.github.com/repos/biolab/orange3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/biolab/orange3/statuses/{sha}","languages_url":"https://api.github.com/repos/biolab/orange3/languages","stargazers_url":"https://api.github.com/repos/biolab/orange3/stargazers","contributors_url":"https://api.github.com/repos/biolab/orange3/contributors","subscribers_url":"https://api.github.com/repos/biolab/orange3/subscribers","subscription_url":"https://api.github.com/repos/biolab/orange3/subscription","commits_url":"https://api.github.com/repos/biolab/orange3/commits{/sha}","git_commits_url":"https://api.github.com/repos/biolab/orange3/git/commits{/sha}","comments_url":"https://api.github.com/repos/biolab/orange3/comments{/number}","issue_comment_url":"https://api.github.com/repos/biolab/orange3/issues/comments{/number}","contents_url":"https://api.github.com/repos/biolab/orange3/contents/{+path}","compare_url":"https://api.github.com/repos/biolab/orange3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/biolab/orange3/merges","archive_url":"https://api.github.com/repos/biolab/orange3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/biolab/orange3/downloads","issues_url":"https://api.github.com/repos/biolab/orange3/issues{/number}","pulls_url":"https://api.github.com/repos/biolab/orange3/pulls{/number}","milestones_url":"https://api.github.com/repos/biolab/orange3/milestones{/number}","notifications_url":"https://api.github.com/repos/biolab/orange3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/biolab/orange3/labels{/name}","releases_url":"https://api.github.com/repos/biolab/orange3/releases{/id}","deployments_url":"https://api.github.com/repos/biolab/orange3/deployments","created_at":"2013-02-22T12:52:56Z","updated_at":"2016-04-18T11:03:45Z","pushed_at":"2016-04-20T21:24:16Z","git_url":"git://github.com/biolab/orange3.git","ssh_url":"git@github.com:biolab/orange3.git","clone_url":"https://github.com/biolab/orange3.git","svn_url":"https://github.com/biolab/orange3","homepage":"","size":76437,"stargazers_count":265,"watchers_count":265,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":117,"mirror_url":null,"open_issues_count":47,"forks":117,"open_issues":47,"watchers":265,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/biolab/orange3/pulls/1194"},"html":{"href":"https://github.com/biolab/orange3/pull/1194"},"issue":{"href":"https://api.github.com/repos/biolab/orange3/issues/1194"},"comments":{"href":"https://api.github.com/repos/biolab/orange3/issues/1194/comments"},"review_comments":{"href":"https://api.github.com/repos/biolab/orange3/pulls/1194/comments"},"review_comment":{"href":"https://api.github.com/repos/biolab/orange3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/biolab/orange3/pulls/1194/commits"},"statuses":{"href":"https://api.github.com/repos/biolab/orange3/statuses/5113531045fb6f8921734bd0d3ddbc620de09147"}}}}