)]}'
{"openstack_dashboard/api/nova.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"11440d3ec064c7650d0e6403109c90d105520b95","unresolved":false,"context_lines":[{"line_number":645,"context_line":"    except nova_exceptions.Conflict:"},{"line_number":646,"context_line":"        # avoid the error page when clicking repeatedly causes"},{"line_number":647,"context_line":"        # the duplicate request."},{"line_number":648,"context_line":"        return None"},{"line_number":649,"context_line":""},{"line_number":650,"context_line":""},{"line_number":651,"context_line":"@profiler.trace"}],"source_content_type":"text/x-python","patch_set":2,"id":"df87a7cf_ed112755","line":648,"updated":"2017-12-15 13:56:08.000000000","message":"On a second thought, we should not do this here.\nIt is related to the action implementation, so we should catch and ignore this in the action implementation instead.","commit_id":"591a1ba121d362d6c6ac777f84ab73d4605dc0e0"},{"author":{"_account_id":8648,"name":"Radomir Dopieralski","email":"openstack@dopieralski.pl","username":"thesheep"},"change_message_id":"b95f5097cc3433fc5032129c3aaec0ec474f01cb","unresolved":false,"context_lines":[{"line_number":644,"context_line":"        novaclient(request).servers.confirm_resize(instance_id)"},{"line_number":645,"context_line":"    except nova_exceptions.Conflict as e:"},{"line_number":646,"context_line":"        LOG.warning(e.message)"},{"line_number":647,"context_line":"        raise horizon_exceptions.Conflict"},{"line_number":648,"context_line":""},{"line_number":649,"context_line":""},{"line_number":650,"context_line":"@profiler.trace"}],"source_content_type":"text/x-python","patch_set":5,"id":"df7087c5_eacde165","line":647,"updated":"2018-03-16 12:41:07.000000000","message":"Can we use six.raise_from here to not lose the traceback?","commit_id":"dcd05b8163ed90aebc4520c257665c7434beeb58"},{"author":{"_account_id":25946,"name":"Wangliangyu","email":"wangly2097@chinaunicom.cn","username":"wangliangyu"},"change_message_id":"d87cd2fbe1fccca4b85abca80b1379f48074b27d","unresolved":false,"context_lines":[{"line_number":644,"context_line":"        novaclient(request).servers.confirm_resize(instance_id)"},{"line_number":645,"context_line":"    except nova_exceptions.Conflict as e:"},{"line_number":646,"context_line":"        LOG.warning(e.message)"},{"line_number":647,"context_line":"        raise horizon_exceptions.Conflict"},{"line_number":648,"context_line":""},{"line_number":649,"context_line":""},{"line_number":650,"context_line":"@profiler.trace"}],"source_content_type":"text/x-python","patch_set":5,"id":"bf659307_4115219b","line":647,"in_reply_to":"df7087c5_eacde165","updated":"2018-03-30 07:57:20.000000000","message":"I think the warning log is enough.","commit_id":"dcd05b8163ed90aebc4520c257665c7434beeb58"},{"author":{"_account_id":8648,"name":"Radomir Dopieralski","email":"openstack@dopieralski.pl","username":"thesheep"},"change_message_id":"b95f5097cc3433fc5032129c3aaec0ec474f01cb","unresolved":false,"context_lines":[{"line_number":653,"context_line":"        novaclient(request).servers.revert_resize(instance_id)"},{"line_number":654,"context_line":"    except nova_exceptions.Conflict as e:"},{"line_number":655,"context_line":"        LOG.warning(e.message)"},{"line_number":656,"context_line":"        raise horizon_exceptions.Conflict"},{"line_number":657,"context_line":""},{"line_number":658,"context_line":""},{"line_number":659,"context_line":"@profiler.trace"}],"source_content_type":"text/x-python","patch_set":5,"id":"df7087c5_4ab3ade9","line":656,"updated":"2018-03-16 12:41:07.000000000","message":"ditto","commit_id":"dcd05b8163ed90aebc4520c257665c7434beeb58"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"e234e0ac5f7b8891bef9861332c4785d7c927bbf","unresolved":false,"context_lines":[{"line_number":661,"context_line":"    try:"},{"line_number":662,"context_line":"        novaclient(request).servers.confirm_resize(instance_id)"},{"line_number":663,"context_line":"    except nova_exceptions.Conflict as e:"},{"line_number":664,"context_line":"        LOG.warning(e.message)"},{"line_number":665,"context_line":"        raise horizon_exceptions.Conflict"},{"line_number":666,"context_line":""},{"line_number":667,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"bf659307_9fd710ef","line":664,"range":{"start_line":664,"start_character":20,"end_line":664,"end_character":29},"updated":"2018-03-30 10:21:39.000000000","message":"\u0027message\u0027 attribute is deprecated long ago. Use\n\n \u0027%s\u0027 % e\n\ninstead.","commit_id":"2edbab3d3993aabca34d6ffcd69c4b2879a5f355"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"e234e0ac5f7b8891bef9861332c4785d7c927bbf","unresolved":false,"context_lines":[{"line_number":662,"context_line":"        novaclient(request).servers.confirm_resize(instance_id)"},{"line_number":663,"context_line":"    except nova_exceptions.Conflict as e:"},{"line_number":664,"context_line":"        LOG.warning(e.message)"},{"line_number":665,"context_line":"        raise horizon_exceptions.Conflict"},{"line_number":666,"context_line":""},{"line_number":667,"context_line":""},{"line_number":668,"context_line":"@profiler.trace"}],"source_content_type":"text/x-python","patch_set":6,"id":"bf659307_ffce4c58","line":665,"range":{"start_line":665,"start_character":8,"end_line":665,"end_character":41},"updated":"2018-03-30 10:21:39.000000000","message":"Radomir\u0027s point in patch set 5 is not about log warninig. He suggested to use six.raise_from to not lose the traceback context. It sounds tricky to me to raise an exception without any actual message.","commit_id":"2edbab3d3993aabca34d6ffcd69c4b2879a5f355"},{"author":{"_account_id":8648,"name":"Radomir Dopieralski","email":"openstack@dopieralski.pl","username":"thesheep"},"change_message_id":"3f8d18ca4f7bf10ffd1579a6cc885c221f382e40","unresolved":false,"context_lines":[{"line_number":662,"context_line":"        novaclient(request).servers.confirm_resize(instance_id)"},{"line_number":663,"context_line":"    except nova_exceptions.Conflict as e:"},{"line_number":664,"context_line":"        LOG.warning(e.message)"},{"line_number":665,"context_line":"        raise horizon_exceptions.Conflict"},{"line_number":666,"context_line":""},{"line_number":667,"context_line":""},{"line_number":668,"context_line":"@profiler.trace"}],"source_content_type":"text/x-python","patch_set":6,"id":"bf659307_2231dd5a","line":665,"range":{"start_line":665,"start_character":8,"end_line":665,"end_character":41},"in_reply_to":"bf659307_ffce4c58","updated":"2018-04-03 10:17:47.000000000","message":"You are raising a class here, instead of an instance of the exception, this is wrong.","commit_id":"2edbab3d3993aabca34d6ffcd69c4b2879a5f355"},{"author":{"_account_id":8648,"name":"Radomir Dopieralski","email":"openstack@dopieralski.pl","username":"thesheep"},"change_message_id":"3f8d18ca4f7bf10ffd1579a6cc885c221f382e40","unresolved":false,"context_lines":[{"line_number":671,"context_line":"        novaclient(request).servers.revert_resize(instance_id)"},{"line_number":672,"context_line":"    except nova_exceptions.Conflict as e:"},{"line_number":673,"context_line":"        LOG.warning(e.message)"},{"line_number":674,"context_line":"        raise horizon_exceptions.Conflict"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":""},{"line_number":677,"context_line":"@profiler.trace"}],"source_content_type":"text/x-python","patch_set":6,"id":"bf659307_e2368551","line":674,"updated":"2018-04-03 10:17:47.000000000","message":"ditto","commit_id":"2edbab3d3993aabca34d6ffcd69c4b2879a5f355"}],"openstack_dashboard/dashboards/project/instances/tables.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"89011b674c5a8249c6d9e6213a3e5dd564c68e98","unresolved":false,"context_lines":[{"line_number":567,"context_line":"    def single(self, table, request, instance):"},{"line_number":568,"context_line":"        try:"},{"line_number":569,"context_line":"            api.nova.server_confirm_resize(request, instance)"},{"line_number":570,"context_line":"        except Exception:"},{"line_number":571,"context_line":"            return"},{"line_number":572,"context_line":""},{"line_number":573,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"df87a7cf_4379442d","line":570,"range":{"start_line":570,"start_character":15,"end_line":570,"end_character":25},"updated":"2017-12-13 11:39:33.000000000","message":"Could you catch more specific exception? According to the commit message, we don\u0027t not want to catch a general exception. it seems you would like to catch a specific 409 exception.","commit_id":"310087d5905cb63c4a30365f6b6bad4c90f9fecf"},{"author":{"_account_id":25946,"name":"Wangliangyu","email":"wangly2097@chinaunicom.cn","username":"wangliangyu"},"change_message_id":"98064bb1f110fd1e099a3d0533aab84b6da13880","unresolved":false,"context_lines":[{"line_number":567,"context_line":"    def single(self, table, request, instance):"},{"line_number":568,"context_line":"        try:"},{"line_number":569,"context_line":"            api.nova.server_confirm_resize(request, instance)"},{"line_number":570,"context_line":"        except Exception:"},{"line_number":571,"context_line":"            return"},{"line_number":572,"context_line":""},{"line_number":573,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"df87a7cf_44238a06","line":570,"range":{"start_line":570,"start_character":15,"end_line":570,"end_character":25},"in_reply_to":"df87a7cf_4379442d","updated":"2017-12-13 13:49:47.000000000","message":"OK，I catch the Conflict exception in the nova api for novaClient throw it.","commit_id":"310087d5905cb63c4a30365f6b6bad4c90f9fecf"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"abdb21b5a3318f43bde1872034b12fce892e02cb","unresolved":false,"context_lines":[{"line_number":570,"context_line":"        except exceptions.Conflict:"},{"line_number":571,"context_line":"            # avoid the error page when clicking repeatedly causes"},{"line_number":572,"context_line":"            # the duplicate request."},{"line_number":573,"context_line":"            return"},{"line_number":574,"context_line":""},{"line_number":575,"context_line":""},{"line_number":576,"context_line":"class RevertResize(policy.PolicyTargetMixin, tables.Action):"}],"source_content_type":"text/x-python","patch_set":3,"id":"bf8cb3f7_55e106fe","line":573,"updated":"2017-12-20 17:27:54.000000000","message":"I think it is not a good idea to ignore an error without any message. You hit a race condition reported in the bug, but it is not all possible cases. If there is no message after a user execute an action, the user would feel what happens.\n\nI think at least we should display *info* message. (you can do this with horizon.messages.info().)","commit_id":"018a706182b0ef4e504e310984ccc3ae8a12c5a9"},{"author":{"_account_id":25946,"name":"Wangliangyu","email":"wangly2097@chinaunicom.cn","username":"wangliangyu"},"change_message_id":"4e9952f05583202ec033221c1a58353897a8191e","unresolved":false,"context_lines":[{"line_number":570,"context_line":"        except exceptions.Conflict:"},{"line_number":571,"context_line":"            # avoid the error page when clicking repeatedly causes"},{"line_number":572,"context_line":"            # the duplicate request."},{"line_number":573,"context_line":"            return"},{"line_number":574,"context_line":""},{"line_number":575,"context_line":""},{"line_number":576,"context_line":"class RevertResize(policy.PolicyTargetMixin, tables.Action):"}],"source_content_type":"text/x-python","patch_set":3,"id":"7f96bb07_7090a396","line":573,"in_reply_to":"bf8cb3f7_55e106fe","updated":"2018-01-22 15:14:37.000000000","message":"Done","commit_id":"018a706182b0ef4e504e310984ccc3ae8a12c5a9"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"d095283941a8dda29a328a94fb50a48e5b0e46e8","unresolved":false,"context_lines":[{"line_number":571,"context_line":"            # avoid the error page when clicking repeatedly causes"},{"line_number":572,"context_line":"            # the duplicate request."},{"line_number":573,"context_line":"            messages.info(request, _(\"Click repeatedly.\"))"},{"line_number":574,"context_line":"            return"},{"line_number":575,"context_line":""},{"line_number":576,"context_line":""},{"line_number":577,"context_line":"class RevertResize(policy.PolicyTargetMixin, tables.Action):"}],"source_content_type":"text/x-python","patch_set":5,"id":"5f93b717_7cf44cf1","line":574,"updated":"2018-02-02 12:45:37.000000000","message":"I am still wondering ignoring this hides other error pattern.\nThe case reported in the bug report is one case of 409 is raise and the message \"Click repeatedly\" is only correct for that case.\nDoesn\u0027t this introduce another confusion?\n\nI don\u0027t put -1 on this. If other reviewers are okay after considering this, I am okay.","commit_id":"dcd05b8163ed90aebc4520c257665c7434beeb58"},{"author":{"_account_id":25946,"name":"Wangliangyu","email":"wangly2097@chinaunicom.cn","username":"wangliangyu"},"change_message_id":"d87cd2fbe1fccca4b85abca80b1379f48074b27d","unresolved":false,"context_lines":[{"line_number":571,"context_line":"            # avoid the error page when clicking repeatedly causes"},{"line_number":572,"context_line":"            # the duplicate request."},{"line_number":573,"context_line":"            messages.info(request, _(\"Click repeatedly.\"))"},{"line_number":574,"context_line":"            return"},{"line_number":575,"context_line":""},{"line_number":576,"context_line":""},{"line_number":577,"context_line":"class RevertResize(policy.PolicyTargetMixin, tables.Action):"}],"source_content_type":"text/x-python","patch_set":5,"id":"bf659307_81c25933","line":574,"in_reply_to":"5f93b717_7cf44cf1","updated":"2018-03-30 07:57:20.000000000","message":"I update the tip messages and it includes but not limits this case.","commit_id":"dcd05b8163ed90aebc4520c257665c7434beeb58"},{"author":{"_account_id":8648,"name":"Radomir Dopieralski","email":"openstack@dopieralski.pl","username":"thesheep"},"change_message_id":"b95f5097cc3433fc5032129c3aaec0ec474f01cb","unresolved":false,"context_lines":[{"line_number":571,"context_line":"            # avoid the error page when clicking repeatedly causes"},{"line_number":572,"context_line":"            # the duplicate request."},{"line_number":573,"context_line":"            messages.info(request, _(\"Click repeatedly.\"))"},{"line_number":574,"context_line":"            return"},{"line_number":575,"context_line":""},{"line_number":576,"context_line":""},{"line_number":577,"context_line":"class RevertResize(policy.PolicyTargetMixin, tables.Action):"}],"source_content_type":"text/x-python","patch_set":5,"id":"df7087c5_8a0b058c","line":574,"in_reply_to":"5f93b717_7cf44cf1","updated":"2018-03-16 12:41:07.000000000","message":"Maybe something like \"Intermittent failure, please try again.\" would be better? Other wise, \"Please click again.\" sounds better to my non-native-speaker ears.","commit_id":"dcd05b8163ed90aebc4520c257665c7434beeb58"},{"author":{"_account_id":25946,"name":"Wangliangyu","email":"wangly2097@chinaunicom.cn","username":"wangliangyu"},"change_message_id":"d87cd2fbe1fccca4b85abca80b1379f48074b27d","unresolved":false,"context_lines":[{"line_number":571,"context_line":"            # avoid the error page when clicking repeatedly causes"},{"line_number":572,"context_line":"            # the duplicate request."},{"line_number":573,"context_line":"            messages.info(request, _(\"Click repeatedly.\"))"},{"line_number":574,"context_line":"            return"},{"line_number":575,"context_line":""},{"line_number":576,"context_line":""},{"line_number":577,"context_line":"class RevertResize(policy.PolicyTargetMixin, tables.Action):"}],"source_content_type":"text/x-python","patch_set":5,"id":"bf659307_c1d131fd","line":574,"in_reply_to":"df7087c5_8a0b058c","updated":"2018-03-30 07:57:20.000000000","message":"Done","commit_id":"dcd05b8163ed90aebc4520c257665c7434beeb58"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"e234e0ac5f7b8891bef9861332c4785d7c927bbf","unresolved":false,"context_lines":[{"line_number":569,"context_line":"            api.nova.server_confirm_resize(request, instance)"},{"line_number":570,"context_line":"        except exceptions.Conflict:"},{"line_number":571,"context_line":"            messages.info(request,"},{"line_number":572,"context_line":"                          _(\"Conflict, may be due to continuous operation \""},{"line_number":573,"context_line":"                            \"and try again later.\"))"},{"line_number":574,"context_line":""},{"line_number":575,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"bf659307_bf1bf4c7","line":572,"range":{"start_line":572,"start_character":30,"end_line":572,"end_character":37},"updated":"2018-03-30 10:21:39.000000000","message":"\"Conflict\" is a type of exception. You should provide more user-friendly message to users as horizon is GUI. Users are not expected to understand an exception type of API.\n\nIn addition, a comma after \"Conflict\" is unnecessary.","commit_id":"2edbab3d3993aabca34d6ffcd69c4b2879a5f355"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"e234e0ac5f7b8891bef9861332c4785d7c927bbf","unresolved":false,"context_lines":[{"line_number":569,"context_line":"            api.nova.server_confirm_resize(request, instance)"},{"line_number":570,"context_line":"        except exceptions.Conflict:"},{"line_number":571,"context_line":"            messages.info(request,"},{"line_number":572,"context_line":"                          _(\"Conflict, may be due to continuous operation \""},{"line_number":573,"context_line":"                            \"and try again later.\"))"},{"line_number":574,"context_line":""},{"line_number":575,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"bf659307_fff72c8a","line":572,"range":{"start_line":572,"start_character":53,"end_line":572,"end_character":63},"updated":"2018-03-30 10:21:39.000000000","message":"\"continuous\" sounds tricky. \"concurrent\"?","commit_id":"2edbab3d3993aabca34d6ffcd69c4b2879a5f355"},{"author":{"_account_id":8648,"name":"Radomir Dopieralski","email":"openstack@dopieralski.pl","username":"thesheep"},"change_message_id":"3f8d18ca4f7bf10ffd1579a6cc885c221f382e40","unresolved":false,"context_lines":[{"line_number":570,"context_line":"        except exceptions.Conflict:"},{"line_number":571,"context_line":"            messages.info(request,"},{"line_number":572,"context_line":"                          _(\"Conflict, may be due to continuous operation \""},{"line_number":573,"context_line":"                            \"and try again later.\"))"},{"line_number":574,"context_line":""},{"line_number":575,"context_line":""},{"line_number":576,"context_line":"class RevertResize(policy.PolicyTargetMixin, tables.Action):"}],"source_content_type":"text/x-python","patch_set":6,"id":"bf659307_027cd9e9","line":573,"updated":"2018-04-03 10:17:47.000000000","message":"A full sentence, wit ha proper verb in it, would be much easier to understand.","commit_id":"2edbab3d3993aabca34d6ffcd69c4b2879a5f355"}],"openstack_dashboard/locale/zh_CN/LC_MESSAGES/django.po":[{"author":{"_account_id":1736,"name":"Ivan Kolodyazhny","email":"e0ne@e0ne.info","username":"e0ne"},"change_message_id":"5f5193b6261f38e331282ae0098bcd510f831416","unresolved":false,"context_lines":[{"line_number":8305,"context_line":"msgid \"yes\""},{"line_number":8306,"context_line":"msgstr \"是\""},{"line_number":8307,"context_line":""},{"line_number":8308,"context_line":"msgid \"Click repeatedly.\""},{"line_number":8309,"context_line":"msgstr \"重复点击。\""}],"source_content_type":"application/octet-stream","patch_set":4,"id":"7f96bb07_105b5f2e","line":8308,"updated":"2018-01-22 15:09:24.000000000","message":"We don\u0027t change translation files manually. Please, submit translations via https://translate.openstack.org/","commit_id":"3c827f738929005988a3f7b966c0b76860ea98c6"},{"author":{"_account_id":25946,"name":"Wangliangyu","email":"wangly2097@chinaunicom.cn","username":"wangliangyu"},"change_message_id":"4e9952f05583202ec033221c1a58353897a8191e","unresolved":false,"context_lines":[{"line_number":8305,"context_line":"msgid \"yes\""},{"line_number":8306,"context_line":"msgstr \"是\""},{"line_number":8307,"context_line":""},{"line_number":8308,"context_line":"msgid \"Click repeatedly.\""},{"line_number":8309,"context_line":"msgstr \"重复点击。\""}],"source_content_type":"application/octet-stream","patch_set":4,"id":"7f96bb07_50ed6723","line":8308,"in_reply_to":"7f96bb07_105b5f2e","updated":"2018-01-22 15:14:37.000000000","message":"Done","commit_id":"3c827f738929005988a3f7b966c0b76860ea98c6"}]}
