Guest User

Untitled

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