Data driven categories not listed

Started by rreyer, December 23, 2017, 03:21:07 PM

Previous topic - Next topic

rreyer

Hi,

I have a strange situation with some data driven categories.

  • the Categories Panel tab "Current" does't list ALL data driven categories, some show up, while others don't.
    Even the category that's currently selected doesn't show up.
    When I select a parent category then *some* child categories show up, others don't.
    For one parent category there are NO data driven child categories listed (regular categories are ok), for another parent there are SOME listed.
  • the variable {File.Categories} does not list ALL data driven categories, but some more than in the Categories Panel.
There are data driven categories and categories with a formula. I can't find a pattern of what's missing.

I've already updated the data driven categories.


Mario

The 'Current' tab in the Categories Panel shows the categories assigned to the currently selected file(s). Depending on how you set the options, this includes @Keyword and data-driven categories.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

rreyer

Yes, of course I'm talking about selected files.


JohnZeman

Quote from: rreyer on December 23, 2017, 03:48:52 PM
Yes, of course I'm talking about selected files.

Have you refreshed all data driven categories lately?  If not you might try that.

Edit: I see you mentioned you had refreshed them, that's what always solves a problem like that for me.

Mario

I would also consider this the most likely reason. Many data-driven categories are set to manual recalculation.
I don't recall a similar bug report ever so I'm not sure where to start looking.

Run a database diagnosis.
Then refresh all data-driven categories.

Switch IMatch to debug logging (Help > Support) and check after each IMatch session if IMatch has logged warnings or errors. Lines containing W> or E>.
See "log file" in the IMatch help for full details.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

rreyer

Merry Christmas alltogether  :)

I've made a new database with a very simple example.
6 images
A bunch of test data categories (formula) pointing a the folder, at parent categories and child categories, one is locked, others are open.

The category "1_parent|1_child" is a direct assignment.
The category "1_parent|3_child" is a direct assignment for a subset of the images.

In the categories panel I can't see ANY of the data driven catagories (even the system categories).
It the VarToy I can see ALL data driven categories with {File.Categories}.

What am I missing?

You can find the test database here: https://1drv.ms/u/s!AhntADc_EybbiFt4V6mZl2_dC17I


JohnZeman

Your screenshot shows mostly formula categories, not data driven categories, formula categories won't appear in the assigned categories window.

Mario

#7
John is correct.

Looking at the screen shot and the sample database, it shows that none of the data-driven IMatch Standard Categories has any images. The category panel is thus correct. You can also verify this via the category dashboard. Formula-based categories (IMatch Workflow Categories) are not listed in the Category Panel. The icons in the category panel tell you the type of category.

The "no formula categories" for the Category Panel / Dashboard / File Categories Panel / File Window has performance reasons. To tell if a file is in a formula-based category IMatch would have to calculate the formulas of all categories and then check if the file is in one of those. This can be a severe performance bottleneck.

-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

rreyer

Ah, I see.
I didn't check that properly. Sorry for that.

Thank you for your help.