RuntimeError
Form data has been processed already
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 88, in on_message
await command.respond_to_card_names(message, self)
File "/penny/mtgbot/discordbot/command.py", line 48, in respond_to_card_names
await post_cards(client, cards, message.channel, message.author)
File "/penny/mtgbot/discordbot/command.py", line 169, in post_cards
await send_image_with_retry(channel, image_file, text)
File "/penny/mtgbot/discordbot/command.py", line 185, in send_image_with_retry
message = await send(channel, file=File(image_file), content=text)
File "/penny/mtgbot/discordbot/command.py", line 182, in send
return await channel.send(file=file, content=new_s)
File "/home/discord/.local/lib/python3.8/site-packages/discord/abc.py", line 886, in send
data = await state.http.send_files(channel.id, files=[file], allowed_mentions=allowed_mentions,
File "/home/discord/.local/lib/python3.8/site-packages/discord/http.py", line 185, in request
async with self.__session.request(method, url, **kwargs) as r:
File "/home/discord/.local/lib/python3.8/site-packages/aiohttp/client.py", line 1117, in __aenter__
self._resp = await self._coro
File "/home/discord/.local/lib/python3.8/site-packages/aiohttp/client.py", line 492, in _request
req = self._request_class(
File "/home/discord/.local/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 313, in __init__
self.update_body_from_data(data)
File "/home/discord/.local/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 507, in update_body_from_data
body = body()
File "/home/discord/.local/lib/python3.8/site-packages/aiohttp/formdata.py", line 168, in __call__
return self._gen_form_data()
File "/home/discord/.local/lib/python3.8/site-packages/aiohttp/formdata.py", line 132, in _gen_form_data
raise RuntimeError("Form data has been processed already")
```
RuntimeError
Form data has been processed already
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 88, in on_message
await command.respond_to_card_names(message, self)
File "/penny/mtgbot/discordbot/command.py", line 48, in respond_to_card_names
await post_cards(client, cards, message.channel, message.author)
File "/penny/mtgbot/discordbot/command.py", line 169, in post_cards
await send_image_with_retry(channel, image_file, text)
File "/penny/mtgbot/discordbot/command.py", line 185, in send_image_with_retry
message = await send(channel, file=File(image_file), content=text)
File "/penny/mtgbot/discordbot/command.py", line 182, in send
return await channel.send(file=file, content=new_s)
File "/home/discord/.local/lib/python3.8/site-packages/discord/abc.py", line 886, in send
data = await state.http.send_files(channel.id, files=[file], allowed_mentions=allowed_mentions,
File "/home/discord/.local/lib/python3.8/site-packages/discord/http.py", line 185, in request
async with self.__session.request(method, url, **kwargs) as r:
File "/home/discord/.local/lib/python3.8/site-packages/aiohttp/client.py", line 1117, in __aenter__
self._resp = await self._coro
File "/home/discord/.local/lib/python3.8/site-packages/aiohttp/client.py", line 492, in _request
req = self._request_class(
File "/home/discord/.local/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 313, in __init__
self.update_body_from_data(data)
File "/home/discord/.local/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 507, in update_body_from_data
body = body()
File "/home/discord/.local/lib/python3.8/site-packages/aiohttp/formdata.py", line 168, in __call__
return self._gen_form_data()
File "/home/discord/.local/lib/python3.8/site-packages/aiohttp/formdata.py", line 132, in _gen_form_data
raise RuntimeError("Form data has been processed already")
```
(<Message id=795080955555479572 channel= type=<MessageType.default: 0> author=<Member id=206035342728364034 name='Will' discriminator='0011' bot=False nick='TealBaron' guild=> flags=>,)
{}
['[stormbind]']
Reported on discordbot by discord user
RuntimeError Form data has been processed already
Stack Trace: ``` Python traceback File "run.py", line 174, inException_hash: 7aac482900113c5c241c6a8c041df4f7e518e618