Skip to main content
alanterra
Inspiring
August 11, 2011

P: Can't write metadata to some jpeg files

  • August 11, 2011
  • 30 replies
  • 1439 views

Hi

I have 6 jpeg files that cause problems for Lightroom. They all have the following characteristics.

1) They can be read by Lightroom (added to a catalog)
2) They can be read by Photoshop CS5, exiftool, and ImageVerifier (http://www.imageingester.com) without any problems
3) I cannot save metadata into these files using LR 3 for Macintosh. Upon Saving Metadata I get the exclamation point showing a metadata sync error. Lightroom says "There were unknown errors while writing metadata..."

The files were all written by a Minolta camera (that I no longer have), and have been modified by having tags added to them by exiftool (recent command line version, running on Macintosh).

I have archived these files. If you would like to look at them, contact me and I can send them to you.

The files are not causing problems for me, as I have opened them in Photoshop CS 5 and saved them as fresh copies, which cause no problems for Lightroom now.

This topic has been closed for replies.

30 replies

alanterra
alanterraAuthor
Inspiring
August 17, 2011
Hi Christine

I am still a very new user of Lightroom, and I have exhausted my ideas. Hopefully someone more knowledgeable will comment. If not, try reposting the question under a new heading. Sorry I can't do more.

Alan
Participating Frequently
August 17, 2011
I tried creating a new catalog on my laptop (different computer) and imported some brand new pictures. I wiped my laptop clean when I upgraded to Lion, but I'm still having the issues I described above.

Could my camera be writing jpegs to the memory card in a way that is not allowing LR to write the metadata properly?
Participating Frequently
August 17, 2011
Nevermind about the dates. I see what you mean by the create and modify date being the same.
Participating Frequently
August 16, 2011
The photos were downloaded all from the camera, imported to Lightroom and modified all on the same day. That is probably why the create and modify dates are the same.

I did try opening a couple of the affected photos in Photoshop and re-saving them as jpegs, overwriting the original file. Then, I went back to Lightroom and clicked the exclamation point to overwrite metadata. That worked.

However, this is going to be really annoying if I have to do this every time I download pictures from my camera. At least Photoshop has actions that can help me clean this up fairly quickly.
alanterra
alanterraAuthor
Inspiring
August 16, 2011
Christine, I note that the create date and the modify date are the same for each of the files that you posted. This suggests to me that Lightroom isn't writing metadata to either file. I use the modify date to see if LR is making changes that i expect it to make.

I doubt that permissions are the issue, as I think that the permissions for either file shown are sufficient to allow LR to edit the file. Perhaps the permissions differ because you downloaded the photos to your camera in different ways?

Perhaps LR was having a problem writhing metadata to the jpegs, like I found, but I doubt it, as your Nikon is a common camera. That said, I don't have any good ideas as to why you would be having this problem.

You can trouble shoot some of the issues by (a) opening and saving a copy of the files in Photoshop. This rewrites the jpegs completely, and should wash out any issues with LR not being able to process the jpegs (this was my problem). But if you are really having problems with all your camera's jpegs, perhaps you should try (b) creating a new user on your computer, and downloading photos from your camera as that user. If that solves your problems, look to an issue with a preference file as a possible source.

Good luck

A
Participating Frequently
August 16, 2011
I am also having problems on Mac (v 10.6.8) similar to what Alan describes. My photos are captured with a Nikon D50. I am a new Lightroom user and loaded my most recent pictures directly into Lightroom to test before transferring all my photos into Lightroom.

I set catalog settings to automatically write changes into XMP, set Lightroom to back up each time I exit, and set camera RAW cache to 50 GB. All other settings I left as default. Pictures were copied into the catalog as jpeg from my camera card. I tagged and added captions or titles to numerous pictures.

Today when I opened Lightroom, some pictures had the exclamation point and some didn't. When I tried to resolve the mismatching sidecars within Lightroom, the program would go through the motions of exporting the metadata, yet when I checked the actual file that the catalog is linked to, the metadata was not included in the information for the image. The exclamation badge still showed in the catalog also.

In comparing the info for files where the metadata wrote and those which didn't, I noticed that the permissions are different. (I will include a screen shot).

I changed the permissions of the non-written files to match the written files and tried to resynchronize with no luck. I'm not sure what else to do to make the catalog write the metadata to my picture files. Is there something I'm doing wrong?

I have not tried editing the photos in Photoshop yet. Eventually I will be pulling them in to make scrapbook pages.

Thanks for your help.


Image is not available




Image is not available

Adobe Employee
August 11, 2011
Alan, I'd like to get a few of the problematic files so we can look at this closer. I'll contact you privately for them.

Becky
alanterra
alanterraAuthor
Inspiring
August 11, 2011
Thanks for the thoughts. Further data:

1) I can't write keywords to these files in Bridge CS 5.
2) I can write keywords to these files using exiftool (unix command line), as

# exiftool -subject+='test subject'

However for one of the files I get the error "Warning: [minor] Can't handle XMP attribute 'rdf:ID'", and I need to use the "-m" flag (ignore minor errors), after which I can write the tag.

After writing the new keywords in exiftool, Lightroom will see the new values (after a Read Metadata), but still can't write the metadata. So whatever the problem is, exiftool has no problem with these files (read or write), but Lightroom still can't write to them.

And, obviously, the files are not locked, and permissions on them look normal (644).
Known Participant
August 11, 2011
I have a similar problem on Windows. except that trying to write the metadata crashes the application.

http://feedback.photoshop.com/photosh...

I do not know if we have the exact same problem, but mine is being looked at.
The workaround I found is about the same as yours : edit and save the metadata with an other software solves the problem in lightroom.
areohbee
Legend
August 11, 2011
Are the files "read-only"?