Lightroom: Problem with IPTC metadata in LR5

  • 2
  • Problem
  • Updated 4 years ago
  • (Edited)
Hi,

I've just start using LR5 and I encounter some strange behavior during set of IPTC:Content:Description. When I fill this field by some text with more than one space between any two words (it's common when I paste part of description from other sources), when I tried to update metadata status there is error with updating it and metadata status remains "unknown"
Photo of drazetka

drazetka

  • 5 Posts
  • 0 Reply Likes

Posted 5 years ago

  • 2
Photo of John R. Ellis

John R. Ellis, Champion

  • 3385 Posts
  • 854 Reply Likes
I can't replicate this. Mac or Windows? Can you post a precise step-by-step recipe, including the exact text you're entering? If you roll your mouse over the metadata status icon in the upper-right corner of the thumbnail in grid view, what does it say?



In past versions, LR on Windows has had problems with saving metadata fields containing newlines. I'm wondering if there's a similar problem in LR 5 (not necessarily with newlines). Without being able to replicate this, though, it's unlikely that Adobe will act on it (given past experience).
Photo of drazetka

drazetka

  • 5 Posts
  • 0 Reply Likes
I'm using Win7 x64 with LR x64. After error in the upper-right corner of the thumbnail in grid view I saw exclamation point with with text "Error writing metadata".

1. Select given JPG file from filmstrip (I can send it at some email address if you give me any) with filled some IPTC data fields. Metadata status is "Up to date".
2. Add one space more between word "Nagrobek" and "Wilhelma" (in IPTC:Content:Description). Metadata status is changing to "Has been changed".
3. Update metadata. Metadata status changed to "Up to date".
4. Update metadata again and you should see dialog "Save Metadata to Files" with text "Some save metadata operations were not performed. Could not write metadata. Unknown I/O error. (1) ".
5. If didn't see dialog with error try to remove just added space and update metadata again.
6. Accept by OK. Metadata status changed to "Unknown".
7. If you try to update metadata again you should show dialog "Confirm" with text "There was an unknown error while writing metadata to this photo. Retry?". If I select "Retry Metadata Export" sometimes everything is OK and metadata status changed to "Up to date" and sometimes I see error dialog from point 4 with metadata status "Unknown". Usually I have to repeat this step several times to get metadata status "Up to date".
Photo of John R. Ellis

John R. Ellis, Champion

  • 3385 Posts
  • 854 Reply Likes
Can you upload it to a free service such as Dropbox or Yousendit or pixentral.com and post the URL here? With your detailed description and the offending image, we should make progress on narrowing down the issue and reproducing it.
Photo of drazetka

drazetka

  • 5 Posts
  • 0 Reply Likes
https://drive.google.com/folderview?i...

This problem repeated many times with this two files.
Photo of John R. Ellis

John R. Ellis, Champion

  • 3385 Posts
  • 854 Reply Likes
Sorry, I've been traveling and just now got back to this. Looks like that folder is now empty. If it's not too much trouble, can you put the photos back in it? It would be good to get more information on this potential bug.
Photo of drazetka

drazetka

  • 5 Posts
  • 0 Reply Likes
I put the photos back (I forgot about it completely)
Photo of drazetka

drazetka

  • 5 Posts
  • 0 Reply Likes
Photo of John R. Ellis

John R. Ellis, Champion

  • 3385 Posts
  • 854 Reply Likes
The two photos you added to your Google drive didn't have any text in IPTC:Content:Description. Were these exported from your catalog, or are they the original photos causing the problem?

I tried replicating the problem by adding "Nagrobek Wilhelma" to the field, saving the metadata, then adding a space between them, and re-saving the metadata. I didn't get any error (LR 5.2, Windows 7 6-bit).

Just two suggestions:

1. Upgrade to 5.2.

2. Upload the original photos with the offending text in IPTC:Content:Description.
Photo of Kasper Nybo

Kasper Nybo

  • 4 Posts
  • 0 Reply Likes
I'm not sure if this thread is still alive, but I'm experiencing similar problems on exported images from LR 5.2.
It's data I input in the Contact section.
- Creator and Job Title are ok, but as soon as I enter data in Country, Phone, Email, Website (see image) it comes out wrong, see image...




Anyone with a workaround/fix/solution for this?
Thanks!
Photo of John R. Ellis

John R. Ellis, Champion

  • 3385 Posts
  • 854 Reply Likes
I haven't seen any other reports in this forum of your symptoms (there may have been, I just haven't seen them). The problem could be in LR, or it could be in the program reading the metadata. A couple of first steps in troubleshooting:

1. Which program and commands within that program are you using to view the metadata?

2. What's the file type of the original image (raw/JPEG, camera model)?

3. Upload a sample original image (and its XMP sidecar if it's raw) and the exported version to Dropbox and post the URL here. I can take a look at the metadata. Be sure to do Metadata > Save Metadata To File before exporting and uploading.
Photo of Kasper Nybo

Kasper Nybo

  • 4 Posts
  • 0 Reply Likes
Hi John,

Thanks for you response. I've investigated further now and it looks as though the issue could be related to OSX Mavericks, and not LR.
I've checked the file in Preview, as I need the most basic image viewer to be able to read my contact details in meta. I'm sure there's a Windows equivalent of this basic viewer. (I can't rely on my clients to have fancy file readers as PS and the likes...)

But now I did check the file in PS, just to see if the data was there - and it was.
Then I went on to check it in an online Exif/IPTC viewer - again basic data reading, no fancy tools. Again the data was there.
Now I sent the file to my old Mac, running OSX Leopard - and opened the file in Preview; Voila, data is readable!

So data and export from LR seems fine. The metadata reading in the new Mavericks seem to have an issue. So problem solved - and I can safely send the files on their way (and hope my clients don't check the meta in Mavericks Preview...) :-)

Thanks again, and if anybody runs into the same issue, I hope this will be useful.
Photo of John R. Ellis

John R. Ellis, Champion

  • 3385 Posts
  • 854 Reply Likes
Great, thanks for posting all the details.

In the future, if you encounter metadata problems, Exiftool (free) is the most authoritative tool for examining metadata. If Exiftool shows the data correctly, then you can be assured the problem is almost certainly not in the file itself.