Public bug reported:

When selecting option "Rotate according to EXIF data", simple-image-
reducer fails with the following traceback:

kup@rechner-lz-03:~$ simple-image-reducer 'image20161129_160242498.jpg' 
Traceback (most recent call last):
  File "/usr/bin/simple-image-reducer", line 507, in execute_iter
    self.task.next()
  File "/usr/bin/simple-image-reducer", line 460, in execute_task
    tags = EXIF.process_file(open(input), details=False)
NameError: global name 'EXIF' is not defined

I believe it is independent of the image having EXIF data or not. I
attach the image I used above for testing.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: simple-image-reducer 1.0.2-3
ProcVersionSignature: Ubuntu 4.4.0-47.68-generic 4.4.24
Uname: Linux 4.4.0-47-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Nov 29 16:03:00 2016
InstallationDate: Installed on 2016-05-10 (203 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
JournalErrors:
 Error: command ['journalctl', '-b', '--priority=warning', '--lines=1000'] 
failed with exit code 1: Hint: You are currently not seeing messages from other 
users and the system.
       Users in the 'systemd-journal' group can see all messages. Pass -q to
       turn off this notice.
 No journal files were opened due to insufficient permissions.
PackageArchitecture: all
SourcePackage: simple-image-reducer
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: simple-image-reducer (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

** Attachment added: "image20161129_160242498.jpg"
   
https://bugs.launchpad.net/bugs/1645752/+attachment/4784715/+files/image20161129_160242498.jpg

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1645752

Title:
  Rotate according to EXIF data fails with "NameError: global name
  'EXIF' is not defined"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/simple-image-reducer/+bug/1645752/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to