--> --> -->
 
 
<type 'exceptions.KeyError'>
Python 2.6.2: /usr/bin/python
Fri Sep 3 13:09:50 2010

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.lansingcurrent.com/mogrify.py in ()
  146 </html>
  147 """
  148 
  149 if __name__ == '__main__':
  150     mogrify()
mogrify = <function mogrify at 0x2179cf8>
 /home/media/media.lansingcurrent.com/mogrify.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 0x21dcbd8>, m.save = <bound method Mogrifier.save of <mogrifier.Mogrifier instance at 0x21dcbd8>>, requested_path = '/home/media/media.lansingcurrent.com/img/photos/2010/02/08/gun_raffle_r55x45'
 /home/deploy/worldonline/git/utilities/mogrify/mogrifier.py in save(self=<mogrifier.Mogrifier instance at 0x21dcbd8>, filename='/home/media/media.lansingcurrent.com/img/photos/2010/02/08/gun_raffle_r55x45')
   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 0x21dcbd8>, self.im = <Image._ImageCrop instance at 0x2214440>, self.im.save = <bound method _ImageCrop.save of <Image._ImageCrop instance at 0x2214440>>, filename = '/home/media/media.lansingcurrent.com/img/photos/2010/02/08/gun_raffle_r55x45', quality undefined
 /usr/lib/python2.6/dist-packages/PIL/Image.py in save(self=<Image._ImageCrop instance at 0x2214440>, fp='/home/media/media.lansingcurrent.com/img/photos/2010/02/08/gun_raffle_r55x45', 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 = ''