--> --> -->
 
 
<type 'exceptions.KeyError'>
Python 2.5.2: /usr/bin/python
Sat Jan 28 04:12:11 2012

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

 /home/vindy/raid/web/media3/lighttpd_404_handler.py in ()
  146 </html>
  147 """
  148 
  149 if __name__ == '__main__':
  150         mogrify()
mogrify = <function mogrify at 0x7fcb18>
 /home/vindy/raid/web/media3/lighttpd_404_handler.py in mogrify()
  108         m = mogrifier.Mogrifier(original_file)
  109         m.apply_action_tuples(action_tuples)
  110         m.save(requested_path)
  111         
  112         print "Location: /%s" % request_uri
m = <mogrifier.Mogrifier instance at 0x8d07e8>, m.save = <bound method Mogrifier.save of <mogrifier.Mogrifier instance at 0x8d07e8>>, requested_path = '/home/vindy/raid/web/media3/img/places/fifthseason_t180'
 /home/vindy/raid/web/media3/mogrifier.py in save(self=<mogrifier.Mogrifier instance at 0x8d07e8>, filename='/home/vindy/raid/web/media3/img/places/fifthseason_t180')
   34         def save(self, filename):
   35                 """Save the mogrified image"""
   36                 self.im.save(filename, quality=85)
   37                 
   38         def apply_action_tuples(self, actions):
self = <mogrifier.Mogrifier instance at 0x8d07e8>, self.im = <JpegImagePlugin.JpegImageFile instance at 0x8ddab8>, self.im.save = <bound method JpegImageFile.save of <JpegImagePlugin.JpegImageFile instance at 0x8ddab8>>, filename = '/home/vindy/raid/web/media3/img/places/fifthseason_t180', quality undefined
 /usr/lib/python2.5/site-packages/PIL/Image.py in save(self=<JpegImagePlugin.JpegImageFile instance at 0x8ddab8>, fp='/home/vindy/raid/web/media3/img/places/fifthseason_t180', format=None, **params={'quality': 85})
 1388                     format = EXTENSION[ext]
 1389                 except KeyError:
 1390                     raise KeyError(ext) # unknown extension
 1391 
 1392         try:
builtin KeyError = <type 'exceptions.KeyError'>, ext = ''

<type 'exceptions.KeyError'>: ''
      args = ('',)
      message = ''