--> --> -->
 
 
<type 'exceptions.KeyError'>
Python 2.6.2: /usr/bin/python
Sat Jan 28 00:20:24 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/media/media.payson.com/mogrify.py in ()
  151 </html>
  152 """
  153 
  154 if __name__ == '__main__':
  155     mogrify()
mogrify = <function mogrify at 0x7f2f368c2de8>
 /home/media/media.payson.com/mogrify.py in mogrify()
  113     m = mogrifier.Mogrifier(original_file)
  114     m.apply_action_tuples(action_tuples)
  115     m.save(requested_path)
  116     
  117     print "Location: /%s" % request_uri
m = <mogrifier.Mogrifier instance at 0x7f2f36874c20>, m.save = <bound method Mogrifier.save of <mogrifier.Mogrifier instance at 0x7f2f36874c20>>, requested_path = '/home/media/media.payson.com/img/photos/2009/08/..._Nisa_son_Zach_1SG_Luckett_David_and_Friends_t640'
 /home/deploy/worldonline/git/utilities/mogrify/mogrifier.py in save(self=<mogrifier.Mogrifier instance at 0x7f2f36874c20>, filename='/home/media/media.payson.com/img/photos/2009/08/..._Nisa_son_Zach_1SG_Luckett_David_and_Friends_t640')
   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 0x7f2f36874c20>, self.im = <JpegImagePlugin.JpegImageFile instance at 0x7f2f368a2440>, self.im.save = <bound method JpegImageFile.save of <JpegImagePlugin.JpegImageFile instance at 0x7f2f368a2440>>, filename = '/home/media/media.payson.com/img/photos/2009/08/..._Nisa_son_Zach_1SG_Luckett_David_and_Friends_t640', quality undefined
 /usr/lib/python2.6/dist-packages/PIL/Image.py in save(self=<JpegImagePlugin.JpegImageFile instance at 0x7f2f368a2440>, fp='/home/media/media.payson.com/img/photos/2009/08/..._Nisa_son_Zach_1SG_Luckett_David_and_Friends_t640', 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 = ''