--> --> -->
 
 
<type 'exceptions.KeyError'>
Python 2.6.8: /usr/local/bin/python2.6
Sat Oct 25 05:26:30 2014

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

 /var/www/static/kpbs.media.clients.ellingtoncms.com/media/mogrify.py in ()
  168 </html>
  169 """
  170 
  171 if __name__ == '__main__':
  172     mogrify()
mogrify = <function mogrify>
 /var/www/static/kpbs.media.clients.ellingtoncms.com/media/mogrify.py in mogrify()
  128     m = mogrifier.Mogrifier(original_file)
  129     m.apply_action_tuples(action_tuples)
  130     m.save(requested_path)
  131 
  132     print "Location: /%s" % request_uri
m = <mogrifier.Mogrifier instance>, m.save = <bound method Mogrifier.save of <mogrifier.Mogrifier instance>>, requested_path = '/var/www/static/kpbs.media.clients.ellingtoncms....mg/photos/2013/02/26/Battle4Elephants_group_tx800'
 /var/www/static/common/mogrifier.py in save(self=<mogrifier.Mogrifier instance>, filename='/var/www/static/kpbs.media.clients.ellingtoncms....mg/photos/2013/02/26/Battle4Elephants_group_tx800')
   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>, self.im = <JpegImagePlugin.JpegImageFile image mode=RGB size=900x600>, self.im.save = <bound method JpegImageFile.save of <JpegImagePlugin.JpegImageFile image mode=RGB size=900x600>>, filename = '/var/www/static/kpbs.media.clients.ellingtoncms....mg/photos/2013/02/26/Battle4Elephants_group_tx800', quality undefined
 /usr/local/lib/python2.6/site-packages/PIL/Image.py in save(self=<JpegImagePlugin.JpegImageFile image mode=RGB size=900x600>, fp='/var/www/static/kpbs.media.clients.ellingtoncms....mg/photos/2013/02/26/Battle4Elephants_group_tx800', format=None, **params={'quality': 85})
 1421                     format = EXTENSION[ext]
 1422                 except KeyError:
 1423                     raise KeyError(ext) # unknown extension
 1424 
 1425         try:
builtin KeyError = <type 'exceptions.KeyError'>, ext = ''

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