← Back to team overview

phatch-dev team mailing list archive

[Bug 526489] Re: [Test] cannot identify image file

 

** Attachment added: "convert_mode_save_Mode=1_As=im.phatch"
   http://launchpadlibrarian.net/39613123/convert_mode_save_Mode%3D1_As%3Dim.phatch

** Changed in: phatch
     Assignee: (unassigned) => Bobbie Bryant (bobbiebryant)

** Changed in: phatch
     Assignee: Bobbie Bryant (bobbiebryant) => Bryant OHara (bryant-ohara)

-- 
[Test] cannot identify image file
https://bugs.launchpad.net/bugs/526489
You received this bug notification because you are a member of Phatch
Developers, which is subscribed to Phatch.

Status in Phatch = Photo & Batch!: Confirmed

Bug description:
actionlist: /home/stani/sync/python/phatch/repo/test/tests/output/actionlists/convert_mode_save_Mode=1_As=im.phatch
Error 0:Can not apply action Save on image 'exif.jpg' in folder:
/home/stani/sync/python/phatch/repo/test/tests/input

cannot identify image file

Action:{'fields': {'As': u'im',
            'File Name': u'<filename>_convert_mode_save_Mode=1_As=im',
            'In': u'/home/stani/sync/python/phatch/repo/test/tests/output/images',
            'JPEG Quality': u'85',
            'JPEG Size Maximum': '0kb',
            'JPEG Size Tolerance': '5%',
            'Metadata': 'yes',
            'PNG Optimize': 'yes',
            'Resolution': u'<dpi>',
            'Show Type Options': 'no',
            'TIFF Compression': u'<compression>',
            '__enabled__': 'yes'},
 'label': 'Save'}

Traceback (most recent call last):
  File "/home/stani/sync/python/phatch/repo/test/phatch/core/api.py", line 609, in apply_action_to_photo
    photo = action.apply(photo, read_only_settings, cache)
  File "/home/stani/sync/python/phatch/repo/test/phatch/actions/save.py", line 159, in apply
    save_metadata=save_metadata, **options)
  File "/home/stani/sync/python/phatch/repo/test/phatch/core/pil.py", line 594, in save
    raise IOError(message)
IOError: cannot identify image file





References