PennyDreadfulMTG / perf-reports

2 stars 2 forks source link

Bot error on_member_update #57107

Open vorpal-buildbot opened 4 years ago

vorpal-buildbot commented 4 years ago

(<Member id=685223535450390624 name='kolthau' discriminator='1669' bot=False nick=None guild=>, <Member id=685223535450390624 name='kolthau' discriminator='1669' bot=False nick=None guild=>) {} []

Reported on discordbot by discord user

ClientPayloadError Response payload is not completed Stack Trace: ``` Python traceback File "run.py", line 174, in cli() File "/home/discord/.local/lib/python3.8/site-packages/click/core.py", line 829, in __call__ return self.main(*args, **kwargs) File "/home/discord/.local/lib/python3.8/site-packages/click/core.py", line 782, in main rv = self.invoke(ctx) File "/home/discord/.local/lib/python3.8/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/discord/.local/lib/python3.8/site-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/discord/.local/lib/python3.8/site-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) File "run.py", line 39, in discordbot bot.init() File "/penny/mtgbot/discordbot/bot.py", line 348, in init client.run(configuration.get_str('token')) File "/home/discord/.local/lib/python3.8/site-packages/discord/client.py", line 698, in run loop.run_forever() File "/usr/lib64/python3.8/asyncio/base_events.py", line 570, in run_forever self._run_once() File "/usr/lib64/python3.8/asyncio/base_events.py", line 1859, in _run_once handle._run() File "/usr/lib64/python3.8/asyncio/events.py", line 81, in _run self._context.run(self._callback, *self._args) File "/home/discord/.local/lib/python3.8/site-packages/discord/client.py", line 333, in _run_event await coro(*args, **kwargs) File "/penny/mtgbot/discordbot/bot.py", line 134, in on_member_update data = await fetcher.person_data_async(before.id) File "/penny/mtgbot/magic/fetcher.py", line 131, in person_data_async data = await fetch_tools.fetch_json_async(decksite_url('/api/person/{0}'.format(person))) File "/penny/mtgbot/shared/fetch_tools.py", line 66, in fetch_json_async blob = await fetch_async(url) File "/penny/mtgbot/shared/fetch_tools.py", line 50, in fetch_async return await response.text() File "/home/discord/.local/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 1076, in text await self.read() File "/home/discord/.local/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 1032, in read self._body = await self.content.read() File "/home/discord/.local/lib/python3.8/site-packages/aiohttp/streams.py", line 371, in read block = await self.readany() File "/home/discord/.local/lib/python3.8/site-packages/aiohttp/streams.py", line 393, in readany await self._wait("readany") File "/home/discord/.local/lib/python3.8/site-packages/aiohttp/streams.py", line 307, in _wait await waiter ```

Exception_hash: 7a16219c76958678cbed4a2f94984c33a33738f5

vorpal-buildbot commented 4 years ago

Bot error on_member_update

(<Member id=691043123077578835 name='SunggleBuggle' discriminator='6691' bot=False nick='KennEH' guild=>, <Member id=691043123077578835 name='SunggleBuggle' discriminator='6691' bot=False nick='KennEH' guild=>) {} []

Reported on discordbot by discord user

ClientPayloadError Response payload is not completed Stack Trace: ``` Python traceback File "run.py", line 174, in cli() File "/home/discord/.local/lib/python3.8/site-packages/click/core.py", line 829, in __call__ return self.main(*args, **kwargs) File "/home/discord/.local/lib/python3.8/site-packages/click/core.py", line 782, in main rv = self.invoke(ctx) File "/home/discord/.local/lib/python3.8/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/discord/.local/lib/python3.8/site-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/discord/.local/lib/python3.8/site-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) File "run.py", line 39, in discordbot bot.init() File "/penny/mtgbot/discordbot/bot.py", line 348, in init client.run(configuration.get_str('token')) File "/home/discord/.local/lib/python3.8/site-packages/discord/client.py", line 698, in run loop.run_forever() File "/usr/lib64/python3.8/asyncio/base_events.py", line 570, in run_forever self._run_once() File "/usr/lib64/python3.8/asyncio/base_events.py", line 1859, in _run_once handle._run() File "/usr/lib64/python3.8/asyncio/events.py", line 81, in _run self._context.run(self._callback, *self._args) File "/home/discord/.local/lib/python3.8/site-packages/discord/client.py", line 333, in _run_event await coro(*args, **kwargs) File "/penny/mtgbot/discordbot/bot.py", line 134, in on_member_update data = await fetcher.person_data_async(before.id) File "/penny/mtgbot/magic/fetcher.py", line 131, in person_data_async data = await fetch_tools.fetch_json_async(decksite_url('/api/person/{0}'.format(person))) File "/penny/mtgbot/shared/fetch_tools.py", line 66, in fetch_json_async blob = await fetch_async(url) File "/penny/mtgbot/shared/fetch_tools.py", line 50, in fetch_async return await response.text() File "/home/discord/.local/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 1076, in text await self.read() File "/home/discord/.local/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 1032, in read self._body = await self.content.read() File "/home/discord/.local/lib/python3.8/site-packages/aiohttp/streams.py", line 371, in read block = await self.readany() File "/home/discord/.local/lib/python3.8/site-packages/aiohttp/streams.py", line 393, in readany await self._wait("readany") File "/home/discord/.local/lib/python3.8/site-packages/aiohttp/streams.py", line 307, in _wait await waiter ```

Exception_hash: 7a16219c76958678cbed4a2f94984c33a33738f5

Labels: discordbot; ClientPayloadError