{"action":"created","issue":{"url":"https://api.github.com/repos/deep-compute/basescript/issues/74","repository_url":"https://api.github.com/repos/deep-compute/basescript","labels_url":"https://api.github.com/repos/deep-compute/basescript/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/deep-compute/basescript/issues/74/comments","events_url":"https://api.github.com/repos/deep-compute/basescript/issues/74/events","html_url":"https://github.com/deep-compute/basescript/issues/74","id":342669340,"node_id":"MDU6SXNzdWUzNDI2NjkzNDA=","number":74,"title":"Initializing init_logger() doesn't work!","user":{"login":"supriyopaul","id":33823698,"node_id":"MDQ6VXNlcjMzODIzNjk4","avatar_url":"https://avatars3.githubusercontent.com/u/33823698?v=4","gravatar_id":"","url":"https://api.github.com/users/supriyopaul","html_url":"https://github.com/supriyopaul","followers_url":"https://api.github.com/users/supriyopaul/followers","following_url":"https://api.github.com/users/supriyopaul/following{/other_user}","gists_url":"https://api.github.com/users/supriyopaul/gists{/gist_id}","starred_url":"https://api.github.com/users/supriyopaul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/supriyopaul/subscriptions","organizations_url":"https://api.github.com/users/supriyopaul/orgs","repos_url":"https://api.github.com/users/supriyopaul/repos","events_url":"https://api.github.com/users/supriyopaul/events{/privacy}","received_events_url":"https://api.github.com/users/supriyopaul/received_events","type":"User","site_admin":false},"labels":[{"id":545181822,"node_id":"MDU6TGFiZWw1NDUxODE4MjI=","url":"https://api.github.com/repos/deep-compute/basescript/labels/Status:%20In%20progress","name":"Status: In progress","color":"ededed","default":false},{"id":596903195,"node_id":"MDU6TGFiZWw1OTY5MDMxOTU=","url":"https://api.github.com/repos/deep-compute/basescript/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"Rajendra-R","id":16955073,"node_id":"MDQ6VXNlcjE2OTU1MDcz","avatar_url":"https://avatars1.githubusercontent.com/u/16955073?v=4","gravatar_id":"","url":"https://api.github.com/users/Rajendra-R","html_url":"https://github.com/Rajendra-R","followers_url":"https://api.github.com/users/Rajendra-R/followers","following_url":"https://api.github.com/users/Rajendra-R/following{/other_user}","gists_url":"https://api.github.com/users/Rajendra-R/gists{/gist_id}","starred_url":"https://api.github.com/users/Rajendra-R/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rajendra-R/subscriptions","organizations_url":"https://api.github.com/users/Rajendra-R/orgs","repos_url":"https://api.github.com/users/Rajendra-R/repos","events_url":"https://api.github.com/users/Rajendra-R/events{/privacy}","received_events_url":"https://api.github.com/users/Rajendra-R/received_events","type":"User","site_admin":false},"assignees":[{"login":"Rajendra-R","id":16955073,"node_id":"MDQ6VXNlcjE2OTU1MDcz","avatar_url":"https://avatars1.githubusercontent.com/u/16955073?v=4","gravatar_id":"","url":"https://api.github.com/users/Rajendra-R","html_url":"https://github.com/Rajendra-R","followers_url":"https://api.github.com/users/Rajendra-R/followers","following_url":"https://api.github.com/users/Rajendra-R/following{/other_user}","gists_url":"https://api.github.com/users/Rajendra-R/gists{/gist_id}","starred_url":"https://api.github.com/users/Rajendra-R/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rajendra-R/subscriptions","organizations_url":"https://api.github.com/users/Rajendra-R/orgs","repos_url":"https://api.github.com/users/Rajendra-R/repos","events_url":"https://api.github.com/users/Rajendra-R/events{/privacy}","received_events_url":"https://api.github.com/users/Rajendra-R/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-07-19T10:23:16Z","updated_at":"2018-09-06T11:35:45Z","closed_at":null,"author_association":"NONE","body":"```python\r\n>>> from basescript import init_logger\r\n>>> init_logger()\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/root/supriyo/venvs/fuse/lib/python3.6/site-packages/basescript/log.py\", line 456, in init_logger\r\n    pre_hooks, post_hooks, metric_grouping_interval)\r\n  File \"/root/supriyo/venvs/fuse/lib/python3.6/site-packages/basescript/log.py\", line 416, in _configure_logger\r\n    assert len(streams) != 0, \"cannot configure logger for 0 streams\"\r\nAssertionError: cannot configure logger for 0 streams\r\n```"},"comment":{"url":"https://api.github.com/repos/deep-compute/basescript/issues/comments/419061775","html_url":"https://github.com/deep-compute/basescript/issues/74#issuecomment-419061775","issue_url":"https://api.github.com/repos/deep-compute/basescript/issues/74","id":419061775,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTA2MTc3NQ==","user":{"login":"Rajendra-R","id":16955073,"node_id":"MDQ6VXNlcjE2OTU1MDcz","avatar_url":"https://avatars1.githubusercontent.com/u/16955073?v=4","gravatar_id":"","url":"https://api.github.com/users/Rajendra-R","html_url":"https://github.com/Rajendra-R","followers_url":"https://api.github.com/users/Rajendra-R/followers","following_url":"https://api.github.com/users/Rajendra-R/following{/other_user}","gists_url":"https://api.github.com/users/Rajendra-R/gists{/gist_id}","starred_url":"https://api.github.com/users/Rajendra-R/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rajendra-R/subscriptions","organizations_url":"https://api.github.com/users/Rajendra-R/orgs","repos_url":"https://api.github.com/users/Rajendra-R/repos","events_url":"https://api.github.com/users/Rajendra-R/events{/privacy}","received_events_url":"https://api.github.com/users/Rajendra-R/received_events","type":"User","site_admin":false},"created_at":"2018-09-06T11:35:45Z","updated_at":"2018-09-06T11:35:45Z","author_association":"CONTRIBUTOR","body":"@supriyopaul We resolved this issue. once new release happens, upgrade your Basescript version.\r\n* We tested in python multiple versions it is working fine.\r\n#### python2.7\r\n![screen shot 2018-09-06 at 4 26 31 pm](https://user-images.githubusercontent.com/16955073/45154976-02fd6700-b1f7-11e8-9480-a7f05640d882.png)\r\n#### python3.6\r\n![screen shot 2018-09-06 at 4 24 56 pm](https://user-images.githubusercontent.com/16955073/45154987-0a247500-b1f7-11e8-8e30-fc9333cf248f.png)\r\n"}}
{"actor":{"display_login":"Rajendra-R"}}