LIGHTROOM Book Module error message for Toggle Page Number

  • 1
  • Problem
  • Updated 5 years ago
  • (Edited)
I am working in the Book Module on a book. The box in the Page panel is not checked.
But two of my pages that are combined in a double spread display page numbers.
I highlight the box with the page numbers and go >Edit > Toggle Page Number.
I get this error message: “Unexpected error performing command: ?:0: attempt to index field '?' (a boolean value) "
I check the box and try again to Toggle. Same result; same error message.
Photo of Ernst Kucklich

Ernst Kucklich

  • 20 Posts
  • 0 Reply Likes

Posted 5 years ago

  • 1
Photo of Victoria Bampton - Lightroom Queen

Victoria Bampton - Lightroom Queen, Champion

  • 4525 Posts
  • 1717 Reply Likes
Which Lightroom version are you using? On which OS?
Photo of Ernst Kucklich

Ernst Kucklich

  • 20 Posts
  • 0 Reply Likes
Hi Victoria,
I'm sorry, I should have mentioned that in the post.
It's Win 7 64-bit and Lr 5.2
Thank you for looking into this.
Photo of Ernst Kucklich

Ernst Kucklich

  • 20 Posts
  • 0 Reply Likes
Hi Victoria,
I should give you a bit more info:
I made the original post in connection with my other post RE: Changes in Book Module are not saved.
Here is the link:
http://feedback.photoshop.com/photosh...

When changes to the book were not saved I was also unable to delete pages from the book, and therefore could not delete the two pages that sent me the error message regarding Toggle Page Numbers.
As described in the other post, I was able to find the page that was the cause that any changes were not saved. After I had deleted this page (and that was possible!) the behavior of Lr changed and all changes are saved again.
After that I was able to delete also the two pages that sent the error message regarding Toggle Page Numbers

I re-created the deleted pages with identical lay-out, identical images, identical typesetting and text formatting, and everything is fine and working at the moment.

I admit that my typing is messy and probably hit a combination of keys that caused the behavior.
But even with messy typing it should not be possible to cause this behavior of Lr.

I appreciate that you look into this.
Thank you,
Ernst
Photo of Victoria Bampton - Lightroom Queen

Victoria Bampton - Lightroom Queen, Champion

  • 4525 Posts
  • 1717 Reply Likes
Yep, I'm with you, and yes I agree it's related. It sounds like there was some kind of corruption in the catalog, possibly just on that single page. Is this a book you'd started fresh in 5.2 or an older one you were editing?
Photo of Ernst Kucklich

Ernst Kucklich

  • 20 Posts
  • 0 Reply Likes
The book was started from scratch in Lr 5.2 but I made extensive changes until I arrived at a layout and fonts that I liked.

Corruption in the catalog seems to be a possibility because shortly after I thought everything was fine again, Lr became sluggish, then unresponsive. I closed it - it would not start again. The lock-file was present. Deleted that - Lr still would not come up.
Task Manager / Processes displayed "lightroom.exe" although it was not displayed as open. I did a force shut-down on it and since then Lr performs fine.

Do you have an idea what this cryptic error message refers to?
Photo of Victoria Bampton - Lightroom Queen

Victoria Bampton - Lightroom Queen, Champion

  • 4520 Posts
  • 1708 Reply Likes
I would assume it refers to a field in the database that didn't hold the expected data, or something along those lines. That would fit with your description.
Photo of Ernst Kucklich

Ernst Kucklich

  • 20 Posts
  • 0 Reply Likes
If a field in the database does not hold the expected data would that not be a bug?
I am aware that the chances that the Lr engineers look into that are not very high since I seem to be the only one who reported this behaviour.
But still, there was a bug that prevented that changes to a book were saved in Lr 4.3, and the Release Notes for Lr 4.4 said that the bug had been corrected.

Could it be that the bug somehow survived the correction, or that changes to the software in Lr 5.2 activated it again?
Would the text of the error message that I quoted give a clue to the engineers?
Photo of Victoria Bampton - Lightroom Queen

Victoria Bampton - Lightroom Queen, Champion

  • 4525 Posts
  • 1717 Reply Likes
I'm not marking it as solved, because it could still be a bug.

However you said you had to force a shutdown? Lightroom was probably in the middle of writing that particular page to the database at the time, hence resulting in a tiny bit of corruption that caused problems on that particular page in the book.
Photo of Ernst Kucklich

Ernst Kucklich

  • 20 Posts
  • 0 Reply Likes
No, the force shut-down was much later. The problem that Lr would not save changes to the book and the second problem with the error message regarding Toggle Page Numbers had already gone by deleting the one page that caused the error. Lr was saving the changes to the book again when it became unresponsive and I had to do the force shut-down.

So the force shut-down did not happen before the two problems occurred but after the two problems had gone away - by deleting the one page in the book.
Photo of Victoria Bampton - Lightroom Queen

Victoria Bampton - Lightroom Queen, Champion

  • 4525 Posts
  • 1717 Reply Likes
Ah, I misunderstood. It does sound buggy, but unless you know how to get it into that state, it'll be tough to track down. Hopefully you won't see it again.
Photo of Ernst Kucklich

Ernst Kucklich

  • 20 Posts
  • 0 Reply Likes
Thanks Victoria.
I hope I can pin it down further if it turns up again.