← Back to team overview

phatch-dev team mailing list archive

[Bug 384495] Re: Unable to read orientation value

 

** Changed in: phatch
       Status: Fix Committed => Fix Released

** Changed in: phatch
    Milestone: None => 0.2.1

-- 
Unable to read orientation value
https://bugs.launchpad.net/bugs/384495
You received this bug notification because you are a member of Phatch
Developers, which is subscribed to Phatch.

Status in Phatch = Photo & Batch!: Fix Released

Bug description:
I'm getting this error when running any action on a specific photo:

Error 0: Unable to open file: /home/nadia/Desktop/exper/example/00200.jpg:
Unknown orientation value (0)


Traceback (most recent call last):
  File "/home/nadia/projects/phatch/phatch/core/api.py", line 245, in get_photo
    photo   = pil.Photo(image_file,image_index,save_metadata,folder)
  File "/home/nadia/projects/phatch/phatch/core/pil.py", line 358, in __init__
    self.rotate_exif()
  File "/home/nadia/projects/phatch/phatch/core/pil.py", line 511, in rotate_exif
    raise Exception(_('Unknown orientation value (%s)')%orientation)
Exception: Unknown orientation value (0)
*

I'm attaching an action list and two almost identical photos. Only one of them produces the error. Both photos were taken with a Nikon D60 Camera.
One more thing. After the error the execution is aborted even if I select 'Skip to Next image' and there are hundreds of other images to process.



References