ID 287006 - Exceptions when working with persistent catalog entries that were rendered with an ID pass and ROI turned on in Katana releases prior to Katana 2.6v2

Follow

Problem summary:

When loading a Katana project that contains persistent catalog entries for renders that were created with ID passes in Katana releases prior to Katana 2.6v2, exceptions may be raised.

Steps to reproduce:

  1. Download the attached file to /tmp.
  2. Extract the contents of the archive in /tmp.
  3. Start Katana.
  4. Open /tmp/badcatalogitem/test.katana.
  5. Show the Catalog tab.
  6. Click on the thumbnail of the catalog entry to use it for the front buffer.

Expected behaviour:

The image of the catalog entry is shown in the Monitor tab, and no exceptions are raised.

Actual behaviour:

The image of the catalog entry is shown in the Monitor tab, and a couple of Python exceptions are raised, with tracebacks similar to the following:


Error in event handler __catalog_itemImageUpdate_CB() for event type "catalog_itemImageUpdate": AssertionError: assertion(x >= source->x0 && x < source->x1 && y >= source->y0 && y < source->y1) failed at Apps/Katana/IMGLIB/src/images/PixelAccess.cpp:164Traceback (most recent call last):  File ".../bin/software_python/Utils/v5/EventModule.py", line 561, in __invokeHandlerDict  File ".../bin/python/UI4/Tabs/Monitor/MonitorWidget.py", line 1193, in __catalog_itemImageUpdate_CB  File ".../bin/python/UI4/Tabs/Monitor/MonitorWidget.py", line 835, in __recomputePixelProbe  File ".../bin/python/PyUtilModule/CatalogManager/CatalogItem.py", line 731, in queryRegionStatsAssertionError: assertion(x >= source->x0 && x < source->x1 && y >= source->y0 && y < source->y1) failed at Apps/Katana/IMGLIB/src/images/PixelAccess.cpp:164Error in event handler __catalog_itemImageUpdate_CB() for event type "catalog_itemImageUpdate": AssertionError: assertion(x >= source->x0 && x < source->x1 && y >= source->y0 && y < source->y1) failed at Apps/Katana/IMGLIB/src/images/PixelAccess.cpp:164Traceback (most recent call last):  File ".../bin/software_python/Utils/v5/EventModule.py", line 561, in __invokeHandlerDict  File ".../bin/python/UI4/Tabs/Monitor/MonitorWidget.py", line 1193, in __catalog_itemImageUpdate_CB  File ".../bin/python/UI4/Tabs/Monitor/MonitorWidget.py", line 835, in __recomputePixelProbe  File ".../bin/python/PyUtilModule/CatalogManager/CatalogItem.py", line 731, in queryRegionStatsAssertionError: assertion(x >= source->x0 && x < source->x1 && y >= source->y0 && y < source->y1) failed at Apps/Katana/IMGLIB/src/images/PixelAccess.cpp:164Error in event handler __catalog_clientSlotUpdate_CB() for event type "catalog_clientSlotUpdate": AssertionError: assertion(x >= source->x0 && x < source->x1 && y >= source->y0 && y < source->y1) failed at Apps/Katana/IMGLIB/src/images/PixelAccess.cpp:164Traceback (most recent call last):  File ".../bin/software_python/Utils/v5/EventModule.py", line 561, in __invokeHandlerDict  File ".../bin/python/UI4/Tabs/Monitor/MonitorWidget.py", line 1165, in __catalog_clientSlotUpdate_CB  File ".../bin/python/UI4/Tabs/Monitor/MonitorWidget.py", line 835, in __recomputePixelProbe  File ".../bin/python/PyUtilModule/CatalogManager/CatalogItem.py", line 731, in queryRegionStatsAssertionError: assertion(x >= source->x0 && x < source->x1 && y >= source->y0 && y < source->y1) failed at Apps/Katana/IMGLIB/src/images/PixelAccess.cpp:164

Workaround:

No known workaround.

Reproduced versions/platforms:

  • Katana 2.6v2/Linux

Customer version/platform:

Katana 2.6v2/Linux

    We're sorry to hear that

    Please tell us why