Closed vorpal-buildbot closed 5 years ago
Bot error on_message
(<Message id=544985324892192769 pinned=False author=<Member id=158367381427585024 name='JarJarThinks' discriminator='5411' bot=False nick=None guild=
Reported on discordbot by discord user
ValueError I/O operation on closed file Stack Trace:
File "run.py", line 120, in <module>
run()
File "run.py", line 17, in run
bot.init()
File "/home/discord/Penny-Dreadful-Discord-Bot/discordbot/bot.py", line 213, in init
client.init()
File "/home/discord/Penny-Dreadful-Discord-Bot/discordbot/bot.py", line 33, in init
self.run(configuration.get('token'))
File "/home/discord/.local/lib/python3.6/site-packages/discord/client.py", line 563, in run
loop.run_forever()
File "/usr/lib64/python3.6/asyncio/base_events.py", line 422, in run_forever
self._run_once()
File "/usr/lib64/python3.6/asyncio/base_events.py", line 1432, in _run_once
handle._run()
File "/usr/lib64/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self._args)
File "/home/discord/.local/lib/python3.6/site-packages/discord/client.py", line 221, in _run_event
await coro(*args, **kwargs)
File "/home/discord/Penny-Dreadful-Discord-Bot/discordbot/bot.py", line 49, in on_message
await command.respond_to_card_names(message, self)
File "/home/discord/Penny-Dreadful-Discord-Bot/discordbot/command.py", line 60, in respond_to_card_names
await post_cards(client, cards, message.channel, message.author)
File "/home/discord/Penny-Dreadful-Discord-Bot/discordbot/command.py", line 949, in post_cards
await send_image_with_retry(channel, image_file, text)
File "/home/discord/Penny-Dreadful-Discord-Bot/discordbot/command.py", line 965, in send_image_with_retry
message = await send(channel, file=File(image_file), content=text)
File "/home/discord/Penny-Dreadful-Discord-Bot/discordbot/command.py", line 962, in send
return await channel.send(file=file, content=new_s)
File "/home/discord/.local/lib/python3.6/site-packages/discord/abc.py", line 745, in send
content=content, tts=tts, embed=embed, nonce=nonce)
File "/home/discord/.local/lib/python3.6/site-packages/discord/http.py", line 153, in request
async with self._session.request(method, url, **kwargs) as r:
File "/home/discord/.local/lib/python3.6/site-packages/aiohttp/client.py", line 843, in __aenter__
self._resp = await self._coro
File "/home/discord/.local/lib/python3.6/site-packages/aiohttp/client.py", line 357, in _request
ssl=ssl, proxy_headers=proxy_headers, traces=traces)
File "/home/discord/.local/lib/python3.6/site-packages/aiohttp/client_reqrep.py", line 231, in __init__
self.update_body_from_data(data)
File "/home/discord/.local/lib/python3.6/site-packages/aiohttp/client_reqrep.py", line 403, in update_body_from_data
body = body()
File "/home/discord/.local/lib/python3.6/site-packages/aiohttp/formdata.py", line 141, in __call__
return self._gen_form_data()
File "/home/discord/.local/lib/python3.6/site-packages/aiohttp/formdata.py", line 135, in _gen_form_data
self._writer.append_payload(part)
File "/home/discord/.local/lib/python3.6/site-packages/aiohttp/multipart.py", line 745, in append_payload
size = payload.size
File "/home/discord/.local/lib/python3.6/site-packages/aiohttp/payload.py", line 284, in size
return os.fstat(self._value.fileno()).st_size - self._value.tell()
Exception_hash: babb8ce4d0069d476b6a11a9d81b97128b8b6fc1
Labels: discordbot; ValueError
Bot error on_message
(<Message id=545002562026209281 pinned=False author=<Member id=155515684485464064 name='evaric' discriminator='2011' bot=False nick='Briar_moss' guild=
Reported on discordbot by discord user
ValueError I/O operation on closed file Stack Trace:
File "run.py", line 120, in <module>
run()
File "run.py", line 17, in run
bot.init()
File "/home/discord/Penny-Dreadful-Discord-Bot/discordbot/bot.py", line 213, in init
client.init()
File "/home/discord/Penny-Dreadful-Discord-Bot/discordbot/bot.py", line 33, in init
self.run(configuration.get('token'))
File "/home/discord/.local/lib/python3.6/site-packages/discord/client.py", line 563, in run
loop.run_forever()
File "/usr/lib64/python3.6/asyncio/base_events.py", line 422, in run_forever
self._run_once()
File "/usr/lib64/python3.6/asyncio/base_events.py", line 1432, in _run_once
handle._run()
File "/usr/lib64/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self._args)
File "/home/discord/.local/lib/python3.6/site-packages/discord/client.py", line 221, in _run_event
await coro(*args, **kwargs)
File "/home/discord/Penny-Dreadful-Discord-Bot/discordbot/bot.py", line 49, in on_message
await command.respond_to_card_names(message, self)
File "/home/discord/Penny-Dreadful-Discord-Bot/discordbot/command.py", line 60, in respond_to_card_names
await post_cards(client, cards, message.channel, message.author)
File "/home/discord/Penny-Dreadful-Discord-Bot/discordbot/command.py", line 949, in post_cards
await send_image_with_retry(channel, image_file, text)
File "/home/discord/Penny-Dreadful-Discord-Bot/discordbot/command.py", line 965, in send_image_with_retry
message = await send(channel, file=File(image_file), content=text)
File "/home/discord/Penny-Dreadful-Discord-Bot/discordbot/command.py", line 962, in send
return await channel.send(file=file, content=new_s)
File "/home/discord/.local/lib/python3.6/site-packages/discord/abc.py", line 745, in send
content=content, tts=tts, embed=embed, nonce=nonce)
File "/home/discord/.local/lib/python3.6/site-packages/discord/http.py", line 153, in request
async with self._session.request(method, url, **kwargs) as r:
File "/home/discord/.local/lib/python3.6/site-packages/aiohttp/client.py", line 843, in __aenter__
self._resp = await self._coro
File "/home/discord/.local/lib/python3.6/site-packages/aiohttp/client.py", line 357, in _request
ssl=ssl, proxy_headers=proxy_headers, traces=traces)
File "/home/discord/.local/lib/python3.6/site-packages/aiohttp/client_reqrep.py", line 231, in __init__
self.update_body_from_data(data)
File "/home/discord/.local/lib/python3.6/site-packages/aiohttp/client_reqrep.py", line 403, in update_body_from_data
body = body()
File "/home/discord/.local/lib/python3.6/site-packages/aiohttp/formdata.py", line 141, in __call__
return self._gen_form_data()
File "/home/discord/.local/lib/python3.6/site-packages/aiohttp/formdata.py", line 135, in _gen_form_data
self._writer.append_payload(part)
File "/home/discord/.local/lib/python3.6/site-packages/aiohttp/multipart.py", line 745, in append_payload
size = payload.size
File "/home/discord/.local/lib/python3.6/site-packages/aiohttp/payload.py", line 284, in size
return os.fstat(self._value.fileno()).st_size - self._value.tell()
Exception_hash: babb8ce4d0069d476b6a11a9d81b97128b8b6fc1
Labels: discordbot; ValueError
Bot error on_message
(<Message id=545277419314216961 pinned=False author=<Member id=156691148616761344 name='zinnerzPT' discriminator='0640' bot=False nick=None guild=
Reported on discordbot by discord user
ValueError I/O operation on closed file Stack Trace:
File "run.py", line 120, in <module>
run()
File "run.py", line 17, in run
bot.init()
File "/home/discord/Penny-Dreadful-Discord-Bot/discordbot/bot.py", line 213, in init
client.init()
File "/home/discord/Penny-Dreadful-Discord-Bot/discordbot/bot.py", line 33, in init
self.run(configuration.get('token'))
File "/home/discord/.local/lib/python3.6/site-packages/discord/client.py", line 563, in run
loop.run_forever()
File "/usr/lib64/python3.6/asyncio/base_events.py", line 422, in run_forever
self._run_once()
File "/usr/lib64/python3.6/asyncio/base_events.py", line 1432, in _run_once
handle._run()
File "/usr/lib64/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self._args)
File "/home/discord/.local/lib/python3.6/site-packages/discord/client.py", line 221, in _run_event
await coro(*args, **kwargs)
File "/home/discord/Penny-Dreadful-Discord-Bot/discordbot/bot.py", line 49, in on_message
await command.respond_to_card_names(message, self)
File "/home/discord/Penny-Dreadful-Discord-Bot/discordbot/command.py", line 60, in respond_to_card_names
await post_cards(client, cards, message.channel, message.author)
File "/home/discord/Penny-Dreadful-Discord-Bot/discordbot/command.py", line 949, in post_cards
await send_image_with_retry(channel, image_file, text)
File "/home/discord/Penny-Dreadful-Discord-Bot/discordbot/command.py", line 965, in send_image_with_retry
message = await send(channel, file=File(image_file), content=text)
File "/home/discord/Penny-Dreadful-Discord-Bot/discordbot/command.py", line 962, in send
return await channel.send(file=file, content=new_s)
File "/home/discord/.local/lib/python3.6/site-packages/discord/abc.py", line 745, in send
content=content, tts=tts, embed=embed, nonce=nonce)
File "/home/discord/.local/lib/python3.6/site-packages/discord/http.py", line 153, in request
async with self._session.request(method, url, **kwargs) as r:
File "/home/discord/.local/lib/python3.6/site-packages/aiohttp/client.py", line 843, in __aenter__
self._resp = await self._coro
File "/home/discord/.local/lib/python3.6/site-packages/aiohttp/client.py", line 357, in _request
ssl=ssl, proxy_headers=proxy_headers, traces=traces)
File "/home/discord/.local/lib/python3.6/site-packages/aiohttp/client_reqrep.py", line 231, in __init__
self.update_body_from_data(data)
File "/home/discord/.local/lib/python3.6/site-packages/aiohttp/client_reqrep.py", line 403, in update_body_from_data
body = body()
File "/home/discord/.local/lib/python3.6/site-packages/aiohttp/formdata.py", line 141, in __call__
return self._gen_form_data()
File "/home/discord/.local/lib/python3.6/site-packages/aiohttp/formdata.py", line 135, in _gen_form_data
self._writer.append_payload(part)
File "/home/discord/.local/lib/python3.6/site-packages/aiohttp/multipart.py", line 745, in append_payload
size = payload.size
File "/home/discord/.local/lib/python3.6/site-packages/aiohttp/payload.py", line 284, in size
return os.fstat(self._value.fileno()).st_size - self._value.tell()
Exception_hash: babb8ce4d0069d476b6a11a9d81b97128b8b6fc1
Labels: discordbot; ValueError
(<Message id=544981981872652288 pinned=False author=<Member id=97206166064480256 name='codecimal' discriminator='8142' bot=False nick='breadbocks' guild=>>,)
{}
['[$demonic consultation][$recurring nightmare] are still recorvering']
Reported on discordbot by discord user
ValueError I/O operation on closed file Stack Trace:
Exception_hash: babb8ce4d0069d476b6a11a9d81b97128b8b6fc1