← Back to team overview

phatch-dev team mailing list archive

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

 

I'm still working on it. I was looking at the pyexiv2 module yesterday and
started looking at the output from from run_tests.py.

I ran "python run_tests.py --select convert" to get test output - is that
the correct command to replicate the error?

I'll be sprinting today after I leave work and tomorrow as well.

I'll let you know if I run into problems.

On Wed, Feb 24, 2010 at 5:21 AM, stani <spe.stani.be@xxxxxxxxx> wrote:

> Hi Bryant,
> Did you have any luck with this bug? You can always ask help from Ken
> Seehart or one of the other Phatch sprinters. In case you won't be able to
> fix this bug, please let me know so I can assign it to someone else. It is
> important that this bug gets fixed soon.
>
> --
> [Test] cannot identify image file
> https://bugs.launchpad.net/bugs/526489
> You received this bug notification because you are a bug assignee.
>
> 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
>
>
>

-- 
[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