| <type 'exceptions.KeyError'> | Python 2.6.8: /usr/local/bin/python2.6 Wed Jun 19 10:31:19 2013 |
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/suu.media.clients.ellingtoncms.com/media/mogrify.py in |
| 168 </html> |
| 169 """ |
| 170 |
| 171 if __name__ == '__main__': |
| 172 mogrify() |
| mogrify = <function mogrify> |
| /var/www/static/suu.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/suu.media.clients.ellingtoncms.com/media/img/photos/2012/10/28/9_web_1_t400' |
| /var/www/static/common/mogrifier.py in save(self=<mogrifier.Mogrifier instance>, filename='/var/www/static/suu.media.clients.ellingtoncms.com/media/img/photos/2012/10/28/9_web_1_t400') |
| 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=400x643>, self.im.save = <bound method JpegImageFile.save of <JpegImagePlugin.JpegImageFile image mode=RGB size=400x643>>, filename = '/var/www/static/suu.media.clients.ellingtoncms.com/media/img/photos/2012/10/28/9_web_1_t400', quality undefined |
| /usr/local/lib/python2.6/site-packages/PIL/Image.py in save(self=<JpegImagePlugin.JpegImageFile image mode=RGB size=400x643>, fp='/var/www/static/suu.media.clients.ellingtoncms.com/media/img/photos/2012/10/28/9_web_1_t400', 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 =
''