{"action":"created","issue":{"url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/issues/1628","repository_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot","labels_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/issues/1628/labels{/name}","comments_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/issues/1628/comments","events_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/issues/1628/events","html_url":"https://github.com/Cog-Creators/Red-DiscordBot/issues/1628","id":322348064,"number":1628,"title":"[V3 Downloader] Error on cog update","user":{"login":"retke","id":23153234,"avatar_url":"https://avatars3.githubusercontent.com/u/23153234?v=4","gravatar_id":"","url":"https://api.github.com/users/retke","html_url":"https://github.com/retke","followers_url":"https://api.github.com/users/retke/followers","following_url":"https://api.github.com/users/retke/following{/other_user}","gists_url":"https://api.github.com/users/retke/gists{/gist_id}","starred_url":"https://api.github.com/users/retke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/retke/subscriptions","organizations_url":"https://api.github.com/users/retke/orgs","repos_url":"https://api.github.com/users/retke/repos","events_url":"https://api.github.com/users/retke/events{/privacy}","received_events_url":"https://api.github.com/users/retke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-05-11T15:55:24Z","updated_at":"2018-05-11T21:15:06Z","closed_at":null,"author_association":"NONE","body":"# Command bugs\r\n\r\n<!-- \r\nDid you find a bug with a command? Fill out the following:\r\n-->\r\n\r\n#### Command name\r\n\r\n`cog update`\r\n\r\n#### What cog is this command from?\r\n\r\n`Downloader` from core\r\n\r\n#### What were you expecting to happen?\r\n\r\nUpdate all installed repos\r\n\r\n#### What actually happened?\r\n\r\nThe error below was raised.\r\n\r\n#### How can we reproduce this issue?\r\n\r\nDon't know. Works fine for me but not for Malarne, and many other users when I'm looking at #v3-support \r\n\r\n### Error\r\n\r\n```Py\r\nException in command 'cog update'\r\nTraceback (most recent call last):\r\n  File \"/home/admin/venv/lib/python3.6/site-packages/discord/ext/commands/core.py\", line 62, in wrapped\r\n    ret = yield from coro(*args, **kwargs)\r\n  File \"/usr/local/lib/python3.6/site-packages/redbot/cogs/downloader/downloader.py\", line 328, in _cog_update\r\n    installed_cogs = set(await self.installed_cogs())\r\n  File \"/usr/local/lib/python3.6/site-packages/redbot/cogs/downloader/downloader.py\", line 78, in installed_cogs\r\n    return tuple(Installable.from_json(v, self._repo_manager) for v in installed)\r\n  File \"/usr/local/lib/python3.6/site-packages/redbot/cogs/downloader/downloader.py\", line 78, in <genexpr>\r\n    return tuple(Installable.from_json(v, self._repo_manager) for v in installed)\r\n  File \"/usr/local/lib/python3.6/site-packages/redbot/cogs/downloader/installable.py\", line 210, in from_json\r\n    repo_name = data['repo_name']\r\nKeyError: 'repo_name'\r\n\r\nThe above exception was the direct cause of the following exception:\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/admin/venv/lib/python3.6/site-packages/discord/ext/commands/bot.py\", line 886, in invoke\r\n    yield from ctx.command.invoke(ctx)\r\n  File \"/home/admin/venv/lib/python3.6/site-packages/discord/ext/commands/core.py\", line 927, in invoke\r\n    yield from ctx.invoked_subcommand.invoke(ctx)\r\n  File \"/home/admin/venv/lib/python3.6/site-packages/discord/ext/commands/core.py\", line 514, in invoke\r\n    yield from injected(*ctx.args, **ctx.kwargs)\r\n  File \"/home/admin/venv/lib/python3.6/site-packages/discord/ext/commands/core.py\", line 71, in wrapped\r\n    raise CommandInvokeError(e) from e\r\ndiscord.ext.commands.errors.CommandInvokeError: Command raised an exception: KeyError: 'repo_name'\r\n``` \r\n"},"comment":{"url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/issues/comments/388487631","html_url":"https://github.com/Cog-Creators/Red-DiscordBot/issues/1628#issuecomment-388487631","issue_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/issues/1628","id":388487631,"user":{"login":"Malarne","id":34847642,"avatar_url":"https://avatars3.githubusercontent.com/u/34847642?v=4","gravatar_id":"","url":"https://api.github.com/users/Malarne","html_url":"https://github.com/Malarne","followers_url":"https://api.github.com/users/Malarne/followers","following_url":"https://api.github.com/users/Malarne/following{/other_user}","gists_url":"https://api.github.com/users/Malarne/gists{/gist_id}","starred_url":"https://api.github.com/users/Malarne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Malarne/subscriptions","organizations_url":"https://api.github.com/users/Malarne/orgs","repos_url":"https://api.github.com/users/Malarne/repos","events_url":"https://api.github.com/users/Malarne/events{/privacy}","received_events_url":"https://api.github.com/users/Malarne/received_events","type":"User","site_admin":false},"created_at":"2018-05-11T21:15:06Z","updated_at":"2018-05-11T21:15:06Z","author_association":"NONE","body":"renamed CogManager/settings.json and Downloader/settings.json reloaded downloader, issue still there, still investigating ...\r\n"}}
{"actor":{"display_login":"Malarne"}}