--> --> -->
 
 
<type 'exceptions.KeyError'>
Python 2.6.8: /usr/local/bin/python2.6
Mon Dec 22 04:07:24 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 ()
  170 </html>
  171 """
  172 
  173 if __name__ == '__main__':
  174     mogrify()
mogrify = <function mogrify>
 /var/www/static/kpbs.media.clients.ellingtoncms.com/media/mogrify.py in mogrify()
  130     m = mogrifier.Mogrifier(original_file)
  131     m.apply_action_tuples(action_tuples)
  132     m.save(requested_path)
  133 
  134     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', quality=90)
   35     def save(self, filename, quality=90):
   36         """Save the mogrified image"""
   37         self.im.save(filename, quality=quality)
   38 
   39     def apply_action_tuples(self, actions):
self = <mogrifier.Mogrifier instance>, self.im = <Image.Image image mode=RGB size=900x600>, self.im.save = <bound method Image.save of <Image.Image image mode=RGB size=900x600>>, filename = '/var/www/static/kpbs.media.clients.ellingtoncms....mg/photos/2013/02/26/Battle4Elephants_group_tx800', quality = 90
 /usr/local/lib/python2.6/site-packages/PIL/Image.py in save(self=<Image.Image 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': 90})
 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 = ''