Skip to main content
Inspiring
December 6, 2021
Question

LRC Some issue on v. 11.0.1

  • December 6, 2021
  • 4 replies
  • 952 views

Hello,

When I optimize the LRC catalog it closes unexpectedly.
Sometimes when I create a catalog I have this warning an excessive number of characters, even if it is less than 170 characters. See screenshot.

This topic has been closed for replies.

4 replies

johnrellis
Legend
December 6, 2021

The error message is incorrect and confusing. Some testing shows that in both LR 11.0.1 and 6.14 on Windows 10, the maximum path length for a catalog's .lrcat file is 160, not 170.

 

The maximum length includes the path to the catalog folder, the catalog folder, then the .lrcat file.  For example, when I ask LR to create a catalog named "1234567890" in C:\Users\john, the full path is:

C:\Users\john\1234567890\1234567890.lrcat

which is 41 characters.

 

The maximum hasn't changed since LR 6.14, but perhaps you're trying to create a catalog in a different parent folder than before.

 

If you're observing something different than a maximum of 160 characters, then please copy/paste here the full path to the parent folder in which you're trying to create the catalog folder and the exact name you provided to File > New Catalog.   

 

 

Inspiring
December 6, 2021

Hi johnrellis

you are right.

I calculated the full path to the file in the screenshot and it is 161 characters long.

dj_paige
Legend
December 6, 2021
quote

Sometimes when I create a catalog I have this warning an excessive number of characters, even if it is less than 170 characters. See screenshot.


By @Advarte Fabio C

 

The warning DOES NOT say you have an excessive number of characters. It says that you are close to the limit, but still under the limit.

Inspiring
December 6, 2021

Hi  dj_paige

When this warning appears LRC does not create the catalog file, even if it does not exceed the limit of 170 characters.

GoldingD
Legend
December 6, 2021

Do not forget that in addition to the catalog, other files/folders will also get created, they might go past the limit.

 

johnrellis
Legend
December 6, 2021

Google translation: "Unable to create or open a catalog named "20211130-lead-bath" on volume "Data (D :)" because the preview cache paths would exceed the maximum length allowed for the paths on your platform. The complete catalog path, including the catalog name and separator characters, cannot contain more than 170 characters. The path provided contains 167 characters."

GoldingD
Legend
December 6, 2021

What is the complete absolute path for your catalog?

How many alphnumeric chrarcaters does that add up to?

Also, for the preview folders and the new data folder, how many characters?

How deep in hard drive folder structure is the catalog?

 

You may need to cut down on catalog name length

 

You may need to clean up / simplfy folder structure

 

 

Inspiring
December 6, 2021

Hi GoldingD

I have always used this character length in filenames. But I never got this warning in previous versions of LRC.