Eric,
I had to move to a new computer. The local user folder name on the c: Drive on the new computer has another name. I re-scan the new folder. This works fine.
I would like to delete the old from the catalog (in the organizer > Browse > right click - remove folder).
I get following error : Error: CatalogState.path_tree_remove: No sharepoint mapping found for path. Can't continue. (path="C:/Users/Eric/Pictures/")
How to solve this ?
I now have a better understanding as to how this situation can occur. When you moved to your new computer, it is likely that the catalog state database (cat_state.sq3) from your old computer did not get copied to your new computer. Not your fault at all, it isn't obvious what files/folders need to be copied over to a new machine. Without this database, removing a folder from the Browse tree is not currently possible.
When the database file is present, removing all the files with the path you chose to remove is very quick. Without it, there may be a more brute-force method of finding all of the files and removing them but I'll have to implement that.
For reference, the cat_state.sq3 file can be found in this location on Windows:
<your home dir>\AppData\Local\Camera Bits, Inc\Photo Mechanic\catalog\state\cat_state.sq3
On macOS, it is in this location:
/Users/<your username>/Library/Application Support/Camera Bits, Inc/Photo Mechanic/catalog/state/cat_state.sq3
-Kirk