-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Houdini: Cannot import name 'setToolSubmenu' from 'assettools' #697
Labels
type: bug
Something isn't working
Comments
For what it's worth. >>> help(assettools.setTabSubMenu)
Help on function setTabSubMenu in module assettools:
setTabSubMenu(defn: 'hou.HDADefinition', menu_name: 'str') More details: >>> print(dir(assettools))
['ADDITIVE_CONFIG_KEYS', 'ASSET_NAME_CHARS', 'AUTHOR_COLOR', 'Any', 'AssetMessage',
'AssetNameEditor', 'AssetNameHighlighter', 'BASENAME_COLOR', 'BIG_MARGIN', 'BIG_TEXT
_SIZE', 'BLANK_ICON', 'BRANCH_COLOR', 'CATEGORY_NAMES', 'CHECKBOX_HEIGHT', 'CONFIG_F
ILE_NAME', 'CONFIG_SAVE_PATH', 'CONTROL_HEIGHT', 'CUSTOM_PATTERN_DATA', 'Callable',
'CollapseHeader', 'Collapser', 'CollapsingSection', 'ConfigDict', 'EDIT_VALUE', 'EXC
LUDE_NAMESPACES', 'HDA_LIB_EXTENSIONS', 'HFS_PATH', 'ICON_BUTTON_SIZE', 'INSTALL_DIR
S', 'Iterable', 'LINK_COLOR', 'LINK_HEX', 'LinkLine', 'MANUAL_PATTERN_DATA', 'MEDIUM
_TEXT_SIZE', 'MENU_OBJECT_TYPE', 'MENU_WIDTH', 'MIN_POPUP_WIDTH', 'MONOSPACE_FONT_FA
MILY', 'MessageBoard', 'Method', 'NAMING_SCHEMES', 'NS_PART_SEP', 'NamePart', 'Named
Tuple', 'NamespaceListEditor', 'Optional', 'PLACEHOLDER_COLOR', 'PartSpec', 'Qt', 'Q
tCore', 'QtGui', 'QtWidgets', 'SCOPE_COLOR', 'SECTION_BG_COLOR', 'SECTION_MARGIN', '
SMALL_ICON_SIZE', 'SMALL_MARGIN', 'SMALL_TEXT_SIZE', 'Sequence', 'SuffixedLineEdit',
'T', 'TINY_MARGIN', 'TINY_TEXT_SIZE', 'TypeVar', 'TypedDict', 'USER_ASSETS_DIR', 'U
SER_PREFS_DIR', 'USER_PREFS_PATH', 'Union', 'VERSION_COLOR', 'VHDASaveDialog', 'Vers
ionSpec', '__annotations__', '__builtins__', '__cached__', '__doc__', '__file__', '_
_loader__', '__name__', '__package__', '__spec__', 'allTabSubMenus', 'annotations',
'assetMessageBoard', 'assetTabSubMenu', 'assetTabSubMenus', 'authorPartOfNs', 'autho
rPresets', 'branchPartOfNs', 'branchPresets', 'branchSuffix', 'cast', 'copy', 'creat
eAssetFromSubnet', 'createDefaultTool', 'createVHDA', 'dataclasses', 'dedup', 'defau
ltAuthor', 'defaultBranch', 'defaultConfig', 'enum', 'expandFileNamePattern', 'expan
dedPath', 'expandedPathString', 'findExistingAuthors', 'findExistingBranches', 'find
ExistingNamespaceParts', 'freshConfig', 'hou', 'increaseMajorNumber', 'increaseMajor
Version', 'increaseMinorNumber', 'increaseMinorVersion', 'increaseNumericString', 'i
sOnHoudiniPath', 'isUnderHfs', 'json', 'loadConfig', 'loadUserConfig', 'locationPres
ets', 'menu_tooltip', 'nameParts', 'name_badchars_expr', 'name_var_expr', 'ns_delim_
expr', 'ns_parts_expr', 'num_suffix_expr', 'os', 'part_color', 'part_desc', 'part_to
oltip', 'partitionNs', 'pathVarsExist', 'pathlib', 'random', 're', 'removeBranchSuff
ix', 'saveAs', 'saveConfig', 'setComboboxToData', 'setTabSubMenu', 'showHelp', 'stri
ng', 'traceback', 'valid_name_expr', 'versionSpecFromString'] It seems that somewhere |
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there an existing issue for this?
Current Behavior:
Recently the CreateHDA logic has been changed to use a
assettools.setToolSubmenu
function. However, in Houdini 20.0.724 I'm getting this error:The relevant PR that added the import is #644
Expected Behavior:
It should not error.
Version
1.0.0
What platform you are running on?
Windows
Steps To Reproduce:
Are there any labels you wish to add?
Relevant log output:
Additional context:
No response
The text was updated successfully, but these errors were encountered: