{"action":"created","issue":{"url":"https://api.github.com/repos/metomi/rose/issues/1962","repository_url":"https://api.github.com/repos/metomi/rose","labels_url":"https://api.github.com/repos/metomi/rose/issues/1962/labels{/name}","comments_url":"https://api.github.com/repos/metomi/rose/issues/1962/comments","events_url":"https://api.github.com/repos/metomi/rose/issues/1962/events","html_url":"https://github.com/metomi/rose/pull/1962","id":172143002,"number":1962,"title":"rose edit: fix source file page widget traceback","user":{"login":"benfitzpatrick","id":1138333,"avatar_url":"https://avatars.githubusercontent.com/u/1138333?v=3","gravatar_id":"","url":"https://api.github.com/users/benfitzpatrick","html_url":"https://github.com/benfitzpatrick","followers_url":"https://api.github.com/users/benfitzpatrick/followers","following_url":"https://api.github.com/users/benfitzpatrick/following{/other_user}","gists_url":"https://api.github.com/users/benfitzpatrick/gists{/gist_id}","starred_url":"https://api.github.com/users/benfitzpatrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benfitzpatrick/subscriptions","organizations_url":"https://api.github.com/users/benfitzpatrick/orgs","repos_url":"https://api.github.com/users/benfitzpatrick/repos","events_url":"https://api.github.com/users/benfitzpatrick/events{/privacy}","received_events_url":"https://api.github.com/users/benfitzpatrick/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/metomi/rose/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"arjclark","id":2562650,"avatar_url":"https://avatars.githubusercontent.com/u/2562650?v=3","gravatar_id":"","url":"https://api.github.com/users/arjclark","html_url":"https://github.com/arjclark","followers_url":"https://api.github.com/users/arjclark/followers","following_url":"https://api.github.com/users/arjclark/following{/other_user}","gists_url":"https://api.github.com/users/arjclark/gists{/gist_id}","starred_url":"https://api.github.com/users/arjclark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arjclark/subscriptions","organizations_url":"https://api.github.com/users/arjclark/orgs","repos_url":"https://api.github.com/users/arjclark/repos","events_url":"https://api.github.com/users/arjclark/events{/privacy}","received_events_url":"https://api.github.com/users/arjclark/received_events","type":"User","site_admin":false},"assignees":[{"login":"arjclark","id":2562650,"avatar_url":"https://avatars.githubusercontent.com/u/2562650?v=3","gravatar_id":"","url":"https://api.github.com/users/arjclark","html_url":"https://github.com/arjclark","followers_url":"https://api.github.com/users/arjclark/followers","following_url":"https://api.github.com/users/arjclark/following{/other_user}","gists_url":"https://api.github.com/users/arjclark/gists{/gist_id}","starred_url":"https://api.github.com/users/arjclark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arjclark/subscriptions","organizations_url":"https://api.github.com/users/arjclark/orgs","repos_url":"https://api.github.com/users/arjclark/repos","events_url":"https://api.github.com/users/arjclark/events{/privacy}","received_events_url":"https://api.github.com/users/arjclark/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/metomi/rose/milestones/49","html_url":"https://github.com/metomi/rose/milestones/next-release","labels_url":"https://api.github.com/repos/metomi/rose/milestones/49/labels","id":1944786,"number":49,"title":"next-release","description":"Rose release 44","creator":{"login":"matthewrmshin","id":908613,"avatar_url":"https://avatars.githubusercontent.com/u/908613?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewrmshin","html_url":"https://github.com/matthewrmshin","followers_url":"https://api.github.com/users/matthewrmshin/followers","following_url":"https://api.github.com/users/matthewrmshin/following{/other_user}","gists_url":"https://api.github.com/users/matthewrmshin/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewrmshin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewrmshin/subscriptions","organizations_url":"https://api.github.com/users/matthewrmshin/orgs","repos_url":"https://api.github.com/users/matthewrmshin/repos","events_url":"https://api.github.com/users/matthewrmshin/events{/privacy}","received_events_url":"https://api.github.com/users/matthewrmshin/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":3,"state":"open","created_at":"2016-08-16T11:05:13Z","updated_at":"2016-08-19T14:24:53Z","due_on":"2016-08-31T00:00:00Z","closed_at":null},"comments":1,"created_at":"2016-08-19T14:24:53Z","updated_at":"2016-08-22T09:02:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/metomi/rose/pulls/1962","html_url":"https://github.com/metomi/rose/pull/1962","diff_url":"https://github.com/metomi/rose/pull/1962.diff","patch_url":"https://github.com/metomi/rose/pull/1962.patch"},"body":"This fixes a traceback in rose edit where opening a `file` page results in:\r\n```\r\nTraceback (most recent call last):\r\n  File \"/opt/rose/lib/python/rose/config_editor/nav_panel.py\", line 491, in handle_activation\r\n    self._launch_ns_func(self.get_name(path), as_new=False)\r\n  File \"/opt/rose/lib/python/rose/config_editor/main.py\", line 733, in handle_launch_request\r\n    page = self.make_page(namespace_name)\r\n  File \"/opt/rose/lib/python/rose/config_editor/main.py\", line 867, in make_page\r\n    launch_macro_func=self.main_handle.handle_run_custom_macro\r\n  File \"/opt/rose/lib/python/rose/config_editor/page.py\", line 101, in __init__\r\n    self.generate_main_container()\r\n  File \"/opt/rose/lib/python/rose/config_editor/page.py\", line 674, in generate_main_container\r\n    self.show_modes)\r\n  File \"/opt/rose/lib/python/rose/config_editor/pagewidget/table.py\", line 58, in __init__\r\n    self.attach_variable_widgets(variable_is_ghost_list, start_index=0)\r\n  File \"/opt/rose/lib/python/rose/config_editor/pagewidget/table.py\", line 109, in attach_variable_widgets\r\n    variable_widget = self.get_variable_widget(variable, is_ghost)\r\n  File \"/opt/rose/lib/python/rose/config_editor/pagewidget/table.py\", line 120, in get_variable_widget\r\n    show_modes=self.show_modes)\r\n  File \"/opt/rose/lib/python/rose/config_editor/variable.py\", line 72, in __init__\r\n    self.generate_valuewidget(variable)\r\n  File \"/opt/rose/lib/python/rose/config_editor/variable.py\", line 163, in generate_valuewidget\r\n    arg_str=custom_arg)\r\nTypeError: __init__() got an unexpected keyword argument 'arg_str'\r\n```\r\n\r\n@arjclark, please review."},"comment":{"url":"https://api.github.com/repos/metomi/rose/issues/comments/241353598","html_url":"https://github.com/metomi/rose/pull/1962#issuecomment-241353598","issue_url":"https://api.github.com/repos/metomi/rose/issues/1962","id":241353598,"user":{"login":"arjclark","id":2562650,"avatar_url":"https://avatars.githubusercontent.com/u/2562650?v=3","gravatar_id":"","url":"https://api.github.com/users/arjclark","html_url":"https://github.com/arjclark","followers_url":"https://api.github.com/users/arjclark/followers","following_url":"https://api.github.com/users/arjclark/following{/other_user}","gists_url":"https://api.github.com/users/arjclark/gists{/gist_id}","starred_url":"https://api.github.com/users/arjclark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arjclark/subscriptions","organizations_url":"https://api.github.com/users/arjclark/orgs","repos_url":"https://api.github.com/users/arjclark/repos","events_url":"https://api.github.com/users/arjclark/events{/privacy}","received_events_url":"https://api.github.com/users/arjclark/received_events","type":"User","site_admin":false},"created_at":"2016-08-22T09:02:04Z","updated_at":"2016-08-22T09:02:04Z","body":"Looks good to me. Test case now working."}}
{"actor":{"display_login":"arjclark"}}