Bug#303167: eog: fails to load *.JPG files

Brian May Brian May <bam@debian.org>, 303167@bugs.debian.org
Tue, 05 Apr 2005 17:02:23 +1000


Package: eog
Version: 2.8.2-0.1
Severity: normal

I suspect eog is not the only gnome application with this fault.
Nautilus also seems to have problems with *.JPG files.

If the filename is *.JPG, then eog will not open it.

>From the command line, eog will load but not load the image. No errors
given.

If I try to load it from nautilus, I get the error:

        Cannot open IMG_5149.JPG

        The filename "IMG_5149.JPG" indicates that this file is of type
        "JPG document". The contents of the file indicate that the file
        is of type "JPEG image". If you open this file, the file might
        present a security risk to your system.

        Do not open the file unless you created the file yourself, or
        received the file from a trusted source. To open the file,
        rename the file to the correct extension for "JPEG image", then
        open the file normally.  Alternatively, use the Open With menu
        to choose a specific application for the file. 

(I am not sure what program displays this)

The work around is to rename the file to IMG_5149.JPG to IMG_5149.jpg.
This is stupid. *.JPG should be just as valid for jpeg files as *.jpg.

(note: the files where copied from VFAT flash with uppercase names,
the flash being produced by my digital camera).

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages eog depends on:
ii  libart-2.0-2             2.3.17-1        Library of functions for 2D graphi
ii  libatk1.0-0              1.8.0-4         The ATK accessibility toolkit
ii  libbonobo2-0             2.8.1-2         Bonobo CORBA interfaces library
ii  libbonoboui2-0           2.8.1-2         The Bonobo UI library
ii  libc6                    2.3.2.ds1-20    GNU C Library: Shared libraries an
ii  libexif10                0.6.9-5         library to parse EXIF files
ii  libgconf2-4              2.8.1-4         GNOME configuration database syste
ii  libglade2-0              1:2.4.2-2       library to load .glade files at ru
ii  libglib2.0-0             2.6.3-1         The GLib library of C routines
ii  libgnome2-0              2.8.1-2         The GNOME 2 library - runtime file
ii  libgnomecanvas2-0        2.8.0-1         A powerful object-oriented display
ii  libgnomeui-0             2.8.1-3         The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0           2.8.4-2         The GNOME virtual file-system libr
ii  libgtk2.0-0              2.6.2-4         The GTK+ graphical user interface 
ii  libice6                  4.3.0.dfsg.1-10 Inter-Client Exchange library
ii  libjpeg62                6b-9            The Independent JPEG Group's JPEG 
ii  liborbit2                1:2.10.5-0.1    libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0            1.8.1-1         Layout and rendering of internatio
ii  libpopt0                 1.7-5           lib for parsing cmdline parameters
ii  libsm6                   4.3.0.dfsg.1-10 X Window System Session Management
ii  libx11-6                 4.3.0.dfsg.1-10 X Window System protocol client li
ii  libxml2                  2.6.16-3        GNOME XML library
ii  xlibs                    4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu
ii  zlib1g                   1:1.2.2-3       compression library - runtime

-- no debconf information