File Numbers

Started by erichaas, June 12, 2020, 01:39:35 AM

Previous topic - Next topic

erichaas

If I get a warning from the database diagnosis, like: Warning: "Face [13988] for file [58009] has no annotation object. Face removed." is there any way to find out which file is 58009?

Mario

Do you get these repeatably? If so, after which operations?
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

thrinn

#2
Quoteis there any way to find out which file is 58009?
For a quick check, I use simply the link provided as example in the Web Services documentation. If you search for the files endpoint, one of the example links (scroll down to find them) is /v1/files?{auth}&​id=1-20

Click this link. It will resolve to
http://127.0.0.1:50519/v1/files?auth_token=&prettyprint=true&id=1-20

Replace the 1-20 part at the end with the ID of the file you are looking for. The result will contain the file name (and much other information) of the file in question.

Thorsten
Win 10 / 64, IMatch 2018, IMA

ubacher

The file number is {File.OID}. But I find no way to search for it.

A workaround: create a sort profile for OID
then a thumbnail layout which shows OID

This should let you find the file rapidly, if manually.

Mario

To see information about file 58009, copy&paste this in your browser (IMatch must be running):

http://127.0.0.1:50519/v1/files?auth_token=&fields=filename&prettyprint=true&id=58009
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

erichaas

Quote from: MarioDo you get these repeatably? If so, after which operations?
No, not repeatably. Just every once in a while. I was mostly just curious.

Quote from: thrinnClick this link. It will resolve to...
Thanks, that does the trick.

Quote from: MarioTo see information about file 58009, copy&paste this in your browser (IMatch must be running):
Thanks.