Open dovanbel opened 2 months ago
Hi @dovanbel thanks for this report. Could you raise this issue on Autodesk support, please?
Hi @staceyoue I did file a bug report with autodesk (Case ID: 22470566)
FYI : I added a log output in tk-framework-qtwidgets\v2.12.2\python\filtering\filter_menu.py
@line 1122 : logger.debug(filter_data)
Got this :
{'filter_role': None, 'data_func': <function FilterDefinition.__add_filter_definition.<locals>.<lambda> at 0x000001A7CA460790>, 'filter_type': 'str', 'filter_op': 'in', 'display_name': 'Published File Created By Name', 'short_name': 'Name', 'default_value': None, 'sg_data': {'entity_type': 'PublishedFile', 'data_type': 'text', 'valid_types': None}}
{'filter_role': None, 'data_func': <function FilterDefinition.__add_filter_definition.<locals>.<lambda> at 0x000001A7CA460790>, 'filter_type': 'str', 'filter_op': '=', 'filter_value': 'Donat Van Bellinghen', 'display_name': 'Donat Van Bellinghen', 'short_name': 'Donat Van Bellinghen', 'count': 3, 'icon_path': None, 'icon': None, 'default_value': None}
{'filter_role': None, 'data_func': <function FilterDefinition.__add_filter_definition.<locals>.<lambda> at 0x000001A7CA46C670>, 'filter_type': 'date_time', 'filter_op': '=', 'filter_value': 'This Week', 'display_name': 'This Week', 'short_name': 'This Week', 'count': 1, 'icon_path': None, 'icon': None, 'default_value': None}
{'filter_role': None, 'data_func': <function FilterDefinition.__add_filter_definition.<locals>.<lambda> at 0x000001A7CA46C670>, 'filter_type': 'date_time', 'filter_op': '=', 'filter_value': 'Long Ago', 'display_name': 'Long Ago', 'short_name': 'Long Ago', 'count': 2, 'icon_path': None, 'icon': None, 'default_value': None}
{'filter_role': None, 'data_func': <function FilterDefinition.__add_filter_definition.<locals>.<lambda> at 0x000001A7CA46C700>, 'filter_type': 'str', 'filter_op': 'in', 'display_name': 'Published File Description', 'short_name': 'Description', 'default_value': None, 'sg_data': {'entity_type': 'PublishedFile', 'data_type': 'text', 'valid_types': None}}
{'filter_role': None, 'data_func': <function FilterDefinition.__add_filter_definition.<locals>.<lambda> at 0x000001A7CA46C700>, 'filter_type': 'str', 'filter_op': '=', 'filter_value': 'Automatic First Comp Ouptut', 'display_name': 'Automatic First Comp Ouptut', 'short_name': 'Automatic First Comp Ouptut', 'count': 1, 'icon_path': None, 'icon': None, 'default_value': None}
{'filter_role': None, 'data_func': <function FilterDefinition.__add_filter_definition.<locals>.<lambda> at 0x000001A7CA46C700>, 'filter_type': 'str', 'filter_op': '=', 'filter_value': 'Hiero Pull', 'display_name': 'Hiero Pull', 'short_name': 'Hiero Pull', 'count': 1, 'icon_path': None, 'icon': None, 'default_value': None}
{'filter_role': None, 'data_func': <function FilterDefinition.__add_filter_definition.<locals>.<lambda> at 0x000001A7CA46C280>, 'filter_type': 'dict', 'filter_op': '=', 'filter_value': {'id': 17860, 'name': 'test01', 'type': 'Shot'}, 'display_name': 'test01', 'short_name': 'test01', 'count': 2, 'icon_path': None, 'icon': None, 'default_value': None}
{'filter_role': None, 'data_func': <function FilterDefinition.__add_filter_definition.<locals>.<lambda> at 0x000001A7CA46C280>, 'filter_type': 'dict', 'filter_op': '=', 'filter_value': {'id': 18080, 'name': 'ev001', 'type': 'Shot'}, 'display_name': 'ev001', 'short_name': 'ev001', 'count': 1, 'icon_path': None, 'icon': None, 'default_value': None}
{'filter_role': None, 'data_func': <function FilterDefinition.__add_filter_definition.<locals>.<lambda> at 0x000001A7CA46C3A0>, 'filter_type': 'str', 'filter_op': 'in', 'display_name': 'Published File Name', 'short_name': 'Name', 'default_value': None, 'sg_data': {'entity_type': 'PublishedFile', 'data_type': 'text', 'valid_types': None}}
{'filter_role': None, 'data_func': <function FilterDefinition.__add_filter_definition.<locals>.<lambda> at 0x000001A7CA46C3A0>, 'filter_type': 'str', 'filter_op': '=', 'filter_value': 'comp_output_main', 'display_name': 'comp_output_main', 'short_name': 'comp_output_main', 'count': 1, 'icon_path': None, 'icon': None, 'default_value': None}
{'filter_role': None, 'data_func': <function FilterDefinition.__add_filter_definition.<locals>.<lambda> at 0x000001A7CA46C3A0>, 'filter_type': 'str', 'filter_op': '=', 'filter_value': 'Version 0', 'display_name': 'Version 0', 'short_name': 'Version 0', 'count': 1, 'icon_path': None, 'icon': None, 'default_value': None}
{'filter_role': None, 'data_func': <function FilterDefinition.__add_filter_definition.<locals>.<lambda> at 0x000001A7CA46C3A0>, 'filter_type': 'str', 'filter_op': '=', 'filter_value': 'plate', 'display_name': 'plate', 'short_name': 'plate', 'count': 1, 'icon_path': None, 'icon': None, 'default_value': None}
{'filter_role': None, 'data_func': <function FilterDefinition.__add_filter_definition.<locals>.<lambda> at 0x000001A7CA46C310>, 'filter_type': 'dict', 'filter_op': '=', 'filter_value': {'id': 3099, 'name': 'donatdev2024', 'type': 'Project'}, 'display_name': 'donatdev2024', 'short_name': 'donatdev2024', 'count': 3, 'icon_path': None, 'icon': None, 'default_value': None}
{'filter_role': None, 'data_func': <function FilterDefinition.__add_filter_definition.<locals>.<lambda> at 0x000001A7CA46C550>, 'filter_type': 'str', 'filter_op': 'in', 'display_name': 'Published File Status', 'short_name': 'Status', 'default_value': None, 'sg_data': {'entity_type': 'PublishedFile', 'data_type': 'status_list', 'valid_types': None}}
{'filter_role': None, 'data_func': <function FilterDefinition.__add_filter_definition.<locals>.<lambda> at 0x000001A7CA46C550>, 'filter_type': 'str', 'filter_op': '=', 'filter_value': 'wtg', 'display_name': 'wtg', 'short_name': 'wtg', 'count': 3, 'icon_path': None, 'icon': None, 'default_value': None}
{'filter_role': None, 'data_func': <function FilterDefinition.__add_filter_definition.<locals>.<lambda> at 0x000001A7CA46C040>, 'filter_type': 'list', 'filter_op': 'in', 'filter_value': {'id': 685, 'name': 'CopiedToLatest', 'type': 'Tag'}, 'display_name': 'CopiedToLatest', 'short_name': 'CopiedToLatest', 'count': 2, 'icon_path': None, 'icon': None, 'default_value': None}
{'filter_role': None, 'data_func': <function FilterDefinition.__add_filter_definition.<locals>.<lambda> at 0x000001A7CA46C040>, 'filter_type': 'list', 'filter_op': 'in', 'filter_value': None, 'display_name': 'None', 'short_name': 'None', 'count': 1, 'icon_path': None, 'icon': None, 'default_value': None}
{'filter_role': None, 'data_func': <function FilterDefinition.__add_filter_definition.<locals>.<lambda> at 0x000001A7CA46C4C0>, 'filter_type': 'dict', 'filter_op': '=', 'filter_value': {'id': 52349, 'name': 'comp', 'type': 'Task'}, 'display_name': 'comp', 'short_name': 'comp', 'count': 1, 'icon_path': None, 'icon': None, 'default_value': None}
{'filter_role': None, 'data_func': <function FilterDefinition.__add_filter_definition.<locals>.<lambda> at 0x000001A7CA46C430>, 'filter_type': 'str', 'filter_op': 'in', 'display_name': 'Published File Task Status', 'short_name': 'Status', 'default_value': None, 'sg_data': {'entity_type': 'PublishedFile', 'data_type': 'status_list', 'valid_types': None}}
{'filter_role': None, 'data_func': <function FilterDefinition.__add_filter_definition.<locals>.<lambda> at 0x000001A7CA46C430>, 'filter_type': 'str', 'filter_op': '=', 'filter_value': 'rev', 'display_name': 'rev', 'short_name': 'rev', 'count': 1, 'icon_path': None, 'icon': None, 'default_value': None}
{'filter_role': None, 'data_func': <function FilterDefinition.__add_filter_definition.<locals>.<lambda> at 0x000001A7CA46C5E0>, 'filter_type': 'dict', 'filter_op': '=', 'filter_value': {'id': 86, 'name': 'Nuke Image Output', 'type': 'PublishedFileType'}, 'display_name': 'Nuke Image Output', 'short_name': 'Nuke Image Output', 'count': 2, 'icon_path': None, 'icon': None, 'default_value': None}
{'filter_role': None, 'data_func': <function FilterDefinition.__add_filter_definition.<locals>.<lambda> at 0x000001A7CA46C5E0>, 'filter_type': 'dict', 'filter_op': '=', 'filter_value': {'id': 59, 'name': 'Hiero Plate', 'type': 'PublishedFileType'}, 'display_name': 'Hiero Plate', 'short_name': 'Hiero Plate', 'count': 1, 'icon_path': None, 'icon': None, 'default_value': None}
{'filter_role': None, 'data_func': <function FilterDefinition.__add_filter_definition.<locals>.<lambda> at 0x000001A7CA4603A0>, 'filter_type': 'number', 'filter_op': '=', 'filter_value': 24, 'display_name': '24', 'short_name': '24', 'count': 1, 'icon_path': None, 'icon': None, 'default_value': None}
{'filter_role': None, 'data_func': <function FilterDefinition.__add_filter_definition.<locals>.<lambda> at 0x000001A7CA4603A0>, 'filter_type': 'number', 'filter_op': '=', 'filter_value': 0, 'display_name': '0', 'short_name': '0', 'count': 1, 'icon_path': None, 'icon': None, 'default_value': None}
{'filter_role': None, 'data_func': <function FilterDefinition.__add_filter_definition.<locals>.<lambda> at 0x000001A7CA4603A0>, 'filter_type': 'number', 'filter_op': '=', 'filter_value': 1, 'display_name': '1', 'short_name': '1', 'count': 1, 'icon_path': None, 'icon': None, 'default_value': None}
{'filter_role': None, 'data_func': <function FilterDefinition.__add_filter_definition.<locals>.<lambda> at 0x000001A7CA460CA0>, 'filter_type': 'dict', 'filter_op': '=', 'filter_value': {'icon': ':/tk-framework-qtwidgets/icons/check_mark_green_20x20.png', 'name': 'Up to Date', 'value': 1}, 'display_name': 'Up to Date', 'short_name': 'Up to Date', 'count': 2, 'icon_path': ':/tk-framework-qtwidgets/icons/check_mark_green_20x20.png', 'icon': <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(QSize(20, 20)),cacheKey=0x4cd300000000) at 0x000001A7CA438F80>, 'default_value': None}
{'filter_role': None, 'data_func': <function FilterDefinition.__add_filter_definition.<locals>.<lambda> at 0x000001A7CA460CA0>, 'filter_type': 'dict', 'filter_op': '=', 'filter_value': {'icon': None, 'name': None, 'value': 0}, 'display_name': None, 'short_name': None, 'count': 1, 'icon_path': None, 'icon': None, 'default_value': None}
The filter on the last line has no display_name etc
I filed an autodesk bug report, but to be sure :
With tk-core v0.21.4, tk-multi-breakdown v.0.4.0 and tk-framework-qtwidgets v2.12.1
In Nuke, when launching breakdown2 (I configured it as panel_mode = False), I get the spinning wheel icon in the interface, and I see this traceback in Nuke's console :
The spinning wheel goes away and is replaced by the scanned items when I change the 'group by' dropdown menu selection. I can do updates but triggering them creates a second log of the aforementioned traceback. When I close the breakdown window the update is actually done (not before)
My config section of the breakdown2 app is 'normal' :
settings.tk-multi-breakdown2.nuke: hook_scene_operations: "{config}/tk-multi-breakdown2/tk-nuke_scene_operations.py" panel_mode: False published_file_filters: [] location: "@apps.tk-multi-breakdown2.location"
The hook scene operations is a custom hook based on the basic nuke hook. It works fine with previous versions of breakdown2