Bug 753322

Summary: pyexiv2 in EPEL EL-6
Product: [Fedora] Fedora EPEL Reporter: Matěj Cepl <mcepl>
Component: pyexiv2Assignee: Matěj Cepl <mcepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el6CC: lemenkov, mcepl, mcepl
Target Milestone: ---Flags: gwync: fedora-cvs+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pyexiv2-0.3.2-5.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-23 21:30:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 753331    
Bug Blocks: 749473    
Attachments:
Description Flags
mylyn/context/zip none

Description Matěj Cepl 2011-11-11 21:07:03 UTC
I need it for jbrout.

Comment 1 Matěj Cepl 2011-12-13 11:25:16 UTC
Package Change Request
======================
Package Name: jbrout
New Branches: el6
Owners: mcepl

Comment 2 Matěj Cepl 2011-12-13 11:37:33 UTC
And of course, I have to resolve https://answers.launchpad.net/pyexiv2/+question/178656 as well.

Comment 3 Gwyn Ciesla 2011-12-13 13:06:05 UTC
Is the EL-6 branch to be for jbrout or pyexiv2?

Comment 4 Matěj Cepl 2011-12-14 15:07:26 UTC
(In reply to comment #3)
> Is the EL-6 branch to be for jbrout or pyexiv2?

Damn, silly me. It should be 

Package Change Request
======================
Package Name: pyexiv2
New Branches: el6
Owners: mcepl

Comment 5 Gwyn Ciesla 2011-12-14 15:11:41 UTC
Git done (by process-git-requests).

Comment 6 Matěj Cepl 2011-12-14 21:45:59 UTC
test_convert_to_python_sshort (exif.TestExifTag) ... ERROR
test_convert_to_string_sshort (exif.TestExifTag) ... ERROR
test_mutablemapping (metadata.TestImageMetadata) ... ERROR
test_pickle_exif_tag (pickling.TestPicklingTags) ... ERROR

======================================================================
ERROR: test_convert_to_python_sshort (exif.TestExifTag)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/matej/archiv/2011/projekty/pyexiv2/pyexiv2-0.3.1/test/exif.py", line 195, in test_convert_to_python_sshort
    tag = ExifTag('Exif.Image.TimeZoneOffset')
  File "/home/matej/build/BUILDROOT/pyexiv2-0.3.1-2.el6.x86_64/usr/lib64/python2.6/site-packages/pyexiv2/exif.py", line 103, in __init__
    self._tag = libexiv2python._ExifTag(key)
KeyError: "Invalid tag name or ifdId `TimeZoneOffset', ifdId 1"

======================================================================
ERROR: test_convert_to_string_sshort (exif.TestExifTag)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/matej/archiv/2011/projekty/pyexiv2/pyexiv2-0.3.1/test/exif.py", line 209, in test_convert_to_string_sshort
    tag = ExifTag('Exif.Image.TimeZoneOffset')
  File "/home/matej/build/BUILDROOT/pyexiv2-0.3.1-2.el6.x86_64/usr/lib64/python2.6/site-packages/pyexiv2/exif.py", line 103, in __init__
    self._tag = libexiv2python._ExifTag(key)
KeyError: "Invalid tag name or ifdId `TimeZoneOffset', ifdId 1"

======================================================================
ERROR: test_mutablemapping (metadata.TestImageMetadata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/matej/archiv/2011/projekty/pyexiv2/pyexiv2-0.3.1/test/metadata.py", line 648, in test_mutablemapping
    tag_date = ExifTag(key, correctDate)
  File "/home/matej/build/BUILDROOT/pyexiv2-0.3.1-2.el6.x86_64/usr/lib64/python2.6/site-packages/pyexiv2/exif.py", line 103, in __init__
    self._tag = libexiv2python._ExifTag(key)
KeyError: "Invalid tag name or ifdId `DateTimeOriginal', ifdId 1"

======================================================================
ERROR: test_pickle_exif_tag (pickling.TestPicklingTags)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/matej/archiv/2011/projekty/pyexiv2/pyexiv2-0.3.1/test/pickling.py", line 49, in test_pickle_exif_tag
    tags.append(ExifTag('Exif.Image.TimeZoneOffset', 7))
  File "/home/matej/build/BUILDROOT/pyexiv2-0.3.1-2.el6.x86_64/usr/lib64/python2.6/site-packages/pyexiv2/exif.py", line 103, in __init__
    self._tag = libexiv2python._ExifTag(key)
KeyError: "Invalid tag name or ifdId `TimeZoneOffset', ifdId 1"

----------------------------------------------------------------------

Comment 7 Matěj Cepl 2011-12-15 09:39:42 UTC
With the attached patch I am down to just one failed test:

======================================================================
ERROR: test_mutablemapping (metadata.TestImageMetadata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/matej/archiv/2011/projekty/pyexiv2/pyexiv2-0.3.2/test/metadata.py", line 655, in test_mutablemapping
    tag_date = ExifTag(key, correctDate)
  File "/home/matej/build/BUILDROOT/pyexiv2-0.3.2-1.el6.x86_64/usr/lib64/python2.6/site-packages/pyexiv2/exif.py", line 103, in __init__
    self._tag = libexiv2python._ExifTag(key)
KeyError: "Invalid tag name or ifdId `DateTimeOriginal', ifdId 1"

---------------------------------------------------------------------

Asking the upstream developer about an explanation. This key should be supported.

Comment 8 Matěj Cepl 2011-12-15 09:39:48 UTC
Created attachment 547149 [details]
mylyn/context/zip

Comment 9 Fedora Update System 2012-01-09 12:05:16 UTC
pyexiv2-0.3.2-2.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/pyexiv2-0.3.2-2.el6

Comment 10 Fedora Update System 2012-01-11 08:02:38 UTC
Package pyexiv2-0.3.2-2.el6:
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing pyexiv2-0.3.2-2.el6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2012-0088/pyexiv2-0.3.2-2.el6
then log in and leave karma (feedback).

Comment 11 Fedora Update System 2013-12-07 20:50:29 UTC
pyexiv2-0.3.2-5.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/pyexiv2-0.3.2-5.el6

Comment 12 Fedora Update System 2013-12-23 21:30:09 UTC
pyexiv2-0.3.2-5.el6 has been pushed to the Fedora EPEL 6 stable repository.