photools.com Community

IMatch Bug Reports and Feature Requests => Bug Reports => Solved Bug Reports (for next version) => Topic started by: BanjoTom on March 16, 2025, 10:06:38 PM

Title: Diagnosis Warning - Fixed but...
Post by: BanjoTom on March 16, 2025, 10:06:38 PM
Running a routine Database Diagnosis I repeatedly got this "warning":


QuoteChecking Annotation Objects:
      Warning: Container with invalid dimensions found for file [202656]. Fixed.
Completed.


It says "fixed," but the warning persists.  How do I identify the file 202656 (which I'm guessing is a D&P template,  since it refers to a container) so I can fix this?

Title: Re: Diagnosis Warning - Fixed but...
Post by: Tveloso on March 17, 2025, 01:49:43 AM
File 202656 should actually be one of the Files indexed in IMatch.

You can use the File Finder App to identify it...(one of the options there is to search by OID, and that's where you should enter 202656)
Title: Re: Diagnosis Warning - Fixed but...
Post by: Mario on March 17, 2025, 09:38:50 AM
Each file in the database has one container, the container contains one or more layers, and a layer contains one or more annotation objects.

Invalid dimensions means that the size of the container did not match the size of the image. This has been corrected.
Not sure how this can happen. If you can recall what you did since the last diagnosis or you find some steps to reproduce this, let me know.

The main purpose of the database diagnosis is to detect issues I did not think of (yet) and to ensure everything IMatch does is valid. When I add a new suitable feature, the first thing is add some more tests, then the feature then add diagnosis routines to ensure the new feature behaves.
Title: Re: Diagnosis Warning - Fixed but...
Post by: BanjoTom on March 17, 2025, 07:14:08 PM
I ran FileFinder with the OID of the file that generated a warning, and it pointed to a .txt file.  How do I fix the container or layer or annotation problem that keeps generating the same warning after each Database Diagnostic run?
Title: Re: Diagnosis Warning - Fixed but...
Post by: BanjoTom on March 17, 2025, 07:20:10 PM
That .txt file had a linked person.  When I deleted that person-link, the Diagnostics for the database ran with NO warning!  So it seems that fixed it...
Title: Re: Diagnosis Warning - Fixed but...
Post by: Mario on March 17, 2025, 07:44:49 PM
Linking a person to a text file...hm, I would never have thought users would so something like this.

But it explains that IMatch considered the dimensions of the container wonky, because a text file has no width or height.
I shall think about how to detect and handle this in the diagnosis.
Title: Re: Diagnosis Warning - Fixed but...
Post by: Mario on March 18, 2025, 10:25:02 AM
I have fixed this false warning for the next release.