Lightroom: Use of latin characters causes exception.

  • 1
  • Problem
  • Updated 2 years ago
  • (Edited)
After last update (2015.5.1) I can no longer use latin characters on export fields. It causes an exception and dialog window if force closed.

Error Message: An internal error has occurred
-[_NSCFConstantString characterAtIndex:]: Range or index out of bounds
Photo of Savastux

Savastux

  • 3 Posts
  • 0 Reply Likes

Posted 3 years ago

  • 1
Photo of Benjamin Warde

Benjamin Warde, Employee

  • 483 Posts
  • 74 Reply Likes
Hi Savastux,

I'm not able to reproduce this problem.  Can you give a specific example of a character or characters which cause the problem, and which field you're trying to put the characters in?

Thanks,
Ben
Photo of Savastux

Savastux

  • 3 Posts
  • 0 Reply Likes
Sure, I was trying to export photos to a folder with a custom name: Aniverário.

Every time I typed in ' + a (á) the dialog force closed. Not lightroom, just the export dialog)
Photo of Benjamin Warde

Benjamin Warde, Employee

  • 483 Posts
  • 74 Reply Likes
Thanks!  Can you also tell me what operating system you're using (Windows 10, Mac 10.11, whatever it might be).
Photo of Savastux

Savastux

  • 3 Posts
  • 0 Reply Likes
Mac OS X El Capitan 10.11.4 
Photo of Jarno Heikkinen

Jarno Heikkinen

  • 28 Posts
  • 6 Reply Likes
In OSX and Finnish keyboard layout, there is a dead key next to backspace for creating acute and grave accent.  Pressing this key anywhere in Lightroom will bring up Internal Error dialog. 

This is what Show Details gives as stack trace:
Exception Name: NSRangeException
Description: -[__NSCFConstantString characterAtIndex:]: Range or index out of bounds
User Info: (null)

0   CoreFoundation                      0x00007fff8c4af4f2 __exceptionPreprocess + 178
1   libobjc.A.dylib                     0x00007fff8a59df7e objc_exception_throw + 48
2   CoreFoundation                      0x00007fff8c5164bd +[NSException raise:format:] + 205
3   CoreFoundation                      0x00007fff8c424cf6 -[__NSCFString characterAtIndex:] + 102
4   AgUI                                0x000000010eccf5a1 reorderChildWindows + 28979
5   AgUI                                0x000000010eccf3d9 reorderChildWindows + 28523
6   AppKit                              0x00007fff9a228b15 -[NSWindow _reallySendEvent:isDelayedEvent:] + 2108
7   AppKit                              0x00007fff99c67539 -[NSWindow sendEvent:] + 517
8   AppKit                              0x00007fff99be816a -[NSApplication sendEvent:] + 4382
9   AgUI                                0x000000010ed1db8d AgColorUtils_sampleScreen_L + 6377
10  AppKit                              0x00007fff99a4edf2 -[NSApplication run] + 796
11  AppKit                              0x00007fff99a18368 NSApplicationMain + 1176
12  Adobe Lightroom                     0x000000010ec49114 main + 948
13  libdyld.dylib                       0x00007fff86d885ad start + 1
14  ???                                 0x0000000000000001 0x0 + 1