-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exiv2 0.28 breaks gimp jpeg metadata export #2670
Comments
Duplicate of #2638 |
The Geeqie part may be a duplicate but Gimp being unable to export metadata of certain jpeg from a camera is not... |
@rouelle: it would be helpful if you could provide a stack trace which shows where the problem is in exiv2. |
I first checked in https://wiki.archlinux.org/title/Debugging/Getting_traces to get what you asked me for. Running gdb gives me 612M of data in ~/.cache/debuginfod_client. I scanned the data looking for files containing the string "exiv" and in subdir of debuginfod_client that were modified today 2023-07-03 around 09:26 when I opened Gimp and tried to save the loaded 4:3 image from the Sony camera (the window saying that the metadata were not saved appeared). I compressed the resulting debuginfo files in a zip archive (I renamed the 4 different debuginfo to distinguish them). Hope that will be usefull... |
I think this can be closed now? |
Well, since I opened the bug nothing has changed, I'm using exiv2 0.28.2-3 on Arch Linux. Exporting from gimp 2.10.36-5 still miss all exif metadata. So, since last year, I export my metadata with cli command: exiftool -tagsfromfile %f.jpg -ext jpg -overwrite_original ~/Images/bla-bla-bla-dir I'm curious to know if I'm alone with this bug? If so, I'll close it as there is a workaround even if it is not graceful... |
But the crashes are gone? We can at least update the issue title then? As far as the GIMP export goes - could be also a bug on their side, could be in gexiv2... No idea how to narrow it down yet, sorry. |
Le mer 3 avril 2024 00:36:55 -0700
Miloš Komarčević ***@***.***> écrivait :
But the crashes are gone? We can at least update the issue tile then?
Of course! But like I said I'm still curious to know if I'm alone with this bug!
…--
Édité et transmis avec des logiciels libres sous Linux !
|
Same here, gimp discarding Sony SOOC exif metadata with error message. Consistently repeatable. console err mesg arch, updated last minute |
Is there any progress or workaround? On Manjaro my workflow is seriously broken with exiv2 0.28.3. Tried GIMP 2.10.38 from repos and verified with GIMP 2.99.18 from flatpak, both affected with all pictures from my Sony Alpha 6400. |
Still the same for me on Arch Linux. gimp discards Sony DSC-HX80 and Nikon Z5 exif metadata with error message. Consistently repeatable. And sleeksorrow is right when he says my workflow is seriously broken arch, updated last minute |
For me, executing once
in SONY picture folders - replacing the value "SONY" with "Sony" in all files - before editing in gimp worked just fine. No more errors after that. |
You're right, I tried for a Sony DSC-HX80 and it works. I didn't check for NIKON CORPORATION. Anyways we should'nt have to change the Make tag spelling to lowercase and, IMHO, exiv2 should take care of the tag be it lower or uppercase. |
Sure, it's a silly bug that ought to be fixed, but at least there's a workaround, so you can continue your life with just a slight nuisance. |
Please, with no offense to you, this comment was unnecessary and and does not match the criticality of this bug. For criticality you also have to consider risk probability in addition to risk consequence. For now, like 4 or 5 people now have a workaround for a bug that only affects Arch and Manjaro users of GIMP. For myself I was debugging and trying and searching hours and hours until I now have a workaround I could live with. Can you imagine what happens, as soon as Ubuntu moves to exiv2 0.28? Thousands and thousands of GIMP users will get an error popup when saving jpeg or png. Thousands wasting time searching for a solution, flooding gimp forums and later on this issue tracker. We all will probably learn a lot of new curse words by then. We are just lucky that Ubuntu 24.10 will still stick to exiv2 0.27.6 for now. https://packages.ubuntu.com/oracular/exiv2 |
Critical or otherwise, there's many bugs of this nature in OSS. Ironing them out is a lot of work that's never finished because of regressions and usually has to be done for free. While it would be nice if everything was fixed yesterday, having a workaround available is the next best thing.
…On Aug 29, 2024, 11:37, at 11:37, sleeksorrow ***@***.***> wrote:
> Sure, it's a silly bug that ought to be fixed, but at least there's a
workaround, so you can continue your life with just a slight nuisance.
Please, with no offense to you, this comment was unnecessary and and
does not match the criticality of this bug. For criticality you also
have to consider risk probability in addition to risk consequence.
For now, like 4 or 5 people now have a workaround for a bug that only
affects Arch and Manjaro users of GIMP. For myself I was debugging and
trying and searching hours and hours until I now have a workaround I
could live with.
Can you imagine what happens, as soon as Ubuntu moves to exiv2 0.28?
Thousands and thousands of GIMP users will get an error popup when
saving jpeg or png. Thousands wasting time searching for a solution,
flooding gimp forums and later on this issue tracker. We all will
probably learn a lot of new curse words by then.
We are just lucky that Ubuntu 24.10 will still stick to exiv2 0.27.6
for now. https://packages.ubuntu.com/oracular/exiv2
--
Reply to this email directly or view it on GitHub:
#2670 (comment)
You are receiving this because you commented.
Message ID: ***@***.***>
|
You obviously did not get the point I was making. A workaround is great, but you are using its sheer existence to lower the criticality. Until GIMP is giving this hint together with the error message, this will still help only 4-5 people, the rest will flame the devs here. |
I'm neither member of the dev team nor issue manager, so I'm prioritising precisely nothing. If this is not fixed in a timely fashion, developers may face a lot of flac down the line. That's their problem, not mine - or yours, for that matter. |
Then your comments to belittle this issue are even more unnecessary as I thought and I have no clue what your goal even is. |
Usually, the best way to get something fixed is to ask the right person nicely - in this case, a developer. Just saying. |
Describe the bug
I'm using Gnome on Arch Linux. Since exiv2 (0.27.6-2 -> 0.28.0-1 -> 0.28.0-2 -> 0.28.0-3) was upgraded to 0.28.0-x Gimp is not able anymore to export metadata from a jpeg file opened, modified and re-saved. A window stating "Message Image JPEG run: saving metadata failed: Failed to write image" appears and the file is saved without metadata.
geeqie and gwenview also crashed since exiv2 0.28; see https://bbs.archlinux.org/viewtopic.php?id=286369
To Reproduce
Steps to reproduce the behavior:
Expected behavior
exiv2 0.27 has no problem neither exporting jpeg metadata nor crashing geeqie and gwenview
Desktop (please complete the following information):
Additional context
You may test with these two jpeg files.
The text was updated successfully, but these errors were encountered: