Jotsite Water Cooler Area




Post a New Topic

Show Recent Topics 

--> -->
 
 
<type 'exceptions.IOError'>
Python 2.7.9: /usr/bin/python
Mon Aug 21 13:31:32 2017

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /kunden/homepages/26/d89284986/htdocs/jotsite/discussion/cooler.py in ()
      2 
      3 import discuss
      4 discuss.main("Jotsite Water Cooler Area", "cooler.py",
=>    5              "image.jpg", "wcooler_")
      6 
 /homepages/26/d89284986/htdocs/jotsite/discussion/discuss.py in main(title='Jotsite Water Cooler Area', this_script='cooler.py', image='image.jpg', table_name='wcooler_')
 /homepages/26/d89284986/htdocs/jotsite/discussion/discuss.py in urlmsg_new(self=<discuss.Discuss instance>)
 /homepages/26/d89284986/htdocs/jotsite/discussion/discuss.py in make_captcha(self=<discuss.Discuss instance>)
 /homepages/26/d89284986/htdocs/jotsite/discussion/discuss.py in gen_captcha(word='coffee', output_file_name='cooler.py_verif.jpg')
 /homepages/26/d89284986/htdocs/jotsite/discussion/discuss.py in impl_two(text='coffee', fnt='DejaVuSerif.ttf', fnt_sz=25, file_name='cooler.py_verif.jpg', fmt='JPEG')
 /usr/lib/python2.7/dist-packages/PIL/ImageFont.py in truetype(font='DejaVuSerif.ttf', size=25, index=0, encoding='', filename=None)
    238 
    239     try:
=>  240         return FreeTypeFont(font, size, index, encoding)
    241     except IOError:
    242         if sys.platform == "win32":
global FreeTypeFont = <class PIL.ImageFont.FreeTypeFont>, font = 'DejaVuSerif.ttf', size = 25, index = 0, encoding = ''
 /usr/lib/python2.7/dist-packages/PIL/ImageFont.py in __init__(self=<PIL.ImageFont.FreeTypeFont instance>, font='DejaVuSerif.ttf', size=25, index=0, encoding='', file=None)
    135 
    136         if isPath(font):
=>  137             self.font = core.getfont(font, size, index, encoding)
    138         else:
    139             self.font_bytes = font.read()
self = <PIL.ImageFont.FreeTypeFont instance>, self.font undefined, global core = <module 'PIL._imagingft' from '/usr/lib/python2.7/dist-packages/PIL/_imagingft.x86_64-linux-gnu.so'>, core.getfont = <built-in function getfont>, font = 'DejaVuSerif.ttf', size = 25, index = 0, encoding = ''

<type 'exceptions.IOError'>: cannot open resource
      args = ('cannot open resource',)
      errno = None
      filename = None
      message = 'cannot open resource'
      strerror = None