Package: photon Version: 0.4.6-1.1 Severity: normal Tags: upstream photon crashes when it encounters a JPEG file saved by iPhoto. This is the traceback:
Traceback (most recent call last): File "/usr/bin/photon", line 2289, in <module> main() File "/usr/bin/photon", line 298, in main process_directory(path,"") File "/usr/bin/photon", line 425, in process_directory picinfo = process_file(realpath, relativepath, entry) File "/usr/bin/photon", line 466, in process_file pic['exif'] = EXIF.process_file(file) File "/usr/lib/python2.6/dist-packages/Photon/EXIF.py", line 1092, in process_file hdr.decode_maker_note() File "/usr/lib/python2.6/dist-packages/Photon/EXIF.py", line 981, in decode_maker_note dict=MAKERNOTE_CANON_TAGS) File "/usr/lib/python2.6/dist-packages/Photon/EXIF.py", line 819, in dump_IFD 'unknown type %d in tag 0x%04X' % (field_type, tag) ValueError: unknown type 768 in tag 0x0100 Files that weren't touched by iPhoto are processed with no problems. photon shouldn't crash when it encounters weird exif though. Similar photon exif bug report: https://bugs.launchpad.net/ubuntu/+source/photon/+bug/314835 exiftags of a file that causes the crash: % exiftags -a -u -v encinitas_willowood-41.jpg Camera-Specific Properties: Equipment Make: Canon Camera Model: Canon PowerShot SD850 IS Camera Software: QuickTime 7.6.6 Maximum Lens Aperture: f/2.8 Sensing Method: One-Chip Color Area Image-Specific Properties: Image Orientation: Top, Left-Hand Image Orientation: Top, Left-Hand Horizontal Resolution: 72 dpi Vertical Resolution: 72 dpi Image Created: 2010:11:19 20:15:12 Exposure Time: 1/160 sec F-Number: f/2.8 ISO Speed Rating: 400 Lens Aperture: f/2.8 Exposure Bias: 0 EV Metering Mode: Pattern Flash: No Flash, Auto Focal Length: 5.80 mm Color Space Information: sRGB Image Width: 3264 Image Height: 2448 Rendering: Normal Exposure Mode: Auto White Balance: Auto Scene Capture Type: Standard Other Properties: Resolution Unit: i Chrominance Comp Positioning: Centered Exif IFD Pointer: 258 Compression Scheme: JPEG Compression (Thumbnail) Horizontal Resolution: 72 dpi Vertical Resolution: 72 dpi Resolution Unit: i Offset to JPEG SOI: 3514 Bytes of JPEG Data: 5045 Chrominance Comp Positioning: Centered Exif Version: 2.20 Image Generated: 2010:11:19 18:03:53 Image Digitized: 2010:11:19 18:03:53 Meaning of Each Comp: Unknown Image Compression Mode: 5 Shutter Speed: 1/159 sec Focal Plane Horiz Resolution: 14506 dpi Focal Plane Vert Resolution: 14485 dpi Focal Plane Res Unit: i File Source: Other Digital Zoom Ratio: 1 Unsupported Properties: Unknown: Mac OS X 10.5.8 Manufacturer Notes: 740 Comment: 3120 Supported FlashPix Version: 808529968 Running exif on that file: % exif encinitas_willowood-41.jpg Corrupt data The data provided does not follow the specification. ExifMnoteCanon: Invalid zero-length tag size -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (900, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages photon depends on: ii python 2.6.6-3+squeeze1 interactive high-level object-orie ii python-central 0.6.16+nmu1 register and build utility for Pyt ii python-imaging 1.1.7-2 Python Imaging Library Versions of packages photon recommends: ii dcraw 8.99-1+b1 decode raw digital camera images ii gimp 2.6.10-1 The GNU Image Manipulation Program photon suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org