Author Topic: PMP - stuck on "Updating 1 catalog, 6 batches remaining"  (Read 5546 times)

Offline timsphoto

  • Newcomer
  • *
  • Posts: 13
    • View Profile
PMP - stuck on "Updating 1 catalog, 6 batches remaining"
« on: November 09, 2020, 01:57:09 AM »
Hi there,

I ran a Catalog Sync & Scan of some folders to try and bring the catalog in line with changes made on disk, and just realised that none of the changes have been picked up and PMP seems to be stuck on updating catalog metadata?

Stopping actions from Catalog Status doesn't seem to help, neither does restarting PMP or my Mac....

Screenshot along with logs attached in case they're some use!

Currently running build 5270 (d54d1cd). Please let me know how to troubleshoot / sort this.

Many thanks!
Tim

Offline timsphoto

  • Newcomer
  • *
  • Posts: 13
    • View Profile
Re: PMP - stuck on "Updating 1 catalog, 6 batches remaining"
« Reply #1 on: November 09, 2020, 05:34:48 AM »
Have also now updated to build 5277 (0e0c8eb) - no change, still stuck :(

Offline timsphoto

  • Newcomer
  • *
  • Posts: 13
    • View Profile
Re: PMP - stuck on "Updating 1 catalog, 6 batches remaining"
« Reply #2 on: November 09, 2020, 10:47:20 AM »
After updating, I've left PMP sat idle to see what happens... so has been running for a few hours now; no change from the "updating 1 catalog, 6 batches remaining" status yet there's a pm-task process which has been sat at a steady 99.4% cpu..

Any way to find out what it's actually doing and/or clear whatever it's presumably got stuck on processing?

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: PMP - stuck on "Updating 1 catalog, 6 batches remaining"
« Reply #3 on: November 09, 2020, 11:27:32 AM »
Tim,

Due to a problem in even the latest build of Photo Mechanic Plus, which ends up creating batches of operations that are too large to process, you'll have to follow these steps:

1) Stop the tasks in the Catalog Status window.

2) Quit Photo Mechanic Plus.

3) Delete the cat_state.db : In the Finder, use the "Go to Folder..." command on the "Go" menu.  In the dialog box that appears, enter the following path:
~/Library/Application Support/Camera Bits, Inc/Photo Mechanic/catalog/state
(you should be able to copy and paste the above path.)
Then click the "Go" button and after the window opens to that path, select all files in that folder (things with the name cat_state.sq3 or starting with that name) and delete them.

4) Reopen Photo Mechanic Plus and click the "Reintegrate Forgotten Catalog" button in the Maintenance section of the Catalog Management window for each catalog that you have.

This will take a while.  Until we address the underlying issue, please refrain from using the "Choose new location..." item in the Folder Paths sub-tree of the Browse tree.

-Kirk

Offline Bill Kelly

  • Software Developer
  • Full Member
  • ***
  • Posts: 131
    • View Profile
    • Camera Bits, Inc.
Re: PMP - stuck on "Updating 1 catalog, 6 batches remaining"
« Reply #4 on: November 09, 2020, 11:53:09 AM »
This will take a while.  Until we address the underlying issue, please refrain from using the "Choose new location..." item in the Folder Paths sub-tree of the Browse tree.

Just to add - the issue is now fixed on our development branch, and so should be part of the next build of Photo Mechanic Plus.


Offline timsphoto

  • Newcomer
  • *
  • Posts: 13
    • View Profile
Re: PMP - stuck on "Updating 1 catalog, 6 batches remaining"
« Reply #5 on: November 09, 2020, 11:54:10 AM »
Thanks both - that's brilliant news Bill :)

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: PMP - stuck on "Updating 1 catalog, 6 batches remaining"
« Reply #6 on: November 13, 2020, 05:14:33 PM »
Tim,

Please try the interim build, available here: http://forums.camerabits.com/index.php?topic=13663.0

Thanks,

-Kirk

Offline timsphoto

  • Newcomer
  • *
  • Posts: 13
    • View Profile
Re: PMP - stuck on "Updating 1 catalog, 6 batches remaining"
« Reply #7 on: November 14, 2020, 12:31:41 AM »
Thanks Kirk.

Have installed this - so far, zero issues and it's happily completed a rescan / sync without getting stuck.

Looks like a winner!
Tim

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: PMP - stuck on "Updating 1 catalog, 6 batches remaining"
« Reply #8 on: November 14, 2020, 07:55:11 AM »
Tim,

Have installed this - so far, zero issues and it's happily completed a rescan / sync without getting stuck.

Excellent, thanks for trying it out.

-Kirk