New error in LRC plugin

OK, now I’m puzzled. My site has 5 top level galleries and I have been working my way through updating much of everything to Kookaburra. I had completed /galleries3 (West/South) and everything went as expected with a few scattered Pangolin galleries with Fotomoto and Tables. Then I moved on to Galleries2 (East). I changed the top level gallery in publisher to a Kookaburra template and added the page content, just as I had with the first top level gallery. BL 6.2.1 and LRC Plugin 8.0.2. Wondows 11, LRC 14.2

The problem:

  1. When I try to edit an album set, I now get the following error: An internal error has occurred: TTGGalleryIDHelper.lua:100: attempt to index local ‘collectionSettings’ (a nil value).
  2. The albums below the errant album sets all update and edit just fine.
  3. I tried adding an new album set in this gallery and the plugin does not load, but only in this top level gallery. All other top level galleries work normally…

I rechecked my other top level galleries, both updated to Kookaburra and still Pangolin and they work fine, including both editing an existing album set and creating a new one. I tired returning to the Pangolin Album Set and the error persists.

Suggestions?

Since this is a Lightroom error and similar changes had been going fine up to this point, you might try resetting Lightroom Preferences. It’s been known to mysteriously solve mysteries.

1 Like

Thanks Rod. Road trip away from my computer. Slow response. Tried redownloading and installing the plugin and tried resetting preferences. No change.

I have 5 top-level album sets all managed by LRC. 4 of the 5 work without problem. i.e. I can create and edit album sets without difficulty. In the 5th, I get the above error when attempting to edit an album set (albums work - both create and edit). And no plugin response when I attempt to create an album set. This behavior occurs weather an album set just below the top-level or a nested album set.

At present, I’m not sure how to trouble shoot Suggestions?

More information. The problem top-level gallery appears to be causing the plugin to crash. The first image shows an edit settings screen shot for the problem top-level gallery (galleries2) - other top-level galleries are similar. The second screen shot is after the above error with failed attempt to create or edit an album set. In this latter case, all top-level album sets show the same error state - but they otherwise seem to continue working normally.

The error state will reset with either reloading the plugin via plugin manager or restarting LRC.

I tried publishing from my Windows 11 laptop using the same versions of LR and Publisher. I can’t replicate your issue.

Maybe a corrupt catalog file?

Are all system drivers up to date?

Maybe @Ben will have other ideas

I agree, difficult to trouble shoot. I only have the problem on one of 5 top-level galleries. All system drivers are up to date and the LR catalog passes all internal checks and backs up regularly. LRC is a SQLite database, but I am not sure I am up to poking around inside the db even if I had some idea where to look.

Hi @jherman, I don’t know what to advise here, sorry. For some reason, the plugin settings for that album set just aren’t there. Are you able to proceed with editing the album set despite that error?

I can try to add a workaround so that this scenario doesn’t throw an error. I don’t know whether that will help the matter though.

The catalog SQLite database is cryptic. If you understand SQL then it may be worth having a look to see if there’s any missing data for that album set. I suggest making a copy of the catalog and querying the copy.

This was an error in the Lightroom Classic catalogue affecting a single top level gallery set and its sub galleries (sets). One of the five top level gallery sets on my site. Rather than spend yet more time trying to recover or repair the error, I chose to create a new top level gallery and then recreate the 150 album and album sets in the new top level gallery ultimately renaming to the old top level gallery name to preserve menus and internal links.

The following steps:

  1. Create a new top level gallery in LRC, galleires7 and test
  2. Rename to make sure it is possible without breaking the new set, galleries6
    Rename in LRC
    Rename in Backlight is also required for everything to work correctly
  3. Rename the broken gallery set galleris2 to galleries7
  4. Rename the new gallery set from galleries6 to galleries2 so everything will work without resetting the menus and all of the internal links of which there are many.
  5. Recreate the galley sets and galleries in the new working galleries2
    This took some time but also allowed converting everything to Kookaburra and adding collapsable elements a needed.

Don’t wish this on anyone but important enough to post at least one solution to a potentially catastrophic problem.