Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [19:26:00] [ERROR] Error in hook meme:meme
- Traceback (most recent call last):
- File "/home/chisato/Downloads/CloudBot-master/cloudbot/plugin.py", line 376, in _execute_hook
- out = yield from self.bot.loop.run_in_executor(None, self._execute_hook_threaded, hook, event)
- File "/usr/lib/python3.4/asyncio/futures.py", line 348, in __iter__
- yield self # This tells Task to wait for completion.
- File "/usr/lib/python3.4/asyncio/tasks.py", line 351, in _wakeup
- value = future.result()
- File "/usr/lib/python3.4/asyncio/futures.py", line 243, in result
- raise self._exception
- File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/home/chisato/Downloads/CloudBot-master/cloudbot/plugin.py", line 340, in _execute_hook_threaded
- return hook.function(*parameters)
- File "/home/chisato/Downloads/CloudBot-master/plugins/meme.py", line 45, in meme
- link = meme_generator(meme, bottomString, topString)
- File "/home/chisato/Downloads/CloudBot-master/plugins/meme.py", line 81, in meme_generator
- topTextSize = font.getsize(topString)
- File "/usr/local/lib/python3.4/dist-packages/PIL/ImageFont.py", line 155, in getsize
- size, offset = self.font.getsize(text)
- OSError: bad argument
Advertisement
Add Comment
Please, Sign In to add comment