photools.com Community

IMatch Discussion Boards => General Discussion and Questions => Topic started by: erichaas on June 12, 2020, 01:39:35 AM

Title: File Numbers
Post by: erichaas on June 12, 2020, 01:39:35 AM
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?
Title: Re: File Numbers
Post by: Mario on June 12, 2020, 08:53:38 AM
Do you get these repeatably? If so, after which operations?
Title: Re: File Numbers
Post by: thrinn on June 12, 2020, 09:11:23 AM
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 (http://127.0.0.1:50519/imatch/apps/imws-doc/index.html?). 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.

Title: Re: File Numbers
Post by: ubacher on June 12, 2020, 05:36:19 PM
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.
Title: Re: File Numbers
Post by: Mario on June 12, 2020, 06:02:06 PM
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
Title: Re: File Numbers
Post by: erichaas on June 12, 2020, 11:53:45 PM
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.