Skip to content

Bug with breakdown2 v0.4.0 #79

Description

@dovanbel

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 :

Traceback (most recent call last):
  File "\\VSERVER01\shotgun\donatdev2024\install\app_store\tk-multi-breakdown2\v0.4.0\python\tk_multi_breakdown2\dialog.py", line 1191, in _on_file_model_reset_end
    self._filter_menu.refresh()
  File "\\VSERVER01\shotgun\donatdev2024\install\core\python\tank\log.py", line 514, in wrapper
    response = func(*args, **kwargs)
  File "\\VSERVER01\shotgun\donatdev2024\install\app_store\tk-framework-qtwidgets\v2.12.1\python\filtering\filter_menu.py", line 596, in refresh
    self._build_menu_widgets()
  File "\\VSERVER01\shotgun\donatdev2024\install\core\python\tank\log.py", line 514, in wrapper
    response = func(*args, **kwargs)
  File "\\VSERVER01\shotgun\donatdev2024\install\app_store\tk-framework-qtwidgets\v2.12.1\python\filtering\filter_menu.py", line 819, in _build_menu_widgets
    self._add_filter_groups(sorted_field_ids)
  File "\\VSERVER01\shotgun\donatdev2024\install\app_store\tk-framework-qtwidgets\v2.12.1\python\filtering\filter_menu.py", line 1004, in _add_filter_groups
    self._create_filter_item_and_action(
  File "\\VSERVER01\shotgun\donatdev2024\install\app_store\tk-framework-qtwidgets\v2.12.1\python\filtering\filter_menu.py", line 1089, in _create_filter_item_and_action
    action = self._create_filter_action_widget(
  File "\\VSERVER01\shotgun\donatdev2024\install\app_store\tk-framework-qtwidgets\v2.12.1\python\filtering\filter_menu.py", line 1121, in _create_filter_action_widget
    widget = widget_class(
  File "\\VSERVER01\shotgun\donatdev2024\install\app_store\tk-framework-qtwidgets\v2.12.1\python\filtering\filter_item_widget.py", line 198, in __init__
    name = six.ensure_str(self._display_name)
  File "\\VSERVER01\shotgun\donatdev2024\install\core\python\tank_vendor\six.py", line 896, in ensure_str
    raise TypeError("not expecting type '%s'" % type(s))
TypeError: not expecting type '<class 'NoneType'>'

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions