#1698 Handle unindentifiable images without erroring

v1.0.0
closed
nobody
None
General
nobody
2015-08-20
2011-03-14
No

I don't have an example to duplicate it, but you could try interlaced and non-interlaced PNGs, or just fake it.

Module allura.model.filesystem:149 in save_image
<<              return None, None

               image = Image.open(fp)
               format = image.format
               if save_original:
>>  image = Image.open(fp)
Module Image:1980 in open
<<                  pass

           raise IOError("cannot identify image file")

       #
>>  raise IOError("cannot identify image file")
IOError: cannot identify image file

Discussion

  • Dave Brondsema

    Dave Brondsema - 2012-08-15
    • status: open --> closed
    • milestone: someday --> forge-aug-24
     
  • Dave Brondsema

    Dave Brondsema - 2012-08-15

    Fixing with [#4726]

     

Log in to post a comment.