After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 690475 - Can't open jpeg files
Can't open jpeg files
Status: RESOLVED DUPLICATE of bug 682454
Product: GIMP
Classification: Other
Component: Plugins
2.8.2
Other Windows
: Normal critical
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2012-12-19 07:33 UTC by delaunay
Modified: 2012-12-23 19:32 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description delaunay 2012-12-19 07:33:44 UTC
Some ".jpg" files can't be opened with the latest 2.8.2 GIMP version.(Windows XP SP3)
Error message : 
The opening "C: \ Documents and Settings \ Frank \ Desktop \ exercise Card \ strawberry copie.jpg" failed:

Unable to open "C: \ Documents and Settings \ Frank \ Desktop \ exercise Card \ strawberry copie.jpg" for reading: No such file or directory

The plugin has crashed. "File-jpeg.exe"
(C: \ Program Files \ GIMP 2 \ lib \ gimp \ 2.0 \ plug-ins \ file-jpeg.exe)

The graft may have damaged the internal state of GIMP. You should save your images and restart GIMP to be certain of its stability.


The opening "C: \ Documents and Settings \ Frank \ Desktop \ exercise Card \ strawberry copie.jpg" failed:

Procedure "file-jpeg-load 'returned no value

I open the file without problem in Photoshop CS3. I then resize the photo. If the photo is approximately larger than 1400 px (1500px X 1125px - >1000 ko) then you can't open it with GIMP.

It's not the only "jpg" file I can't open with GIMP 2.8.2. Some other people seems to have the same issue. Please have a look here :
http://registry.gimp.org/node/27296
Comment 1 Michael Schumacher 2012-12-19 08:23:44 UTC
Can you attach the image file here, or make it available somewhere else?

There are some weird reports that renaming the files changes the behavior - but no one except the people who encountered it first can reproduce the problem...
Comment 2 delaunay 2012-12-19 11:34:48 UTC
It's right ! With this name I can't open this file ! But I think  size is another element.

http://www.valeur-web.com/scribus/file000393383602.jpg

