{"action":"created","issue":{"url":"https://api.github.com/repos/Slicer/Slicer/issues/528","repository_url":"https://api.github.com/repos/Slicer/Slicer","labels_url":"https://api.github.com/repos/Slicer/Slicer/issues/528/labels{/name}","comments_url":"https://api.github.com/repos/Slicer/Slicer/issues/528/comments","events_url":"https://api.github.com/repos/Slicer/Slicer/issues/528/events","html_url":"https://github.com/Slicer/Slicer/pull/528","id":159475946,"number":528,"title":"BUG: Fix logging warning message when slicer.vtkPVScalarBarActor doesn't exist","user":{"login":"msmolens","id":7122091,"avatar_url":"https://avatars.githubusercontent.com/u/7122091?v=3","gravatar_id":"","url":"https://api.github.com/users/msmolens","html_url":"https://github.com/msmolens","followers_url":"https://api.github.com/users/msmolens/followers","following_url":"https://api.github.com/users/msmolens/following{/other_user}","gists_url":"https://api.github.com/users/msmolens/gists{/gist_id}","starred_url":"https://api.github.com/users/msmolens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msmolens/subscriptions","organizations_url":"https://api.github.com/users/msmolens/orgs","repos_url":"https://api.github.com/users/msmolens/repos","events_url":"https://api.github.com/users/msmolens/events{/privacy}","received_events_url":"https://api.github.com/users/msmolens/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-09T18:26:27Z","updated_at":"2016-06-10T05:20:56Z","closed_at":"2016-06-10T05:20:56Z","pull_request":{"url":"https://api.github.com/repos/Slicer/Slicer/pulls/528","html_url":"https://github.com/Slicer/Slicer/pull/528","diff_url":"https://github.com/Slicer/Slicer/pull/528.diff","patch_url":"https://github.com/Slicer/Slicer/pull/528.patch"},"body":"This commit fixes a bug with logging a warning message. Because 'slicer.logging'\r\ndoesn't exist, the call to 'slicer.logging.warning()' failed with an error like:\r\n\r\n      File \"/path/to/Slicer-build/lib/Slicer-4.5/qt-scripted-modules/DataProbeLib/SliceViewAnnotations.py\", line 25, in __init__\r\n\tslicer.logging.warning(\"SliceAnnotations: Disable features relying on vtkPVScalarBarActor\")\r\n    AttributeError: 'module' object has no attribute 'logging'\r\n\r\nNow the code calls 'logging.warning()'.\r\n\r\nThis warning was added in r24058. As described in that commit, the warning can\r\nbe triggered by starting Slicer with '--disable-builtin-loadable-modules'."},"comment":{"url":"https://api.github.com/repos/Slicer/Slicer/issues/comments/225095626","html_url":"https://github.com/Slicer/Slicer/pull/528#issuecomment-225095626","issue_url":"https://api.github.com/repos/Slicer/Slicer/issues/528","id":225095626,"user":{"login":"jcfr","id":219043,"avatar_url":"https://avatars.githubusercontent.com/u/219043?v=3","gravatar_id":"","url":"https://api.github.com/users/jcfr","html_url":"https://github.com/jcfr","followers_url":"https://api.github.com/users/jcfr/followers","following_url":"https://api.github.com/users/jcfr/following{/other_user}","gists_url":"https://api.github.com/users/jcfr/gists{/gist_id}","starred_url":"https://api.github.com/users/jcfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcfr/subscriptions","organizations_url":"https://api.github.com/users/jcfr/orgs","repos_url":"https://api.github.com/users/jcfr/repos","events_url":"https://api.github.com/users/jcfr/events{/privacy}","received_events_url":"https://api.github.com/users/jcfr/received_events","type":"User","site_admin":false},"created_at":"2016-06-10T05:20:56Z","updated_at":"2016-06-10T05:20:56Z","body":"Thanks for the PR :+1: \r\n\r\nIntegrated in [r25178](http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=25178)"}}
{"actor":{"display_login":"jcfr"}}