{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-iot-cli-extension/issues/85","repository_url":"https://api.github.com/repos/Azure/azure-iot-cli-extension","labels_url":"https://api.github.com/repos/Azure/azure-iot-cli-extension/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-iot-cli-extension/issues/85/comments","events_url":"https://api.github.com/repos/Azure/azure-iot-cli-extension/issues/85/events","html_url":"https://github.com/Azure/azure-iot-cli-extension/issues/85","id":480431560,"node_id":"MDU6SXNzdWU0ODA0MzE1NjA=","number":85,"title":"TypeError: unrecognized kwargs: ['is_preview'] when loading azure-cli-iot-ext v0.8.0","user":{"login":"Kelerei","id":8522034,"node_id":"MDQ6VXNlcjg1MjIwMzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/8522034?v=4","gravatar_id":"","url":"https://api.github.com/users/Kelerei","html_url":"https://github.com/Kelerei","followers_url":"https://api.github.com/users/Kelerei/followers","following_url":"https://api.github.com/users/Kelerei/following{/other_user}","gists_url":"https://api.github.com/users/Kelerei/gists{/gist_id}","starred_url":"https://api.github.com/users/Kelerei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kelerei/subscriptions","organizations_url":"https://api.github.com/users/Kelerei/orgs","repos_url":"https://api.github.com/users/Kelerei/repos","events_url":"https://api.github.com/users/Kelerei/events{/privacy}","received_events_url":"https://api.github.com/users/Kelerei/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2019-08-14T00:46:44Z","updated_at":"2019-08-14T17:01:34Z","closed_at":"2019-08-14T17:01:34Z","author_association":"NONE","body":"Hello,\r\n\r\nWe have an automated script run out of our CD server that performs (amongst other things) the following two commands:\r\n\r\n```\r\naz extension add --name azure-cli-iot-ext\r\naz iot hub device-identity list --hub-name $HubName\r\n```\r\n\r\nSince the v0.8.0 release, the second command always fails.  The relevant output from the debug logs are:\r\n\r\n```\r\n23:36:31   Error    |       WARNING: Unable to load extension 'azure-cli-iot-ext'. Use --debug for more information.\r\n23:36:31   Error    |       DEBUG: Traceback (most recent call last):\r\n23:36:31   Error    |       File \"C:\\Users\\trdai\\AppData\\Local\\Temp\\pip-install-8jgnm5o1\\azure-cli-core\\azure\\cli\\core\\__init__.py\", line 183, in _update_command_table_from_extensions\r\n23:36:31   Error    |       File \"C:\\Users\\trdai\\AppData\\Local\\Temp\\pip-install-8jgnm5o1\\azure-cli-core\\azure\\cli\\core\\commands\\__init__.py\", line 614, in _load_extension_command_loader\r\n23:36:31   Error    |       File \"C:\\Users\\trdai\\AppData\\Local\\Temp\\pip-install-8jgnm5o1\\azure-cli-core\\azure\\cli\\core\\commands\\__init__.py\", line 600, in _load_command_loader\r\n23:36:31   Error    |       File \"C:\\Octopus\\Work\\20190813233551-69003-5310\\azure-cli\\cliextensions\\azure-cli-iot-ext\\azext_iot\\__init__.py\", line 39, in load_command_table\r\n23:36:31   Error    |       load_command_table(self, args)\r\n23:36:31   Error    |       File \"C:\\Octopus\\Work\\20190813233551-69003-5310\\azure-cli\\cliextensions\\azure-cli-iot-ext\\azext_iot\\commands.py\", line 77, in load_command_table\r\n23:36:31   Error    |       with self.command_group('iot hub distributed-tracing', command_type=iothub_ops, is_preview=True) as cmd_group:\r\n23:36:31   Error    |       File \"C:\\Users\\trdai\\AppData\\Local\\Temp\\pip-install-8jgnm5o1\\azure-cli-core\\azure\\cli\\core\\__init__.py\", line 398, in command_group\r\n23:36:31   Error    |       File \"C:\\Users\\trdai\\AppData\\Local\\Temp\\pip-install-8jgnm5o1\\azure-cli-core\\azure\\cli\\core\\commands\\__init__.py\", line 714, in __init__\r\n23:36:31   Error    |       File \"C:\\Users\\trdai\\AppData\\Local\\Temp\\pip-install-8jgnm5o1\\azure-cli-core\\azure\\cli\\core\\commands\\__init__.py\", line 738, in _merge_kwargs\r\n23:36:31   Error    |       File \"C:\\Users\\trdai\\AppData\\Local\\Temp\\pip-install-8jgnm5o1\\azure-cli-core\\azure\\cli\\core\\commands\\__init__.py\", line 689, in _merge_kwargs\r\n23:36:31   Error    |       TypeError: unrecognized kwargs: ['is_preview']\r\n```\r\n\r\nLoading the previous version, 0.7.1, works fine.\r\n\r\nThe Azure CLI version is 2.0.43.\r\n\r\nWhat could be the cause of this issue?"},"comment":{"url":"https://api.github.com/repos/Azure/azure-iot-cli-extension/issues/comments/521331340","html_url":"https://github.com/Azure/azure-iot-cli-extension/issues/85#issuecomment-521331340","issue_url":"https://api.github.com/repos/Azure/azure-iot-cli-extension/issues/85","id":521331340,"node_id":"MDEyOklzc3VlQ29tbWVudDUyMTMzMTM0MA==","user":{"login":"digimaun","id":28658112,"node_id":"MDQ6VXNlcjI4NjU4MTEy","avatar_url":"https://avatars2.githubusercontent.com/u/28658112?v=4","gravatar_id":"","url":"https://api.github.com/users/digimaun","html_url":"https://github.com/digimaun","followers_url":"https://api.github.com/users/digimaun/followers","following_url":"https://api.github.com/users/digimaun/following{/other_user}","gists_url":"https://api.github.com/users/digimaun/gists{/gist_id}","starred_url":"https://api.github.com/users/digimaun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digimaun/subscriptions","organizations_url":"https://api.github.com/users/digimaun/orgs","repos_url":"https://api.github.com/users/digimaun/repos","events_url":"https://api.github.com/users/digimaun/events{/privacy}","received_events_url":"https://api.github.com/users/digimaun/received_events","type":"User","site_admin":false},"created_at":"2019-08-14T17:01:34Z","updated_at":"2019-08-14T17:01:34Z","author_association":"CONTRIBUTOR","body":"Closing issue for now. Please re-open if you are still having problems. To be clear the fix should resolve the errors you ran into without any change on your side."}}
{"actor":{"display_login":"digimaun"}}