Lightroom 5.6 export images error message "?:0: attempt to perform arithmetic on a nil value"

  • 5
  • Problem
  • Updated 3 years ago
  • Solved
Lightroom (5.6 64bit) export of jpg images is not possible - error message "?:0: attempt to perform arithmetic on a nil value"
This Message occures if the selected Picture has GPS-Coordinate.

Steps to Reproduce:
- create a new lightroom catalogue
- import the image/images (*.CR2 - Files)
- go to "map"
- load tracklog (*.gpx - File)
- auto tag selected pictures
- export picture -> at this point the export is still working
- close and restart Lightroom
- export the image again to a differen folder -> now it is not possible to export any image unless you delete the gps coordinates in the methadata section
Photo of Iulius Caesar

Iulius Caesar

  • 7 Posts
  • 1 Reply Like
  • frustrated

Posted 4 years ago

  • 5
Photo of Ulf Kottig

Ulf Kottig

  • 4 Posts
  • 0 Reply Likes
Hi,
have exactly the same problem.

I already tried to

* reinstall LR
* reimport calatog
* create new pre-set folger (like mentione here: https://forums.adobe.com/thread/346527)
* import old pre-set folder from the time whre it worked

no change. Very frustratin

I use LR 5.6 on Win. 7 (64 bit)

Any ideas, help?

thanks in advance

ulf
Photo of Rikk Flohr

Rikk Flohr, Official Rep

  • 4291 Posts
  • 819 Reply Likes
Make sure that your Export dialog's Post Processing section has a value set in the pull down. (ie. "Do Nothing")
Photo of Iulius Caesar

Iulius Caesar

  • 7 Posts
  • 1 Reply Like
That doesn't help. The only thing that workes is to delete the GPS-Coordinates.
Photo of Iulius Caesar

Iulius Caesar

  • 7 Posts
  • 1 Reply Like
Hi,
there is a workaround.
You can delete the GPS coordinates from the metadata section of the pictures. Without GPS coordinates the export will work again.
Photo of Adobe_Frank

Adobe_Frank

  • 1 Post
  • 0 Reply Likes
I have the same problem. I have nearly tagged all my photos and cannot export any of them since upgrading to Lightroom 5.6.
Removing the GPS metadata is not really an option.
Photo of Gordon Walsh

Gordon Walsh

  • 3 Posts
  • 0 Reply Likes
I have the same problem. I made a test by deleting the GPS data in the metadata of a photo file (DNG format). The export still does not work.
Photo of Iulius Caesar

Iulius Caesar

  • 7 Posts
  • 1 Reply Like
Ok, i tried a view things to solve the Problem but nothing helped.
What i alredy tried:
- restart lightroom
- restart computer
- reinstall lightroom
- create a new catalogue
- reimport of the pictures
- delete all lightroom presets/preferences
- i also tried to export an image with geo cordinates that i could export with lightroom 5.3, i couldn't export it now (5.6)
- the same error occures if you use an other tool (GeoSetter) to set the coordinates

Hardware/Software configuration
-Win 7 Pro (64 Bit)
-Lightroom 5.6
-Core i7
-16GB RAM

I uploaded a sample File with the picture and a step-by-step instruction (lightroom_error_sample_files.zip) maybe it helps to reproduce/fix this problem.

By the way i also tried it on a diffenten computer (Win 8.1), the it worked fine, i couldn't reproduce the error there.
Photo of John R. Ellis

John R. Ellis, Champion

  • 3871 Posts
  • 1023 Reply Likes
Unfortunately, I wasn't able to reproduce this following your instructions on LR 5.6 / Windows 7 Home Premium.

Have you tried deleting the LR preferences file? Sprinkling that magic fairy dust fixes a surprising number of issues.

Some questions about the steps:

1. Did you enable or disable reverse geocoding in the new catalog?

2. Which export options did you select?

3. I assume that your computer is running in the UTC+1 time zone? I had to change my computer's time zone to UTC+1 so that Auto-tag would properly geocode the test photo. (Otherwise, I had to set the time zone offset, but you didn't list that as one of the steps.)

4. Are you using the map commands from the Map menu item from the menu bar at the top of the LR window, or the commands from the menu at the bottom of the Map screen (the sideways lightning bolt)? (Sometimes my Map > Auto-tag is greyed out, an issue that others have reported.)

Once you provide the answers to 1-4, I'll try again.
Photo of Andrea Bruno

Andrea Bruno

  • 1 Post
  • 0 Reply Likes
I have the same error on Windows 8.1 pro, so I can answer for my situation:
1) reverse geocoding was enabled when I first tried to export photo, now is disabled, nothing changed
2) Tried the default Export to DNG
3) My computer is UTC+1
4) Never used map menu
Photo of Iulius Caesar

Iulius Caesar

  • 7 Posts
  • 1 Reply Like
Maybe i have a solution but let me first answer the questions.
1) reverse geocoding is enabled
2) export to hard-drive, choose location later, format jpeg 100%, sRGB, all Metadata, after export do nothing
3) yes my pomputer is set to UTC+1 but this shouldn't be an issue, the error also occures if you tag the photos by using drag&drop on the map
4) i usualy use the icon at the bottom of the map but this doesn't matter because the only important part is to set the coorinates. i can also reproduce the error by using an iPhone picture with GPS coordinates

Now lets talk about my solution maybe it works for someone else too.
1) delete the geo cordinates before you export the file
or
2) change the export settings: export to "specific folder" or "same folder as original photo". In my case the error only occures if the export to setting is set to "choose later"
Both solutions work for me, but i like the second one better.
Photo of Ulf Kottig

Ulf Kottig

  • 4 Posts
  • 0 Reply Likes
Can agree, worked for me as well

change the export folder in the export settings to a "fix folder" instead of "choose later"

https://forums.adobe.com/message/6835...

regards
ulf
Photo of John R. Ellis

John R. Ellis, Champion

  • 3871 Posts
  • 1023 Reply Likes
I'm glad there's a workaround, and so far no one has reported that it doesn't work for them?

Unfortunately, I wasn't able to reproduce the bug, even with the additional details about steps. This makes it less likely Adobe will fix it (or even pay attention).

One possible clue: Based on people's names and a couple of reports it seems that those reporting the bug here and in the other threads are in Europe? (Iulia Ceaser, Ulf Kottig, Jiheffe, TiloHensel, Gordon Walsh, Franke_DE, Rodrigo Tozzi, Andrea Bruno) It might be related to the different country/language settings of LR or regional differences in Google's mapping service. Seems wierd that these would affect export-folder settings, but software bugs are often surprising.
Photo of Gordon Walsh

Gordon Walsh

  • 3 Posts
  • 0 Reply Likes
I'm in Canada but I use the French version of Lightroom.
Photo of Iulius Caesar

Iulius Caesar

  • 7 Posts
  • 1 Reply Like
The problem was solved in Lightroom 6.0
Photo of Photo Guy

Photo Guy

  • 1 Post
  • 0 Reply Likes
no, the problem still exists in LS 6.0. Adobe is blaming windows and claiming its not a software bug. What a pile of crap.
Photo of John R. Ellis

John R. Ellis, Champion

  • 3845 Posts
  • 1008 Reply Likes
Did you try the workaround described here: http://feedback.photoshop.com/photosh.... '2) change the export settings: export to "specific folder" or "same folder as original photo". In my case the error only occures if the export to setting is set to "choose later"'

This workaround has helped others.