Guest User

Untitled

a guest
Nov 5th, 2015
238
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Traceback (most recent call last):
  2.   File "stack_overflow.py", line 16, in <module>
  3.     image = create_captcha("GENE", shear=0.5)
  4.   File "stack_overflow.py", line 8, in create_captcha
  5.     font = ImageFont.truetype(r"Coval.otf", 22)
  6.   File "/usr/local/lib/python2.7/site-packages/PIL/ImageFont.py", line 244, in truetype
  7.     return FreeTypeFont(font, size, index, encoding)
  8.   File "/usr/local/lib/python2.7/site-packages/PIL/ImageFont.py", line 133, in __init__
  9.     self.font = core.getfont(font, size, index, encoding)
  10. IOError: cannot open resource
RAW Paste Data