It's a very embarrassing bug and it must have high priority.
I'm an old Photoshop user and I can say that GIMP 2.8.2 is really a very good soft.
Many thanks for all people, spending time on it !
Comment 3 Michael Schumacher 2012-12-19 13:46:43 UTC
This file opens without any problems here. GIMP 2.8.2 on Windows XP.
Comment 4 delaunay 2012-12-19 14:08:38 UTC
Photoshop and others softs (Fastone Viewer,Paint...)can open it safely but GIMP can't. It probably deals with environnement problem, but they only appear with GIMP. 
If you can't reproduce the bug, I know it's difficult to work on it....
Comment 5 Michael Schumacher 2012-12-19 14:55:38 UTC
Those error messages don't really have the spaces around the \ ("C: \ Doc..."), to they? Because this would certainly explain the "file not found" error.
Comment 6 Massimo 2012-12-19 18:17:08 UTC
duplicate of 
https://bugzilla.gnome.org/show_bug.cgi?id=682454 ?
Comment 7 Max Mustermann 2012-12-19 18:45:00 UTC
What happens if you rename the file and/or remove the whitespaces from the pathname and the filename and try again opening it in GIMP?
Comment 8 vaifrax 2012-12-19 19:46:43 UTC
The file from comment 2 opens fine here in Win7-64 with 2.8.0 and 2.8.2 (installed via Jernej Simončič's installer).

-> I can't reproduce.
Comment 9 delaunay 2012-12-19 20:31:18 UTC
Sorry, I'm French, it's "google traduction" but I suppose the real path is right.
I work on a laptop at this time with windows 7 64 bits and have no computer with XP to work with.
It's probably stupid, but perhaps there's a problem with the French version of Windows...?
Comment 10 vaifrax 2012-12-19 20:47:20 UTC
You can open some jpgs fine but not others, correct? Can you see anything which is common to all images you can't open (e.g. all photos from that panasonic camera)?
Comment 11 delaunay 2012-12-20 23:19:34 UTC
Correct !
I think you are right : Can you have a look at :

http://www.valeur-web.com/scribus/file0001869168878.jpg
http://www.valeur-web.com/scribus/file0002093125682.jpg

All these photographs are probably the same camera (coming from http://www.morguefile.com/creative/armix). 
But I have the same error with other jpeg files not comming from here...

If it can help...
Comment 12 delaunay 2012-12-21 11:02:59 UTC
I try to rename some photos, but it's not working for me.
I find other photos I can't open, one with no exif information and the other made with a Canon.
http://www.valeur-web.com/scribus/1111168.jpg
http://www.valeur-web.com/scribus/Brenna2_kapliczka.jpg

More, I can easily open some photographies from Panasonic (armix series on morguefile):

http://www.morguefile.com/archive/display/76850
Comment 13 vaifrax 2012-12-21 11:59:05 UTC
weird

I found one similar problem on google which could be resolved by uninstalling/deleting gimp and redownloading + installing it again.

have you tried that? if that doesn't help, can you find an older version where the jpegs load ok?
Comment 14 delaunay 2012-12-21 14:00:53 UTC
I just do it: uninstall GIMP, delete .gimp2.8  user repertory,delete all GIMP entries in the registry. I install the latest 2.8.2 with no more result.

Trying with an old 2.6.11: it works perfectly !
Comment 15 vaifrax 2012-12-21 15:58:51 UTC
Thanks for checking, sorry I personally don't know what it could be.

Out of interest, if you use the file-open dialog, do you get a preview (I assume the EXIF thumbnail is used if present)?
Comment 16 Max Mustermann 2012-12-21 17:24:41 UTC
Your problem is apparently a duplicate of bug #682454. 

Crashing GIMP on importing JPEG files is a problem we hear from time to time
and have already made some efforts to solve this. Please try the latest GIMP stable build (2.8. series) from http://nightly.darkrefraction.com/gimp/ and report back.
Comment 17 delaunay 2012-12-21 19:18:52 UTC
Yes the new version is well working it open the jpeg but I have got a short message error before photography is really opened :
http://www.valeur-web.com/scribus/error.jpg

And there's now no possibility to open EPS files....
Comment 18 Max Mustermann 2012-12-21 19:34:17 UTC
What's that error message in English, please?

> And there's now no possibility to open EPS files....
That's filed as bug #689207. 
If all else fails, you'd better downgrade to GIMP 2.6. (see [1]) AFAIK it handles JPEG and EPS files better. But nevertheless please post the English translation of the French error message above.

[1] http://gimp-win.sourceforge.net/old.html
Comment 19 vaifrax 2012-12-21 19:47:39 UTC
translation:

error when calling procedure plug-in-metadata-decode-xmp
plug-in-metadata-decode-xmp not found
Comment 20 Michael Schumacher 2012-12-21 21:32:15 UTC
Huh? 

On the other hand, we do not know the state the GIMP installation right now...
Comment 21 delaunay 2012-12-21 21:51:14 UTC
@Sven Claussner: in the latest version there's no "eps" option in file-type. It's a "nightly" version for Windows...I feel that there has been an oversight when compiling the code. I knows there's a bug when trying to open eps file on Seven 64 bits, can be the developers are working on this.
Comment 22 Max Mustermann 2012-12-23 19:32:07 UTC
Good to hear your problem is alleviated by the nightly build. Until it's part of an official build, let's keep track of the issue in the other mentioned bug.
The error message in comment #19 means, that the plug-in for metadata handling and an underlying library are missing in this build. The maintainer of the nightly builds is already informed about this. 

Please feel free to report any further bugs you find. If you have more information on the EPS file problem, then please comment bug #689207.

*** This bug has been marked as a duplicate of bug 682454 ***